7: B
ASIC
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
7-23
MCS
and MCR
(Master Control Set and Reset)
The MCS (master control set) instruction is usually used in combination with the MCR (master control reset) instruction.
The MCS instruction can also be used with the END instruction, instead of the MCR instruction.
When the input preceding the MCS instruction is off, the MCS is executed so that all inputs to the portion between the
MCS and the MCR are forced off. When the input preceding the MCS instruction is on, the MCS is not executed so that
the program following it is executed according to the actual input statuses.
When the input condition to the MCS instruction is off and the MCS is executed, other instructions between the MCS and
MCR are executed as follows:
Input conditions cannot be set for the MCR instruction.
More than one MCS instruction can be used with one MCR instruction.
Corresponding MCS/MCR instructions cannot be nested within another pair of corresponding MCS/MCR instructions.
Instruction
Status
SOTU
Rising edges (ON pulses) are not detected.
SOTD
Falling edges (OFF pulses) are not detected.
OUT
All are turned off.
OUTN
All are turned on.
SET and RST
All are held in current status.
TML, TIM, TMH, and TMS
Current values are reset to zero.
Timeout statuses are turned off.
CNT, CDP, and CUD
Current values are held.
Pulse inputs are turned off.
Countout statuses are turned off.
SFR and SFRN
Shift register bit statuses are held.
Pulse inputs are turned off.
The output from the last bit is turned off.
Ladder Diagram
I0
I1
Input I0
ON
OFF
Input I1
ON
OFF
Output Q0
ON
OFF
Timing Chart
MCS
MCR
When input I0 is off, MCS is executed so that the subsequent
input is forced off.
When input I0 is on, MCS is not executed so that the following
program is executed according to the actual input statuses.
Instruction
Data
LOD
MCS
LOD
OUT
MCR
I0
I1
Q0
Program List
Q0
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...