1. Home
  2. Unit
  3. Unit Procedure State Management

Unit Procedure State Management

START Pressed

  • Set Mstr,
  • 1-Shot Init
    • ST = RUNNING
    • Reset all Timers

HOLD Pressed or HasFailure

  • ST = HOLDING
  • Set Paused
  • Set PH Hold Command if not Holding/Held
  • Wait for PH.Held
    • Assume Held if ST=Holding/Held
    • Cancel Held if any acquired phase is not held, idle or ended
  • ST = HELD (once held always held)

RESTART Pressed

  • ST = RESTARTING
  • Set Paused
  • Set PH Restart Command if held or ended
  • Wait for PH.Running
    • Assume Running if ST = Restarting/Running
    • Cancel Running if any acquired phase is not idle, ended or running
  • ST = RUNNING

STOP/ABORT Pressed

  • ST = STOPPING or ABORTING
  • Wait for Mstr = False
    • Stop/Abort/Cplt will reset Mstr
    • (this could optionally be skipped giving time for custom logic to stop/abort under control)
  • Wait for PH.Stopped/Aborted/Completed
    • Assume Ended if Stopping or Stopped
    • Cancel Stop if acquired phase is not idle and not ended
  • ST = STOPPED/ABORTED/COMPLETED
  • Wait for PH.Idle
    • Assume Idle if Mstr = False
    • Cancel Idle if phase is acquired
  • ST = IDLE

 

 

Updated on January 7, 2019

Related Articles

Password Protected