s7-200 one timer to drive multiple networks

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
awpe
Posts: 2
Joined: Mon Jul 27, 2015 11:10 am

s7-200 one timer to drive multiple networks

Post by awpe »

Hi,

I'm trying to use TON timers, I have a button, there is a network for simple latching start button signal which is used to keep first timer timing, latch in this network is broken when timer times to preset value (I mean timer resets itself). This works as expected both in simulation and in field.

Then I've tried to use first timer output to latch another output state(I wanted to use variable here, but simulator can't understand variables) in the same way. That worked great in simulation, but on real device it didn't. Debug procedure shows that nework latching first timer enable signal works as expected when reacting to first timer's complete signal. But other network which is expected to latch first timer's output signal into other output(variable) simultaneously with first network which resets first timer, is not reacting to first timer's complete event. Again it does it in my mind and in simulation, but not in field, as it is my first PLC programming experience I may have misundersood some concepts of plc programming, haven't I?

Simply: latch start button to keep first timer ticking, when first timer is done reset it and start second timer, My program only resets first timer, but no signal is receieved by network which is supposed to start second timer (it does in simulator though).