|
|
@@ -2268,7 +2268,7 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
this.refObjects.IO.WriteOutputIO("OUT_PIO_RECEIVABLE", true);
|
|
|
loggerPIO.I("[Vehicle] - 4 Receivable");
|
|
|
|
|
|
- if (!this.refObjects.IO.WaitChangeInputIO(true, 1 * ConstUtils.ONE_SECOND, "IN_PIO_SENDABLE"))
|
|
|
+ if (!this.refObjects.IO.WaitChangeInputIO(true, 10 * ConstUtils.ONE_SECOND, "IN_PIO_SENDABLE"))
|
|
|
{
|
|
|
PIOClear();
|
|
|
loggerPIO.E("[Port] - 4 Ready Time Out");
|
|
|
@@ -2284,7 +2284,7 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
loggerPIO.I("[Vehicle] - Conveyor Run");
|
|
|
this.OnConveyorStart?.Invoke(true);
|
|
|
|
|
|
- if (!this.refObjects.IO.WaitChangeInputIO(true, pioTimeout, "IN_PIO_SEND_RUN"))
|
|
|
+ if (!this.refObjects.IO.WaitChangeInputIO(true, 10 * ConstUtils.ONE_SECOND, "IN_PIO_SEND_RUN"))
|
|
|
{
|
|
|
this.refObjects.Conveyor.OnOffConveyor(false, true);
|
|
|
PIOClear();
|
|
|
@@ -2329,7 +2329,7 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
this.refObjects.IO.WriteOutputIO("OUT_PIO_RECIVE_COMPLITE", true);
|
|
|
loggerPIO.I("[Vehicle] Receive Complete On");
|
|
|
|
|
|
- if (!this.refObjects.IO.WaitChangeInputIO(true, pioTimeout, "IN_PIO_SEND_COMPLITE"))
|
|
|
+ if (!this.refObjects.IO.WaitChangeInputIO(true, 10 * ConstUtils.ONE_SECOND, "IN_PIO_SEND_COMPLITE"))
|
|
|
{
|
|
|
this.refObjects.IO.WriteOutputIO("OUT_PIO_RECIVE_COMPLITE", false);
|
|
|
loggerPIO.E("[Port] IN_PIO_SEND_COMPLITE On Time Out");
|
|
|
@@ -2372,7 +2372,7 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
return 13;
|
|
|
}
|
|
|
|
|
|
- if (!this.refObjects.IO.WaitChangeInputIO(true, 1 * ConstUtils.ONE_SECOND, "IN_PIO_READY"))
|
|
|
+ if (!this.refObjects.IO.WaitChangeInputIO(true, 10 * ConstUtils.ONE_SECOND, "IN_PIO_READY"))
|
|
|
{
|
|
|
loggerPIO.E("[Port] - 1 Ready not On");
|
|
|
return 17;
|
|
|
@@ -2381,7 +2381,7 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
this.refObjects.IO.WriteOutputIO("OUT_PIO_READY", true);
|
|
|
loggerPIO.I("[Vehicle] - 1 Ready On");
|
|
|
|
|
|
- if (!this.refObjects.IO.WaitChangeInputIO(true, 3 * ConstUtils.ONE_SECOND, "IN_PIO_RECEIVE_RUN"))
|
|
|
+ if (!this.refObjects.IO.WaitChangeInputIO(true, 10 * ConstUtils.ONE_SECOND, "IN_PIO_RECEIVE_RUN"))
|
|
|
{
|
|
|
PIOClear();
|
|
|
loggerPIO.E("[Port] - 2 Receive CV Run Timeout");
|