{{indexmenu_n>7}}
====== MKWare_Bypass_Collector ======
If no data is collected via the //MKCollector// during production, this function block allows the production lock to be bypassed.
===== VAR_INPUT =====
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 =====
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
===== Example of a function block =====
{{:de:interfaces:mkcollector:general:verriegelung:bypasscollector:pasted:20241029-093922.png}}
===== Possible combinations =====
|<70% 20% 10%>|
|^BPtoPLC_Heartbeat ^CollectorBypass_Enable ^RunWithoutCollector |
|blinking |TRUE |FALSE |
|blinking |FALSE |FALSE |
|FALSE |FALSE |TRUE |
|FALSE |TRUE |FALSE |