NOTES The Class VAR_INPUT is required as this variable enables values to be input into the func
-
tion when it is connected as part of a program. It will produce a left hand pointing input con
-
nection point on the function symbol.
Notice also that the variable CENTIGRADE is automatically listed. This is because the “out
-
put variable name” must be the same as the “Function name”.
햵
Click ‘Define’and the variable will be written to the header of the Function ‘CENTIGRADE’.
You can check it by opening the header.
Declaring Constants
햲
Declare constant “32” by simply typing the number into the variable box:
햳
Complete the circuit of the Function CENTIGRADE as follows:
햴
In the
Variable Selection
window, ‘Double click’ on CENTIGRADE or click to select and
press
Apply
.
Functions and Function Blocks Functions
Training Manual GX IEC Developer 6 - 5
Hint: When entering the CENTIGRADE variable, it is not
necessary to type it, simply right click on the variable box
(or press F2).