Page 3
Cert. No. Q5907 As a part of ABB, a world leader in process automation technology, 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.
MODBUS RTU protocol – for master • Observe the limitations outlined in the (host computer) slave Installation Guide – the maximum serial (COMMANDER 310) system. data transmission line length for both RS422 and RS485 systems is 1200m. • Isolated (500V) from rest instrument.
To prevent false triggering of the slave wall-/ pipe-mounted controller by the presence of noise when the master (host computer) is inactive, 1.8K pull-up and pull-down resistors must be fitted to the RS422/485 adaptor card – see Fig. 2.1. Computer Terminal or Host Computer COMMANDER 310 1.8kΩ Pull-up Resistor 1.8kΩ...
…2 ELECTRICAL INSTALLATION 2.4 Termination Resistors – Fig. 2.2 For long transmission lines, termination resistors are required on the last slave in the chain – see Fig. 2.2A. The slave termination resistors are selected using plug-in links (PL2) on the serial option board –...
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 310 18 19 20 21 22 23 OPTO22 Adaptor Board Connections Screen Rx–...
3 PROGRAMMING 3.1 Serial Data Communication Page Information. • Programmable baud rate (1200 to 9600 baud). • Odd or even parity. Operating Guide The general programming procedure is as detailed in the . In this Section, parameters in the lower display denoted are Company Standard Settings.
4 MODBUS PROTOCOL Information. • Operates as a MODBUS, Remote Terminal Unit (RTU) slave. • Parity checking – used to detect transmission errors in individual characters. • Cyclic redundancy checking – used to detect errors in the master messages and slave responses.
4 MODBUS PROTOCOL 4.2 MODBUS Function Codes The function code field instructs the addressed slaves what function to perform. Table 4.1 shows the function codes, their meaning, and the action they initiate. v i t c i f l i o v i t c i f t s i...
5 MODBUS FUNCTIONS This section shows typical examples of MODBUS function codes 01, 03, 05, 06, 08, 15 and 16. 5.1 Read Coil Status – Function Code 01 5.1.1 Read Coil Status Query This function allows the user to obtain the ON/OFF status of logic coils used to control discrete outputs from the addressed slave only.
5 MODBUS FUNCTIONS… 5.2 Read Holding Register – Function Code 03 5.2.1 Read Holding Register Query 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.
…5 MODBUS FUNCTIONS 5.3 Force Single Coil – Function Code 05 5.3.1 Force Single Coil Query This message forces a single coil either ON or OFF. The data value 65,280 (FF00 HEX) sets the coil ON and the value zero turns it OFF. All other values are illegal and do not affect the coil. Note.
5 MODBUS FUNCTIONS… Preset Single Register – Function Code 06 5.4.1 Preset Single Register Query 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.
…5 MODBUS FUNCTIONS Loopback Test – Function Code 08 5.5.1 Loopback Test Query The purpose of the loopback test is to test the MODBUS system, it does not affect the content of the controller. Variations in the response may indicate faults in the MODBUS system. The information field contains 2 bytes for the designation of the diagnostic code followed by 2 bytes to designate the action to be taken.
5 MODBUS FUNCTIONS 5.6.2 Write Multiple Coils Response The response confirms slave identification, function code, starting coil address and quantity of coils required. Example: Write Multiple Registers – Function Code 16 5.7.1 Write Multiple Registers Query Holding registers existing within the controller can have their contents changed by this message (a maximum of 8 registers).
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 slave address, function code, error code and error check fields. e l l o l l e l l...
7 MODBUS REGISTERS 7.1 Coils Coil Number Read/Write Description Response/Entry Input Failure States Process Variable Position Feedback 0 = Active, 1 = Failed Remote Set Point Alarm Status Alarm A Alarm B Alarm C Alarm D Alarm E Alarm F Alarm G 0 = Inactive Alarm H...
7 MODBUS REGISTERS… 7.3 Controller Settings/Outputs Register No. Read/Write Description Response/Entry Controller Settings Process Variable Control Set Point 0 to 4095 Control Output Position Feedback Input 0 to 4095 Position Feedback Failure State 0 = Active, 1 = Failed Cycle Time 10 to 3000 Proportional Band 1 to 9999...
…7 MODBUS REGISTERS 7.4 Alarm Settings Register No. Read/Write Description Response/Entry Alarms Alarm A Trip Value Alarm B Trip Value Alarm C Trip Value Alarm D Trip Value Alarm E Trip Value Alarm F Trip Value 0 to 4095 Alarm G Trip Value Alarm H Trip Value Alarm J Trip Value Alarm K Trip Value...
Page 24
On-line pH, conductivity, and dissolved oxygen Repair Centre. transmitters and associated sensing systems. • Sensors United Kingdom pH, redox, selective ion, conductivity and ABB Limited. dissolved oxygen. Tel: +44 (0)1480 475321 • Laboratory Instrumentation Fax: +44 (0)1480 217948 pH and dissolved oxygen meters and associated sensors.