Page 1
COMMANDER SR100A Operating Guide Advanced Process Recorder Modbus (RTU) Communications Option COMM ANDE R SR10 0 OPE RAT ING PAG BOI LER ROO M lete h 18/3 Comp 09:5 0 Batc A2 495. 8 m3/d A4 20.0 CO2 09:0 0 A1 75.5 A6 7.0 pH...
Page 2
St Neots, U.K. – Cert. No. Q5907 environmental applications. Stonehouse, U.K. – Cert. No. FM 21106 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.
1 INTRODUCTION 2 ELECTRICAL INSTALLATION 2.1 Selection of Serial Communication Adaptors Information. for Personal Computers • The advanced process recorder is extended by the addition of a serial data communication option Information. designed for use with SCADA systems. • A RS422/485 communication board is required in the •...
2 ELECTRICAL INSTALLATION… 2.4 Termination Resistors – Fig. 2.2 Under normal operating conditions the slave termination resistors are linked out. For long transmission lines, termination resistors are required on the last slave in the chain and the host computer/computer terminal – see Fig. 2.2A. The slaves termination resistors are linked-in using plug-in link (LK1) on the serial module –...
…2 ELECTRICAL INSTALLATION 2.6 Serial Connections – Fig. 2.3 Information. • Up to can be connected to a single adaptor card on a PC. 10 slaves RS422 • Up to can be connected to a single adaptor card on a PC. 32 slaves RS485 •...
…3 ADVANCED CONFIGURATION LEVEL 3.1 Serial Communication Configuration Page Information. • Modbus protocol. • Programmable baud rate (1200 to 9600 baud). • Odd or even parity. The general programming procedure is as detailed in the User Guide – Section 2 . Page Header –...
4 MODBUS PROTOCOL Information. • The advanced process recorder 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 definitions, and the actions they initiate. v i t s l i c i f l i o v i t c i f...
5 MODBUS FUNCTIONS This section shows typical examples of Modbus function codes 01, 02, 03, 04, 05, 06, 08, 15, 16 and 65. 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 within the addressed slave only. Broadcast mode is not supported with this function code.
…5 MODBUS FUNCTIONS 5.2.2 Read Input Status Response The data is packed one bit for each input (1 = active, 0 = inactive). The response includes the slave address, function code, quantity of data characters, the data characters and error checking. The low order bit of the first character contains the first addressed input and the remainder follow.
5 MODBUS FUNCTIONS… 5.4 Read Input Register – Function Code 04 5.4.1 Read Input Register Query The read input registers allow the user to obtain the binary contents of input 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 01, the data start register must be set to 00.
…5 MODBUS FUNCTIONS 5.5 Force Single Coil – Function Code 05 5.5.1 Force Single Coil Query This message forces a single coil into the active or inactive state. The data value 65,280 (FF00 HEX) renders the coil active and the value zero renders the coil inactive. All other values are illegal and do not affect the coil. Note.
5 MODBUS FUNCTIONS… 5.6 Preset Single Register – Function Code 06 5.6.1 Preset Single Register Query The preset single register allows the user to modify the contents of a holding register. Note. To write to a register, the register’s offset address must be used, e.g. to write to register 31, the offset address 30 (1EH) is transmitted.
…5 MODBUS FUNCTIONS 5.8 Force Multiple Coils – Function Code 15 5.8.1 Force Multiple Coils Query Coils existing within the recorder can have their contents changed by this message (a maximum of 16 coils). When used with slave address zero (broadcast mode) all slave controllers load the selected coils with the contents specified. Note.
5 MODBUS FUNCTIONS 5.10 User Defined – Function Code 65 5.10.1 User Defined Query The user defined function makes available to the user a range of non-standard Modbus query responses. The information field comprises of a control byte which defines control type, an internal function byte designating the action to be taken, a qualifier byte the usage of which is dependent on the user defined task and a byte specifying the number of bytes to follow in the information data string.
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 REGISTRATIONS 7.2 Inputs Input Number Read/Write Description Response Entry Digital Input State Digital Input A1 Digital Input B1 Digital Input B2 Digital Input B3 Digital Input C1 Digital Input C2 Digital Input C3 Digital Input D1 0 = Inactive Digital Input D2 1 = Active Digital Input D3...
7 MODBUS REGISTRATIONS… …7.2 Inputs Input Number Read/Write Description Response Entry Logic Equation Result State Logic Equation 1 Result Logic Equation 2 Result Logic Equation 3 Result Logic Equation 4 Result Logic Equation 5 Result 0 = Inactive Logic Equation 6 Result 1 = Active Logic Equation 7 Result Logic Equation 8 Result...
Page 22
…7 MODBUS REGISTERS …7.3 Input Registers Register Number Read/Write Description Response Entry Analog Input Configuration A1 Engineering range Full Scale – 0999 to +9999 A1 Engineering range Zero – 0999 to +9999 A1 Engineering range Decimal Point 0 to 3 Decimal Places A2 Engineering range Full Scale –...
Page 23
7 MODBUS REGISTERS… …7.3 Input Registers Register Number Read/Write Description Response Entry Totalizer Settings Predetermined Value Channel 1 High Word The Limit for High Word : Low Word linked Low Word together is 0 to 99,999,999 Preset Value High Word The Limit for High Word : Low Word linked Low Word together is 0 to 99,999,999...
Page 24
…7 MODBUS REGISTERS …7.3 Input Registers Register Number Read/Write Description Response Entry Predetermined Value Channel 5 High Word The Limit for High Word : Low Word linked Low Word together is 0 to 99,999,999 Preset Value High Word The Limit for High Word : Low Word linked Low Word together is 0 to 99,999,999 Front-Panel Totalizer Value Channel 5...
8 QUERY/RESPONSE DATA CODES 8.1 Operator Message Character Code Conversion Character Decimal Hexadecimal Character Decimal Hexadecimal Space " & – < > α β Ω ∑ µ π °...
Page 27
PRODUCTS & CUSTOMER SUPPORT A Comprehensive Instrumentation Range Customer Support Analytical Instrumentation ABB Instrumentation provides a comprehensive after sales service via a Worldwide Service Organization. Contact one of • Transmitters the following offices for details on your nearest Service and...