4. Motion Control Instructions 4.6.54. Int_To_Real Explanation of the instruction: When EN is on, the signed 16-bit integer S value is converted into the 32-bit floating number which is stored in D device and S value keeps unchanged. Int_To_Real is used for converting the signed 16-bit integer into 32-bit floating number. Explanation of input and output parameter of the instruction: 4.6.55. DInt_To_Real Explanation of the instruction: When EN is on, the signed 32-bit integer S value is converted into the 32-bit floating number which is stored in D device and S value is unchanged. DInt_To_Real is used for converting the signed 32-bit integer into 32-bit floating number.
Explanation of input and output parameter of the instruction: DVP-MC operating manual 4-153 API Int To Real _ _ Convert 16-bit integer into floating number Controller 181 10MC11T Parameter Data Available Explanation name type device EN “Int To Real” is executed as “EN” turns on. _ _ BOOL M,I,Q, Constant S The 16-bit integer to be converted INT Constant, D D The floating number which has been converted REAL D API DInt To Real _ _ Convert 32-bit integer into floating number Controller 182 10MC11T Parameter Data Available Explanation name type device EN “DInt To Real” is executed as “EN” turns on.
_ _ BOOL M,I,Q, Constant S The 32-bit integer to be converted DINT Constant, D D The floating point which has been converted REAL D