background image

Read Holding Registers

Function code 03h is used to read the contents of the single Remote RTD Module
holding register. Since there is only one register available to read, using the register
offset of 00 00h will read the contents of register 40001. For example, to check the
mode of the Remote RTD Module, send the command;

Address

Function
Code

Register Offset

Number of
Registers

CRC-16

10h

03h

00 00h

00 01h

87 4Bh

If the Remote RTD Module is in the test mode for RTD#4, it will respond with the

following;

Address

Function
Code

Byte Count

Register Data

CRC-16

10h

03h

02h

00 04h

45 84h

Preset Single Register

Function Code 06h allows the Modbus master to write to the holding register in the
Remote RTD Module. This command allows the mode of the Remote RTD Module to
be set. For example, to set the Remote RTD Module to test mode so that it only
monitors the temperature of RTD#7, send the command;

Address

Function
Code

Register Offset

Register Data

CRC-16

10h

06h

00 00h

00 07h

CB 49h

The Remote RTD Module will respond with this echo of the command;

Address

Function
Code

Starting
Register

Number of
Registers

CRC-16

10h

06h

00 00h

00 07h

CB 49h

4.5

Modbus Exception Responses

General

There are four different communications errors the Remote RTD Module will
recognize and respond to. They are;

CRC Error

Illegal Function (exception code 01)

Illegal Data address (exception code 02)

Illegal Data Value (exception code 03)

CRC Error

If the Remote RTD Module receives a message that contains a CRC error, the received
message is ignored. No response is sent.

Illegal Function

If the Remote RTD Module receives a message that is anything other than read
holding registers, read input registers, or preset single register (functions 03, 04, 06),
it will respond with and illegal function exception response. This response will be in
the form;

Byte 1: RTD Module Address.

Byte 2: The requested function code with the MSB set to 1 to indicate an
exception.

Byte 3: Exception code 01h indicating an illegal function code.

Byte 4: LSB of CRC code.

Byte 5: MSB of CRC code.

12

4. COMMUNICATING WITH THE REMOTE RTD MODULE

Summary of Contents for SPR-100P

Page 1: ...The Leader In Solid State Motor Control Technology Publication 890010 00 04 REMOTE RTD MODULE ...

Page 2: ......

Page 3: ...ION OF THE REMOTE RTD MODULE 8 3 1 Physical Installation 8 3 2 Power Wire Connections 8 3 3 RS 485 Wiring 8 3 4 RTD Wire Connections 9 3 5 Wiring Diagram 9 4 COMMUNICATING WITH THE REMOTE RTD MODULE 10 4 1 Modbus Communications 10 4 2 Modbus Input Registers 10 4 3 Modbus Holding Registers 11 4 4 Modbus Commands 11 4 5 Modbus Exception Responses 12 4 6 Indicating LEDs 13 iii TABLE OF CONTENTS ...

Page 4: ...s The RTD Module provides the following features Monitors up to 8 3 wire RTDs Lead Resistance Compensation RTD open detection RTD shorted detection Modbus communications over RS 485 1 3 Theory of Operation General The Remote RTD Module makes a compensated measurement of a RTD Resistive Temperature Device This is accomplished by using three wires to connect the RTD to the module The Remote RTD modu...

Page 5: ...wo equations and subsituting Rlead for the different lead resistance provides the following V V 30mA R 10mA R 30mA R RH CR lead RTD lead V V 10mA R RH CR RTD This calculation gives the voltage across the RTD independant of the connection wire resistance By performing this calculation the Remote RTD Module compensates for the conductor resistance and gets the true value for the RTD resistance The R...

Page 6: ... full scale 2 C or 3 6 F Sampling Rate 1 RTD per second Number of RTDs 8 Input Voltage 24 Volts DC 20 Power Consumption 2 5 Watts Inrush Current 15 Amps for 5 m seconds Communication Type RS 485 Communication Protocol Modbus RTU Modbus Addresses 16 to 23 Baud Rate 19200 bps Operating Environment 40 to 60 C 40 to 140 F up to 95 R H non condensing Storage Environment Up to two years at 40 to 70 C 40...

Page 7: ...2 2 Physical Construction The following diagram shows the physical construction of the Remote RTD Module 7 2 TECHNICAL SPECIFICATIONS ...

Page 8: ...g RS 485 Communications The RS 485 communications wiring should use shielded twisted pair cable The shield should only be terminated at one end The connections are as follows A RS485 negative communications connection B RS485 positive communications connection Com RS485 common connection RS 485 Cable Specification The RS 485 communications cable should conform to the following specification Conduc...

Page 9: ...compensation RTD Cable Shielding The RTD cable shield should be terminated at either of the shield terminals For a simpler installation a cable containing multiple triads with an overall shield can be used to connect a group of RTDs to the module with a single cable 3 5 Wiring Diagram General The following is the wiring diagram detailing the connections of the RTD module Only the wiring for RTD 5 ...

Page 10: ...003 RTD 3 0 to 200 Temperature in degrees Celsius 30004 RTD 4 0 to 200 Temperature in degrees Celsius 30005 RTD 5 0 to 200 Temperature in degrees Celsius 30006 RTD 6 0 to 200 Temperature in degrees Celsius 30007 RTD 7 0 to 200 Temperature in degrees Celsius 30008 RTD 8 0 to 200 Temperature in degrees Celsius 30009 Shorted RTD A bit is set if an RTD has a shorted lead Otherwise it is clear The set ...

Page 11: ...mote RTD Module supports the following Modbus commands Read input registers function code 04h Read holding registers function code 03h Preset single register function code 06h Format All Modbus messages have the following format Address Function code Data CRC 16 1 byte 1 byte n bytes 2 bytes Read Input Registers Function code 04h is used to read one or more consecutive input registers The first re...

Page 12: ...r Data CRC 16 10h 06h 00 00h 00 07h CB 49h The Remote RTD Module will respond with this echo of the command Address Function Code Starting Register Number of Registers CRC 16 10h 06h 00 00h 00 07h CB 49h 4 5 Modbus Exception Responses General There are four different communications errors the Remote RTD Module will recognize and respond to They are CRC Error Illegal Function exception code 01 Ille...

Page 13: ...CRC code 10h 83h 02h 90 F4h Illegal Data Value If the Remote RTD Module receives a preset single register command that contains an illegal value it will respond with and illegal data value exception response The response will be in the form Byte 1 RTD module address Byte 2 Function code with most significant bit set to 1 indicating an exception Byte 3 Exception code 03h indicating an illegal value...

Page 14: ......

Page 15: ...Revision History Revision Date ECO 00 16 11 99 01 23 02 00 02 24 02 00 03 31 03 00 04 28 04 00 088 ...

Page 16: ...erica Sao Paulo Brazil Santiago Chile Singapore BENSHAW Inc 1659 East Sutter Road Glenshaw PA 15116 Phone 412 487 8235 Fax 412 487 4201 BENSHAW West 14715 North 78th Way Suite 600 Scottsdale AZ 85260 Phone 480 905 0601 Fax 480 905 0757 BENSHAW Canada 550 Bright Street Listowel Ontario N4W 3W3 Phone 519 291 5112 Fax 519 291 2595 Visit us at http www benshaw com Distributed by BENSHAW PRODUCTS Pump ...

Reviews: