background image

Page 15 / 15 

 

PV500-67  03/17

 

6.4  LINE TERMINATION (LT)  

Termination resistors are only required on very long cable runs. A reflection in a transmission line is the result of an 
impedance discontinuity that a travelling wave sees as it propagates down the line. To minimize the reflections from 
the end of the RS485-cable, place a Line Termination near each of the 2 ends of the Bus. It is important that the line 
be terminated at both ends since the propagation is bi-directional, but it is not allowed to place more than 2 LTs on one 
passive balanced pair. 

 

Each line termination must be connected between the two conductors of the balanced line: D0 and D1. 

 

Line termination may be a 150 ohms value (0.5 W) resistor. 

 

With cable lengths less than 2000’, at 9600 baud, reflection is not an issue and does not require LT resistors. 

 

6.5  LINE BIASING  

When there is no data activity on an RS-485 balanced pair, the lines are not driven and thus susceptible to external 
noise or interference. To insure the line is in a known state when the line is not active, one or more devices on the 
network can provide line biasing by pulling up and down the lines with week resistors. It is common practice for the 
Master device to provide line biasing. This is generally a jumper setting on the device. The XR10CX does not have line 
biasing resistors. 

 

Data(B)+ will be pulled to positive 

 

Data(A)- will be pulled to negative 

 

6.6  SERIAL INTERFACE XJ485  

The  XJ485  serial  termination  is  a  factory  supplied  RS485  to  TTL  connection  device.  The  XR10CX  control  comes 
standard with a TTL communication port also used as the HOT KEY programming interface. The termination points are 
labelled as (+ and 

–) corresponding to (D1 and D0). 

 

7.  REFERENCES 

7.1.1  MODBUS INFORMATION: 

This document is not intended to be a comprehensive guide for application or installation of a MODBUS solution. The 
following are some additional resources regarding Modbus: 

 

ANSI/TIA/EIA-232 

Interface  between  data  terminal  equipment  and  data  circuit-terminating  equipment 

employing serial binary data interchange. 

 

ANSI/TIA/EIA-485 

Electrical  characteristics  of  generators  and  receivers  for  use  in  balanced  digital 

multipoint systems. 

 

MODBUS.org MODBUS applications protocol specification. 

 

7.1.2  APPLICATION DETAILS AND SENSOR LOCATIONS: 

The XR10CX is used in multiple devices with several configurations. Application and configuration information for the 
XR10CX as it is applied to your device can be found in the I & O Manual of the device. 
 

7.1.3  XR10CX FEATURES: 

General features and programing of the XR10CX can be found in the XR10CX manual. 
 
 

7.1.4  MORE INFORMATION: 

 

For additional information, contact the PVI Industries Customer Service Dept. at 800-784-8326. 

 

Summary of Contents for XR10CX

Page 1: ...PV500 67 03 17 MODBUS RTU Applied to the XR10CX Control WATER HEATER DIGITAL OPERATING CONTROLLER PVI INDUSTRIES LLC Fort Worth Texas 76111 Web www pvi com Phone 1 800 433 5654 ...

Page 2: ... EXCEPTION RESPONSE READ HOLDING REGISTER 0x03 8 3 4 WRITE SINGLE REGISTER 0X06 9 3 4 1 MASTER COMMAND TO WRITE SINGLE REGISTER 0x06 9 3 4 2 SUCCESSFUL RESPONSE FROM WRITE SINGLE REGISTER 0x06 9 3 4 3 EXCEPTION RESPONSE FROM WRITE SINGLE REGISTER 0x06 9 3 5 WRITE HOLDING REGISTERS 0x10 10 3 5 1 MASTER COMMAND TO WRITE HOLDING REGISTER 0x10 10 3 5 2 SUCCESSFUL RESPONSE FROM WRITE HOLDING REGISTERS ...

Page 3: ...register list 2 1 1 DEFINITIONS MODBUS Protocol A messaging structure used for communication between devices machines sensors and or computers Modbus RTU Remote Terminal Unit Implementation of the Modbus protocol on top of a serial line with an RS 232 RS 485 or similar physical layer The XR10CX uses 2 wire RS 485 Physical Layer and implements Modbus RTU Master Device Also known as Client this devi...

Page 4: ...simply needs the 40000 added to it Setpoint ST1 is Register 769 or the actual Register Number 40769 For a list of all available registers see Table 2 Input Registers Discrete Inputs and Coils MODBUS defines several types of data The only data used by the XR10CX is the Holding Register 40001 49999 and Output Coils 00001 09999 The XR10CX does not use Input Registers or Inputs Coils CRC ERROR CHECKIN...

