Перейти до вмісту

Appendix A: RS-485 Communication Interface

Цей контент ще не доступний вашою мовою.

The communication interface is employed to connect the TR-101 device to RS-485 network. The device utilization within RS-485 network allows for the following functions:

  • collecting data of measured temperatures within SCADA system;
  • setting device parameters with use of configuration software;
  • remote control of the channels output relays.

RS-485 as an interface standard has found extensive industrial application; it provides for establishing networks with node count of up to 247 and data transfer at distance of up to 1200 m. With use of duplicators, the number of nodes and the transmission distance can be increased.

All network devices are connected in a serial bus (Figure A1). To maintain the reliable operation of transmitters/receivers and to eliminate interference impact, the communication line ends must be equipped with a terminating resistor of impedance Rсогл = 120 Ohm that is connected immediately to the device terminals (see Figure A1).

RS-485 Network Connection

Figure A1 – RS-485 Network Connection Diagram

By installation the value rSA = 2 (Table 7.1) device will be switched to the mode of remote management power relay. Control registers are shown in Table A2.

If the channel working with two level action and labeled to control register value 0 or 1 is possible to switch on or switch off prorated power relay.

If the channel working with PID regulation and labeled to control register value 0 or 100 is possible to manage capacity plug into correspondent relay (pos. 3.2.6.6 of manual).

If the mode “Remote management of power relay” is switched on TR-101 continuous working in usual mode.

Exception is the fact that management of power relay is passed to operator.

3 Data Exchange Adjustment Through Interface RS-485

Section titled “3 Data Exchange Adjustment Through Interface RS-485”

Data exchange adjustment is realized by parameters:

ParameterMnemonicDescription
SwitchingrSASet switching on (switching off) RS-485 and the mode of remote management
IdentifierrSnDevice base address (1…247)
Bit raterSSRate of exchange data online (2400, 4800, 9600 bit/s)
TimingrSLTime delay of the packet answer 0-99.9 ms

Device TR-101 has following fixed exchange parameters not shown at the indicator:

  • Quantity Stop-bit: 2
  • Length of a data word: 8
  • Parity check: not

Working through interface RS-485 it should be done relevant connection (p. 1 of Appendix A) and set the value of net parameters (p. 3 of Appendix A).

For organization data exchange online through interface RS-485 necessary have net Master. The main function of this device is to activate data exchange between sender and recipient. TR-101 may work at Slave mode by ModBus RTU protocol.

ModBus is the open network protocol that was developed by company Modicon. Protocol description available at website www.modbus.org.

Register addresses of program parameters are shown in Table 7.1 of the manual.

Check list of supported functions (Modbus) is shown in Table A1.

Additional registers and their functions are shown in Table A2.

Table A1 – Supported Modbus Functions

Function (hex)Sub-functionDescriptionNote
0x03Receiving value of one or several registersmax. 125
0x06Recording one value to the register
0x080x00Return query dataDiagnostics
0x080x01Communication options restartDiagnostics
0x080x04Setting up “listen only” modeDiagnostics

Table A2 – Additional Modbus Registers

Address (dec)NameDescriptionNote
0Device ID (MSB)TR-101 – 0x0002ID
1Device ID (LSB)Firmware version - v53Version
BitDescription
bit 00 – no emergency; 1 – Emergency (emergency code in register)
bit 10 – relay of channel 1 is switched off; 1 – relay of channel 1 is switched on
bit 20 – relay of channel 2 is switched off; 1 – relay of channel 2 is switched on
bit 30 – relay of channel 3 is switched off; 1 – relay of channel 3 is switched on
bit 40 – relay of channel 4 is switched off; 1 – relay of channel 4 is switched on
bit 5 – bit 15reserved
BitDescriptionDisplay
bit 00 – Not emergency; 1 – EEPROM rejectionEEP
bit 10 – Not emergency; 1 – parameter mistakeErP
bit 20 – Not emergency; 1 – sensor 1 short circuitFCC
bit 30 – Not emergency; 1 – sensor 2 short circuitFCC
bit 40 – Not emergency; 1 – sensor 3 short circuitFCC
bit 50 – Not emergency; 1 – sensor 4 short circuitFCC
bit 60 – Not emergency; 1 – sensor 1 disconnectionFOC
bit 70 – Not emergency; 1 – sensor 2 disconnectionFOC
bit 80 – Not emergency; 1 – sensor 3 disconnectionFOC
bit 90 – Not emergency; 1 – sensor 4 disconnectionFOC
bit 10 – bit 15reserved
Address (dec)Name
4Sensor temperature 1
5Sensor temperature 2
6Sensor temperature 3
7Sensor temperature 4
Address (dec)NameWhen ch = 1 (Two-position)When ch = 2 (PID)
8Register of relay control 10 – relay OFF; 1 – relay ON0 – capacity 0%; 100 – capacity 100%
9Register of relay control 20 – relay OFF; 1 – relay ON0 – capacity 0%; 100 – capacity 100%
10Register of relay control 30 – relay OFF; 1 – relay ON0 – capacity 0%; 100 – capacity 100%
11Register of relay control 40 – relay OFF; 1 – relay ON0 – capacity 0%; 100 – capacity 100%
Address (dec)Description
12-20Registers from 12 to 20 are reserved (equal to zero always)