Delta — 4.6.53. Real_To_DInt

4. Motion Control Instruction 4.6.52. Real_To_Int Explanation of the instruction: Real_To_Int is used for converting 32-bit floating numbers into the signed 16-bit integer. When EN is on, floating number S value is converted into the signed 16-bit integer which is stored in D device and S value keeps unchanged. Explanation of input and output parameter of the instruction: 4.6.53. Real_To_DInt Explanation of the instruction: When EN is on, floating number S value is converted into the signed 32-bit integer which is stored in D device and S value keeps unchanged. Real_To_DInt is used for converting 32-bit floating number into the signed 32-bit integer.

Explanation of input and output parameter of the instruction : 4-152 DVP-MC operating manual API Real To Int _ _ Convert floating number into 16-bit integer Controller 179 10MC11T Parameter Data Available Explanation name type device EN “Real To Int” is executed as “EN” turns on. _ _ BOOL M,I,Q, Constant S The floating point to be converted REAL Constant, D D The 16-bit integer which has been converted INT D API Real To DInt _ _ Convert floating number into 32-bit integer Controller 180 10MC11T Parameter Data Available Explanation name type device EN "Real To DInt” is executed as “EN” turns on.

_ _ BOOL M,I,Q, Constant S The floating point to be converted REAL Constant, D D The 32-bit integer which has been converted DINT D