Mitsubishi Electric FX2N Beginners Manual page 43

Hide thumbs Also See for FX2N:
Table of Contents

Advertisement

An Introduction to Programming
Example of an ANB instruction
Ladder Diagram
ANB instruction
X000
0
M2
Instruction List
0 LD
1 ORI
2 LDI
3 OR
4 ANB
5 OUT
In this example output Y07 is switched on if input X00 is "1", or if relay M2 is "0" and input X01 is
"0", or if relay M10 is "1".
Example of an ORB instruction
Ladder Diagram
X000
0
M2
Instruction List
0 LD
1 ANI
2 LDI
3 AND
4 ORB
5 OUT
In this example output Y07 is switched on if input X00 is "1" and input X01 is "0", or if relay M2 is
"0" and relay M10 is "1".
FX Beginners Manual
X001
M10
X000
st
M2
1
parallel connection (OR operation)
X001
nd
2
parallel connection (OR operation)
M10
ANB instruction connecting both OR operations
Y007
X001
ORB instruction
M10
X000
st
X001
1
serial connection (AND operation)
M2
nd
2
serial connection (AND operation)
M10
ORB instruction connecting both AND operations
Y007
The Basic Instruction Set
Y007
Y007
3 – 13

Advertisement

Table of Contents
loading

Table of Contents