C h a p t e r 5 A p p l i e d I n s t r u c t i o n s
API
Instruction code
Operand
Function
78
D
FROM
P
m
1
, m
2
, D, n
Reading data from a
control register in a
special module
Device
X
Y
M
S
K
16#
F
KnM KnS
D
W
T
C
V
Z
m
1
m
2
D
n
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction (12 steps)
E xp la nat io n
m
1
: Special module number (
m
1
is in the range of 0 to 255.);
m
2
: Control
register number (
m
2
is in the range of 0 to 499.);
D
: Device in which the
data read will be stored;
n
: Quantity of data which will be read (16-bit
instruction: 1~(500-
m
2
); 32-bit instruction: 1~(500-
m
2
)/2
A motion control module can read the data in a control register in a
special module by means of the instruction.
E xa mple
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
K0
K29
D0
K2
5 - 7 3
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...