8. Control Setup Manual

Last modified by Iaroslav Platonov on 2026/06/09 11:18

Link copied ✓

1. Introduction

CENTO is a multifunctional software platform for data acquisition, processing, and display. This manual describes how to configure the CENTO Control service, which is used to send control commands to controlled objects.

It is assumed that the user is already familiar with the basic elements of the CENTO interface after reading the User Manual.

Note
In CENTO, Control (C) refers to sending a non-negative integer value to a device. Remote control (TC) refers to sending a discrete (on/off) signal.

2. Control using the web interface

2.1. Control using the device, tags editor

A user with appropriate permissions can control objects using the Devices, Tags, Channels editor.

Important
By default, the Administrator role is not authorized for remote control and control operations, and the Dispatcher role does not have access to the Devices, Tags, Channels editor. To enable control and remote control via the editor, configure a custom role — for example, duplicate the Dispatcher role and assign it the necessary permissions.

To control a device, navigate to Settings → Devices, tags, channels and open the Tags, channels tab. In the device tree, locate the target device. Tags with preconfigured control functionality display either a C button (Figure 2.1) or a TC button (Figure 2.2) in the Control column.

Tags with remote control (TC) enabled

Figure 2.1. Tags with remote control (TC) enabled

Tags with both control (C) and remote control (TC) enabled

Figure 2.2. Tags with both control (C) and remote control (TC) enabled

Clicking C opens a password prompt (Figure 2.3). After successful authentication, a modal window appears for entering the value to write to the device (Figure 2.4).

Password entry prompt

Figure 2.3. Password entry prompt

Entering value for control

Figure 2.4. Entering value for control

After entering the value, click Send. Then confirm the command by clicking Execute, or cancel with Cancel (Figure 2.5).

Confirmation of the value write command

Figure 2.5. Confirmation of the value write command

Clicking TC also opens a password prompt. After authentication, a command selection window appears (Figure 2.6), followed by the same confirmation step.

Selecting a command for remote control

Figure 2.6. Selecting a command for remote control

3. Setting control

3.1. Setting using the web interface

Control configuration for tags transmitted via Modbus, OPC DA, or IEC-104 protocols is performed in Settings → Devices, tags, channels → Tags, channels tab. Select the target device in the device tree, then click on the tag identifier or name to open the Edit parameter interface.

The interface includes protocol-dependent fields: general settings, reading settings, and settings for writing:

  • Remote control (discrete signal) — for IEC-104: Remote control is allowed, Select before operate (SBO), Function, Command duration, Switch on/off address and value; for Modbus TCP: Remote control is allowed, Function, Value length, Switch on/off address and value, Write by bitmask.
  • Control (positive integer write) — for Modbus TCP: Write values, Function, Device Tag Data Type, Address, Byte order, and linear transformation limits; for OPC DA: Write values, Device Tag Data Type, and transformation limits.

Remote control (TC)

The Remote Control function is available for Modbus TCP (including Modbus RTU over TCP) and IEC-104 protocols.

Remote control via Modbus

Figure 3.1.1. Remote control settings — Modbus protocol

Remote control via IEC-104

Figure 3.1.2. Remote control settings — IEC-104 protocol

Field descriptions:

  • Remote control is allowed — enables sending record commands to the device at the specified address.
  • Select before operate (SBO) — requires command selection prior to executing the remote control command.
  • Function (IEC-104) — select the appropriate ASDU type from the drop-down list (Figure 3.1.4).
  • Function (Modbus) — available values:
    • FC5 (0x05) — write single coil (Force Single Coil)
    • FC6 (0x06) — write single register (Preset Single Register)
    • FC16 (0x10) — write multiple registers (1–123 registers)
  • Value length — number of registers to be written (for FC16).
  • Switch on/off address — register address in device memory where the enable/disable command is written (non-negative integer).
  • Switch on/off value — value written to execute the enable/disable command. Can be specified in decimal, binary (0b/0B prefix), octal (0 prefix), or hexadecimal (0x/0X prefix) format.
  • Write by bitmask — bitmask in decimal, binary, or HEX format.
Remote control function IEC-104

Figure 3.1.4. Remote control function — IEC-104

Control (C)

The Control function is available for Modbus TCP (including Modbus RTU over TCP) and OPC DA protocols.

Control settings — Modbus protocol

Figure 3.1.3. Control settings — Modbus protocol

Field descriptions:

  • Write values — enables sending value write commands to the device at the specified address.
  • Function — select the Modbus write function from the drop-down list (Figure 3.1.5): FC5 (0x05) for single coil, FC16 (0x10) for multiple registers.
  • Address — tag address in device memory where the value will be written (non-negative integer in decimal format).
  • Byte order — selects the order of bytes and/or words in the written data (Figure 3.1.6).
  • Device Tag Data Type — data type used by the device to store values; see device manual (Figure 3.1.7).
