Delta Electronics AH500 Manual page 127

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

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
M1 5
M1 4 M1 3 M1 2
0
1
Bit 8~ bit 15 ar e set to 0.
D1
0
0
b 15
b 14
D1
0
0
 The value in K1M0 is moved to a 16-bit register, and bit 4~bit 15 in the register are set to 0. The
value in K2M0 is moved to a 16-bit register, and bit 8~bit 15 in the register are set to 0. The
value in K3M0 is moved to a 16-bit register, and bit 12~bit 15 in the register are set to 0. The
value in K1M0 is moved to a 32-bit register, and bit 4~bit 31 in the register are set to 0. The
value in K2M0 is moved to a 32-bit register, and bit 8~bit 31 in the register are set to 0. The
value in K3M0 is moved to a 32-bit register, and bit 12~bit 31 in the register are set to 0. The
value in K4M0 is moved to a 32-bit register, and bit 16~bit 31 in the register are set to 0. The
value in K5M0 is moved to a 32-bit regiser, and bit 20~bit 31 in the register are set to 0. The
vlaue in K6M0 is moved to a 32-bit register, and bit 24~bit 31 in the register are set to 0. The
value in K7M0 is moved to a 32-bit register, and bit 28~bit 31 in the register are set to 0.
 If Kn is in the range of K1~K3 (or K4~K7), the bits which are not assigned values in the 16-bit
register (the 32-bit register) to which a value is moved will be set to 0. As a result, operations will
be performed on positive numbers if Kn is in the range of K1~K3 (or K4~K7).
M0
 Users can specify bit device numbers freely. It is suggested that M device numbers/S device
numbers should start from a number which is a multiple of 8.
 Consecutive devices
Take data registers for instances. D0, D1, D2, D3, and D4 are consecutive data registers.
The consecutive word devices composed of bit devices are shown below.
K1M0
K1M4
K2M0
K2M8
K3M0
K3M12
K4M0
K4M16
The consecutive word devices composed of bit devices are shown above. To avoid confusion,
please do not skip any word device composed of bit devices. Beisdes, if a 32-bit operation is
performed on K4M0, the high 16 bits in the 32-bit register to which the value in K4M0 is moved
will be set to 0. If a 32-bit value is required, please use K8M0.
After an operation is performed, the binary integer gotten will be given priority. For example,
40÷3=13, and the remainder 1 is dropped. The integer part of the square root of an integer is
retained, and the fractional part of the square root is dropped. However, if a decimal instruiction is
used, a decimal will be gotten. The applied intructions listed below are decimal instructions.
API 110 (D ECMP)
API 120 (D EADD)
API 124 (D EXP)
API 128 (D POW)
M11 M1 0
M9
M8
0
1
0
1
0
1
0
0
0
0
0
0
b 13 b 12
b 11
b 10
b 9
b 8
0
0
0
0
0
0
BIN K2 M4
D0
K1M8
K2M16
K3M24
K4M32
API 111 (D EZCP)
API 121 (D ESUB)
API 125 (D LN)
API 129 (D INT)
Valid data
M7
M6
M5
M4
M3
0
1
0
1
0
T he values in M0~M7 are mov ed.
0
1
0
1
0
b 7
b 6
b 5
b 4
b 3
Equal to
0
1
0
1
0
The binary-coded decimal number in
M4~M11 is converted into a binary
number, and the binary number is stored
in D0.
K1M12
K2M32
K3M36
K4M48
API 116 (D RAD)
API 122 (D EMUL)
API 126 (D LOG)
API 130 (D SIN)
M2
M1
M0
1
0
1
Low byte
1
0
1
b 2
b 1
b 0
Low byte
1
0
1
API 117 (D DEG)
API 123 (D EDIV)
API 127 (D ESQR)
API 131 (D COS)
5 - 1 2

Advertisement

Table of Contents
loading

Table of Contents