Corrected temperature readout descriptions to 1 F from 0.1 F. Corrected misc.
typos. Removed front panel security code holding register. Moved
communication security code holding register to address 0.
3
03/22/1999
Corrected figure references in communication card setup sections. Added text
concerning level 1 & 2 password holding registers.
4
01/24/2002
Added holding register address references for new menus for software version 3.0
and 3.1(Heat/Cool).
5
06/10/2002
Added section 7, Programming Example and General Hints
6
10/6/2003
Section 3.6, change data address information in register 449.
Revision History
Approvals
Project Manager Bhupesh Gandhi
Design Engineer Bhupesh Gandhi
Engineering Manager Al Roman
Sales Manager Gus Guthrie
Customer Rich Johnson
Customer Brian Hajder
4.3CONTROL OPERATION AND RUN/HOLD/STOP FUNCTIONS .......................................................................... 16
4.4CONTROLLER MODE AND DATA ACCESS .................................................................................................... 16
4.5MONITORING AND ACKNOWLEDGEMENT OF ALARMS,EVENTS, AND CYCLE COMPLETE,DISCRETE INPUTS,
AND DISCRETE OUTPUTS.......................................................................................................................................... 17
5.3.1.4[08 04] Force Listen Mode Only ................................................................................................................... 30
5.3.1.5[08 10] Clear Communication Counters ....................................................................................................... 31
5.3.1.6[08 12] Return Bus Communication Error Count ......................................................................................... 31
5.3.1.7[08 13] Return Bus Exception Error Count ................................................................................................... 32
5.4.1 [01] Illegal Function ............................................................................................................................. 36
5.4.2 [02] Illegal Data Address ...................................................................................................................... 36
5.4.3 [03] Illegal Data Value .......................................................................................................................... 36
6.1PROTOCOL FORMAT .................................................................................................................................... 37
6.2.1 Coding System ....................................................................................................................................... 37
6.2.2 Serial Byte Setup .................................................................................................................................... 37
6.2.3 Error Checking Field ............................................................................................................................. 38
6.3ADDRESS FIELD .......................................................................................................................................... 38
6.4FUNCTION FIELD ......................................................................................................................................... 38
6.5DATA FIELD ................................................................................................................................................ 39
6.6ERROR CHECKING FIELD ............................................................................................................................ 39
6.7FIELD CONTENTS IN MODBUS MESSAGES ................................................................................................... 40
A-51643 Rev. 6 10/06/03 iii
Chromalox Instruments and Controls
6.7.1 The Byte Count Field ............................................................................................................................. 41
7 PROGRAMMING EXAMPLE AND GENERAL HINTS ................................................................ ............ 42
7.1CODE EXAMPLE .......................................................................................................................................... 42
Schneider Automation Open Modbus/TCP
Specification
http://www.modicon.com/openmbus.html/
Engineering Specification for Despatch ProtocolTM Plus
A-50778
1 Overview
1.1 Purpose
This document provides all application specific information necessary for developing a Modbus Master
application program for interfacing with the ProtocolTM Plus slave controller. The assumption is made
that the programmer has at least an intermediate understanding of the Modbus Protocol. Only limited
information is presented here regarding the Modbus Protocol specifications. Below is a list of relevant
Modbus Protocol documents. A quick reference section is provided in this document (see section 6 Modbus Protocol Quick Reference). A programming guideline section provides a programming
example and general communications hints (see section 7 Programming Example and General Hints
for programming help).
Table 1: Modbus References
Table 2: ProtocolTM Plus References
1.2 Conventions and definitions
RTU: Remote Terminal Unit
CRC: Cyclical Redundancy Check
$: Represents a hexadecimal number
XOR: Exclusive OR logic operation
LSB: Least Significant Bit
MSB: Most Significant Bit
XX: Don‘t Care when used in a hex number
--: Field contents are data dependent
NA: Not Applicable
TBD: To Be Determined or To Be Defined
A-51643 Rev. 6 10/06/03 1
Chromalox Instruments and Controls
Rcv
Xmit
Gnd
Master Device
Xmit
Rcv
Gnd
3 2 1
Protocol™ Plus DB-9 Connector
Rcv
Xmit
Gnd
2 3 5
2 3 7
DB-25
DB-9
Protocol™ Plus Connector
3 5 5
Rcv
Xmit
Gnd
2 Communications Specifications
2.1 Support Specifications
Device Support: Slave only.
Slave ID Code (Identifies Product Line): 1.
Transmission Mode: RTU mode only.
Communication Medium: RS232, RS422, or RS485.
Address Support: 1 – 247.
Baud Rate: 2400, 4800, 9600, 19.2K, 38.4K
Parity: None, Even, or Odd.
2.2 Timing Specifications
Message Framing: Silent period of at least 3.5 character times before the first character and after the last
character of the message.
Character Framing: No more than 1.5 character times of silence between received and transmitted
characters.
Message Timeout (Query Response Time): Response to queries will be made within 1 sec.
2.3 Wiring
Figure 1: RS232 Wiring
A-51643 Rev. 6 10/06/03 2
Chromalox Instruments and Controls
Xmit +
Rcv -
Gnd
3 2 5
Protocol™ Plus DB-9 Connector
Rcv +
7
Xmit -
4
Master Device
(Pin #‘s based on RS-530
standard; may vary by
device)
Xmit – (a)
Rcv + (b)
Gnd
2 3 7
DB-25
Xmit + (b)
16
Rcv – (a)
14
Xmit +
Rcv -
Gnd
3 1 5
Rcv +
2
Xmit -
4
Protocol™ Plus Connector
T/R +
Gnd
3
5
Protocol™ Plus DB-9 Connector
T/R - 4 T/R +
Gnd
3
5
T/R -
4
Protocol™ Plus Connector
Master Device
(Pin #‘s based on RS-530
standard; may vary by
device)
Xmit – (a)
Rcv + (b)
Gnd
2 3 7
DB-25
Xmit + (b)
16
Rcv – (a)
14
Figure 2: RS422A Wiring (4 wire)
Figure 3: RS485 Wiring (2 wire)
2.4 Communication Card Installation and Jumper Settings
WARNING
Electronic Components are extremely sensitive to static electricity. Before opening the controller
case, read and follow the precautions below to prevent damage from static electricity.
1. Turn off power to the controller.
2. Touch a bare metal surface on the exterior of the controller.
3. Disconnect the power connection from the controller or unplug from the power source.
Also follow these static electricity precautions:
Avoid static-causing surfaces while working with electronic components.
Remove parts from their anti-static bags only when ready for use. Do not lay parts on the outside of
the anti-static bag because only the inside provides protection.
Hold circuit boards by their edges or any metal mounting hardware. Avoid touching components or
connectors on the circuit boards.
2.4.1 Communication Card (0113-10175) Installation
1. Turn off power to the controller.
2. Remove the back cover of the controller by removing the two screws at the top of the unit.
A-51643 Rev. 6 10/06/03 3
Chromalox Instruments and Controls
3. Looking into the back of the controller with the connector terminal strips at the bottom, install the
communication card onto the two 5 pin headers on the rear circuit board. Be sure the jumper blocks
on the communication card are positioned toward the bottom of the controller. See Figure 4: Controller Rear View with Communication Card (Left). Be sure the card is seated firmly onto the
headers.
4. Set the jumpers on the communication card for the desired serial communication interface based on
Figure 5: Communication Card (0113-10175) Jumper Settings.
5. Reinstall the back cover.
6. Wire the communication connections on the rear of the unit for the desired serial communication
interface based on Figure 1: RS232 Wiring, Figure 2: RS422A Wiring (4 wire), or Figure 3: RS485 Wiring (2 wire).
7. Reapply all power connections to the controller.
Figure 4: Controller Rear View with Communication Card (Left)
A-51643 Rev. 6 10/06/03 4
Chromalox Instruments and Controls
RS232 Jumper Settings
RS422 Jumper Settings
RS485 Jumper Settings
2.4.2 Communication Card Jumper Settings
1. Turn off power to the controller.
2. Remove the back cover of the controller (if it is not already removed) by removing the two screws at
the top of the unit.
3. Set the jumpers on the communication card for the desired serial communication interface based on
Figure 5: Communication Card (0113-10175) Jumper Settings.
4. Reinstall the back cover.
5. Reapply power to the controller.
Figure 5: Communication Card (0113-10175) Jumper Settings
A-51643 Rev. 6 10/06/03 5
Chromalox Instruments and Controls
Data Address
Hex Address
Description
Security
0
$0000
Event Input 1
0
1
$0001
Event Input 2
0
2
$0002
Event Input 3
0
3
$0003
Event Input 4
0
4 -- 7
$0004 -- $0007
Illegal, Reserved for future inputs
0
8 -- 65535
$0008 - $FFFF
Undefined, available for application assignment
0
3 Register and I/O Mapping
3.1 Unmapped and Reserved Registers
Reserved and NA registers will be read as zero with no exception error being generated. Thus, the host
can request data from multiple addresses with gaps between and still receive a valid response. Illegal and
undefined register address blocks will always generate an illegal data address exception.
Reserved and NA registers may be written without generating an exception, however the data is ignored
for these registers and no write takes place. Illegal and undefined register address blocks will always
generate an illegal data address exception.
3.2 Register Quantity Limitations
The number of registers that can be accessed in one query is limited to 50.
3.3 Discrete Input Assignments
The status of the four event inputs can be read as discrete inputs in Modbus format.
Table 3: ProtocolTM Plus Discrete Input Address Map
3.4 Discrete Output Assignments
The status of the four relay outputs can be read as discrete outputs in Modbus format. Writes to the
outputs are not supported, that is, the functions ―Write Single Output‖ (06) and ―Write Multiple Outputs‖
(15) are not implemented.
A-51643 Rev. 6 10/06/03 6
Chromalox Instruments and Controls
Data Address
Hex Address
Description
Security
0
$0000
Relay Output 1
0
1
$0001
Relay Output 2
0
2
$0002
Relay Output 3
0
3
$0003
Relay Output 4
0
4 -- 7
$0004 -- $0007
Illegal, Reserved for future inputs
0
8 -- 65535
$0008 - $FFFF
Undefined, available for application assignment
0
Table 4: ProtocolTM Plus Discrete Output Address Map
A-51643 Rev. 6 10/06/03 7
Chromalox Instruments and Controls
Data
Address
Hex
Address
Description
Page[menu]
Association or
Range
Security
Level
Comments
Control Loop Input Registers
0
0
PV
Sensor range
0
read as xxxx deg. F
1
1
Active SP
Sensor range
0
read as xxxx deg. F
2
2
Active Hi Limit SP
Sensor range
0
read as xxxx deg. F
3
3
PV Status
-1, 0, 1
0
-1 = underrange, 0 = in range, 1 = overrange
4
4
NA 0 0 5
5
Hi Limit PV
Sensor Range
0
read as xxxx deg. F
6
6
Hi Limit PV Status
-1, 0, 1
0
-1 = underrange, 0 = in range, 1 = overrange
7
7
Control Output Command
0 - 100.0
0
value has an implied decimal pt. of 1
8
8
Hi Limit Output
0, 1
0
0 = Off, 1 = On
9
9
Max Hi Limit SP
Control[Hi-Lim SP]
0
read as xxxx deg. F
10
A
NA 0 0 11
B
PV Max
Sensor Range
0
read as xxxx deg. F
12
C
PV Min
Sensor Range
0
read as xxxx deg. F
13
D
Reserved for factory use
14
E
Reserved for factory use
15
F
Reserved for factory use
16 -- 127
10 -- 7F
Illegal, Reserved standard reg.
Timer/Profile Input Registers
128
80
Segment Number
1-99
0
Current segment number
129
81
Timer/Ramp/Soak Interval Time
Remaining
00:00 - 99:59
0
Time remaining in ramp/soak interval
130
82
Segment Loops Remaining
0 - 99
0
Number of loops remaining in the ramp/soak program.
131
83
Ramp/Soak Interval Indicator
0, 1
0
0 = ramp interval of segment, 1 = soak interval of
segment
132 -- 143
84 -- 8F
Illegal, Available to application
Global Input Registers
144
90
Terminal Temp (CJC)
Ambient Range
0
read as xxx.x deg. F
145
91
N/A 0 0
146
92
Reset Counter
0 - $FFFF
0
Number of processor resets.
147
93
Power Down Counter
0 - $FFFF
0
Number of power down interrupts.
148
94
Alarms Status
0 - $F
0
Bits 0-3 = Alarms 1-4. Bit value: 0 = Off, 1 = On
3.5 Input Register Assignments
Input registers are intended for read only information and functions that cannot or should not be
controlled remotely. Much status information is mapped as holding registers so that operations can be
controlled remotely. Examples are control output commands, ramp/soak status (run, hold, stop), and
ramp/soak program number.
Table 5: ProtocolTM Plus Input Register Address Map
read/written as xxxx deg. F. (H/C Version 3.1 Only)
27
1B
Integral Reset (Cool)
PID[I (C) Rep/Min]
1 or 2 (Note 1)
value is in repeats/min. (H/C Version 3.1 Only)
28
1C
Derivative Rate (Cool)
PID[D(C) in Sec]
1 or 2 (Note 1)
Value is in Seconds. (H/C Version 3.1 Only)
29
1D
Heat Offset
PID[Heat Offset]
1 or 2 (Note 1)
read/written as xxxx deg. F. (+/- P Band H) H/C Only
30
1E
Cool Offset
PID[Cool Offset]
1 or 2 (Note 1)
read/written as xxxx deg. F. (+/- P Band H) H/C Only
3.6 Holding Register Assignments
Holding registers are intended for information and functions that can be read or written. Each holding
register has a corresponding internal memory variable in the slave device. This association is shown in
the address map table.
Table 6: ProtocolTM Plus Holding Register Address Map
A-51643 Rev. 6 10/06/03 10
Loading...
+ 37 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.