Specifications

7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-21
originally will then be moved to the carrying flag (CY) M1022.
X0
ROL D10 K4
000 00 000 0 0011 111
000010100001110
b15 b0
b15 b0
*
*
0
*
1
4 bits
Rotate to the left
A
fter one rotation
to the left
Carrying
flag
Carrying
flag
D
32 RCR
D n
Rotate to the right with the
carrying flag attached
Bit device Word device
Device
Operand
X Y M S K H KnXKnYKnMKnS T C D E F
D
Ϩ Ϩ Ϩ ϨϨϨϨϨ
n
ϨϨ
Essential condition: nЉ16 (16-bit command), nЉ32 (32-bit command).
The (D) RCR command is used to assign the (32) 16-bit data with the
attached carrying flag (M1022) to conduct the rotate-to-the-right
command.
It is generally advised to use the pulse wave contact to drive this
command, otherwise, it will keep going on and on.
When M, Y, S are assigned to serve as the bit operand, only K4 (16-bit)
and K8 (32-bit) are effective, e.g. K4M0, K8Y0.
Command Motion Explanation
When X0 goes from OFFШON, the 16 bit data of D10, along with the
attached carrying flag (M1022), will rotate 4 bits to the right, as shown
in the diagram, and b3 that located at D10 originally will then be moved
to the carrying flag M1022, and that the original contents of the
carrying flag M1022 will be moved to the bit of b12.
000 00 000 0 0011 111
0 000 00 00011101 1 0
b15 b0
b15 b0
*
1
*
X0
RCR
D10 K4
Rotate to the right
4 bits
Carrying
flag
Carrying
flag
After one rotation
to the right
D
33 RCL
D n
Rotate to the left with the
carrying flag attached
Bit device Word device
Device
Operand
X Y M S K H KnXKnYKnMKnS T C D E F
D
Ϩ Ϩ Ϩ ϨϨϨϨϨ
n
ϨϨ
Essential condition: nЉ16 (16-bit command), nЉ32 (32-bit command).
The (D) RCL command is used to assign the (32) 16-bit data with the
attached carrying flag (M1022) to conduct the rotate-to-the-left
command.
It is generally advised to use the pulse wave contact to drive this
command, otherwise, it will keep going on and on.