A H 5 0 0 M o t i o n C o n t r o l M o d u l e M a n u a l
Exponent: D1=-41~+35
Besides, the base 100 does not exist in D0 because 100 is represented by 1,000×10
-1
. A
decimal floating-point number is in the range of ±1,175×10
-41
to ±3,402×10
+35
.
If the instruction ADD/SUB/MUL/DIV is used in the main program O100~M102, the operation
result gotten will affect the states of SM968~SM970. If a floating-point operation instruction is
used, the result gotten will also affect the state of the zero flag SM968, the state of the borrow
flag SM969, and the state of the carry flag SM970.
Zero flag: If the operation result gotten is 0, SM968 will be ON.
Borrow flag: If the absolute value of the operation result gotten is less than the minimum
value allowed, SM969 will be ON.
Carry flag: If the absolute value of the operaiton result gotten is greater than the maximum
value allowed, SM970 will be ON.
5.4
Using Index Registers to Modify Operands
V devices are 16-bit index registers. There are 6 V devices (V0~V5). Z devices are 32-bit index
registers. There are 8 Z devices (Z0~Z7).
V0~V7
Z 0~ Z7
32 bits
H igh byte
Low byte
16 bits
V devices are 16-bit registers. Data can be freely
written into a V device, and data can be freely read
from a V device. If a 32-bit value is required, please
use a Z device.
Index registers can be used to modify X/Y/M/S/KnM/KnS/T/C/D/SM/SR devices, but they can not be
used to modify index registers, constants, and Kn. For example, K4@Z0 is invalid, K4M0@Z0 is
valid, and K0@Z0M0 is invalid. The devices marked with “
●
” in the table in the explanation of an
applied instruction can be modified by V devices and Z devices.
5.5
Instruction Index
Arranging applied instructions in alphabetical order
Instruction code
Step
Type API
16-bit
32-bit
Pulse
instruction
Function
16-bit 32-bit
Page
number
87
ABS
DABS
Absolute value
3
3
5-75
20
ADD
DADD
Binary addition
7
9
5-36
134
–
DACOS
Arccosine of a binary
floating-point number
–
6
5-98
172
–
DADDR
Floating-point addition
–
9
5-103
66
ALT
–
Alternating between ON and OFF
3
-
5-72
218
AND& DAND&
–
S1&S2
5
7
5-108
220
AND^ DAND^
–
S1^S2
5
7
5-108
219
AND|
DAND|
–
S1|S2
5
7
5-108
234
AND< DAND<
–
S1
<
S2
5
7
5-111
237
AND<= DAND<=
–
S1
≦
S2
5
7
5-111
236
AND<> DAND<>
–
S1
≠
S2
5
7
5-111
232
AND= DAND=
–
S1
=
S2
5
7
5-111
233
AND> DAND>
–
S1
>
S2
5
7
5-111
238
AND>= DAND>=
–
S1
≧
S2
5
7
5-111
47
ANR
–
Resetting an annunciator
1
–
5-66
A
46
ANS
–
–
Driving an annunciator
7
–
5-65
5 - 1 4
Содержание 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...