This is the E_CYCLE function block type for periodic
generation of events as defined in Annex A of IEC 61499-1.
-
As shown in the normal_operation
service sequence below:
-
An event is generated at the
EOoutput at a timeDTafter the first occurrence of an event at theSTARTinput. -
Following the processing of the
EOevent, anotherEOevent is issued following another delay ofDT. -
This cycle continues until the occurrence of an event at the
STOPinput. -
The FB then returns to a state of waiting for the next occurrence
of a
STARTevent.
-
An event is generated at the
-
As illustrated in the no_restart service
sequence below, the occurrence of another
STARTevent prior to the occurrence of aSTOPevent has no effect.-
In particular, the value of the
DTinput upon the occurrence of anotherSTARTevent is ignored; thecomputeDelayprimitive is only executed upon the first occurrence of theSTARTevent. -
It is a consequence of this behavior that in order to change the
delay interval, it is necessary to
STOPand re-STARTthe FB with the newDTvalue. -
See the
E_CYCLE_DEMOconfiguration for an example of how to do this programmatically.
-
In particular, the value of the