Mitsubishi Electric MELSEC Q Series Programming Manual page 215

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU
[Program Example]
(1) Program to decode the three bits 0 to 2 of D2020, and turn the bits corresponding
in D2100 ON.
X0
b15
b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D2020
0
b15
b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D2100
(Note-1): The D2100 bit 0 turns ON when the b0 to b2 of D2020 are 0.
(Note 2): The D2100 details remain the same even if X0 turns OFF.
(2) Program to decode the eight bits 0 to 7 of D2020, and turn the bits corresponding
in D2100 to D2115 (2
X0
b15
b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D2020
0
0
0
Interpreted as 0
b255
D2100
0
0
D2115
D2115
Does not change
DECO D2020 D2100 K3
0
0
0
0
1
0
0
0
0
Interpreted as 0
0
1
Does not change
8
= 256 bits) ON.
DECO D2020 D2100 K8
0
0
0
1
1
0
0
1
0
b48b47
b34b33b32b31
0
0
0
0
0
1
0
0
D2103
D2102
5 - 74
0
0
1
1
1
0
When bit 0 to 2 is
binary and 6.
0
0
0
0
0
0
Only bit 6 of bits 0 to 7 turned ON.
0
0
0
1
When bit 0 to 7 data is binary and 33.
b17b16b15
1
0
0
0
0
0
0
0
0
D2101
Only bit 33 of bits 0 to 255 is turned ON.
b2 b1 b0
0
0
0
0
0
D2100

Advertisement

Table of Contents
loading

Table of Contents