As shown in the Execution Control Chart (ECC) above, an event is issued at the RING_LOST output of an instance of this Function Block type when a ring passes through the sortation station of the Sortation/Inspection testbed without being deflected into the assembly hopper.
See the TESTBED_MVL.HMI.RING_LOST_DETECT
Resource configuration for an example of the use of an instance of
this FB type.
EVENT_INPUT
REQ WITH METAL_PEG_DETECT,SORT_AREA_DETECT,RING_PRESENT;
(* Input Data Change Notification *)
TIMEOUT; (* External Timer Output Event *)
END_EVENT
EVENT_OUTPUT
RING_LOST; (* Ring Lost Notification *)
START_TMR; (* External Timer START event *)
END_EVENT
VAR_INPUT
SORT_AREA_DETECT : BOOL; (* Ring or metal peg is in sortation station *)
METAL_PEG_DETECT : BOOL; (* Metal peg is present in sortation station *)
RING_PRESENT : BOOL; (* Ring is present at rotary feed station *)
END_VAR