briana banks
Member
- Join Date
- Jul 2005
- Posts
- 242
Hi All
In my program ladder i have a routine called from main:
main
---------------JSR MyFunc
MyFunc
Cond
--||----------RET
--------------TON
If Cond = True, the routine returns and the timer stops
however when Cond = False TON should continue from the point
it stopped,but that doesnt happen.
It seems that it continues to count and when Cond = False
it shows the time already past.
Why?
In my program ladder i have a routine called from main:
main
---------------JSR MyFunc
MyFunc
Cond
--||----------RET
--------------TON
If Cond = True, the routine returns and the timer stops
however when Cond = False TON should continue from the point
it stopped,but that doesnt happen.
It seems that it continues to count and when Cond = False
it shows the time already past.
Why?
Last edited: