
Chapter 4. Basic instructions
4-13
4.4
Master control instructions
4.4.1
MCS, MCSCLR
MCS
MCSCLR
FUN (010) MCS
FUN (011) MCSCLR
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#
D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
MCS
MCSCLR
O
1
1) Functions
-
When the On/Off command of MCS instruction is switched on, the sequence program between the
MCS instruction and the MCSCLR instruction that has same n of the MCS instruction is executed.
-
Each MCS instructions are followed by a number (n) that shows the priority of master control. 0 is
the highest priority, and 7 is lowest priority. The MCS instruction should be used in order of priority
level.
-
The MCSCL R instruction shows the end of master control. When a MCSCLR n instruction is
executed, all master control that has lower priority than ‘n’ are ended automatically.
MCS n
MCSCLR
n
- n (Nesting) : up to 7