Page 2
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. Health and Safety To ensure that our products are safe and without risk to health, the following points must be noted: 1.
1 INTRODUCTION This Operating Guide describes the COMMANDER 100, 150, 160 and V100 MODBUS serial data communications option and must be used in conjunction with the standard User Guide (part no. IM/C100, IM/C150, IM/C160 or IM/V100) supplied with the instrument.
2 ELECTRICAL INSTALLATION… 2.3 Pull-up and Pull-down Resistors – Fig. 2.1 and 2.2 To prevent false triggering of slaves when the master (host computer) is inactive, pull-up and pull-down resistors must be fitted to the RS422/485 interface in the host computer –...
3.2 Setting the Serial Transmission Parameters – Fig. 3.1 Fig. 3.1 shows the display readouts and options available when defining the serial transmission rate and bit parity for COMMANDER 100, 150, 160 and V100 instruments. Further detail on the procedure required to set each parameter are shown in Section 4.3.4 of the relevant User Guide.
…4 MODBUS PROTOCOL 4.2 MODBUS Function Codes The function code instructs the addressed slave which function to perform. Table 4.1 shows the function codes, and describes the action they initiate. Function Function Description Code Title Read Read up to 16 consecutive discrete (Boolean) points Coil Status from a specific starting point.
5 MODBUS FUNCTIONS This section shows typical examples of MODBUS function codes 01, 03, 05, 06, 08 and 16. Not all addressable parameters used in the examples which follow are valid for all instrument types – see Sections 7.1 to 7.4. 5.1 Read Coil Status –...
…5 MODBUS FUNCTIONS 5.2 Read Holding Register – Function Code 03 5.2.1 Read Holding Register Query The Read Holding Register Query obtains the contents of up to eight 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 have no effect on coil status.
…5 MODBUS FUNCTIONS Preset Single Register – Function Code 06 5.4.1 Preset Single Register Query The Preset Single Register Query modifies the contents of a holding register. Note. Function codes 05, 06 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 Loopback Test Query tests the MODBUS system and does not affect the operation of the slave. Variations in the response may indicate faults in the MODBUS system. The information field contains two bytes for the designation of the diagnostic code followed by two bytes to designate the action to be taken.
…5 MODBUS FUNCTIONS Write Multiple Registers – Function Code 16 5.6.1 Write Multiple Registers Query This message is used to change the contents of up to eight holding registers at a time. When used with slave address zero (broadcast mode) all slave controllers load the selected registers with the contents specified.
Name Definition Code Illegal The message function received is not an allowable Function function on the COMMANDER 100/150/160/V100. Illegal The address reference in the data field is not an allowable Data Address address for the COMMANDER 100/150/160/V100. Illegal The value referenced in the data field is not allowable Data Value in the addressed slave location.
7 ADDRESSABLE PARAMETERS… …7.2 COMMANDER 100/V100 – Registers 7.2.2 Control Settings Register Variable Label Read/Write Limits/Values Process Variable Input –999 to 9999 Control Set Point –999 to 9999 Output 1 –80 to 1100 Auto/Manual State 0 = Auto; 1 = Manual...
…7 ADDRESSABLE PARAMETERS …7.2 COMMANDER 100/V100 – Registers 7.2.3 Set Points Register Variable Label Read/Write Limits/Values Set Point High –999 to 9999 Set Point Low –999 to 9999 Local Set Point –999 to 9999 Remote Set Point Input –999 to 9999 Fixed Set Point 1 –999 to 9999...
…7 ADDRESSABLE PARAMETERS …7.4 COMMANDER 150/160 – Registers 7.4.3 Totalizer Settings Register Variable Label Read/Write Limits/Values 75 + 76 Predetermined Value 0 to 999999 77 +78 Preset Value 0 to 999999 79 + 80 Batch Total 0 to 999999 81 + 82 Secure Total 0 to 999999 Total Go State...
Page 23
Customer Support ABB Instrumentation provides a comprehensive after sales service via a Worldwide Service Organization. Contact one of the following offices for details on your nearest Service and Repair Centre. United Kingdom ABB Instrumentation Limited Tel: +44 (0)1480 475321 Fax: +44 (0)1480 470787 United States of America ABB Automation Inc.