ABB - Controller Comander 200 Operating Guide
ABB - Controller Comander 200 Operating Guide
Universal
Process Controller MODBUS (RTU)
Communications Option
COMMANDER 200
47.5
RMT
MAN
OUT
50.0
ABB Instrumentation
ABB INSTRUMENTATION
The Company BS EN ISO 9001
ABB Instrumentation is an established world force in the design and
REG
RM
manufacture of instrumentation for industrial process control, flow
FI
ST
I
measurement, gas and liquid analysis and environmental ERED
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
• Modbus RTU protocol – for master • Observe the limitations outlined in the
(host computer) to slave Installation Guide – the maximum
(COMMANDER 200) system. serial data transmission line length for
both RS422 and RS485 systems is
• Isolated (500V) from rest of 1200m.
instrument.
An RS422/485 communications adaptor is
• 3-wire and 5-wire communication required for serial links. It is strongly
supported. recommended that the card used has
galvanic isolation to protect the computer
• Baud rate – from 1200 to 9600. from lightning damage and increase
immunity from noise pick-up.
2
2 ELECTRICAL INSTALLATION…
COMMANDER 200
Computer Terminal or Host Computer
Pull-up and Pull-down Resistors
'B'
COMMANDER 200 'B'
Terminal Block
'A'
+5V Tx+ 'A'
1.8kΩ 4
Pull-up Tx–
5
Resistor Tx–/Rx– +5V
6 Tx+
Tx– 1.8kΩ Pull-up
Tx+/Rx+
7 Resistor
Rx+
GND Rx– 'A'
'B'
'B'
1.8kΩ
'A' 1.8kΩ Pull-down
Pull-down
Resistor
Resistor GND
0V 0V
PL3
PL2
PL3
12
1 1 1 1
1.8kΩ Pull-down Resistor Link 1.8kΩ Pull-up Resistor Link
PL1
PL2
PL3
PL5
Serial
Board
3
…2 ELECTRICAL INSTALLATION
COMMANDER 200
Computer Terminal or Host Computer
Pull-up and Pull-down Resistors
+5V
1.8kΩ
'B' Pull-up
Resistor 'A'
'A'
+5V
1.8kΩ COMMANDER 200 1.8kΩ 'B'
Pull-up Terminal Block Pull-down
Resistor Tx–/Rx– Resistor
Tx+
4 0V
Tx– +5V
Tx+/Rx+ 5
1.8kΩ
Rx–
6 Pull-up
'B' Rx+ Resistor
7
'A'
1.8kΩ GND
'A' Pull-down 'B'
Resistor 1.8kΩ
0V Pull-down
Resistor
0V
0V
PL3
PL2
PL3
12
1 1 1 1
1.8kΩ Pull-down Resistor Link 1.8kΩ Pull-up Resistor LInk
PL1
PL2
PL3
PL5
Serial
Board
4
2 ELECTRICAL INSTALLATION…
+5V
0V
PL1
1 1
Termination Resistor Link
PL1
PL2
PL3
PL5
Serial
Board
5
…2 ELECTRICAL INSTALLATION
1
Remove Link
12
PL2
PL3
PL5
Serial
Board
6
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 1 of the Operating Instructions.
Make serial data connections as shown in Fig. 2.5. 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
4 Tx+
Rx+ 8 4 Tx+
Rx+ 8
5 Tx–
Rx– 9 5 Tx–
Rx– 9
6 Tx– 5 6 Rx–
Tx– 5
7 GND
Tx+ 4 7 Rx+
Tx+ 4
Screen
GND 3 GND 3
Screen GND
7
8
3
Display Loop Tune Loop Alarm Loop Hi-Lo Limit Input Loop Enable Loop Temperature RS-485
Fail Msgs Prop.Band Process, Loop Define Input Autotune Calibration Communications
or Diff. Gap Output, & and Test Loop Loop
Process/Set- Output, Temp. Scale Passwords
Point Values Integral & Deviation Set-Point & Lamp Tests Enable/
Type Alarms Dual Set- Input Volt/ Power Up Disable
Output Derivative Current Lim. Msgs' Mode Thermal
PROGRAMMING
Level Change Level Change Level Change Level Change Level Change Level Change Level Change
START
xxx Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7
Ref. to IM/C200 Ref. to IM/C200 Ref. to IM/C200 Ref. to IM/C200 Ref. to IM/C200 Ref. to IM/C200 Ref. to IM/C200 Level 8
xxx Page 24 Page 20 Page 18 Page16 Page 13 Page 11 Page 22 Ref. to Section 3
Information.
• Programmable baud rate (1200 to 9600 baud).
The general programming procedure is as detailed in the Operating Instructions. In this Section,
parameters in the lower display denoted ■ are Company Standard Settings. The instrument is
dispatched programmed with these settings.
PAr.
NONE Parity
EVEN Select the appropriate parity to match the computer
Odd terminal or host computer.
NONE – no parity.
EVEN – even parity.
Odd – odd parity.
9
4 MODBUS PROTOCOL
Information.
• The COMMANDER 200 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 250 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) – see
Section 8.6.1, General Parameters.
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.
10
4 MODBUS PROTOCOL…
Modbus
Modbus Mesage Name MODCELL 2050 Definition
Function Code
08 Loop Back Diagnostic Test Echo the message, only ‘Return of Query’ is supported.
11
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 11 the
data start value must be set to 10 (0AH).
Example – a read coil status request to read 16 coils from slave (01) starting at coil 11 (Process
Variable mA low) is shown below.
01 01 00 0AH 00 10 1D C4
Example – the response to the read coil status query shows the following:
All input failure states and A to D converter failure states OFF (no errors)
Alarm 1 Relay ON
01 01 02 00 01 BA AC
12
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 4 holding registers from slave (01) starting
at holding address 121 (alarm 1 trip value) is shown below.
01 01 02 00 01 BA AC
Example – the response to the read holding register query shows the following:
Alarm 1 trip – 150
Alarm 2 trip – 50
Alarm 3 trip – 100
Alarm 4 trip – 400
Byte Holding Register 121 Holding Register 122 Holding Register 123
Address Function
Count High Low High Low High Low
01 03 08 00 96 00 32 00 64
01 90 1A 39
13
…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 Value Error Check
Address Function (CRC-16)
High Low High Low Field
01 05 00 94 FF 00 CD D6
Example:
Coil Offset Coil Offset Data Value Data Value Error Check
Address Function (CRC-16)
High Low High Low Field
01 05 00 94 FF 00 CD D6
14
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 1 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.
01 06 00 78 01 F4 09 C4
Example:
01 06 00 78 01 F4 09 C4
15
…5 MODBUS FUNCTIONS
Example:
01 08 00 00 A5 37 DA 8D
Example:
01 08 00 00 A5 37 DA 8D
16
5 MODBUS FUNCTIONS…
Example – a write multiple register request to write the value 10 to the register address 121
(Alarm 1 trip value) and the value 100 to the register address 122 (Alarm 2 trip value) in slave
01 is shown below.
01 10 00 78 00 02 04
00 0A 00 64 D4 C4
Example:
01 10 00 78 00 02 00 10 90
17
6 EXCEPTION RESPONSES
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 the slave address,
function code, error code and error check fields.
Exception
Response Exception Response Name Exception Response Definition
Code
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.
01 03 00 FA 00 06 E5 F9
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
18
7 MODBUS REGISTERS
7.1 Coils
Alarm Status
031 R Alarm 1
032 R Alarm 2
033 R Alarm 3
034 R Alarm 4 0 = Inactive
035 R Control Relay 1 = Active
036 R Alarm Relay B
037 R Alarm Relay C
Input State
051 R Logic Input 1 0 = Active,1 = Inactive
19
…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 Integral Response 0 = Off, 1 = On
151 R/W Manual Response 0 = Off, 1 = On
20
7 MODBUS REGISTERS…
Controller Settings
051 R Process Variable Input –9999 to +9999
052 R/W Control Set Point –9999 to +9999
053 R/W Control Output 0 to 1000
057 R/W Cycle Time 10 to 3000
058 R/W Proportional Band 1 to 9999
059 R/W Integral Reset Rate 1 to 1200
060 R/W Manual Reset Value 0 to 1000
061 R/W Derivative Action Time 0 to 9999
071 R Remote Set Point Input Value –9999 to +9999
074 R/W Ratio for Remote Set Point 1 to +9999
075 R/W Bias for Remote Set Point –999 to +9999
Set Points
101 R/W Local Set Point
102 R/W Dual Set Point
103 R Remote Set Point(without Ratio/Bias) –9999 to +9999
104 R Remote Set Point (with Ratio/Bias)
105 R Remote Set Point Failure State
106 R/W Set Point Selection 0 = Local,1 = 2nd SP
21
…7 MODBUS REGISTERS
Alarms
121 R/W Alarm 1 Trip Value
122 R/W Alarm 2 Trip Value In Engineering Units
123 R/W Alarm 3 Trip Value Range–9999 to +9999
124 R/W Alarm 4 Trip Value
0 = None
141 R Alarm 1 Type 1 = High Process
142 R Alarm 2 Type 2 = Low Process
143 R Alarm 3 Type 3 = High Deviation
144 R Alarm 4 Type 4 = Low Deviation
5 = High Output
6 = Low Output
22
7 MODBUS REGISTERS…
0 = Off
1 = Ramp
2 = Soak
3 = Step
4 = Countdown
176 R Profile Status 5 = Operator Hold
6 = Power Down Hold
7 = Manual Mode
8 = Hold Back Mode
9 = End
23
…7 MODBUS REGISTERS
Totalizer
191 R Totalizer Predetermined High Word
192 R Totalizer Predetermined Low Word The Limit For High
193 R Totalizer Preset High Word Word : Low Word
194 R Totalizer Preset Low Word linked together is
195 R Totalizer Value High Word 0 to 99,999,999
196 R Totalizer Value Low Word
197 W Totalizer Reset 1 = Reset
198 R/W Totalizer Stop/Go 0 = Stop, 1 = Go
24
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 Instrumentation Inc.
For water quality monitoring in environmental, Tel: +1 716 292 6050
power generation and general industrial Fax: +1 716 273 6207
applications including: pH, conductivity, ammonia,
nitrate, phosphate, silica, sodium, chloride, Italy
fluoride, dissolved oxygen and hydrazine. ABB Kent-Taylor SpA
• Gas Analyzers Tel: +39 (0) 344 58111
Zirconia, paramagnetic, infrared, thermal Fax: +39 (0) 344 58278
conductivity.
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 5
IM/C200–MOD