As shown in the Execution Control Chart (ECC) and algorithms below, an instance of the Function Block type
illustrated above sequences a set of four boolean outputs in an
order determined by the MODE
input. Following
initialization by an event at the INIT
input,
successive steps in the output sequence are triggered by events at
the REQ
input.
The animation above shows the results of the following procedure:
- An instance of the FB type is launched from a test window using the FBDK.
-
The FB is initialized by setting the MODE input to
3 (CHASE_UP)
and clicking the INIT event input button. - Successive events are generated by clicking on the REQ button.
The FLASHER_TEST, FLASHER_TESTL, FLASHER_TESTD,
and FLASHER_TESTR
system configurations
are examples of the application of an instance of this type.