EasyManua.ls Logo

Wecon LX Series - Master Control and Reset; MC (Master Control); MCR (Master Control Reset)

Wecon LX Series
19 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WECON Technology Co., Ltd.
13
14. Master Control and Reset
Program example:
Basic points to remember:
- After the execution of an MC instruction, the bus line (LD, LDI point) shifts to a point
after the MC instruction. An MCR instruction returns this to the original bus line.
- The MC instruction also includes a nest level pointer N. Nest levels are from the
range N0 to N7 (8 points). The top nest level is ‘0’ and the deepest is ‘7’.
- The MCR instruction resets each nest level. When a nest level is reset, it also resets
ALL deeper nest levels. For example, MCR N5 resets nest levels 5 to 7.
- When input X0=ON, all instructions between the MC and the MCR instruction
execute.
- When input X0=OFF, none of the instruction between the MC and MCR instruction