Breadcrumbs

Components

DigitalInputs

The DigitalInputs component is a bulk component to service all digital inputs (or inputs working in the digital mode) in the devices covered in the iClib.

85e64ae6-27e3-4097-9e46-cafd3e4a4cb7.png
The DigitalInputs component

The DigitalInputs component has the following slots:

  • In: a 24-bit numeric value representing Di1-Di12 inputs of the iSMA-B-MAX module or Di1-Di16 and Ui1-Ui8 inputs of other families and depending on the Max Device slot value:

    • if the Max Device slot is true:
      first 12 bits (0x000FFF mask) transfer values to the Di1-Di12 slots;

    • if the Max Device slot is false:
      first 16 bits (0x00FFFF mask) transfer values to the Di1-Di16 slots;
      17-24 bits (0xFF0000 mask) transfer values to the Ui1-Ui8 slots;

  • In2: a 12-bit numeric value representing bits of the iSMA-B-MAX device Di13-Di24 digital inputs;

Note: The In2 slot is active only if the Max Device slot is true.

  • Di1-Di12: slots of 1-12 digital inputs channels;

    • state of first 12 bits of the In slot;

  • Di13-Di16: slots of 13-16 digital inputs channels;

    • state of 13-16 bits of the In slot if the Max Device slot is false;

    • state of 1-4 bits of the In2 slot if the Max Device slot is true;

  • Di17-Di24: slots of 17-24 digital inputs channels;

    • state of 5-12 bits of the In2 slot if the Max Device slot is true;

  • Ui1-Ui8: slots of 1-8 universal inputs working as digital inputs channels;

    • state of 17-24 bits of the In slot if the Max Device slot is false;

  • Max Device: allows to change a control algorithm between the one specific for the iSMA-B-MAX module and others devices.

Note

For the iSMA-B-MAX device, the In slot needs to be linked from the Modbus register value configured as an integer (16-bit) value (decimal: 15), and the In2 slot needs to be linked from the Modbus numeric value configured as an integer (16-bit) value (decimal: 215).

For devices equipped only with digital inputs, the In slot needs to be linked from the Modbus numeric value configured as an integer (16-bit) value (decimal: 15).

For devices equipped only with universal inputs only or with digital inputs and universal inputs, the In slot needs to be linked from the Modbus numeric value configured as a long (32-bit) value (decimal: 15).

DigitalOutputs

The DigitalOutputs component is a bulk component to service all digital outputs (or outputs working in the digital mode) for devices covered in the iClib.

image-20221228-093935.png
The DigitalOutputs components

The DigitalOutputs component has the following slots:

  • Out: 24-bit numeric value representing Do1-Do16 and Ao1-Ao8 outputs:

    • firsts 16 bits (0x00FFFF mask) are affected by state of DI1-DI16 slots.

    • 17-24 bits (0xFF0000 mask) are affected by state of AO1-AO8 slots

  • Do1-Do16: slots of 1-16 digital outputs channels (transferring values to first 16 bits of the Out slot);

  • Ao1-Ao8: slots of 1-8 analog outputs working as digital outputs channels (transferring values to 17-24 bits of the Out slot).

Note

For devices equipped only with digital outputs, the Out slot needs to be linked to the Modbus numeric value configured as an integer (16-bit) value (decimal: 17).

For devices equipped only with analog outputs or digital outputs and analog outputs, the Out slot needs to be linked to the Modbus numeric value configured as a long (32-bit) value (decimal: 17).

ModbusClientStringWritable

The ModbusClientStringWritable component is a network point that writes and reads 2 ASCII characters in one Modbus register. It is required to send up to 4 characters of the main menu to the iSMA-B-LP device.

6a3f6ada-e262-4bea-aad7-2b1c7794dd64.png
The ModbusClientStringWritable component