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
EO
output at a timeDT
after the first occurrence of an event at theSTART
input. -
Following the processing of the
EO
event, anotherEO
event is issued following another delay ofDT
. -
This cycle continues until the occurrence of an event at the
STOP
input. -
The FB then returns to a state of waiting for the next occurrence
of a
START
event.
-
An event is generated at the
-
As illustrated in the no_restart service
sequence below, the occurrence of another
START
event prior to the occurrence of aSTOP
event has no effect.-
In particular, the value of the
DT
input upon the occurrence of anotherSTART
event is ignored; thecomputeDelay
primitive is only executed upon the first occurrence of theSTART
event. -
It is a consequence of this behavior that in order to change the
delay interval, it is necessary to
STOP
and re-START
the FB with the newDT
value. -
See the
E_CYCLE_DEMO
configuration for an example of how to do this programmatically.
-
In particular, the value of the