Mitsubishi Electric MELSEC-Q/L Programming Manual page 419

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Program example
• The following program turns OFF devices from M0 to M7 when X0 is turned ON.
[Ladder Mode]
[Operation]
M9
M8
M7
M4
M3
M0
1 1
1 0 0 1
1 1 0 0
• The following program sets data from 2nd bit (b2) of D10 to 1st bit (b1) of D11 to 0 when X20 is turned ON.
[Ladder Mode]
[Operation]
b15
b8
b7
b2
D10
1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 0
b15
b8
b7
D11
0 0 0 1 0 1 0 0 1 1 1 1 1 1 1 1
M9
M8
M7
M4
M3
M0
1 1
0 0 0 0
0 0 0 0
Not changed
b1
b0
b15
D10
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
b1
b0
b15
D11
0 0 0 1 0 1 0 0 1 1 1 1 1 1 0 0
[List Mode]
Step
Instruction
[List Mode]
Step
Instruction
b8
b7
b2
b1
b0
b0
b8
b7
b1
7 APPLICATION INSTRUCTIONS
Device
Device
7.4 Bit Processing Instructions
7
417

Advertisement

Table of Contents
loading

Table of Contents