Im C300-Mod 7
Im C300-Mod 7
Universal
Process Controller MODBUS (RTU)
Communications Option
COMMANDER 300
47.5
PV
50.0
SP
R ST M
A2 L
A1
ABB Automation
ABB INSTRUMENTATION
The Company BS EN ISO 9001
ABB Instrumentation is an established world force in the design and
manufacture of instrumentation for industrial process control, flow
D
RE
GI
E
STER
measurement, gas and liquid analysis and environmental ISO 9001
applications. St Neots, U.K. – Cert. No. Q5907
As a part of ABB, a world leader in process automation technology, Stonehouse, U.K. – Cert. No. FM 21106
we offer customers application expertise, service and support
worldwide. EN 29001 (ISO 9001)
We are committed to teamwork, high quality manufacturing,
advanced technology and unrivalled service and support.
The quality, accuracy and performance of the Company’s products Lenno, Italy – Cert. No. 9/90A
result from over 100 years experience, combined with a continuous
program of innovative design and development to incorporate the
latest technology. Stonehouse, U.K.
The NAMAS Calibration Laboratory No. 0255 is just one of the ten
flow calibration plants operated by the Company, and is indicative of 0255
ABB Instrumentation's dedication to quality and accuracy.
Use of Instructions
Warning. ✶ Note.
An instruction that draws attention to the risk of Clarification of an instruction or additional
injury or death. information.
Caution. Information.
An instruction that draws attention to the risk of Further reference for more detailed information or
damage to the product, process or surroundings. technical details.
Although Warning hazards are related to personal injury, and Caution hazards are associated with equipment or
property damage, it must be understood that operation of damaged equipment could, under certain operational
conditions, result in degraded process system performance leading to personal injury or death. Therefore, comply
fully with all Warning and Caution notices.
Information in this manual is intended only to assist our customers in the efficient operation of our equipment. Use
of this manual for any other purpose is specifically prohibited and its contents are not to be reproduced in full or
part without prior approval of Technical Communications Department, ABB Instrumentation.
1
1 INTRODUCTION 2 ELECTRICAL INSTALLATION
2
2 ELECTRICAL INSTALLATION…
COMMANDER 300
A C B
+5V
1.8kΩ
0V Pull-up
Resistor
'B'
C 'A'
GND
8 1.8kΩ
Rx+ Pull-down
9 Resistor
Rx– +5V 0V
10 1.8kΩ
Tx+
11 Pull-up
Tx– Resistor
12 'B'
'A'
1.8kΩ
Pull-down
Resistor
0V
3
…2 ELECTRICAL INSTALLATION
A – Schematic Diagram
1 8
Identify
2
PL1
Links
4 5
3
Position links
1 Invert
Termination Termination
Controller
Resistors Resistors
Linked-out Linked-in
1 8 1 8
PL1
PL1
4 5 4 5
4
2 ELECTRICAL INSTALLATION
Information.
• Up to 10 slaves can be connected to a single RS422 adaptor card on a PC.
• The maximum serial data transmission line length for both RS422 and RS485 systems
is 1200m.
All connections, apart from those for serial data communication, are made as shown in Section
4 of the Installation Guide.
Make serial data connections as shown in Fig. 2.3. The type of cable used is dependent on the
cable length:
Up to 6m – standard screened or twisted pair cable.
Up to 300m – twin twisted pair with overall foil screen and an integral drain
wire, e.g. Belden 9502 or equivalent.
Up to 1200m – twin twisted pair with separate foil screens and integral drain
wires for each pair, e.g. Belden 9729 or equivalent.
COMMANDER 300
A C B
OPTO22 Adaptor
Board Connections
C Screen
GND
8 GND 3
Rx+
9 Tx+ 4
Rx–
10 Tx– 5
Tx+
11 Rx+ 8
Tx–
12 Rx– 9
5
6
3
PROGRAMMING
Refer to Operating Guide Refer to Programming Guide
Operating Page Alarm Acknldg. Security Code Self-tune Page Control Page Profile Program Set Points Page Set Up PV Page
Page Page Page
LINE ACKNLG SECOdE SELF ContrL PrOFLE SEt SEtUP
Fig. 3.1 Location of Serial Data (RS485) Communications Page
Access Page Scal Adjust Page Serial Page Retrans. O/P Set Up Alarms Set Up Control Display Page Set Up RSPT
Section 4, opposite Page Page Page Page
BAUd
9600
IdEnt
1
PArItY
odd
3 PROGRAMMING
Information.
• Programmable baud rate (1200 to 9600 baud).
The general programming procedure is as detailed in the Operating Guide. In this Section,
parameters in the lower display denoted ■ are Company Standard Settings. The instrument is
dispatched programmed with these settings.
PArItY Parity
EVEN Select the appropriate parity to match the computer
Odd terminal or host computer.
NONE
SCALE
AdJUSt
7
4 MODBUS PROTOCOL
Information.
• The COMMANDER 300 operates as a Modbus, Remote Terminal Unit (RTU) slave.
• Cyclic redundancy checking – used to detect errors in the master messages and slave
responses.
The slave cannot accept a new message until the existing message is processed and a reply
sent to the master (maximum response time 180 milliseconds). The slave monitors the elapsed
time between receipt of characters. If the elapsed time without a new character is 31/2 character
times, the slave assumes the next character received is the start of a new message.
To allow the master to differentiate between more than one slave in a system, each slave is
given a unique identity address (between 1 and 99).
A broadcast address (address zero) can be used to access all slave devices with one
command. This is limited to write messages only and there is no slave acknowledgment.
Note. Modbus RTU requires 1 start bit, 8 data bits, 1 parity bit (optional) and 1 or 2 stop
bits.
Caution. If the number of write cycles to any particular non-volatile memory register
exceeds 104 cycles, the data stored may not be retained.
Any changes made to a parameter via the serial link, e.g. Control Set Point value, are stored in
a non-volatile memory register assigned to that parameter.
The number of write cycles to a particular register can be reduced by disabling non-volatile
memory access when making changes to parameters which do not need to be retained
following a power-down. This is done using the Non-volatile Save State (NV) Coil 181 – see
Section 7.1, Coils.
When the Non-volatile Save State is set to ‘Enable’, any parameter changes made via the serial
link are written to non-volatile memory and are retained on power-down. If the Non-volatile Save
State is set to ‘Disable’, parameter changes made via the serial link are not retained on power
down.
The Non-volatile Save State must be adjusted only when necessary and must be reset to the
required state each time the instrument is powered down, replaced with another instrument or
the host computer is powered down.
8
4 MODBUS PROTOCOL
9
5 MODBUS FUNCTIONS
This section shows typical examples of Modbus function codes 01, 03, 05, 06, 08 and 16.
Note. The coil offset address is the coil number minus one, e.g. to start at coil 31 the
data start value must be set to 30 (1EH).
Example – a read coil status request to read 16 coils from slave (01) starting at coil 31 (alarm
A status) is shown below.
Example – the response to the read coil status query shows the following:
Alarm A status ON
Alarm B status OFF
Alarm C status ON
Alarm D status OFF
Alarm E,F,G,H,J, K status all OFF
Alarm 1 Relay to Alarm 4 Relay status all OFF
Logic Input 1 and 2 status ACTIVE
10
5 MODBUS FUNCTIONS…
The Read holding registers allow the user to obtain the binary contents of holding registers in
the addressed slave.
Note. The data start register must contain the offset address of the first register to be
accessed, e.g. to start at register 121 the data start register must contain 120 (78H).
Example – a read holding register request to read 6 holding registers from slave (01) starting
at holding address 121 (alarm A trip value) is shown below.
Example – the response to the read holding register query shows the following:
Alarm trip A – 150
Alarm trip B – 50
Alarm trip C – 100
Alarm trip D – 400
Alarm trip E – 0
Alarm trip F – 0
Byte Holding Register 121 Holding Register 121 Holding Register 123
Address Function
Count High Low High Low High Low
01 03 0C 00 96 00 32 00 64
11
…5 MODBUS FUNCTIONS
Note. To write to a coil the coil offset address must be used, e.g. to write to coil 149, the
coil address 148 (94H) is transmitted.
The use of slave address zero (broadcast mode) forces all attached slaves to modify the
desired coil.
Example – a force single coil request to switch ON coil address 149 (auto/manual state,
channel 1) in slave 01 is shown below.
Coil Offset Coil Offset Data Value Data Error Check
Address Function (CRC-16)
High Low High Value Low Field
01 05 00 94 FF 00 CD D6
Example:
Coil Offset Coil Offset Data Value Data Error Check
Address Function (CRC-16)
High Low High Value Low Field
01 05 00 94 FF 00 CD D6
12
5 MODBUS FUNCTIONS…
The preset single register allows the user to modify the contents of a holding register.
Note. Function codes 5, 6 and 16 are the only messages that are recognized as valid
for broadcast.
Example – a preset single register request to write the value 500 to holding register address
121 (alarm A trip value) in slave 01 is shown below.
Note. To write to a register, the register’s offset address must be used, e.g. to write to
register 121, the offset address 120 (78H) is transmitted.
Example:
Register Register Data Value Data Value Error Check
Address Function (CRC-16)
Offset High Offset Low High Low Field
01 06 00 78 01 F4 09 C4
13
…5 MODBUS FUNCTIONS
Example:
Data Diagnostic Data Diagnostic Error Check
Address Function Data * Data * (CRC-16)
Code High Code Low Field
01 08 00 00 A5 37 DA 8D
Example:
Data Diagnostic Data Diagnostic Error
Address Function Data Data (CRC-16)
Code High Code Low Check Field
01 08 00 00 A5 37 DA 8D
14
5 MODBUS FUNCTIONS
Example – a write multiple register request to write the value 10 to the register address 121
(alarm A trip value) and the value 100 to the register address 122 (alarm B trip value) in slave
01 is shown below.
Example:
Number of
Register Start Register Start Error Check
Address Function Registers (CRC-16)
Offset High Offset Low Field
01 10 00 78 00 02 00 10 90
15
6 EXCEPTION RESPONCES
The exception response codes sent by the slave are shown in Table 6.1. When a slave detects
one of these errors, it sends a response message to the master consisting of slave address,
function code, error code and error check fields.
Exception
Exception Response
Response Exception Response Definition
Name
Code
The message function received is not an allowable action for
01 Illegal Function
the C200.
The address reference in the data field is not an allowable
02 Illegal Data Address
address for the C200.
The value referenced in the data field is not allowable in the
03 Illegal Data Value
addressed slave location.
07 Negative Acknowledgement The function just requested cannot be performed.
Parity check indicates an error in one or more of the
08 Memory Parity Error
characters received.
6.1 Examples
A read register request to read holding register address 251 of slave 01 (undefined address for
slave, beyond address limit) is shown below.
The response is an exception response sighting ‘illegal data address’. To indicate that the
response is a notification of an error, the most significant bit of the function code is set to 1.
01 83 02 C0 F1
16
7 MODBUS REGISTERS
7.1 Coils
Alarm Status
031 R Alarm A
032 R Alarm B
033 R Alarm C
034 R Alarm D
035 R Alarm E
036 R Alarm F
037 R Alarm G 0 = Inactive
038 R Alarm H 1 = Active
039 R Alarm J
040 R Alarm K
041 R Alarm 1Relay
042 R Alarm 2 Relay
043 R Alarm 3 Relay
044 R Alarm 4 Relay
17
…7 MODBUS REGISTERS
…7.1 Coils
Control States
148 R/W Control Action 0 = Direct, 1 = Reverse
149 R/W Auto/Manual 0 = Auto, 1 = Manual
150 R/W Control Action for Output 2 0 = Direct, 1 = Reverse
Save Modbus
181 R/W Enable Writes to Non-Vol Memory 0 = Disable, 1= Enable
Information.
Holding registers which have a response entry of 0 to 4095 are numbers scaled over the
display range.
18
7 MODBUS REGISTERS…
Controller Settings
051 R Process Variable
052 R/W Control Set Point 0 to 4095
053 R/W Control Output*
054 R Position Feedback Input 0 to 4095
055 R Position Feedback Failure State 0 = Active, 1 = Failed
057 R/W Cycle Time 10 to 3000
058 R/W Proportional Band 1 to 9999
059 R/W Integral Action Time 0 to 7201
060 R/W Manual Reset Value 0 to 4095
061 R/W Derivative Action Time 1 to 9999
062 R/W Approach Band 1 to 30
063 R/W Control Output Heat 0 to 4095
064 R/W Control Output Cool 0 to 4095
065 R/W Proportional Band Cool 1 to 9999
066 R/W Intregral Action Time Cool 0 to 7200
067 R/W Manual Reset Cool 0 to 4095
068 R/W Cycle Time Cool 10 to 3000
069 R/W Crossover Value 0 to 4095
070 R/W Transition Band 0 to 4095
071 R Remote Set Point Input
074 R/W Ratio Value for Remote Set Point 10 to 9999
075 R/W Bias Value for Remote Set Point ± Display Range)
Controller Settings
for Position Feedback
094 R/W Ratio Value for Position Feedback 0 to 999
095 R/W Bias Value for Position Feedback ± 100
Set Points
101 R/W Local Set Point
102 R/W Dual Set Point 0 to 4095
103 R/W Remote Set Point (without Ratio/Bias) (Display Range)
104 R/W Remote Set Point (with Ratio/Bias)
105 R/W Remote Set Point Failure State 0 = Active, 1= Failed
106 R/W Set Point Selection 0 = Local,1 = 2nd SP
* Only applicable for time proportioning and current proportioning. NOT position proportioning
or boundless.
19
…7 MODBUS REGISTERS
Alarms
121 R/W Alarm A Trip Value
122 R/W Alarm B Trip Value
123 R/W Alarm C Trip Value
124 R/W Alarm D Trip Value
125 R/W Alarm E Trip Value
126 R/W Alarm F Trip Value 0 to 4095
127 R/W Alarm G Trip Value
128 R/W Alarm H Trip Value
129 R/W Alarm J Trip Value
130 R/W Alarm K Trip Value
0 = Alarm Off
141 R Alarm A Type 1 = High Process
142 R Alarm B Type 2 = Low Process
143 R Alarm C Type 3 = High Deviation
144 R Alarm D Type 4 = Low Deviation
145 R Alarm E Type 5 = High Output
146 R Alarm F Type 6 = Low Output
147 R Alarm G Type 7 = Fast Rate
148 R Alarm H Type 8 = Slow Rate
149 R Alarm J Type 9 = Mode Alarm
150 R Alarm K Type 10 = Program Event
11 = Segment Event
0 = Stop
1 = Ramp
3 = Soak
4 = Countdown
176 R Profile Status 5 = Operator Hold
6 = Not Used
7 = Manual Hold
8 = Holdback Hold
9 = End
20
PRODUCTS & CUSTOMER SUPPORT
A Comprehensive Product Range Customer Support
Analytical Instrumentation ABB Instrumentation provides a comprehensive after
• Transmitters sales service via a Worldwide Service Organization.
On-line pH, conductivity, and dissolved oxygen Contact one of the following offices for details on your
transmitters and associated sensing systems. nearest Service and Repair Centre.
• Sensors
United Kingdom
pH, redox, selective ion, conductivity and
ABB Instrumentation Limited
dissolved oxygen.
Tel: +44 (0)1480 475321
• Laboratory Instrumentation Fax: +44 (0)1480 470787
pH and dissolved oxygen meters and associated
sensors. United States of America
• Water Analyzers ABB Automation Inc.
For water quality monitoring in environmental, Instrumentation Division
power generation and general industrial Tel: +1 215-674-6000
applications including: pH, conductivity, ammonia, Fax: +1 215-674-7183
nitrate, phosphate, silica, sodium, chloride,
fluoride, dissolved oxygen and hydrazine. Italy
• Gas Analyzers ABB Instrumentation SpA
Zirconia, paramagnetic, infrared, thermal Tel: +39 (0) 344 58111
conductivity. Fax: +39 (0) 344 58278
Flow Metering
• Magnetic Flowmeters
Electromagnetic, insertion type probes and
watermeters.
• Turbine Flowmeters
• Wedge Flow Elements
• Mass Flow Meters
Transmitters, sensors, controllers and batch/
display units.
Level Control
• Submersible, Capacitance & Conductivity.
Pneumatic Instrumentation
• Transmitters
• Indicating Controllers
• Recording Controllers
Issue 7
IM/C300–MOD