Modbus RTU Serial Communications User Manual
Modbus RTU Serial Communications User Manual
User Manual
Configuration Interface for UDC2300
Supplement to 51-52-25-66
51-52-25-75
5/99
Copyright, Notices, and Trademarks
Printed in U.S.A. – © Copyright 1999 by Honeywell Inc.
Revision O – 5/99
Honeywell
Industrial Automation and Control
Automation College
2820 West Kelton Lane
Phoenix, AZ 85023
(602) 313-5669
Abstract
This document provides configuration information specific to Honeywell’s UDC2300 controllers and
should be used in tandem with document number 51-52-25-66, Modbus® RTU Serial Communications
User Manual.
Contacts
The following list identifies important contacts within Honeywell.
Service Contact
Technical Support 1-800-423-9883
Please have your instrument’s complete model number, serial number,
and software version available.
List of frequently asked questions and their answers 1-888-423-9883
(Honeywell’s TACFACS—
USA and Canada only)
http://support.totalplant.honeywell.com
(Honeywell’s web site)
References
Publication Title Publication Number
UDC 2300 Universal Digital Controller Product Manual 51-52-25-73
UDC2300 Universal Digital Limit Controller Product Manual 51-52-25-74
UDC2300 Universal Digital Controllers RS422/485 ASCII 51-52-25-85
Communications Option Product Manual
Configuration ID Tags
The UDC2300 function codes 20 and 21 use the RS422/485 tag IDs for accessing configuration
and process-related data. These tags are fully explained in Section 3.10.
The tag IDs represent the register addresses used in the Request Message.
Register Count
The register count depends on the data format of the registers being read or written.
Integer data is represented in sixteen bits and is transferred high byte first.
Floating point data is transferred in IEEE 32-bit format.
The register count definitions are:
0001 = Integer Data
0002 = Floating Point Data
Data
Reference
Data Reference
Byte Data Data Data Data
Type Type
Count
CRC CRC
Data Data
Byte Count
The Byte Count equals the number of bytes transmitted in either the request or response message
and will be the minimum number required to transmit all requested data.
File Number
The file number word contains the register number from the register address structure tables on
page 3. Although the register address structure tables indicate up to 13 data registers are available
for access, only register address 3 is currently supported.
Register Address
The register address word represents the tag ID number for the parameter(s) being accessed. The
register address word is made up of two bytes—the MSB = 00 always. The LSB contains the
RS422 tag ID number. The tag ID numbers represent the parameter’s register address(es). See
Section 3 for the tag ID numbers.
Example #1
The following is an example of a request to read the Gain 1 value using Function code 20.
Request Message (Read (Gain 1) = ID Tag 001)
02 14 07 06 00 03 00 01 00 02 (CRC16)
Where:
02 = Address
14 = Function Code 20 (14 hex)
07 = Byte Count
06 = Reference Type
00,03 = File Number (Access Data Value)
00,01 = Register Address (Standard Access Gain 1 - Tag ID #1)
00 02 = Register Count (Floating Point Data)
(CRC16)
Example #2
The following is another example of a request and response message using Function code 20.
Request Message (Read LSP #1 = ID Tag 39 and LSP #2 = ID Tag 53)
02 14 0E 06 00 03 00 27 00 02 06 00 03 00 35 00 02 (CRC16)
Where:
02 = Address
14 = Function Code 20 (14 Hex)
0E = Byte Count
06 = Reference Type (IEEE Floating Point)
00,03 = File Number (Access Data Value)
00,27 = Register Address (Standard Access LSP #1 - ID Tag 39)
00,02 = Register Count to read (Floating Point Data)
06 = Reference Type (IEEE Floating Point)
00,03 = File Number (Access Data Value)
00,35 = Register Address (Standard Access LSP #2 - ID Tag 53)
00,02 = Register Count to read (Floating Point Data)
(CRC16)
Write Restrictions
Care should be taken not to exceed the 100,000 write limit of the UDC2300 EEROM.
The register address is interpreted by the UDC2300 as the tag ID configuration number.
File Number
The file number word contains the register number from the register address structure tables on
page 3. Although the register address structure tables indicate up to 13 data registers are available
for access, only register address 3 is currently supported.
Register Address
The register address is used to designate the tag ID number for the parameter being accessed. The
register address is made up of two bytes—the MSB = 00 always. The LSB contains the RS422 tag
ID number. The tag ID numbers represent the parameter’s register address(es). See Section 3 for
the tag ID numbers.
Unrestricted Registers
As mentioned previously, all register data is stored in the EEROM of the UDC2300 with some
exceptions. These exceptions were made to allow write access to override information. The
registers, which are designated as Override values, are listed below. These registers do not have
restrictions on the number of writes.
ID Tag Register Number UDC2300 Usage
123 (7Bh) Output Override
125 (7Dh) Computer Setpoint
Example #1
The following is an example of a request to write the Gain 1 value using Function code 21 (15
Hex).
Request Message (Write Gain 1= 1.5 “ID Tag 1”)
02 15 0B 06 00 03 00 01 00 02 3F C0 00 00 (CRC16)
Where:
02 = Address
15 = Function Code 21 (15 Hex)
0B = Byte Count
06 = Reference Type (IEEE Floating Point)
00 03 = File Number (Access Data Value)
00 01 = Register Address (Standard Access - Gain 1 - ID Tag 1)
00 02 = Register Count (Floating Point Data)
3F C0 00 00 = 1.50
(CRC16)
3.1 Overview
Introduction
This section contains information concerning Reading, Writing, and Overriding parameters in the
UDC 2300 Process Controller. There are two types of parameters:
• Data Transfer—These parameters include reading control data, option status, and reading or
changing setpoints or output.
• Configuration Data—All the configuration data is listed in the order in which it appears in
the controller.
Each type of parameter has the identifying codes listed with it.
Section Contents
This section contains the following topics:
Topic See Page
3.2 Reading Control Data _____________________________________________ 12
3.3 Read Option Status _______________________________________________ 13
3.4 Miscellaneous Read Only’s _________________________________________ 14
3.5 Setpoints _______________________________________________________ 16
3.6 Using a Computer Setpoint _________________________________________ 17
3.7 PV or Setpoint Override ___________________________________________ 18
3.8 Reading or Changing the Output _____________________________________ 19
3.9 Local Setpoint/PID Set Selection and Setpoint Ramp Status________________ 20
3.10 Configuration Parameters Set-up Groups______________________________ 23
• Timing _____________________________________________________ 24
• Tuning _____________________________________________________ 24
• SP Ramp/SP Rate/SP Program __________________________________ 27
• Accutune ___________________________________________________ 29
• Algorithm___________________________________________________ 29
• Input 1 _____________________________________________________ 30
• Input 2 _____________________________________________________ 33
• Control_____________________________________________________ 35
• Communications _____________________________________________ 36
• Alarms _____________________________________________________ 37
General Information
Analog Parameters
• Whenever analog register addresses 0001 through 0072 (those that can be changed via
communications) are changed, a Write cycle occurs after receipt of the message and the
response is returned.
Override Parameters
• Override analog register addresses 0078, 007B and 007D (PV, output, and computer setpoint)
are not stored in nonvolatile memory. They can be changed as frequently as desired with no
effect on nonvolatile memory retentivity, but the controller must remain in the slave mode.
Digital Parameters
• Whenever digital configuration register addresses 0080 through 00FA are updated via
communications, the nonvolatile memory is updated as soon as the message is received.
Register Addresses
Use the identifying codes listed in Table 3-1 to read the specific items.
A Write request for these codes will result in an Error message.
Table 3-1 Control Data Parameters
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Input #1 0076 118 FP RD In Engineering Units or
Percentage
Input #2 0077 119 FP RD In Engineering Units or
Percentage
PV 0078 120 FP RD In Engineering Units or
Percentage
Internal RV 0079 121 FP RD In Engineering Units or
Percentage
0 to 255
Convert decimal to binary
Input 2 0 = disabled
1 = enabled
24190
Hex Decimal
3.5 Setpoints
Overview
You can use three separate local setpoints in the UDC Controller. The identifying register
addresses listed in Table 3-5 allow you to select which setpoint you want to use and to enter a
value in Engineering Units (whichever is selected at register address 00A1) for that setpoint via
communications.
Register Addresses
Make your selection using register address 00AD and enter the value for the setpoint chosen using
register address in Table 3-5.
Hex Decimal
Local Setpoint #1 0027 039 FP R/W Value within the setpoint range
limits
Local Setpoint #2 0035 053 FP R/W Value within the setpoint range
limits
Associated Parameters
Refer to Table 3-6 to display or change any of the parameters associated with the setpoint.
Table 3-6 Setpoint Associated Parameters
Parameter Register Address
Hex Decimal
Setpoint Limits 0007, 0008 007, 008
Computer Setpoint 007D 125
Register Addresses
Use the identifying code in Table 3-7 to enter the computer setpoint.
Table 3-7 Computer Setpoint Selection
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Computer Setpoint 007D 125 FP R/W Value from computer with Ratio
and Bias applied by the controller.
Within the Setpoint Range Limits in
Engineering Units or Percent.
Shed
The computer setpoint override will continue until SHED from communications occurs or the
controller is placed into monitor mode through communications. Doing periodic SLAVE READS
within the shed time will allow the override to continue until communication is stopped and shed
time elapses.
ATTENTION
0 Shed (code 154) allows the override to continue indefinitely or until the reset shed timer register
address 1B90 is written using function code 6. Any data value can be written because it is
ignored. (See override selections in Table 3-9.)
When SP is overridden, the upper display becomes "CSP," (momentarily, and the lower display
contains the prompt CS followed by the value CSXXXX).
Associated Parameters
Refer to Table 3-8 for the codes to display or change any of the parameters associated with the
computer setpoint.
Table 3-8 Computer Setpoint Associated Parameters
Parameter Register Address
Hex Decimal
Setpoint Limits 0007, 0008 007, 008
Local Setpoint #1 0027 039
Local Setpoint #2 0035 053
Local Setpoint Selection 00AD 173
Computer Setpoint Ratio 0015 021
Computer Setpoint Bias 0016 022
Register Addresses
Use the identifying code in Table 3-9 to Read or Write your selection.
Hex Decimal
ID Codes
Use the identifying code in Table 3-10 to monitor (Read) or change (Write) the output (in manual
only).
ATTENTION
• To Write (change) the output, the controller must first be in manual mode.
Hex Decimal
Associated Parameters
Refer to Table 3-11 for the codes required to display or change any of the parameters associated
with the output.
Table 3-11 Associated Output Codes
Parameter Register Address
Hex Decimal
Output Limits 000E, 000F 014, 015
Failsafe Output Values 0028 040
Output Deadband 0012 018
Output Hysteresis 0013 019
Output Type 00A0 160
Read
Table 3-12 is a list of numbers that could be returned by the UDC 2300 controller. When a Read is
requested for this ID Code (250) you can determine which parameters are active from this table.
Write
To Write information to the controller, select what parameters you want from Table 3-12 and enter
the associated number in the data field of the Write request.
FOR EXAMPLE:
• Current selection of TUNING SET #1
• Maintain LOCAL SETPOINT #1
• Maintain SP Ramp in Hold
• CHANGE to TUNING SET #2
READ 250 response is 00 or 02
WRITE 250 (07)
READ 250 Response is 08 or 010
ATTENTION
• Some of the numbers are Read only.
Hex Decimal
Enhanced Function 00FA 250 INT R See code 250 indications listed in
Figure 3-2. Note: The numbers in
the table below are represented in
decimal.
A write of code 250 lets you change the SP ramp status as well as the local setpoint or tuning set
selection. Refer to Table 3-13.
Hex Decimal
ATTENTION
To enable or disable the setpoint ramp, refer to Identifying Code 150.
Reading or Writing
Do a Read or Write, depending on your requirements, using the identifying code and format code
listed in the tables. The range or selection available for each range is listed in the tables.
3.10.1 Timing
Table 3-15 lists all the register addresses and ranges or selections for the function parameters in the
Set-up Group Timing.
Hex Decimal
3.10.2 Tuning
Table 3-15 lists all the register addresses and ranges or selections for the function parameters in the
Set-up Group Tuning.
Hex Decimal
Hex Decimal
Hex Decimal
3.10.3 SP Ramp/Rate/Program
Table 3-16 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Setpoint Ramp/Rate.
Table 3-16 Set-up Group – Setpoint Ramp/Rate
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Setpoint Program 00B2 178 INT R/W 0 = SP Program, Rate, and Ramp
Ramp Selection Disabled
1 = SP Program Enabled
2 = SP Ramp Enabled
3 = SP Rate Enabled
SP Ramp 0096 150 INT R/W 0 = OFF
2 = Enabled
Single SP Ramp Time 00AE 174 INT R/W 0 to 255 (minutes)
Hex Decimal
Segment #3 Ramp 003C 060 FP R/W 99.59 (0-99 Hrs:0-59 Min) or
Time 0 to 999 (Degrees/Minute)
Segment #4 Soak 003D 061 FP R/W 99.59 (0-99 Hrs:0-59 Min) or
Setpoint Value 0 to 999 (Degrees/Minute)
Segment #4 Soak 003E 062 FP R/W 99.59 (0-99 Hrs:0-59 Min)
Time
Segment #5 Ramp 003F 063 FP R/W 99.59 (0-99 Hrs:0-59 Min) or
Time 0 to 999 (Degrees/Minute)
Segment #10 Soak 0047 071 FP R/W 99.59 (0-99 Hrs:0-59 Min)
Time
Segment #11 Ramp 0048 072 FP R/W 99.59 (0-99 Hrs:0-59 Min) or
Time 0 to 999 (Degrees/Minute)
Segment #12 Soak 004A 074 FP R/W 99.59 (0-99 Hrs:0-59 Min)
Time
3.10.4 Accutune
Table 3-17 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Adaptive Tune.
Table 3-17 Set-up Group – Adaptive Tune
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
3.10.5 Algorithm
Table 3-18 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Algorithm.
Table 3-18 Set-up Group – Algorithm
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Control Algorithm 0080 128 INT R/W 0 = ON/OFF
Selection 1 = PID-A
(Selection here will 2 = PID-B
affect ID code 160 in 3 = PD-A with Manual Reset
Output Algorithms.) 4 = Three Position Step
Output Algorithm 00A0 160 INT R/W 0 = Time Simplex Relay 1
1 = Time Simplex Relay 2
2 = Current Simplex
3 = TPSC
4 = Time Duplex
5 = Current Duplex
6 = Current/Time Duplex
7 = Time/Current Duplex
3.10.6 Input 1
Table 3-19 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Input 1.
Table 3-19 Set-up Group – Input 1
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Hex Decimal
ATTENTION
Changing the Input Type will result in the loss of Field Calibration values and will
restore the Factory Calibration values.
Hex Decimal
Input 1 High Range 001D 029 FP R/W –999. to 9999. Engineering Units
Value (Linear types only)
Input 1 Low Range 001E 030 FP R/W –999 to 9999. Engineering Units
Value (Linear types only)
Hex Decimal
3.10.7 Input 2
Table 3-20 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Input 2.
Table 3-20 Set-up Group – Input 2
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
ATTENTION
Changing the Input Type will result in the loss of Field Calibration values and will
restore the Factory Calibration values.
Hex Decimal
Input 2 High Range 0023 035 FP R/W –999. to 9999. Engineering Units
Value
Input 2 Low Range 0024 036 FP R/W –999 to 9999. Engineering Units
Value
3.10.8 Control
Table 3-21 lists all the register addresses and ranges or selections for the function prompts in Set-
up Group Control.
Table 3-21 Set-up Group – Control
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Tuning Parameter 00AC 172 INT R/W 0 = One set only
Selection 1 = 2 sets keyboard selected
2 = 2 sets with PV automatic
switchover
3 = 2 sets with setpoint (SP)
automatic switchover
Automatic 0038 056 FP R/W Within the PV Range in
Switchover Value engineering units
(used with 172
selection 2 or 3)
Local Setpoint 00AD 173 INT R/W 0 = One Local Setpoint
Source (Number of 1 = Two Local Setpoints (disables
LSPs) RSP)
Power Up Mode 0082 130 INT R/W Control Setpoint
Recall Mode Mode
0= MAN LSP
1= AUTO LSP
2= AUTO Last RSP
3= LAST Last SP
4= LAST Last local SP
RSP Source 0083 131 INT R/W 0 = None
1 = Input 2
Setpoint Tracking 008A 138 INT R/W 0 = None
1 = LSP = PV (when in Manual)
2 = LSP = RSP (when switched)
Control Setpoint 0007 007 FP R/W 0 to 100% of PV
High Limit (engineering units)
Control Setpoint Low 0008 008 FP R/W 0 to 100% of PV
Limit (engineering units)
Control Output 0087 135 INT R/W 0 = Direct Action Alarm Output
Direction/Alarm energized
Outputs 1 = Direct Action Alarm Output
de-energized
2 = Reverse Action Alarm Output
energized
3 = Reverse Action Alarm Output
de-energized
Table continued on next page
3.10.9 Communications
Table 3-22 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Communications.
Table 3-22 Set-up Group – Communications
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Shed Mode and 00A2 162 INT R/W 0 = Last Mode and Last Output
Output 1 = Manual Mode, Last Output
2 = Manual Mode, Failsafe Output
3 = Automatic Mode
Shed Setpoint Recall 00A3 163 INT R/W 0 = To Last Local Setpoint used
1 = Last Setpoint prior to Shed
3.10.10 Alarms
Table 3-23 lists all the register addresses and ranges or selections for the function parameters in
Set-up Group Alarms.
Table 3-23 Set-up Group – Alarms
Parameter Register Data Access Data Range or
Description Address Type Enumerated Selection
Hex Decimal
Alarm 1 Setpoint 1 0009 009 FP R/W Within the range of selected
Value parameter or PV span for deviation
alarm
Alarm 1 Setpoint 2 000A 010 FP R/W Within the range of selected
Value parameter or PV span for deviation
alarm
Alarm 2 Setpoint 1 000B 011 FP R/W Within the range of selected
Value parameter or PV span for deviation
alarm
Alarm 2 Setpoint 2 000C 012 FP R/W Within the range of selected
Value parameter or PV span for deviation
alarm
Hex Decimal