plc - LReal Vs Real Data Types -


in plc structure text main difference between lreal vs real data type? use when replacing double or float when converting c based language structure text plc

lreal double precision real, float, or floating point variables 64 bit signed value rather real single precision real, float, or floating point made 32 bit signed value. stores more in lreal makes lreal closer double , float. other thing keep in mind depending on plc convert real lreal calculations. plus lreal limited 15 decimal places rather real 9 decimal places. if need more 9 decimal places recommend lreal if need less stick real because lreals have convert integer real lreal. save step.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -