Delta Electronics AH500 Manual page 239

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

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
API
Instruction code
259
MMOV
Device
X
Y
M
S
D
 S: Source device (16-bit device); D: Destination device (32-bit device)
 The value in the 16-bit device S is transferred to the 32-bit device D. The
E xp la nat io n
 When X2.3 is ON, the value in D4 is transferred to D6 and D7.
E xa mple
Operand
P
S
K
16#
F
Pulse instruction 16-bit instruction (1 step) 32-bit instruction
sign bit in S is duplicated, and stored in D.
X2.3
0
" "
sig n
1
" "
si gn
1
1
1
1
1
1
1
1
1
1
1
1
b 31
Bit 15 is D4 is transferred to bit 15~ bit 31 in (D7, D6). The value in (D7,
D6) becomes a negative value. (The value in D4 is also a negative
value.)
Converting a 16-bit
S, D
value into a 32-bit value
KnM KnS
D
W
MMOV
D4
D6
b 15
1
0 0 1 1
0
0
1
1
1
1
1
1
0 0
1
0
1
1
0
b 16
b 15
Function
T
C
V
Z
b 0
D4
0
1 1
1
0 0 0
1
0
1
0
0 0 1
D7, D6
1
1
b 0
5 - 1 2 4

Advertisement

Table of Contents
loading

Table of Contents