If no data is collected via the MKCollector during production, this function block allows the production lock to be bypassed.
VAR_INPUT BPCtoPLC_Heartbeat: BOOL; (* Output from MK|Ware: heartbeat signal from MKTerminal *) CollectorBypass_Enable: BOOL; (* Signal to release production without MKCollector *) Pulsduration: TIME:= t#500ms; (* Duration of heartbeat pulse *) TimeoutTime: TIME:=t#10s; (* Timeout duration *) END_VAR
VAR_OUTPUT RunWithout_Collector: BOOL; (* Signal that enables the work center to operate without //MKCollector//. *) BPCfromPLC_Heartbeat: BOOL; (* Output to MK|Ware: heartbeat signal. *) Alarm_CollectorTimeout: BOOL; (* Alert in case no heartbeat is detected. *) Error: STRING; (* Description of the error for error analysis *) ErrorID: INT; (* Error ID for error analysis *) END_VAR
| BPtoPLC_Heartbeat | CollectorBypass_Enable | RunWithoutCollector | |
|---|---|---|---|
| blinking | TRUE | FALSE | |
| blinking | FALSE | FALSE | |
| FALSE | FALSE | TRUE | |
| FALSE | TRUE | FALSE |