I am a super busy programmer and I need some help.
I Just need one plc code for a timer (ton) where the PT time input is delivered from an INDUSOFT HMI into the PT input of the timer and the ET is delivered back to the INDUSOFT HMI
the INDUSOFT HMI is all done and all I need is the PLC CODE
SO the operator will enter a timer value in mins (1-60) on the HMI and the value will be sent to PT on the BECKHOFF TWINCAT and then the operator hits start on HMI which goes to in of the timer and it starts counting down and the ET timer value goes back to HMI
if you're familiar with BECKHOFF TWINCAT you'll know PT and ET.
code can be structured text or ladder