Delta Electronics AH500 Manual page 240

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
260
RMOV
Device
X
Y
M
S
D
E xp la nat io n
E xa mple
b31
5 - 1 2 5
Operand
P
S
K
16#
F
Pulse instruction 16-bit instruction (6 steps) 32-bit instruction
S: Source device (32-bit device); D: Destination device (16-bit device)
Data in the 32-bit device S is transferred to the 16-bit device D. The sign
bit in S is retained.
When X2.4 is ON, data in D6 and D7 is transferred to D4.
X2.4
1
1
1
1
1
1
1
1
1
1
1
1
When X2.4 is ON, bit 31 in D7 is transferred to bit 15 in D4, bit 0~bit 14
in D6 are transferred, and bit 15~bit 30 in D6 and D7 are not transferred.
Ch ap te r 5 Ap plie d Instruc tions
S, D
KnM KnS
D
W
RMO V
D6
b16
b15
1
1
1
1
1
0 0 1 1
0
0
1
1
0 0
1
1
0
0
1
b15
Function
Converting a 32-bit
value into a 16-bit value
T
C
V
Z
-
D4
b0
D7, D6
0
1 1
1
0 0 0
1
D4
0
1
1
1
0
0 0 1
b0

Advertisement

Table of Contents
loading

Table of Contents