<4.Conguration>
24
IM 01E21A02-03EN
4.3 DenitionofCombiningFunctionBlocks
Theinput/outputparametersforfunctionblocksarecombined.Specically,see“VFDParameter
Conguration”inSection4.6forthedetailsthoughthesettingiswrittentothelinkobjectofthis
product. It is also possible to read values from the host at proper intervals instead of connecting
the block output of this product to other blocks.
The combined blocks need to be executed synchronously with other blocks on the
communications schedule. In this case, change the schedule of this product as shown in Table
4.3.
Table 4.3 Execution Schedule of the Function Blocks
Index Parameter Name Setting (Enclosed is factory-setting)
269(SM)
MACROCYCLE_
DURATION
Cycle(MACROCYCLE)periodofcontrolormeasurement.Unitis
1/32ms.(32000=1s)
351(SM) FB_START_ENTRY.1
Functionblockstartuptime.Osettimefromthestartof
MACROCYCLEspeciedin1/32ms.(0=0s)
352~381(SM)
FB_START_ENTRY.2 to
FB_START_ENTRY.31
No settings
The maximum of 10 ms is taken to execute the AI block. For scheduling of communications for
combination with the next function block, arrange the schedule so that the execution starts after
a lapse of longer than this time. Do not make settings so that function blocks of this product are
executedatthesametime(executiontimeisoverlapped).
Figure 4.3 shows the execution schedule example of the function block like the loop shown in
Figure 4.2.
F0402.ai
LIC100
FIC100
FC100
FI100
AXG
#1
LI100
EJX
Figure 4.2 Example of Loop Connecting Function Block of This Product with Other Devices
LI100
LIC100
FIC100
FC100
FI100
Commu-
nication
Schedule
OUT
IN
OUT
CAS_IN
BKCAL_OUT
BKCAL_IN
BKCAL_IN
BKCAL_OUT
IN
Unscheduled
Communication
Scheduled
Communication
Macrocycle (Control Period)
Figure 4.3 Function Block Schedule and Communication Schedule