Modbus control function

Figure 3.1.5. Modbus write function options

Byte order options

Figure 3.1.6. Byte order options

Device Tag Data Type

Figure 3.1.7. Device Tag Data Type options

In the Transformation block (Figure 3.1.8), a linear transformation converts the physical quantity into the value to be written, using defined upper and lower limits for both. These limits define the valid ranges within which data can be entered.

Transformation block for linear conversion

Figure 3.1.8. Transformation block for linear conversion

For devices using OPC DA, the Control function is simpler to configure: enable Write values, select the device tag data type, and define the required transformation limits (Figure 3.1.9).

Control settings — OPC DA protocol

Figure 3.1.9. Control settings — OPC DA protocol

3.2. Setting control using MS Excel

To configure Control for a tag using Excel, navigate to Settings → Configuration files. On the Import/Export configuration file page (Figure 3.2.1), click Download in the Tags and Channels section to download the template.

Import/Export configuration files page

Figure 3.2.1. Import/Export configuration files page

The downloaded file contains all tags configured in CENTO. The table includes dedicated columns for Control and Remote Control (Figure 3.2.2):

Table of tags — remote control columns

Figure 3.2.2a. Table of tags — remote control columns

Table of tags — control columns

Figure 3.2.2b. Table of tags — control columns

  • Resolution of TU — enables the ability to send remote control (write) commands.
  • Register address enable / disable — register address in device memory for the enable/disable command (non-negative integer).
  • Value for enable / disable — value written to execute the enable/disable command.
  • Control resolution — enables the ability to send value write commands.
  • Write function — see device manual; ID mapping is on the ID Directory sheet (Figure 3.2.3).
  • Device data type — see device manual; ID mapping is on the ID Directory sheet (Figure 3.2.4).
  • Write address — memory address of the tag in the device where the value will be written.
  • Byte order — see device manual; ID mapping is on the ID Directory sheet (Figure 3.2.5).
  • Transformation limits — Physical value and write value lower/upper limits for Modbus linear transformation.
ID Directory write function

Figure 3.2.3. ID Directory — write functions

ID Directory data type

Figure 3.2.4. ID Directory — data types

ID Directory byte order

Figure 3.2.5. ID Directory — byte order

After completing the configuration, upload the file back to CENTO. Click Upload in the Tags and Channels block, then Select a file and choose the edited file. Click Check to validate for errors. If the check passes, click Save to write the configuration to the database. Resolve any errors and repeat until validation succeeds.

3.3. Setting up control in the Information Model

The Information Model (IM) is an add-on to the structure recorded in CENTO. IM classes define the types and subtypes of all devices on the site.

To add Control to the IM, download the Excel file from Settings → Configuration files → Information Model Classes (Figure 3.2.1), or configure it via the web editor at Information Model Editor → Classes (Figure 3.3.2).

Creating the Write value class

In the downloaded Excel file, first create a new class Write value in the List of Classes sheet. Then create a separate sheet where the code name matches the tab name (Figure 3.3.1).

Write value class with attributes in Excel

Figure 3.3.1. Write value class with attributes in Excel

This class has four attributes:

  • Tag ID — mandatory.
  • Lower/upper limit — optional; define the valid range for entered values.
  • Value variants — optional convenience field; reference a directory using the code ref_value_variants in the Type column (see Figures 3.3.6–3.3.7) to enable predefined value selection.
Write value class in the IM editor web interface

Figure 3.3.2. Write value class in the IM editor web interface

Creating the control class (e.g. Motor)

Create a class (for example, Motor) whose attributes reference the Write value class by entering the class code in the Type column (Figure 3.3.3).

Motor class with Write value attributes in Excel

Figure 3.3.3. Motor class with Write value attributes in Excel

Motor class in the IM editor web interface

Figure 3.3.4. Motor class in the IM editor web interface

Configuring the IM object

In the IM object editor, create an object with the class Motor. In the Attributes table, set the tag ID, limits, and value variants (Figure 3.3.5).

Configuring Control in the Information Model (object editor)

Figure 3.3.5. Configuring Control in the Information Model (object editor)

Configuring IM directories

To add named value aliases for writing, download the template from the Information model references block. On the Categories sheet, add the directory code and name (Figure 3.3.6). Then place the directory on a separate Excel tab with a name matching the code, and fill in the write values (Figure 3.3.7).

Adding an IM directory category

Figure 3.3.6. Adding an IM directory category

IM directory value table in Excel

