LK Automation Limited
Home >> Problems >> How to convert INT type data into REAL type in ST
Problem sort

How to convert INT type data into REAL type in ST

Time: 3/22/2017 8:13:26 AM

I just use ST OMRON ST PLC, the instructions are not very familiar, in the project will be transplanted AB, found the following problems.
SumValue, BufferLength is INT type, OUTPUT_Value is REAL type.
Which command should I use to convert the results of the INT type operation in ST to the REAL type.
OUTPUT_Value:= SumValue / (BufferLength + 1);
Related problems
Related products
OMRON
M12 economic type product cable type
XS2F-M12PVC3S5M
OMRON M12 economic type product cable type XS2F-M12PVC3S5M
Cale: PVC. Cale core numer core: 3. Cal
OMRON
Load sensor, mV instrument
K3HB-VLC-FLK1ET11 AC/DC24
OMRON Load sensor, mV instrument K3HB-VLC-FLK1ET11 AC/DC24
Category: external supply 100mA DC5V type. I
OMRON
Basic type no float switch
61F-G1R
OMRON Basic type no float switch 61F-G1R
Modular panel direct mounting type, easy to i
OMRON
Basic-type Digital Temperature Controller
E5GN-R2BTD
OMRON Basic-type Digital Temperature Controller E5GN-R2BTD
Case color: Black. Control output: Relay out
Related download