FX Series Programmable Controllers

Basic Program Instructions 2

A

X0

 

 

MC

N0

M100

N0

M100

 

 

 

X1

 

Y0

 

 

 

B

X2

 

 

 

 

 

 

MC

N1

M101

N1

M101

 

 

 

X3

 

Y1

 

 

 

C

X4

 

 

 

 

 

 

MC

N2

M102

N2

M102

 

 

 

X5

 

Y2

 

 

 

D

 

 

 

 

 

MCR N2

 

X6

 

Y3

 

 

 

C

 

 

 

 

 

MCR N1

 

X7

 

Y4

 

 

 

B

 

 

 

 

 

MCR N0

A

X10

 

Y5

 

 

Nested MC program example:

Level N0: Bus line (B) active when X0 is ON.

Level N1: Bus line (C) active when both X0 and X2 are ON.

Level N2: Bus line (D) active when X0,X2 and X4 are ON.

Level N1: MCRN2 executes and restores bus line (C). If the MCR had reset N0 then the original bus bar (A) would now be active as all master controls below nest level 0 would reset.

Level N0: MCRN1 executes and restores bus line (B).

Initial state: MCR N0 executes and restores the initial bus line (A).

Output Y5 turns ON/OFF according to the ON/OFF state of X10, regardless of the ON/OFF status of inputs X0, X2 or X4.

2-16

Page 42
Image 42
Mitsubishi Electronics FX1S manual Nested MC program example