7: BASIC INSTRUCTIONS7-24 « FC4A MICRO SMART USER ’S MANUAL »MCS and MCR (Master Control Set and Reset), continuedMultiple Usage of MCS instructionsCounter and Shift Register in Master Control CircuitLadder DiagramI1I2I3I4I5I6MCSMCRMCSMCSThis master control circuit will give priority to I1, I3, and I5, in that order.When input I1 is off, the first MCS is executed so that subsequent inputs I2 through I6 are forced off.When input I1 is on, the first MCS is not executed so that the following program is executed according to the actual inputstatuses of I2 through I6.When I1 is on and I3 is off, the second MCS is executed so that subsequent inputs I4 through I6 are forced off.When both I1 and I3 are on, the first and second MCSs are not executed so that the following program is executed accord-ing to the actual input statuses of I4 through I6.Instruction DataLODMCSLODOUTLODMCSLODOUTLODMCSLODOUTMCRI1I2Q0I3I4Q1I5I6Q2Program ListQ2Q0Q1Ladder DiagramI1MCSMCRInput I1 ONOFFCounter Pulse Input ONOFFShift Register Pulse Input ONOFFTiming ChartInput I2 ONOFFWhen input I1 is on, the MCS is not executed so that the counter and shift register are exe-cuted according to actual statuses of subsequent inputs I2 through I4.When input I1 is off, the MCS is executed so that subsequent inputs I2 through I4 areforced off.When input I1 is turned on while input I2 is on, the counter and shift register pulse inputsare turned on as shown below.CNT C210I2ResetPulseI3I3I2SFR R04I4ResetPulseData