Delta Electronics DVP10MC11T [197/375] Int_to_real

Delta Electronics DVP10MC11T [197/375] Int_to_real
4. Motion Control Instructions
DVP-MC operating manual 4-153
4.6.54. Int_To_Real
API
Int _To_Real
Convert 16-bit integer into floating
number
Controller
181
10MC11T
Explanation of the instruction:
Int_To_Real is used for converting the signed 16-bit integer into 32-bit floating number.
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.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
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
4.6.55. DInt_To_Real
API
DInt _To_Real
Convert 32-bit integer into floating
number
Controller
182
10MC11T
Explanation of the instruction:
DInt_To_Real is used for converting the signed 32-bit integer into 32-bit floating number.
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.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
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

Содержание

Похожие устройства

Скачать