Modifying Constants to type ‘REAL’
햲
Open the Body of CENTIGRADE1 and modify the constants to ‘Floating Point’ types (i.e.
32.0) and the output variable name to read as follows:
NB: Remember to alter CENTIGRADE to CENTIGRADE1.
햳
Close editors and save all changes.
Placing the “REAL”number Function ‘CENTIGRADE1’onto the working POU “Process”
햲
In the GVL editor, create two new variables thus:
햳
Open the Body of POU “Process” and place the Function CENTIGRADE1 into it as shown
below:
NOTE REAL numbers use 2 consecutive Registers (32 Bits) and are stored in a special portable
IEE format, hence the allocation in the above GVL example.
6-12 MITSUBISHI ELECTRIC
Function and Function Blocks Functions