Explanation Of Data Transfer Instructions - Delta AS Series Programming Manual

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

6.4.2 Explanation of Data Transfer Instructions

API
Instruction code
0300
D
Device
X
S
D
Data
type
S
D
Symbol
_6
Explanation
1.
This instruction transfers the data in S to D.
2.
You must use a 32-bit instruction when the data in S is a floating-point number.
3.
Only the 32-bit instructions can use the 32-bit counter, but not the device E.
Example
1.
To transfer 16-bit data, use MOV.
When X0.0 is OFF, the data in D0 is unchanged. When X0.0 is ON, the instruction transfers 10 to the data
register D0.
When X0.1 is OFF, the data in D10 is unchanged. When X0.1 is ON, the instruction transfers the current
value of T0 to the data register D10.
6 - 1 2 2
MOV
P
Y
M
S
T
C
S
D
Operand
S, D
HC
D
FR
SM
Pulse instruction
AS
: Data source
: Data destination
Function
Transferring data
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents