defcon.klaxon
Hi all,

Recently found out about OpenPLC and just downloaded the editor.  I do PLC programming as a profession so I'm trying to understand how OpenPLC does things.

Specifically with this post, I'm asking about the TON function.  Is there a way to have a boolean value that will be true when the TON input is true, but it hasn't reached the PT setpoint?

Thanks for any help!
Reply 0 0
NWT.Stuff
@defcon.klaxon I think you are referring to Execution Control Bits EN & ENO.

Double Click on the TON Object (In Ladder) you get this
TON1.jpg 
Select the Execution Control Option and you get this:-
TON2.jpg 
Reply 1 0
thiagoralves
I think the easiest way to accomplish this is to save the value of TON’s ET on a variable and then compare it with PT using a LT block. While ET is less then PT the output of LT will give you a true signal.
Reply 0 0
Reply