Functions
Changing the Result type of a Function
Right click on the newly created Function 'CENTIGRADE1' and click on Properties .
On displaying the Function Information window, set the result type to REAL.
The type should now displayed as Real in the Project Navigation Window:
Modify the Header of CENTIGRADE1 so that the Fahrenheit variable is of type 'REAL':
Training Manual GX IEC Developer
Functions and Function Blocks
6 - 11