6-15
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-2 POUs (Program Organization Units)
6
6-2-5 Details on Function Blocks
Function blocks do not have an EN input like functions. They are executed each period.
Processes That Require Constant Data Monitoring
Refer to 6-5-2 Ladder Diagram Language for details on power flow output and parameter output.
You can specify the edge for an input variable to make the variable TRUE only when the input
parameter changes to TRUE.
You can specify falling edges too.
Execution Conditions for Function Blocks
Case Algorithm in FB ENO Operations other than ENO
Normal opera-
tion
Executed. Normal end TRUE Output parameters: Values are updated
according to the internal algorithm.
In-out parameters: Values are updated
according to the internal algorithm.
Error end FALSE Output parameters: Retained
In-out parameters: Values are updated
according to the internal algorithm.
Inside a mas-
ter control
region
Executed when the state of
the power flow input is
FALSE.
User-specified One of the above, depending on the value
of ENO.
Variable A
A
FB
X
Specifies detecting a change to TRUE.
Instance
Instance X
Variable A
A
FB
X
Specifies detecting a change to FALSE.
Instance
Instance X