Skip to main content

Set up commands

A signal with write access can receive commands from operators and scripts. The Command tab of the signal decides who may send them, whether a reason or a second person is needed, and how YTCC checks that the command took effect. For how operators send commands, see Send commands.

Before you begin​

  • The signal window is open and the signal has the access Read / Write or Write only; only then the Command tab is shown.

Steps​

1. Set who may send and how​

Open the Command tab and set:

SettingOptionsMeaning
Write permissionTag Write (default) or a profileWho may send commands, in addition to the Tag Write permission
ConfirmationAlways (writes to the field)Every command to the field asks the operator for confirmation; this cannot be switched off per signal. Only a Write Tag action on a button of a command popup can leave out the window; see Action types
Critical commandNo, Reason required, Reason + second-user approvalA reason, and optionally the approval of a second user with Approve commands (four eyes), is required before sending
Readback timeout (ms)100 to 600 000, empty = no readbackHow long YTCC waits for the value to arrive back
Readback toleranceA numberHow far the value read back may differ from the value sent
Failure alarmOff (log only), Low, Medium, High, CriticalThe priority of the alarm raised when a command fails
Command tab of T101.LevelSetpoint with Critical command Reason required, Readback timeout 3000 ms, tolerance 0.5 and Failure alarm High.

2. Check the verification​

The Verification section sets how a command is confirmed:

  • read back right after the write: YTCC reads the address again after writing (on by default for read/write signals; not possible for write-only signals).
  • Feedback signal: another signal that shows the result, for example the running status for a start command; by default the signal itself.
  • Expected value: the value expected back for each value sent, written as sent→expected, for example 1→1, 0→0; by default the value sent.
Verification section with read back right after the write, Feedback signal, Expected value and the stages Sent → Device accepted → Confirmed.

The note below shows the stages for the current settings, for example Stages: Sent → Device accepted (protocol: write response, IEC ACTCON, DNP3 echo) → Confirmed (immediate read-back of the same address within 3000 ms). Otherwise: Readback mismatch / Not confirmed + failure alarm. Without a readback timeout the command stops at Device accepted.

Click OK and apply the configuration; see Validate and apply.

IEC 60870-5 signals​

For signals of an IEC 104 or IEC 101 driver the tab has an IEC 60870-5 section:

SettingOptions
Command typesingle (C_SC, default), double (C_DC), regulating step (C_RC), setpoint normalized (C_SE_NA), setpoint scaled (C_SE_NB), setpoint float (C_SE_NC)
Qualifier (0 … 31)0 by default
select before operateThe device is first selected, then the command executed; a refused selection stops the command
wait for ACTTERMThe command counts as done only when the device reports termination

How a command ends​

Every command gets a result that operators see and that is logged with who, when and the result: sent, device accepted, confirmed, read-back mismatch, rejected or timed out. A rejected, timed-out or mismatching command raises a Command failed alarm with the chosen priority; it must be acknowledged and cannot be shelved.

  • Commands are not queued: a command older than 2 seconds is dropped, and a second command to the same signal is refused while the first one is in progress.
  • Some protocols cannot confirm a command, for example IEC 104 and MQTT; the command then stays sent, unacknowledged unless a readback confirms it.
  • Write limits and allowed values are set on the General tab; see Process signal values.
  • A signal of type Enum accepts only the whole numbers of its enum type. Any other value is rejected before it reaches the driver, with Value out of range and the allowed values in the message; range and clamping do not apply. An example is an enum type with 1 = OFF and 2 = ON for a double command.
  • For a signal in a responsibility zone the user must also control the zone.