public MHEControl_PalletCommPoint(PalletCommPointATCInfo info, PalletCommunicationPoint cPoint) { commPoint = cPoint; commPointATCInfo = info; Info = info; // set this to save properties commPoint.commPointArrival = ap_Enter; //CommunicationPoint will use this delegate for ap_enter. casePLC = CommPoint.Controller as MHEController_Pallet; }
private void LocationLeft(PalletCommunicationPoint commPoint, IATCPalletLoadType palletLoad) { if (AlwaysArrival || palletLoad.Location == palletLoad.Destination) { palletLoad.Location = commPoint.Name; //palletLoad.MTS = commPoint.ControllerName; casePLC.SendLocationLeftTelegram(palletLoad as IATCPalletLoadType); } }
private void TransportFinished(PalletCommunicationPoint commPoint, IATCPalletLoadType palletLoad) { if (AlwaysArrival || palletLoad.Location == palletLoad.Destination) { palletLoad.Location = commPoint.Name; casePLC.SendTransportFinishedTelegram(palletLoad); if (LoadWait) { palletLoad.LoadWaitingForWCS = true; palletLoad.Stop(); } } }
//TODO: For the loads that are stopping on the case conveyor at these communication points it //has to be placed in the correct position otherwise its can be an issue (I have found that placing //them in exactly the correct place compaired to a accumulation sensor is a good position as all atction point are triggered private void TransportRequest(PalletCommunicationPoint commPoint, IATCPalletLoadType palletLoad) { if (AlwaysArrival || palletLoad.Location == palletLoad.Destination || string.IsNullOrEmpty(palletLoad.Destination)) { palletLoad.Location = commPoint.Name; //palletLoad.MTS = commPoint.ControllerName; casePLC.SendTransportRequestTelegram(palletLoad); if (LoadWait) { //[BG] Not happy with this, if this is used then it needs to be understood what the issues are with it //(Like stopping on a belt is bad and you need to put the Comm Point in the right place on accumulation conveyor) palletLoad.LoadWaitingForWCS = true; palletLoad.Stop(); } } }
private void TransportRequestOrFinished(PalletCommunicationPoint commPoint, IATCPalletLoadType palletLoad) { if (palletLoad.Location == palletLoad.Destination) { //Send TransportFinishedTelegram palletLoad.Location = commPoint.Name; casePLC.SendTransportFinishedTelegram(palletLoad); } else { //Send TransportRequestTelegram palletLoad.Location = commPoint.Name; casePLC.SendTransportRequestTelegram(palletLoad); } if (LoadWait) { palletLoad.LoadWaitingForWCS = true; palletLoad.Stop(); } }