Sepasoft MES Module Suite
PLC Commands and States
When creating a phase and selecting Exposed = True, parameters are available for configuration and can be accessed in the Ignition Tag Browser.
Because PLCs are not the best at handling string values, ordinal values for command and state parameters were added as a convenience.
More information:
PLC Commands
There are two batch parameters that can be used to issue commands. The Command parameter is the textual command and the Command Number is the ordinal (Integer) version. You can issue a command using either one. Setting the Command parameter to Hold, causes the Unit Procedure to be held. The same can be done by setting the Command Number parameter to 4.
Command ordinal values:
- None, 0
- Start, 1
- Pause, 2
- Resume, 3
- Hold, 4
- Restart, 5
- Stop, 6
- Reset, 7
- Abort, 8
PLC Monitoring
There are two batch parameters that can be used to monitor and change states. The State parameter is the textual command and the State Number is the ordinal (Integer) version.
The user can change the state using either one. By setting the State parameter to Complete, will cause the Phase to stop executing. The same can be done by setting the State Number parameter to 4.
State ordinal values:
- Unknown, 0
- Idle", 1
- Running", 2
- Complete", 3
- Restarting", 4
- Resetting", 5
- Pausing", 6
- Paused", 7
- Holding", 8
- Held", 9
- Stopping", 10
- Stopped", 11
- Aborting", 12
- Aborted", 13
Sepasoft MES Module Suite