public bool IsVacumnSensor10PartsActive() { All10PartsPicked = _diOutputEndEffectorPnpPresent1.Get() == DigitalIOState.On && _diOutputEndEffectorPnpPresent2.Get() == DigitalIOState.On; return(All10PartsPicked); }
public bool IsInputStationHoldCarrier() { if (HSTMachine.Workcell.HSTSettings.Install.OperationMode == OperationMode.Simulation || (HSTMachine.Workcell.HSTSettings.Install.OperationMode == OperationMode.Bypass && HSTMachine.Workcell.HSTSettings.Install.BypassInputAndOutputEEsPickAndPlace == true)) { Thread.Sleep(CommonFunctions.SIMULATION_DELAY); return(false); } return(_diInputStationInPosition.Get() == DigitalIOState.On ? true : false); }
public bool IsBufferStationHoldCarrier() { if (HSTMachine.Workcell.HSTSettings.Install.OperationMode == OperationMode.Simulation || (HSTMachine.Workcell.HSTSettings.Install.OperationMode == OperationMode.DryRun && HSTMachine.Workcell.HSTSettings.Install.DryRunWithoutBoat)) { Thread.Sleep(CommonFunctions.SIMULATION_DELAY); if (_workcell.IsCarrierInBufferZone) { return(true); } else { return(false); } } return(_diBufferStationInPosition.Get() == DigitalIOState.On ? true : false); }
// Internal methods ---------------------------------------------------- private void CheckDigitalInputState(DigitalIOState workingState) { lock (ServiceManager.ErrorHandler) { if (HSTMachine.Workcell.HSTSettings.Install.OperationMode != OperationMode.Simulation) { if (this.TriggerError) { PostErrorMessage(); } else { if (_isAutoClearError) { ClearErrorMessage(); } } return; } if (_digitalInput == null) { return; } _workingState = workingState; if (_digitalInput.Get() != workingState /*&& !isBypassedOn*/) { PostErrorMessage(); } else { if (_isAutoClearError) { ClearErrorMessage(); } } } }
public bool isGroundMasterWorking() { return(_diGroundMasterOk.Get() == DigitalIOState.On); }
public bool IsInputStationCarrierClampOpen() { return(_diInputCarrierClampOpen.Get() == DigitalIOState.On ? true : false); }
public bool IsInputStationClampRotateCwOpen() { return(_diInputStationClampRotateCwOpen.Get() == DigitalIOState.On ? true : false); }
public bool IsInputStationClampForward() { return(_diInputStationClampForward.Get() == DigitalIOState.On ? true : false); }
public bool IsOutputClampOpenDetect() { return(_diOutputStationClampOpenDetect.Get() == DigitalIOState.On ? true : false); }