Mitsubishi — 5.6 Descriptions of the Applied Instructions

AH500 Motion Control Module Manual  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 Example 2 (K 30) (D11, D10) X0.1 (K 60) (D11, D10) M1000 (D11, D10) (D15, D14) Binary floating-point value ( /180) (D21, D20) (D15, D14) x ( /180) Degree (D41,D40) Radian Binary floating-point value Binary floating-point value (D41,D40) Radian (D51,D50) Sine Binary floating-point value  A radian/degree flag is set to ON. The value in (D1, D0) is a degree in Example 3 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. M1002 X0.0 DSIN D0 D10 S Degree D Sine Binary floating-point value Additional remark  Please refer to section 5.3 for more information about performing operations on floating-point numbers. 5-94 DMOVP K30 D10 DMOVP K60 D10 DFLT D10 D14 DEDIV F3.1415926 F180.0 D20 DEMUL D14 D20 D40 DSIN D40 D50 SET Radian/Degree flag D 1 D 0 D 11 D 10