12/29/2010 3:53 PM | |
Posts: 5 Rating: (2) |
I'VE SAME PROBLEM. ARE THERE ANY SOLUTION FOR THIS PROBLEM. MY PLC IS S7-315-2PN/DP. |
1/2/2011 6:46 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating: (318)
|
Hello, When the time is started you can not change the time. When it starts then the internal time is read out and the time where it counts to is the starttime + the time wenn the "IN" parameter is high. See the example and then especially the VAT-table where you can see what is happening... AttachmentTestTON.zip (280 Downloads) |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
1/3/2011 2:27 PM | |
Joined: 10/7/2005 Last visit: 11/7/2024 Posts: 3026 Rating: (1057)
|
Hello ilker1and belated hello JCrox as far as I'm aware, this is how the IEC Timers always behaved in an S7 and are supposed to behave. Put simple, a 0 Time Setpoint (PT) disables the Timer and switches theoutput Off. Not too sure if IEC 61131 stipulates this behaviour (don't have a copy of it handy) or if it is not described at all in it and this is simply Siemens implementation. Possible "Workarounds" would be toeither avoid a 0 Time Setpoint or tocreate logic to check the Time Setpointand then "bypass" the timer or to use an S5 Timer (which behaves differently). I hope this helps |
Last edited by: fritz at: 1/3/2011 2:44 PMFixed up quote box Cheers |
|
This contribution was helpful to1 thankful Users |
Follow us on