Page 5: ...uested by the Master 2 After sending the Slave goes back to listen mode ii If command was not successfully processed 1 Slave will respond with and exception response and exception code indicating why it was not processed a Possible caused would be invalid address See Table 1 Exception Codes 2 After sending The Slave goes back to listen mode b If the command received fails the CRC validation no res...

Page 6: ...first coil to be read reading multiple registers is sequential Number of Coils 2 bytes Number of Elements Coils that the device has to return 3 3 Coils or bits No more than 80 Elements Coils allowed Each coil is 1 bit CRC 2 bytes CRC calculated for the frame data received and is used to verify the integrity of data received 3 1 2 SUCCESSFUL RESPONSE READ COILS 0x01 Slave Address 1 byte The address...

Page 7: ... the slave responding Same as the address in the initiating command Function Code 1 byte Code 0x05 Echo from the initiating command Coil Address 2 bytes Echo from initiating command Data 2 bytes Echo from initiating command CRC 2 bytes 3 2 3 EXCEPTION RESPONSE WRITE SINGLE COIL 0x05 Slave Address 1 byte The address of the slave responding Same as the address in the initiating command Exception Res...

Page 8: ...e The address of the slave responding Same as the address in the initiating command Function Code 1 byte Code 0x03 Echo from the initiating command Number of Bytes 1 byte Defines the number of bytes followed minus the CRC Data Byte data buffer length is Number of Bytes long CRC 2 bytes 3 3 3 EXCEPTION RESPONSE READ HOLDING REGISTER 0x03 Slave Address 1 byte The address of the slave responding Same...

Page 9: ... from the initiating command Register Address 2 bytes The address of the register that was written Data 2 bytes Byte data buffer will contain the same data that was sent in initiating command CRC 2 bytes 3 4 3 EXCEPTION RESPONSE FROM WRITE SINGLE REGISTER 0x06 Slave Address 1 byte The address of the slave responding Same as the address in the initiating command Exception Response 1 byte Code 0x06 ...

Page 10: ...ONSE FROM WRITE HOLDING REGISTERS 0x10 Slave Address 1 byte The address of the slave responding Same as the address in the initiating command Function Code 1 byte Code 0x10 Echo from the initiating command Register Address 2 bytes The address of the register that was written Number Registers 2 bytes The number of registers written CRC 2 bytes 3 5 3 EXCEPTION RESPONSE FROM WRITE HOLDING REGISTERS 0...

Page 11: ...ata Address The data address received in the query is not an allowable address for the slave More specifically the combination of reference number and transfer length is invalid 03 Illegal Data Value Requesting a register that does not exist More than 5 elements requested Writing a parameter out of range Writing to read only register 04 Slave Device Failure An unrecoverable error occurred while th...

Page 12: ...up 40831 Did Read Write Dig Input Alarm Delay 0 255min 40847 Adr Read Write Modbus Address 1 247 40852 Set Read Write System Setpoint 40864 Coil Read Write On Off for Control 513 Read Write Keypad Lock 516 Read Write Mute Buz and Any Alarm 517 Read Digital input Pin 9 520 Read Probe 1 Error 521 Read Probe 2 Error 522 Read Probe 3 Error 523 Read Probe 4 Error 524 Read High Temperature Alarm Pb1 525...

Page 13: ...r burner is also ON Alarms Modbus Coil 538 Alarms are not typically used on this device CONTROL ON OFF Enable Disable Modbus Coil 513 ON 257 or 0x0101 OFF 1 or 0x0001 In the OFF state no heating signal will be present no alarms all relay outputs are open and no temperature are displayed The display will show the word OFF It is still possible to read the probe temperatures and other parameters over...

Page 14: ... 3 IMPROPER WIRING EXAMPLE Figure 5 Wiring is not correct Not a daisy chain and the master is not at an end MASTER CLIENT DEVICE 1 XR10CX DEVICE 2 XR10CX DEVICE 3 XR10CX DEVICE 4 XR10CX MASTER CLIENT DEVICE 1 XR10CX DEVICE 2 XR10CX DEVICE 3 XR10CX DEVICE 4 XR10CX Master Regis ter Addr ess LSB yte Data MSByte G N D Data LSB CRC LSByte C R T X TXD1 RXD1 DATA B R e D a Data LSByt e CRC LSByte 2 W CON...

Page 15: ...lly a jumper setting on the device The XR10CX does not have line biasing resistors Data B will be pulled to positive Data A will be pulled to negative 6 6 SERIAL INTERFACE XJ485 The XJ485 serial termination is a factory supplied RS485 to TTL connection device The XR10CX control comes standard with a TTL communication port also used as the HOT KEY programming interface The termination points are la...

Reviews: