Specifications

4.2 POUs
4.2.8 Functions, function blocks, and operators
4-11
4
PROGRAM
CONFIGURATION
(2) Internal variables
A function does not use internal variables. It uses devices assigned directly to each input
variable and repeats operations.
(a) A program that outputs the total of three input variables (When using a function (FUN1))
A function block uses internal variables. Different devices are assigned to the internal
variables for each instance of function blocks.
(b) Programs that output the total of three input variables (When using function blocks)
D120
X0
D109
D110
D111
D109
D110
FUN1
D111
Function
D13
D13
Instance A
Function block Function block
Instance B
D10
D11
D12
D6200
D6201
D6203
D6202
D10
D11
D12
D6210
D6211
D6213
D6212