Skip to main content

IOMOD HT User Manual IEC 60870-5-101

Introduction

IOMOD HT is used for temperature and humidity data monitoring over Modbus (RTU), IEC 60870-5-103 or IEC 60870-5-101. Advanced version of the device is also capable of switching relays automatically (thermostat function) as configured.

Features

  • Temperature measurement in 0.1°C resolution
  • Humidity measurement in 0.1% resolution
  • Modbus, IEC-60870-5-103 and IEC-60870-5-101 communication over RS485
  • 2 normally open relay outputs (advanced version)
  • Automatically configurable relay switching on temperature or humidity change
  • Configuration over USB console
  • Drag and Drop firmware upgrade over USB mass storage
  • LED indication for input/output and data transmission
  • Spring contact connectors
  • Easy connection with WCC Lite gateway and CloudIndustries.eu platform

Operational Information

IOMOD uses Modbus (RTU) or IEC-60870-103 or IEC-60870-101 protocols over RS485 connection, which can be used with cable length up to 1500 meters and connect up to 30 devices on one line. Default IEC 60870-5-101 settings are: 9600 baudrate, 8 databits, E parity, 1 stopbit , Slave address - 1.

To read temperature and humidity, user can use device with default settings without configuring it. To enable thermostat function, user can configure device over USB or over MODBUS. Configurable options are shown in table below.

CONFIGURABLE OPTIONS OVER USB OVER MODBUS
Slave Address Yes No
Baudrate Yes No
Data, Stop and Parity bits Yes No
RS485 Terminating Resistor Yes No
1st Relay active mode Yes Yes
1st Relay active range Yes Yes
2nd Relay active mode Yes Yes
2nd Relay active range Yes Yes
Default Settings Yes No

PWR LED

Green - Normal operation, device is powered correctly.

RX/TX LED

The RX/TX LED on the IOMod flashes when data is either being transmitted or received via the RS485 port.

IEC 60870-5-101 working information

Initialization

IOmod uses a standard IEC-60870-5-101 communication scheme. Initiation, control messages, and queries are initiated by the master (controlling station), while the IOmod device (controlled station) only answers these requests. Therefore, the first message should be sent by the master to request status of link (function code = 9). This message is answered by IOmod with the status of link (function code = 11) if link is available. Otherwise there is going to be no response. After receiving the status of link the master will send Reset of remote link command (function code = 0) to restart the communication. The IOMod can respond with either acknowledgment (function code = 0, ACK) or Negative Acknowledgment (function code = 1, NACK). If IOMod respond is ACK then the initialization procedure is finished. The described procedure enables the master to proceed with sending other messages defined by the IEC-60870-5-101 protocol. 

Data polling

When initialization is complete, the master may request data from the IOmod device with general interrogation. Although according to the protocol specification IOMod will send data on value change,  the HT IOMod responds with type 30 (M_SP_TB_1) a single point value with a time tag. 

Output control

To control device outputs master (controlling station) sends a command conforming to the IEC-60870-5-101 protocols. Negative acknowledge is returned if the sent command isn't configured. For example wrong address or type.

Sensor messages

When input status changes, IOmod device filters input glitches through filters with a user-configurable filter time. When the filter is passed device sends a message with the 36 data type (M_ME_TF_1) if the measurements type is float, if it is integer, the device sends a message with the 34 data type (M_ME_TD_1),

Time synchronization

To initiate the time synchronization between devices the master must send a Clock Sync command. The command type is C_CS_NA_1 (103) and the Cause of Transmission (COT) has to be 6. The command has to be sent to the correct link address and CASDU, which is the same as the link address by default. If the sent frame is correct the IOMod will respond with a C_CS_NA_1 (103) type command with the COT (cause of transmission) of 7 and the p/n bit will be positive (0) also the command will be time-tagged with the device time. If the time synchronization feature is disabled or the command is sent to an undefined CASDU the response is the same except the p/n bit will be negative (1).

General interrogation

