How can you use a LREAL variable in an S7-300? I need to represent a really big number but i cannot find the option to create the LREAL.
I have converted 2 DINT variables into REAL ones and i want to represent them into a LREAL number. The final number will look like this
XXXXXXXXX.XXXXXXXXX where the first 9 X will be the first REAL and the last 9X the other REAL. I though of converting the DINT to real and then multiplying the first number with 10^10 then adding to the other number but it does not work.
I have converted 2 DINT variables into REAL ones and i want to represent them into a LREAL number. The final number will look like this
XXXXXXXXX.XXXXXXXXX where the first 9 X will be the first REAL and the last 9X the other REAL. I though of converting the DINT to real and then multiplying the first number with 10^10 then adding to the other number but it does not work.
Last edited: