# IOMOD 4RTD # IOMOD 4RTD User Manual Modbus ### Introduction IOMOD 4RTD is used for temperature data monitoring over Modbus or IEC-60870-103 using resistance temperature detector (RTD) platinum sensors. Up to 4 RTD temperature sensors can be connected at once. ### Features ● Temperature sense with ±0.5 °C accuracy over all operating conditions; ● Selectable PT100 ar PT1000 RTD temperature sensor for every channel (2, 3 or 4 wire); ● 2.5kV(rms) isolated RTD inputs; ● Configurable temperature and sensors’ fault detection for every channel; ● Temperature sensing range from -200 up to 800 °C when using platinum RTD sensors; ● Configurable Modbus or IEC-60870-103 settings: Slave ID, baud rate, parity and stop bits, RS485 terminating resistor, etc. ● Firmware upgrade over USB. ### Operational Information IOMOD uses Modbus (RTU) or IEC-60870-103 protocols over RS485 connection, which can be used for cable lengths up to 1500 meters and connect up to 30 devices on one line. Default Modbus and IEC-60870-103 settings are: 9600 bauds/s baudrate, 8N1, Slave (Link) address - 1. To read temperature using Modbus (RTU) protocol user can use device with default settings without configuring it. To read temperature from RTD sensor, send 04 Modbus command (Read Input Registers) with resolution of two registers from 0 to 7. Odd numbers represent least significant words, even numbers represent most significant words. For example, to read temperature measured by first RTD, read register 0 and 1, where register 0 is least significant word. Two words read by Modbus represent a float type (IEEE-754 compatible) variable. For further information regarding setting temperature parameters and configurable options please refer to table shown below, also supported MODBUS functions described in paragraphs described 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
RTD parameters Yes No
Default settings Yes No
Setting temperature limits Yes Yes
Fault configuration Yes Yes
#### Status LED Status LED can be in 2 colors : Blue - Device connected to USB. Green - Normal operation. #### Rx/Tx LED The RX/TX LED on the IOMod flashes when data is either being transmitted or received via the RS485 port. #### FLT1, FLT2, FLT3, FLT4 LEDs Input fault LEDs can be in 2 states : Off - Normal operation. Red - Input fault or faults occurred during operation of device. ### Supported MODBUS functions **01 (0x01) Read Coil Status** Used to read fault flags. Fault is implemented as high logic level if any configured fault has occurred, zero otherwise. Fault flags are cleared automatically if possible. **03 (0x03) Read Holding Registers** May be used to read holding registers containing temperature limits defined by user in degrees Celsius, fault mask register. Temperature limits are defined as 16-bit integer values. Values that are below or above the predefined limits are ignored. These limits are described in Modbus register mapping table below. If upper limit value is lower than lower limit value, these values are switched between them. Fault mask registers contain information about fault bits that would be lifted in fault register if any particular fault for particular RTD has occurred. Its values for every four RTDs are kept at holding register of addresses 11 to 14. **04 (0x04) Read Input Registers** May be used to read current temperature values and faults. As temperature is kept as a 4-byte wide float value, two neighboring register are used to keep it. RTD values are kept at registers 0 to 7, least significant word first. Values read can be easily converted using any converter capable of converting floats based of IEEE-754 standard. Fault register values are read as 16-bit input registers on addresses 16 to 19. Meanings of individual bits are explained below, in subsection Fault registers. **06 (0x06) Preset Single Register** Used to set holding registers one by one described when explaining 03 Modbus function. That means that arbitrary value may be written to set up different temperature limits and faults masks. #### Modbus register table
**Register (decimal) ****Description ****Value range**
**Read coil status (01)**
00010-00013 Reading fault flags 0-1
**Read holding register (03)**
00000-00007 Get temperature limits (lower limit first) -200-800
00011-00014 Fault Mask registers for RTDs 0-57836
**Read input registers (04)**
00000-00007 Temperatures from RTD sensors, LSW first 0-65535
00016-00019 Fault registers for RTD sensors 0-57836
**Preset Single Register (06)**
00000-00007 Set temperature limits (lower limit first)\* -200-800
00011-00014 Set Fault Mask register for RTDs 0-65535
#### Fault registers Fault registers (Modbus addresses - 16-19) are read-only. They represent faults that occurred during operation of device. To enable showing desired fault user should set appropriate bits in Fault mask register (Modbus addresses - 11-14) or via USB interface, entering Advanced Settings Tab in RTD parameters menu. Fault registers and fault masked registers are different for different temperature channels. Default values are shown in brackets below. Fault register\[15:14\] shows flags that are lifted if temperature limits are exceeded. Bits\[7:5,3:2\] inform about faults that were detected by RTD reading chip. These faults are usually lifted if unsuitable settings are set or RTD is faulty or not connected. **Fault register**
15 (R-0)14 (R-0)13 (R-0)12 (R-0)11 (R-0)10 (R-0)9 (R-0)8 (R-0)
RTD Temperature Hi ThresholdRTD Temperature Lo Threshold- - - - - -
7 (R-0)6 (R-0)5 (R-0)4 (R-0)3 (R-0)2 (R-0)1 (R-0)0 (R-0)
RTD Code Hi ThresholdRTD Code Lo ThresholdRTD REFIN- > 0.85 x VBIAS-RTD FORCE OpenRTD Overvoltage/ Undervoltage- -
**Fault mask register**
15 (R/W-0)14 (R/W-0)13 (R/W-0)12 (R/W-0)11 (R/W-0)10 (R/W-0)9 (R/W-0)8 (R/W-
RTD Temperature Hi Threshold Fault EnableRTD Temperature Lo Threshold Fault Enable- - - - - -
7 (R/W-1)6 (R/W-1)5 (R/W-1)4 (R/W-0) 3 (R/W-1) (R/W2 -1) 1 (R/W 0) - 0 (R/W 0)
RTD Code Hi ThresholdRTD Code Lo ThresholdRTD REFIN- > 0.85 x VBIAS Fault-RTD FORCE OpenRTD Overvoltage/Undervoltage- -
### Technical information
**System**
Dimensions 17.5 (H) x 101 (W) x 119 (L), mm
Case ABS, black
Working environment Indoor
Working temperature -40 | +80°C
Recommended operating conditions 5 – 60°C and 20 – 80% RH;
Configuration USB
Firmware upgrade USB – mass storage device
**Electrical characteristics**
Termination resistorSelectable, 120Ω
**Power**
Power Supply 9-33 VDC
Current consumption 40mA @ 12VDC, 20mA @ 24VDC
### Device Connection #### Power connection IOmod 4RTD can be powered through main power connector +12/24 VDC or through USB. Apply +12/24VDC to V+ and 0 V to V-. The device has a built-in reverse voltage polarity, overcurrent and overvoltage protection. #### RS485 serial interface IOMod 4RTD has one RS485 connector. Connect RS485 cable pair to contacts marked RS485/A and RS485/B. Connections should be made with minimum possible cable stub. IOMOD 4RTD 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. 5.1. [![image-1638436866438.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638436866438.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638436866438.png) Fig. 5.1. Typical IOMod connection diagram IOMOD 4RTD has 1/8 Unit load receiver which allows to have up to 256 units on line (compared to standard 32 units). To reduce reflections, keep the stubs (cable distance from main RS485 bus line) as short as possible when connecting device. #### Status indication IOMOD 4RTD devices has indications that help user easily debug possible problems. Light emitting diodes can show if RTD fault has happened on any of four RTD measuring channels (FLT1-FLT4). STAT LED indicates if proper power connection is made - this LED is always on if device has a power connection. Blue light means device is only powered via USB, green light indicates proper power connection is made and there is no fault condition on printed circuit board , red light indicates there is something wrong with either power connection or RTD channels. RX/TX status LED indicates if RS- 485 transmission is happening at a moment. #### RTD sensor connection [![image-1638437022268.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437022268.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437022268.png) Fig. 5.3. RTD sensor colour codes IOmod 4RTD accepts 2-wire, 3-wire or 4-wire connection types of RTD sensors (PT100, PT1000). Firstly, select a sensor type (PT100 or PT1000) using a USB terminal. Secondly, use the following instructions depending on the number of wires of a selected RTD sensor. 2-wire RTD sensor: connect red wire to RTD+ and white wire (or black) to RTD- contacts. The connection between RTD+ and F+, RTD- and F- must be shorted. 3-wire RTD sensor: connect one red wire to RTD+, second red wire (compensating lead wire) to F+ and white (or black) wire to RTD-. The jumper between RTD- and F- must be shorted. 4-wire RTD sensor: connect red wires to RTD+ and F+ contacts, white (or black) wires to RTD- and F- contacts. No contacts shall be shorted. #### USB interface IOmod 4RTD USB interface is used for configuration, diagnostics and firmware updates. IOmod 4RTD is powered through USB when connected, no extra power connection needed for operation. Use a USB mini B cable for connection. ### 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.6.1. [![image-1638433464719.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638433464719.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433464719.png) Fig. 6.1. Unsuccessful device software installation error 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. 6.2. should appear: [![image-1638433541326.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638433541326.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433541326.png) Fig. 6.2. Device driver software update message - 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. 6.3). [![image-1638433569486.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638433569486.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433569486.png) Fig. 6.3. Device driver folder content [ ](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433569486.png) #### IOMod 4RTD 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.4. [![image-1638437145551.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437145551.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437145551.png) Fig. 6.4. The main menu for IOMod 4RTD 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\] 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. **Modbus Main menu**
**Menu Name** **Function** **Values** **Default Values**
1.Slave Address Modbus Slave address / ID 1-247 1
2.Communication settings \[1\] Baud rate, \[2\] Data, Stop and Parity Bits, \[3\] RS485 Terminating resistor\[1\] 100 - 256000, \[2\] 8 Data bits + 1/2 Stop bits, Even/None/Odd Parity \[3\] Enabled/Disabled\[1\] 9600, \[2\] 8N1, \[3\] Enabled
6.RTD parameters’ configuration\* Configuring Callendar-Van Dusen coefficients,RTD wire count, type, etc. PT100, 2 wires, coefficients according to IEC-751
7.Set Default Settings Sets Default Settings (1 to confirm, 0 to cancel) -
8.Firmware Upgrade Mass Storage Device Firmware Upgrade (1 to confirm, 0 to cancel) -
9.Diagnostics Input / Output states - -
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\]; Device now enters Firmware Upgrade mode. Device reconnects as mass storage device (Fig 6.10.). [![image-1623914467899.png](https://wiki.elseta.com/uploads/images/gallery/2021-06/scaled-1680-/image-1623914467899.png)](https://wiki.elseta.com/uploads/images/gallery/2021-06/image-1623914467899.png)It is recommended to close terminal window after entering firmware upgrade mode. [![image-1623933576298.png](https://wiki.elseta.com/uploads/images/gallery/2021-06/scaled-1680-/image-1623933576298.png)](https://wiki.elseta.com/uploads/images/gallery/2021-06/image-1623933576298.png)Fig. 6.10. Mass storage device warning User then must delete existing file “firmware.bin”, and simply upload new firmware file by drag and drop. (Fig 6.11.) [![image-1623933602252.png](https://wiki.elseta.com/uploads/images/gallery/2021-06/scaled-1680-/image-1623933602252.png)](https://wiki.elseta.com/uploads/images/gallery/2021-06/image-1623933602252.png)Fig. 6.11. Dragging and dropping new firmware file Reconnect device and check firmware version. It should now represent the one it was updated to. ### Testing With “THE VINCI” software To test IOMOD 4RTD 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 data, no parity, 1 stop bit. When opening The Vinci software, choose Modbus serial – Master mode. In Settings tab, choose station number (default – 1); configure tags (as described in section 2. Device operational information); press Start and go to Statistic tab: [![image-1638437272064.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437272064.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437272064.png) Fig. 6.7. Example of results of Modbus testing [![image-1638437280423.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437280423.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437280423.png) Fig.6.8. Representing temperature as float when using Modbus Fig. 6.8. represents how The Vinci software should be configured to represent temperature in IEEE- 754 standard float type when using Modbus communication.# IOMOD 4RTD User Manual IEC 60870-5-103 ### Introduction IOMOD 4RTD is used for temperature data monitoring over Modbus or IEC-60870-103 using resistance temperature detector (RTD) platinum sensors. Up to 4 RTD temperature sensors can be connected at once. ### Features ● Temperature sense with ±0.5 °C accuracy over all operating conditions; ● Selectable PT100 or PT1000 RTD temperature sensor for every channel (2, 3 or 4 wire); ● 2.5kV(rms) isolated RTD inputs; ● Configurable temperature and sensors’ fault detection for every channel; ● Temperature sensing range from -200 up to 800 °C when using platinum RTD sensors; ● Configurable Modbus or IEC-60870-103 settings: Slave ID, baud rate, parity and stop bits, RS485 terminating resistor, etc. ● Firmware upgrade over USB. ### Operational Information IOMOD uses Modbus (RTU) or IEC-60870-103 protocols over RS485 connection, which can be used for cable lengths up to 1500 meters and connect up to 30 devices on one line. Default Modbus and IEC-60870-103 settings are: 9600 bauds/s baudrate, 8N1, Slave (Link) address - 1. To read temperature from any of aforementioned sensors using IEC-60870-103 protocol user should first configure it over USB. To send temperature values from desired RTD sensors it should first be enabled in RTD parameters menu. All temperature values are by default sent cyclically. These values are represented as 12 bit integers in a range from -200°C to 200°C - temperature value is therefore multiplied by 10 to have resolution of 0.1 °C unless full range of RTD (from -200°C to 800°C) is selected - then 1 °C resolution is achieved and temperature values are not multiplied by any multiplier. For further information regarding setting temperature parameters and configurable options please refer to table shown below, also supported IEC-60870-103 functions described in paragraphs described below.
CONFIGURABLE OPTIONS OVER USB OVER IEC-60870-103
Slave Address Yes No
Baudrate Yes No
Data, Stop and Parity bits Yes No
RS485 Terminating Resistor Yes No
RTD parameters Yes No
Default settings Yes No
Setting temperature limits Yes No
Fault configuration Yes No
#### Status LED Status LED can be in 2 colors : Blue - Device connected to USB. Green - Normal operation. #### Rx/Tx LED The RX/TX LED on the IOMod flashes when data is either being transmitted or received via the RS485 port. #### FLT1, FLT2, FLT3, FLT4 LEDs Input fault LEDs can be in 2 states : Off - Normal operation. Red - Input fault or faults occurred during operation of device. ### IEC-60870-103 operation IEC 60870-5-103 is a standard for power system control and associated communications. It defines a companion standard that enables interoperability between protection equipment and devices of a control system in a substation. The device complying with this standard can send the information using two methods for data transfer - either using the explicitly specified application service data units (ASDU) or using generic services for transmission of all the possible information. The standard supports some specific protection functions and provides the vendor a facility to incorporate its own protective functions on private data ranges. IOmod 4RTD device might act as a IEC-60870-103 slave if appropriate firmware is uploaded. For more information about firmware upload check chapter Firmware upgrade over USB. Master may read (if configured) temperature values from RTD sensors and data from user-configured fault registers. Fault is cleared and fault register is cleared automatically whenever fault condition disappears, therefore user could easily eliminate the source of fault without a need of hard reset. Fault mask reset register is also not set via IEC-60870-103, user should predefine it first via USB communication. Fault register values are read as standard-defined 12-bit measurands. Meaning of individual bits is explained below, in subsection Fault registers. User can define temperature upper and lower limit values for every RTD so that when any limit is exceeded, overflow flag will be lifted according to IEC-60870-103 standard rules for measurands. Note that limit values are set globally so if narrower range is selected limit values won’t be able to be higher than defined by standard even if limits are explicitly defined as higher values. That is, if narrow range is selected for RTD but higher temperature limit is above 200°C, reading temperatures above 200°C will be considered as an overflow condition. Temperature limit flag bits are defined as Fault Register\[11:10\]. #### Technical information
**System**
Dimensions 17.5 (H) x 101 (W) x 119 (L), mm
Case ABS, black
Working environment Indoor
Working temperature -40 | +80°C
Recommended operating conditions 5 – 60°C and 20 – 80% RH;
Configuration USB
Firmware upgrade USB – mass storage device
**Electrical characteristics**
Termination resistorSelectable, 120Ω
**Power**
Power Supply 9-33 VDC
Current consumption 40mA @ 12VDC, 20mA @ 24VDC
### Device Connection #### Power connection IOmod 4RTD can be powered through main power connector +12/24 VDC or through USB. Apply +12/24VDC to V+ and 0 V to V-. The device has a built-in reverse voltage polarity, overcurrent and overvoltage protection. #### RS485 serial interface IOMod 4RTD has one RS485 connector. Connect RS485 cable pair to contacts marked RS485/A and RS485/B. Connections should be made with minimum possible cable stub. IOMOD 4RTD 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. 5.1. [![image-1638436866438.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638436866438.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638436866438.png) Fig. 5.1. Typical IOMod connection diagram IOMOD 4RTD has 1/8 Unit load receiver which allows to have up to 256 units on line (compared to standard 32 units). To reduce reflections, keep the stubs (cable distance from main RS485 bus line) as short as possible when connecting device. #### Status indication IOMOD 4RTD devices has indications that help user easily debug possible problems. Light emitting diodes can show if RTD fault has happened on any of four RTD measuring channels (FLT1-FLT4). STAT LED indicates if proper power connection is made - this LED is always on if device has a power connection. Blue light means device is only powered via USB, green light indicates proper power connection is made and there is no fault condition on printed circuit board , red light indicates there is something wrong with either power connection or RTD channels. RX/TX status LED indicates if RS- 485 transmission is happening at a moment. #### RTD sensor connection [![image-1638437022268.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437022268.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437022268.png) Fig. 5.3. RTD sensor colour codes IOmod 4RTD accepts 2-wire, 3-wire or 4-wire connection types of RTD sensors (PT100, PT1000). Firstly, select a sensor type (PT100 or PT1000) using a USB terminal. Secondly, use the following instructions depending on the number of wires of a selected RTD sensor. 2-wire RTD sensor: connect red wire to RTD+ and white wire (or black) to RTD- contacts. The connection between RTD+ and F+, RTD- and F- must be shorted. 3-wire RTD sensor: connect one red wire to RTD+, second red wire (compensating lead wire) to F+ and white (or black) wire to RTD-. The jumper between RTD- and F- must be shorted. 4-wire RTD sensor: connect red wires to RTD+ and F+ contacts, white (or black) wires to RTD- and F- contacts. No contacts shall be shorted. #### USB interface IOmod 4RTD USB interface is used for configuration, diagnostics and firmware updates. IOmod 4RTD is powered through USB when connected, no extra power connection needed for operation. Use a USB mini B cable for connection. ### 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.6.1. [![image-1638433464719.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638433464719.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433464719.png) Fig. 6.1. Unsuccessful device software installation error 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. 6.2. should appear: [![image-1638433541326.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638433541326.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433541326.png) Fig. 6.2. Device driver software update message - 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. 6.3). [![image-1638433569486.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638433569486.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433569486.png) Fig. 6.3. Device driver folder content [ ](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638433569486.png) #### IOMod 4RTD 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.4. [![image-1638437145551.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437145551.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437145551.png) Fig. 6.4. The main menu for IOMod 4RTD 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\] 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. **IEC-60870-103 Main menu**
**Menu Name** **Function** **Values** **Default Values**
1.Link Address Link Slave address 1-247 1
2.Baudrate & bits \[1\] Baud rate, \[2\] Data, Stop and Parity Bits, \[3\] RS485 Terminating resistor\[1\] 100 - 256000, \[2\] 8 Data bits + 1/2 Stop bits, Even/None/Odd Parity \[3\] Enabled/Disabled\[1\] 9600, \[2\] 8N1, \[3\] Enabled
3.Data addressing config Configuring input address function type 1-255160
4.RS485 Terminating resistor Enabling or disabling terminating resistor Enabled/DisabledEnabled
6.RTD parameters’ configuration\* Configuring Callendar-Van Dusen coefficients,RTD wire count, type, etc. PT100, 2 wires, coefficients according to IEC-751
7.Set Default Settings Sets Default Settings (1 to confirm, 0 to cancel) -
8.Firmware Upgrade Mass Storage Device Firmware Upgrade (1 to confirm, 0 to cancel) -
9.Diagnostics Input / Output states - -
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\]; Device now enters Firmware Upgrade mode. Device reconnects as mass storage device (Fig 6.10.). [![image-1623914467899.png](https://wiki.elseta.com/uploads/images/gallery/2021-06/scaled-1680-/image-1623914467899.png)](https://wiki.elseta.com/uploads/images/gallery/2021-06/image-1623914467899.png)It is recommended to close terminal window after entering firmware upgrade mode. [![image-1623933576298.png](https://wiki.elseta.com/uploads/images/gallery/2021-06/scaled-1680-/image-1623933576298.png)](https://wiki.elseta.com/uploads/images/gallery/2021-06/image-1623933576298.png)Fig. 6.10. Mass storage device warning User then must delete existing file “firmware.bin”, and simply upload new firmware file by drag and drop. (Fig 6.11.) [![image-1623933602252.png](https://wiki.elseta.com/uploads/images/gallery/2021-06/scaled-1680-/image-1623933602252.png)](https://wiki.elseta.com/uploads/images/gallery/2021-06/image-1623933602252.png)Fig. 6.11. Dragging and dropping new firmware file Reconnect device and check firmware version. It should now represent the one it was updated to. ### Testing With “THE VINCI” software To test IOMOD 4RTD 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 data, no parity, 1 stop bit. When opening The Vinci software, choose Modbus serial – Master mode. In Settings tab, choose station number (default – 1); configure tags (as described in section 2. Device operational information); press Start and go to Statistic tab: [![image-1638437325077.png](https://wiki.elseta.com/uploads/images/gallery/2021-12/scaled-1680-/image-1638437325077.png)](https://wiki.elseta.com/uploads/images/gallery/2021-12/image-1638437325077.png) Fig. 6.9. Example of results of IEC-60870-103 testing Fig.6.9 represent show example of results of IEC-60870-103 testing. Temperatures are shown and updated cyclically if they are configured to be shown via USB. To show inputs and outputs, send General Interrogation.# IOMOD 4RTD User Manual IEC 60870-5-101 ### Introduction
IOMOD 4RTD is used for temperature data monitoring over Modbus or IEC-60870-101 using resistance temperature detector (RTD) platinum sensors. Up to 4 RTD temperature sensors can be connected at once. ### Features
● Temperature sense with ±0.5 °C accuracy over all operating conditions; ● Selectable PT100 or PT1000 RTD temperature sensor for every channel (2, 3 or 4 wire); ● 2.5kV(rms) isolated RTD inputs; ● Configurable temperature and sensors’ fault detection for every channel; ● Temperature sensing range from -200 up to 800 °C when using platinum RTD sensors; ● Configurable Modbus or IEC-60870-101 settings: Slave ID, baud rate, parity and stop bits, RS485 terminating resistor, etc. ● Firmware upgrade over USB. ### Operational Information IOMOD uses Modbus (RTU) or IEC-60870-101 protocols over RS485 connection, which can be used for cable lengths up to 1500 meters and connect up to 30 devices on one line. Default Modbus and IEC-60870-101 settings are: 9600 bauds/s baudrate, 8E1, Link address - 1. To read temperature from any of aforementioned sensors using IEC-60870-101 protocol user should first configure it over USB. To send temperature values from desired RTD sensors it should first be enabled in RTD parameters menu. All temperature values are by default sent cyclically. These values are represented as 12 bit integers in a range from -200°C to 200°C - temperature value is therefore multiplied by 10 to have resolution of 0.1 °C unless full range of RTD (from -200°C to 800°C) is selected - then 1 °C resolution is achieved and temperature values are not multiplied by any multiplier.
All configurations can be done over USB. #### Status LED Status LED can be in 2 colors : Blue - Device connected to USB. Green - Normal operation. #### Rx/Tx LED
The RX/TX LED on the IOMod flashes when data is either being transmitted or received via the RS485 port. #### FLT1, FLT2, FLT3, FLT4 LEDs Input fault LEDs can be in 2 states : Off - Normal operation. Red - Input fault or faults occurred during operation of device. ### 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 start/restart communication (ResetOfRemoteLink). This message is answered by IOMod with an acknowledgment (ACK) to enable 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 4RTD IOMod responds with type 30 (M\_SP\_TB\_1) a single point value with a time tag. #### Input 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 “Spontaneous” message with the 30 data types (M\_SP\_TB\_1), and “IOA” as the input pin number shifted by 4. #### 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. IOAs \[1,4\] inputs. ### Technical information
**System**
Dimensions17.5 (H) x 101 (W) x 119 (L), mm
CaseABS, black
Working environmentIndoor
Working temperature-40 | +80°C
Recommended operating conditions 5 – 60°C and 20 – 80% RH;
ConfigurationUSB
Firmware upgradeUSB – mass storage device
**Electrical characteristics**
Termination resistorSelectable, 120Ω
**Power**
Power Supply9-33 VDC
Current consumption40mA @ 12VDC, 20mA @ 24VDC
### Device Connection #### Power connection IOmod 4RTD can be powered through main power connector +12/24 VDC or through USB. Apply +12/24VDC to V+ and 0 V to V-. The device has a built-in reverse voltage polarity, overcurrent and overvoltage protection. #### RS485 serial interface IOMod 4RTD has one RS485 connector. Connect RS485 cable pair to contacts marked RS485/A and RS485/B. Connections should be made with minimum possible cable stub.
IOMOD 4RTD 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. [![image-1668501437411.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668501437411.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668501437411.png) Fig. 1. Typical IOMod connection diagram IOMOD 4RTD has 1/8 Unit load receiver which allows to have up to 256 units on line (compared to standard 32 units). To reduce reflections, keep the stubs (cable distance from main RS485 bus line) as short as possible when connecting device. #### Status indication
IOMOD 4RTD devices has indications that help user easily debug possible problems. Light emitting diodes can show if RTD fault has happened on any of four RTD measuring channels (FLT1-FLT4). STAT LED indicates if proper power connection is made - this LED is always on if device has a power connection. Blue light means device is only powered via USB, green light indicates proper power connection is made and there is no fault condition on printed circuit board , red light indicates there is something wrong with either power connection or RTD channels. RX/TX status LED indicates if RS- 485 transmission is happening at a moment. #### RTD sensor connection [![image-1668501501886.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668501501886.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668501501886.png) Fig. 2. RTD sensor color codes IOMod 4RTD accepts 2-wire, 3-wire or 4-wire connection types of RTD sensors (PT100, PT1000). Firstly, select a sensor type (PT100 or PT1000) using a USB terminal. Secondly, use the following instructions depending on the number of wires of a selected RTD sensor. 2-wire RTD sensor: connect red wire to RTD+ and white wire (or black) to RTD- contacts. The connection between RTD+ and F+, RTD- and F- must be shorted. 3-wire RTD sensor: connect one red wire to RTD+, second red wire (compensating lead wire) to F+ and white (or black) wire to RTD-. The jumper between RTD- and F- must be shorted. 4-wire RTD sensor: connect red wires to RTD+ and F+ contacts, white (or black) wires to RTD- and F- contacts. No contacts shall be shorted. #### USB interface
IOMod 4RTD USB interface is used for configuration, diagnostics and firmware updates. IOMod 4RTD is powered through USB when connected, no extra power connection needed for operation. Use a USB mini B cable for connection. ### 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-1668501586563.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668501586563.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668501586563.png) Fig. 3. Unsuccessful device software installation error 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-1668501641183.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668501641183.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668501641183.png) Fig. 4. Device driver software update message - 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-1668501718106.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668501718106.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668501718106.png) Fig. 5. Device driver folder content #### IOMod 4RTD 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-1668501788613.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668501788613.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668501788613.png) Fig. 6. The main menu for IOMod 4RTD 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 link address, press \[1\] to enter Link Address screen; enter new configuration; press \[RETURN\] 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. **IEC-60870-101 Main menu**
**Menu name** **Function** **Values** **Default values**
1.Link Address Link address 1-255 1
2.Baudrate & bits \[1\] Set 8 Data bits + 1 stop bit \[2\] Set 8 Data bits + 2 stop bits \[3\] Configure Baudrate \[4\] Configure Parity \[1\] Set 8 Data bits + 1 stop bit \[2\] 8 Data bits + 2 Stop bit \[3\]100-256000 \[4\] None/Odd/Even/Mark/Space9600, 8E1
3.RS485 Terminating resistor Enabling or disabling terminating resistorEnabled/DisabledDisabled
5.RTD parameters’ configuration RTD wire count, type, temperature limits, range selection etc. \[1\] RTD type (0 - PT100, 1 - PT1000) \[2\] RTD wire count (Possible: 2,3,4) \[3\] RTD temperature limits (Possible -200-800\*C) \[5\] RTD range selection in IEC-101 (1 - Full, 0 - Narrow) \[6\] RTD temperature in IEC-101 (Possible: ON/OFF) \[1\] 0 (PT100) \[2\] 2 \[3\] -200-800\*C \[5\] 0 \[6\] ON
5.8Advanced settings Configuring Callendar-Van Dusen coefficients and fault mask \[1\] Configure RTD coefficient A \[2\] Configure RTD coefficient B \[3\] Configure RTD coefficient C \[7\] Configure fault mask \[1\] 3.9083e-3 \[2\] -5.7750e-7 \[3\] -4.1830e-12 \[7\] 236
6.Protocol settings \[1\] Toggle 24/56 bit time \[2\] Change IOA size \[3\] Toggle measurements type \[4\] Toggle measurements time \[1\] 24/56 bit \[2\] 1-3 \[3\] Integer/Float \[4\] Enabled/Disabled \[1\] 56 bit \[2\] 1 \[3\] Integer \[4\] Disabled
7.Set Default Settings Sets Default Settings (1 to confirm, 0 to cancel) -
8.Firmware Upgrade Mass Storage Device Firmware Upgrade (1 to confirm, 0 to cancel) -
9.Diagnostics Input states - -
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\]; Device now enters Firmware Upgrade mode. Device reconnects as mass storage device (Fig. 7.) [![image-1668503755926.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668503755926.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668503755926.png) Fig. 7. Mass storage device warning User then must delete existing file “firmware.bin”, and simply upload new firmware file by drag and drop. (Fig. 8.) [![image-1668503791231.png](https://wiki.elseta.com/uploads/images/gallery/2022-11/scaled-1680-/image-1668503791231.png)](https://wiki.elseta.com/uploads/images/gallery/2022-11/image-1668503791231.png) Fig. 8. Dragging and dropping new firmware file Reconnect device and check firmware version. It should now represent the one it was updated to.