Delta AS Series Programming Manual page 369

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
0207
Device
X
S
D
Data
type
S
D
Symbol
Explanation
This instruction copies the data in the 32-bit device S to the 16-bit device D, and copies the sign bit from b31 to b15 so
that the value in D4 is negative (same as b31).
_6
Example
When X0.0 is ON, the instruction copies the value of b31 in D7 to b15 in D4, copies the values of b0–b14 to the
corresponding bits in D4, and ignores bits b15–b30. The data in (D7, D6) is a negative value (same as the source).
b31
1
1
6 - 9 0
RMOV
P
Y
M
S
T
C
: Source device
S
: Conversion result
D
1
1
1
1
1
1
1
1
1
1
1
Operand
S, D
HC
D
FR
SM
Pulse instruction
AS
b16
b15
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
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
b0
D7, D6
0
1 1
1
0 0 0
1
D4
0
1
1
1
0
0 0 1
b0
"$"
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents