utinko58
How can I simulate step by step? When I start the PLC simulation, the timer begins to run, and I want to pause the timer to make changes to the values of some variables. After that, I would like to continue the simulation to see what happens.
Reply 0 0
fg71
I do not think you could pause a timer but you could pause a reset of the timer by using ADD block after output of the timer. In other words TON with a PT of 5 seconds. Will repeat between 0..5s When it reach 5s its ON. If you have contact connected to ADD block and TON output is second input to ADD block.
If contact is True the output of ADD block is False. The timer stop at 5s. When contact is False the TON start at 0..5s.
 
Something like this in Siemens LOGO
[203128%2F9037736%2Fmceclip0]
Reply 0 0
thiagoralves
OpenPLC does not support step-by-step debugging. You cannot pause the running program
Reply 0 0
Reply