General Interrogation (GI) is initiated by the master sending the General Interrogation command. The command type is C_IC_NA_1 (100) and the Cause of Transmission (COT) has to be 6. The command has to be sent to the correct link address and CASDU, which is the same as the link address by default. If the sent frame is correct the IOMod will respond with a C_IC_NA_1 (103) type command with the COT (cause of transmission) of 7 and the p/n bit will be positive (0). Otherwise, it will respond with the same command just that the p/n bit will be negative (1). Then the device will begin to send all of its data. After that's done the IOMOD will also send another 100 type command with the COT (cause of transmission) of 10 (ActTerm) meaning the general interrogation is over.

Technical information

System
Dimensions 26 (H) x 71 (W) x 71 (L), mm
Case  ABS, white
Working environment Indoors
Working temperature -20 ÷ +70 °C
Recommended operating
conditions
5 – 60 °C and 20 – 80 %RH;
Configuration USB
Firmware upgrade USB – mass storage device
Electrical Characteristics Basic Advanced
Termination Resistor Selectable 120 Ω Selectable 120 Ω
Power supply 12-24 VDC, 8 mA (nominal); 5-33 VDC (full range) 24 VDC, 25 mA (nominal); 18-27 VDC (full range)
Relays - 2 (Normally Open);
Relay specifications Basic Advanced
Resistive load (cosφ=1) - 5 A at 250 VAC, 5 A at 30 VDC
Inductive load (cosφ=0.4, L/R=7ms) - 2 A at 250 VAC, 2 A at 30 VDC
Max. switching power - 1,250 VA, 150 W

Device Connection

IOMOD HT has integrated 120 Ω termination resistor which can be enabled or disabled over USB configuration. It is recommended to use termination at each end of the RS485 cable. See typical connection diagram on Fig. 1.

Screenshot_13.png

Fig. 1.

Figure 2 shows explanation on device connection.

Screenshot_14.pngFig. 2.


Configuration over USB

Driver installation

Device requires USB drivers to work as a Virtual COM port. First-time connection between device and computer could result in “Device driver software was not successfully installed” error such as one shown in Fig. 3.

image-1638433464719.png

Fig. 3.

A user then should manually install drivers by selecting a downloaded driver folder:

  • Go to Control Panel -> Device Manager;
  • Select a failing device;
  • Press “Update driver software”; screen as in Fig. 4 should appear:

image-1638433541326.png

Fig. 4.

  • Select “x86” driver for a 32-bit machine or x64 for a 64-bit machine. If not sure, select a root
    folder (folder in which x64 and x86 lay inside, as in Fig. 5).

image-1638433569486.png Fig. 5.

IOMod HT configuration via PuTTY terminal

Configuration of IOMOD device is done through CLI (Command Line Interface) on virtual COM port. Drivers needed for MS Windows to install VCOM will be provided. To open up CLI simply connect to specific VCOM port with terminal software (it is advised to use PuTTY terminal software. If other software is being used, user might need to send <return> symbol after each command). When connected user should immediately see main screen similar to one in Fig. 6.

image-1693216941238.PNGFig. 6.

Navigation is performed by pressing number connected to its function. User then should proceed by following further on-screen instructions. For example, to set desired slave address, press [1] to enter Slave Address screen; enter new configuration; press [RETURN] (Enter) to save, or [ESC] to cancel changes. When done, press [0] (exit) before disconnecting device. Default values are set by pressing [7] on main screen, and later confirming these changes by pressing [1].

If terminal window is accidentally closed without exiting, user can connect to terminal again, and press any key on keyboard to show up main menu once again.

Configuration of device is not possible when USB Simulation Mode is entered. To access configuration menu again user should reset device and then try again.

IOMOD HT Basic IEC 60870-5-101 main menu


Menu Name

Function

Values

Default Values

1.

Link Address

Setts Link address

1-255

1

2.

Baudrate, Parity and stop bits

Enters configuring screen for communication settings

[1] Set 8 Data bits + 1 Stop bit
[2] Set 8 Data bits + 2 Stop bit
[3] Configure Baudrate
[4] Configure Parity
[0] Back

[3] 9600 baudrate,

