Chapter 6 Instruction Details
XBC E-Type Main Unit
6-50
Ver. 1
6.12 Master Control Instruction
6.12.1 MCS, MCSCLR
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
MCS
MCSCLR
n
-
-
-
-
-
-
-
-
-
-
- O -
-
-
-
1
-
-
-
Operand
Description
Data Type
n
0 ~ 7 for XGB
WORD(0~15)
1) MCS, MCSCLR
(1) If MCS’s input condition is On, functions up to MCSCLR with identical MCS number will be executed. If input
condition is Off, nothing will be executed.
(2) MCS number 0 is the highest, 7 the lowest, used in priority sequence. Clearing will be opposite.
(3) MCSCLR clearing of high priority data will also clear MCS Block with low priority.
(4) MCS or MCSCLR should be used in priority sequence.
2) Program Example
Where 2 MCS Instructions are used and “0” with high priority is used for MCSCLR Instruction.
P00030
0000
0004
0006
0002
0010
M00001
0012
( )
P00062
0008
0013
END
( )
P00060
P00031
MCS 0
MCSCLR 1
( )
P00061
P00032
( )
P00063
M00002
MCSCLR 0
P00033
MCS 0 Block
MCS 1 Block
Remark
1) If MCS’s On/Off Instruction is Off, MCS ~ MCSCLR’s operation result will as follows; Be careful when
using MCS (MCSCLR) Instruction.
· Timer Instruction: Not Processed. Identical Process to contact Off
· Counter Instruction: Not Processed (Present value kept)
· OUT Instruction: Not Processed
· SET, RST Instruction: Result Kept
MCS
MCS
n
MCSCLR
n
MCSCLR
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...