Skip to main content

Quality and command codes

For what quality and commands mean, see Quality and Commands and confirmation.

Driver quality​

CodeQualityShown as
0GoodGood
1UncertainUncertain; Uncertain · Simulated for a simulated value
2BadBad
3Not connectedBad · Not connected
4OverflowUncertain · EU exceeded
5SubstitutedGood · Substituted (field manual) or Good · Local override (SCADA manual)

Quality reasons: 1 Comm failure, 2 Sensor failure, 3 Config error, 4 Stale (last usable), 5 EU exceeded, 6 Initial value.

Quality bits​

BitValueMeaning
IV0x80Invalid
NT0x40Not topical
SB0x20Substituted
BL0x10Blocked
OV0x01Overflow

Screen and screen script quality (quality)​

ValueMeaning
0Good
1No connection between the browser and the server
2Driver or device not connected
3Signal failure (Uncertain, Bad or Overflow)
4Manual value
5Simulated value

Command states (.cmd_state)​

ValueStateMeaning
0IdleNo command in progress
1SendingThe command is on its way
2AppliedThe device accepted the command
3RejectedThe command was refused
4TimeoutNo result came back in time
5ReadbackMismatchThe read-back value differs from the value sent
6UnconfirmedSent; the device does not confirm commands
7ConfirmedRead-back or feedback showed the expected value
8NotConfirmedFeedback did not reach the expected value in time

Command reason codes​

The text is shown after Command rejected or the other result texts.

CodeText shown
no_commNo device communication
staleCommand expired, not applied
busyPrevious command in progress
unknown_tagSignal not found
not_writableSignal is not writable
type_mismatchValue type not suitable
out_of_rangeValue out of range
access_deniedDevice does not allow writing
device_errorDevice returned an error
timeoutNo response from device
unsupportedThis operation is not supported
forbiddenYou are not authorised to send commands
unauthorizedSession required
login_requiredSign in to send commands
zone_forbiddenYou do not have control rights for this zone
zone_not_controlledThe area is controlled by someone else, not by you.
zone_unavailableThe area information has not loaded yet; try again.
internalSystem error
readback_mismatchRead-back value did not match the sent value
forbidden_roleYour role is not permitted to write this signal
limit_confirm_requiredWrite limit confirmation required
approval_requiredCritical command: reason / second-user approval required
approval_invalidSecond-user approval is invalid
unlock_invalidThe interlock override is invalid or already used; override the interlock again.
unlock_rules_changedThe interlock rules have changed; override the interlock again.
select_requiredSelect the device first (select → confirm in the control panel)
select_expiredThe selection expired — select the device again
reservedThe device is selected by another operator
taggedDevice is tagged — commands blocked
cancelledCancelled — not sent
not_confirmedFeedback did not reach the expected value