8 Data bits + 1 Stop bit,

[4] Parity - Even

3.

RS485 Terminating Resistor

RS485 120 Ohms Terminating Resistor

[1] Enable
[2] Disable

Disabled

6.

Protocol settings

Change specifitc protocol options

[1] Toggle 24/56 bit time
[2] Change IOA size
[3] Toggle measurements type
[4] Toggle measurements time

[0] Back

[1] 56 bit
[2] 1
[3] Float
[4] Enabled

7.

Set Default Settings

Sets Default Settings

[1] Confirm
[0] Cancel

-

8.

Firmware Upgrade

Mass Storage Device Firmware Upgrade

[1] Confirm
[0] Cancel

-

9.

Diagnostics

Input / Output states

[] Refresh
[9] Enter USB protocol simulator mode
[0] Back

-

0.

Exit

Exit and disconnect

-

-

IOMOD HT Advanced IEC 60870-5-101 main menu


Main Menu Function Values Default Values

Menu Name

Function

Values

Default Values

1.

Link Address

Setts Link address

1-255

1

2.

Baudrate, Parity and stop bits

Enters configuring screen for communication settings

[1] Set 8 Data bits + 1 Stop bit
[2] Set 8 Data bits + 2 Stop bit
[3] Configure Baudrate
[4] Configure Parity
[0] Back

[3] 9600 baudrate,

8 Data bits + 1 Stop bit,

[4] Parity - Even

3.

RS485 Terminating Resistor

RS485 120 Ohms Terminating Resistor

[1] Enable
[2] Disable

Disabled

4. Relay #1 settings Active mode and active range Active mode: 1 –Relay disabled; 2- Temperature active 3- Humidity active; active range: -10 to 60 (temperature) and 0 to 100 (humidity) 0
5. Relay #2 settings Active mode and active range Active mode: 1 –Relay disabled; 2- Temperature active 3- Humidity active; active range: -10 to 60 (temperature) and 0 to 100 (humidity) 0

6.

Protocol settings

Change specifitc protocol options

[1] Toggle 24/56 bit time
[2] Change IOA size
[3] Toggle measurements type
[4] Toggle measurements time

[0] Back

[1] 56 bit
[2] 1
[3] Float
[4] Enabled

7.

Set Default Settings

Sets Default Settings

[1] Confirm
[0] Cancel

-

8.

Firmware Upgrade

Mass Storage Device Firmware Upgrade

[1] Confirm
[0] Cancel

-

9.

Diagnostics

Input / Output states

[] Refresh
[9] Enter USB protocol simulator mode
[0] Back

-

0.

Exit

Exit and disconnect

-

-

Firmware upgrade over USB

To update device firmware user must enter main configuration menu.
Enter Firmware update screen by pressing [8];
Confirm update by pressing [1];

User then must delete existing file “firmware.bin”, and simply upload new firmware file by drag and drop, Fig. 7.

image-1623933602252.pngFig. 7.

Reconnect device and check firmware version. It should now represent the one it was updated to.

Testing With “THE VINCI” software

To test IOMOD HT with default settings, user can connect device through RS485 to Modbus or IEC-60870 (depending on firmware) master or using USB Simulation Mode. Example will show The Vinci Expert as serial interface converter and adapter to PC with The Vinci software. Default settings – 9600 baud; 8 databits, even parity, 1 stop bit. When opening The Vinci software, choose IEC 60870-5-101 – Master mode. In Settings tab, change the IAO size in bytes to 1, as that is the default setting; configure a tag as shown in Fig. 8 (floating type is 36, integer type is 34); press Start and go to Statistic tab.

image-1693378456483.png

Fig. 8.

image-1693378281349.pngFig. 9. Basic version example.

Floating measurements type represents the exact value of the registers, integer measurements type is multiplied by 10. To counter that the user must multiply the signals values by 0.1 in the configuration file.

This manual applies to IOMod FW versions 1.0.5 or newer -> iomod_iec101_v1.0.5.bin

Configuration example download -> iomod_HT_IEC101_to_IEC104_SCADA.xlsx