The function block will appear thus:
햸
Define all variables as below:
햹
The outputs were registered as Global Variables.
햺
The instance name "ReadAverageValues" was assigned and defined as local variable.
햻
Compile and download the program to the PLC.
햽
Monitor and test for correct operation. Observe the behaviour of the analogue outputs due
to the “average settings”.
Working with Libraries Importing Libraries into Projects
Training Manual GX IEC Developer 12 - 13