C h a p t e r 5 A p p l i e d I n s t r u c t i o n s
5 - 5 1
API
Instruction code
Operand
Function
33
D
RCL
P
D, n
Rotating bits leftwards
with a carry flag
Device
X
Y
M
S
K
16#
F
KnM KnS
D
W
T
C
V
Z
D
n
Pulse instruction 16-bit instruction (5 steps) 32-bit instruction (6 steps)
E xp la nat io n
The bits in
D
are divided into groups (
n
bits as a group), and these
groups are rotated leftwards with a carry flag.
D
: Device which is rotated
。
n
: Number of bits forming a group
The
n
th
bit from the left is transmitted to a carry flag.
Generally, the pulse instructions RCLP and DRCLP are used.
If the operand
D
is KnM/KnS, Kn in KnM/KnS must be K4 (16 bits) or K8
(32 bits).
If KnM/KnS is used, it is suggested that M device numbers/S device
numbers should start from a number which is a multiple of 16 in the
decimal numeral system, e.g. K4M0 and K4S16 (decimal numeral
system).
16-bit instruction: 1
≤
n
≤
16; 32-bit instruction: 1
≤
n
≤
32
SM1066 is the carry flag in an Ox motion subroutine, and SM22 is a
carry flag.
E xa mple
When X0.0 is turned from OFF to ON, the bits in D10 are divided into
groups (four bits as a group), and these groups are rotated leftwards with
a carry flag. (The bit marked with
※
is transmitted to the carry flag.)
Hi gh byte
Low by te
Rotating the bits in D10 leftw ards
Rotating the
16 bits in D 10
C arr y flag
Carr y flag
Low by te
Hi gh byte
X0.0
D10
K4
1 1 1
1 1
1 0 0
0
0 0
1
1
0 0
0
1
1 0 0 0
0 0
1
0
0
0
0
1
1 1
1
D10
D10
RC LP
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...