Delta Electronics AH500 Manual page 188

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

Advertisement

API
Instruction code
78
D
FROM
Device
X
Y
M
m
1
m
2
D
n
E xp la nat io n
E xa mple
5 - 7 3
Operand
P
m
, m
1
S
K
16#
F
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction (12 steps)
m
: Special module number (m
1
register number (m
is in the range of 0 to 499.); D: Device in which the
2
data read will be stored; n: Quantity of data which will be read (16-bit
instruction: 1~(500-m
); 32-bit instruction: 1~(500-m
2
A motion control module can read the data in a control register in a
special module by means of the instruction.
The value in CR#29 in special module 0 is read, and then stored in D0 in
the motion control module. The value in CR#30 in special module 0 is
read, and then stored in D1 in the motion control module. The two values
are read at the same time.
When X0.0 is ON, the instruciton is executed. When X0.0 is turned OFF,
the instruction is not executed, and the values which are read remain
unchanged.
X0.0
FROM
Ch ap te r 5 Ap plie d Instruc tions
Reading data from a
, D, n
control register in a
2
special module
KnM KnS
D
W
is in the range of 0 to 255.); m
1
K0
K29
D0
Function
T
C
V
Z
: Control
2
)/2
2
K2

Advertisement

Table of Contents
loading

Table of Contents