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
5 - 9 2
E xamp le 2
A radian/degree flag is OFF. A degree is set by means of X0.0 or X0.1.
After the degree is converted into a radian, the sine of the radian will be
calculated.
X0.0
D MOVP
K30
D 10
X0.1
D MOVP
K60
D 10
M1000
DFLT
D10
D 14
DED IV
F 3.1415926
F 180.0
D 20
DEMU L
D14
D 20
D 40
DSIN
D40
D 50
(K 30) (D11, D10)
(K 60) (D11, D10)
(D11, D10) (D 15, D14) Bi nar y floating-point v alue
( /180) ( D21, D20)
Binary floating-point value
(D15, D 14)
x ( /180)
Degr ee
(D 41,D40) Radian
Binary floating-point value
(D41,D40) Radian
(D51,D50) Sine
Binary floating-point value
E xamp le 3
A radian/degree flag is set to ON. The value in (D1, D0) is a degree in
the range of 0° to 360°. When X0.0 is ON, the sine of the value in (D1,
D0) is stored in (D11, D10). The value in (D11, D10) is a binary
floating-point value.
Radian/Degree flag
M1002
SET
X0.0
D SIN
D 0
D 10
D 1
D 0
S
D
D 11
D 10
Sine
Binary floating-point value
D egree
A dditio nal
re m ark
Please refer to section 5.3 for more information about performing
operations on floating-point numbers.
Summary of Contents for AH500
Page 9: ...viii...
Page 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Page 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Page 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Page 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Page 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Page 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Page 436: ...Chapter 8 Electronic Cam 8 17...
Page 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Page 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Page 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Page 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...