68
3.
When assigning the added program to a task, double-click
Task Settings
under
Configurations and Setup
and click the
Task Settings
Button and the
Program
Assignment Settings
Button.
3-8-3
Functions (FUNs) and Function Blocks (FBs)
Functions (FUNs) and function blocks (FBs) are instructions used in programs.
In traditional PLCs like the CJ2, they are called special instructions (e.g., MOV instruction =
FUN, TIM instruction = FB).
In addition to system-defined FUN/FBs, the uses can define their own FUN/FBs (user-defined
FUN/FBs).
User-defined FUNs/FBs
You can define the existing programs that will be used in
other programs as FUNs or FBs.
You can program using the user-defined FUNs/FBs, which
makes programming easier and faster.