Page 1
User Guide – Control Modbus Serial Data DIN Process Indicators Communications Option and Controllers IM/C100–MOD_5 C100, C150, C160 and V100...
Page 2
Electrical Safety This instrument complies with the requirements of CEI/IEC 61010-1:1993 "Safety requirements for electrical equipment for measurement, control, and laboratory use". If the instrument is used in a manner NOT specified by the Company, the protection provided by the instrument may be impaired. Symbols One or more of the following symbols may appear on the instrument labelling: Warning –...
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. Information.
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 –...
MODBUS link must be assigned a unique address in the range 1 to 99. Addr See Section 4.4 of the relevant User Guide (MODBUS Address Frame, S – Serial Communication Configuration T – Serial Communications Parity C100/V100 C150/160 C100/V100 C150/160 PrSt...
…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.
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. Exception Exception Response Exception Response...
0 = Auto; 1 = Manual These registers can only be written to when the controller is in Manual Mode. Control outputs 1 and 2 are only applicable to C100 instruments. ** V100 Instruments only *** Control Mode 1 only...
…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 Fixed Set Point 2...
…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
We provide 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 Limited Tel: +44 (0)1480 475 321 Fax: +44 (0)1480 217 948 United States of America ABB Inc.
Page 24
Acknowledgements Modbus is a registered trademark of Modicon IBM is a trademark of International Business Machines Corp. ABB has Sales & Customer Support expertise The Company’s policy is one of continuous product in over 100 countries worldwide improvement and the right is reserved to modify the information contained herein without notice.