Figure 3.3.7. IM directory value table in Excel

IM directories can also be configured via the Information Model Editor → Directories tab (Figure 3.3.8).

IM directory in the web editor

Figure 3.3.8. IM directory in the web editor

Single remote control command

For IM objects intended for remote control from a mimic diagram, add the following system attributes to the object’s class (Figure 3.3.9):

Attribute codeDescription
telecontrol_on_tiTag ID for switching the object on
telecontrol_off_tiTag ID for switching the object off
telecontrolledFlag: TRUTH – remote control available; FALSE – not available
Adding remote control attributes to the Switch class

Figure 3.3.9. Adding remote control attributes to the Switch class

Configuring Switch remote control via Excel

Figure 3.3.10. Configuring Switch remote control via Excel

Remote control can also be configured in the IM Editor (Figure 3.3.11).

Configuring switch remote control via the web editor

Figure 3.3.11. Configuring switch remote control via the web editor

Multiple remote control commands

For objects with multiple remote control commands, the IM includes the system class Telecontrol (class code: telecontrol) with the following attributes (Figure 3.3.12):

Telecontrol system class with attributes

Figure 3.3.12. Telecontrol system class with attributes

Create a class whose attributes reference the Telecontrol system class (Figure 3.3.13). Configure the IM object with multiple remote control commands (Figure 3.3.14). The resulting drop-down menu on the mimic diagram is shown in Figure 3.3.15.

Class attributes with Telecontrol type

Figure 3.3.13. Class attributes with Telecontrol type

IM object with multiple remote control commands

Figure 3.3.14. IM object with multiple remote control commands

Diagram element drop-down with multiple remote control commands

Figure 3.3.15. Diagram element drop-down with multiple remote control commands

Tip
The Telecontrol system class can also be used for objects with a single remote control command — just add one Telecontrol attribute to the class as shown in Figure 3.3.13.

3.3.1. Control and remote control without password

By default, sending control and remote control signals requires password entry. To enable password-free control, add the attribute Control without password with code skip_password and type bool to the object's class (Figure 3.3.16).

Adding the skip_password attribute to a class

Figure 3.3.16. Adding the skip_password attribute to a class

When creating an object of this class, include this attribute and set it to true (Figure 3.3.17).

IM object configured for password-free control

Figure 3.3.17. IM object configured for password-free control

For password-free remote control, add an attribute with any name but with the code skip_password and type bool to the class (Figure 3.3.18).

Configuring the password-free remote control attribute

Figure 3.3.18. Configuring the password-free remote control attribute

Enable this attribute on the relevant IM object (Figure 3.3.19) and test the command sending on the diagram.

IM object with password-free remote control enabled

Figure 3.3.19. IM object with password-free remote control enabled

3.3.2. Configuring permission for remote control

Some devices require an initial permission signal sent to a dedicated register before accepting remote control commands. To implement this in CENTO, add the following attributes to the object class (Figure 3.3.20):

Attribute codeDescription
telecontrol_permit_on_tiTag ID for granting permission to switch on
telecontrol_permit_off_tiTag ID for granting permission to switch off
Attributes for remote control permission in the IM class

Figure 3.3.20. Attributes for remote control permission in the IM class

Assign the corresponding tag IDs to these attributes of the IM object. These tags are configured to send a signal to the register that enables remote control (Figure 3.3.21).

Assigning tag IDs for telecontrol permission

Figure 3.3.21. Assigning tag IDs for telecontrol permission

When using the Telecontrol system class, the permission attributes are named permit_on_tag and permit_off_tag (Figure 3.3.22).

Permission attributes in the Telecontrol system class

Figure 3.3.22. Permission attributes in the Telecontrol system class

Some devices use a single tag for this function; others use two separate tags. These permission tags are configured the same way as direct remote control tags, differing only in the register address (Figure 3.3.23).

Tag configuration for telecontrol permission signal

Figure 3.3.23. Tag configuration for telecontrol permission signal

Note
After adding telecontrol_permit_on_ti and telecontrol_permit_off_ti, configuring the tags, and assigning them to the IM object, CENTO automatically sends the permission command before the actual remote control command.

The following screenshots illustrate common configuration scenarios and recommended settings for control operations in CENTO.

Recommended settings example 1

Figure 4.1. Recommended control configuration example

Recommended settings example 2

Figure 4.2. Remote control configuration example

Special case example 1

Figure 4.3. Special case — bitmask configuration

Recommended settings example 4

Figure 4.4. Configuration reference — variant A

Recommended settings example 5

Figure 4.5. Configuration reference — variant B

Recommended settings example 6

Figure 4.6. Configuration reference — variant C

Parent topic: CENTO Manuals