colorofwind
Lifetime Supporting Member
Hello everyone, I have two questions that confuse me.
1. In the ladder logic, I found some switches that cannot toggle bit when the program is online. But I can toggle it offline, why is that?
2. My program structure is like this:
In the main program,
------|switch A|---------------(coil enabled)-----
------------------------------------ JSR------------
In the subroutine that we jump to,
------|coil enabled|----------------(latch output)---
...same as above, just different output to latch
...
When I force switch A to be on(cannot toggle its bit), the latch outputs turn on and off like crazy. Did I do something wrong?
Please share your thoughts with me, thanks!
1. In the ladder logic, I found some switches that cannot toggle bit when the program is online. But I can toggle it offline, why is that?
2. My program structure is like this:
In the main program,
------|switch A|---------------(coil enabled)-----
------------------------------------ JSR------------
In the subroutine that we jump to,
------|coil enabled|----------------(latch output)---
...same as above, just different output to latch
...
When I force switch A to be on(cannot toggle its bit), the latch outputs turn on and off like crazy. Did I do something wrong?
Please share your thoughts with me, thanks!
Last edited: