Mitsubishi MELSEC-Q/L Programming Manual page 662

Table of Contents

Advertisement

RBMOV, RBMOVP
Program Example
(1) The following program outputs the lower four bits of data in R66 to R69 to Y30 through Y3F in units of 4 points.
[Ladder Mode]
Before execution
(source of transfer)
b15
b4
b3
b0
R66
1
1 1 0 1
R67
0
0 0 0 0
R68
1
0 0 1 1
R69
0
1 1 0 1
Ignored
(2) The following program outputs the data in X20 to X2F to R100 to R103 in units of 4 points.
[Ladder Mode]
X2F
X2C
X2B
X28
Before
1
0
0 0
0 1 1 1
execution
660
[List Mode]
Step
After execution
(destination of transfer)
1
1
0
1
Y33 to Y30
0
0
0
0
Y37 to Y34
0
0
1
1
Y3B to Y38
1
1
0
1
Y3F to Y3C
[List Mode]
Step
X27
X24
X23
X20
0 1 1 0
0 1 0 0
After execution
(destination of transfer)
b15
0
0
0 0
0 0 0 0
0
0
0 0
0 0 0 0
0
0
0 0
0 0 0 0
0
0
0 0
0 0 0 0
Filled with 0s
Instruction
Device
Instruction
Device
b4
b3
b0
0 0 0 0
0 1 0 0
R100
0 0 0 0
0 1 1 0
R101
4 points
0 0 0 0
0 1 1 1
R102
0 0 0 0
1 0 0 0
R103

Advertisement

Table of Contents
loading

Table of Contents