Systemsoftware
System- and communication configuring D7-SYS - SIMADYN D
2-9
Edition 03.2001
By assigning the function blocks to a cyclic or interrupt-controlled task or
run-time group and defining the position within the task or run-time group
the configuring engineer can define the run-time properties of the function
blocks. These properties are decisive for the characteristics of the target
system as far as
•
deadtimes,
•
response
times,
•
the stability of time-dependent structures.
The function blocks are assigned to one of the 5 possible cyclic tasks by
calling-up the block using the CFC editor or in the program section,
execution sequence of the CFC editor. Each function block can therefore
be assigned to a cyclic task and a processing sequence within the
sampling time of the task.
In order to process function blocks and run-time groups, interrupt-
controlled, when they are called-up, or in the execution sequence of the
CFC editor, they are entered in the required sequence under one of the 8
possible process interrupts. Thus, individual function blocks or a run-time
group can be executed, initiated by a specific process interrupt.
NOTE
Contrary to cyclic tasks, interrupt tasks are not started in equidistant time
intervals, but when a process interrupt occurs.
Several function blocks, e. g. some control blocks, have to be processed
at regular interval as result of the program design. If these are to be
configured in an interrupt task, then an equivalent sampling time must be
configured in the HWConfig program section for this particular interrupt
task. This should approximately correspond to the average time between
two process interrupts.
By clicking twice on the module, you can configure the equivalent
sampling time under the menu item
Basic clock > Synchronization
.
Assigning the
function blocks to
cyclic tasks
Assignment of the
function blocks to
interrupt task
Configuring the
equivalent
sampling time