background image

C1300

Advanced Circular Chart Recorder

5 Modbus Functions

10

IM/C1300–MOD

 Rev. C

5.2.2 Read Holding Register Response

The addressed slave responds with its address and function code, followed by the information field. The information field contains 1
byte describing the quantity of data bytes to be returned. The contents of each register requested (DATA) is two bytes, the first byte
includes the high order bits and the second the low order bits.

Example

 – the response to the read holding register query shows the following:

Alarm trip A1

150

Alarm trip B1

50

Alarm trip C1

100

Alarm trip D1

400

Alarm trip A2

0

Alarm trip B2

0

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.

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.

5.3.2 Force Single Coil Response

The response is confirmation of the query after the coil state has been altered.

Example:

Address

Function

Byte 

Count

Holding 

Register 121 

Holding 

Register 122 

Holding 

Register 123 

Holding 

Register 124 

Holding 

Register 125 

Holding 

Register 126

Error Check Field

(CRC-16)

High

Low

High

Low

High

Low

High

Low

High

Low

High

Low

01

03

0C

00

96

00

32

00

64

00

90

00

00

00

00

D9

91

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.

Address

Function

Coil Offset 

Data Value High

Error Check Field

 (CRC-16)

High

Low

High

Low

01

05

00

94

FF

00

CD

D6

Address

Function

Coil Offset 

Data Value High

Error Check Field

 (CRC-16)

High

Low

High

Low

01

05

00

94

FF

00

CD

D6

Summary of Contents for C1300

Page 1: ...publications are available for free download from www abb com measurement or by scanning this code Search for or click on C1300 Advanced circular chart recorder Datasheet DS C1300 EN C1300 Advanced ci...

Page 2: ...ed in full or part without prior approval of the Technical Publications Department Health and Safety To ensure that our products are safe and without risk to health the following points must be noted...

Page 3: ...Status Response 9 5 2 Read Holding Register Function Code 03 9 5 2 1 Read Holding Register Query 9 5 2 2 Read Holding Register Response 10 5 3 Force Single Coil Function Code 05 10 5 3 1 Force Single...

Page 4: ...th RS422 485 communication standard Modbus protocol for master host computer to slave C1300 system Isolated 500V from rest of instrument 3 and 5 wire communication supported Baud rate from 1200 to 960...

Page 5: ...2 485 adaptor card see Figs 2 1 and 2 2 Note An RS422 485 communication board is required in the host PC Observe the limitations outlined in the Installation Guide the maximum serial data transmission...

Page 6: ...puter Terminal or Host Computer Serial Module Terminal Board 0V A B B A GND GND 3 4 9 Links on Serial Module PL2 C1300 Linked Out see Note 5V 0V 1 8kW Pull down Resistor 1 8kW Pull up Resistor 5V 1 8k...

Page 7: ...RS485 standard quotes connection of thirty two slaves maximum to any single driver computer terminal or host computer the RS422 standard quotes connection of up to ten slaves However these numbers ca...

Page 8: ...t Up to 1200m 3 937 ft twin twisted pair with separate foil screens and integral drain wires for each pair e g Belden 9729 or equivalent Fig 2 4 Serial Module Connections C1300 Serial Module Terminal...

Page 9: ...e key to open the Main Menu Highlight Modbus Communications Transmission Type Select the required number of transmission wires 2 wire or 4 wire Baud Rate Select the transmission rate required 1200 slo...

Page 10: ...hecking used to detect errors in the master messages and slave responses Non volatile memory save command Note Modbus RTU requires 1 start bit 8 data bits 1 parity bit optional and 1 or 2 stop bits Mo...

Page 11: ...rs are filled in with zeros at high order end Example the response to the read coil status query shows the following Alarm A status channel 1 ON Alarm B status channel 1 OFF Alarm C status channel 1 O...

Page 12: ...ther values are illegal and do not affect the coil 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 c...

Page 13: ...the designation of the diagnostic code followed by 2 bytes to designate the action to be taken Example These are considered to be the information fields for diagnostic mode 5 5 2 Loopback Test Respon...

Page 14: ...ite multiple register request to write the value 10 to the register address 121 and the value 100 to the register address 122 in slave 01 is shown below 5 6 2 Write Multiple Registers Response The res...

Page 15: ...t of the function code is set to 1 Exception Response Code Exception Response Name Exception Response Definition 01 Illegal Function The message function received is not an allowable action for the C1...

Page 16: ...Channel 3 Alarm C Channel 3 Alarm D Channel 3 Alarm A Channel 4 Alarm B Channel 4 Alarm C Channel 4 Alarm D Channel 4 0 Inactive 1 Active Digital Input States 051 052 061 062 071 072 081 082 083 084...

Page 17: ...127 128 R R R R R R R R Logic Equation 1 Logic Equation 2 Logic Equation 3 Logic Equation 4 Logic Equation 5 Logic Equation 6 Logic Equation 7 Logic Equation 8 0 Inactive 1 Active Real Time States 13...

Page 18: ...High Word Low Word 019 020 R R Analog Input 5 High Word Low Word 021 022 R R Analog Input 6 High Word Low Word 023 024 R R Math Result 1 High Word Low Word 025 026 R R Math Result 2 High Word Low Word...

Page 19: ...p Value Channel 3 High Alarm A Trip Value Channel 3 Low Alarm B Trip Value Channel 3 High Alarm B Trip Value Channel 3 Low Alarm C Trip Value Channel 3 High Alarm C Trip Value Channel 3 Low Alarm D Tr...

Page 20: ...isters 18 IM C1300 MOD Rev C 7 4 Chart Settings Register Number Read Write Description Response Entry 181 182 R W R Chart Settings Chart Rotation Time Pen Lift Status 1 to 167 Hrs 168 7 Days to 193 32...

Page 21: ...d Low Word Secure Totalizer Value Ch 2 High Word Low Word The Limit for High Word Low Word linked together is 0 to 99 999 999 211 212 213 214 215 216 217 218 R R R R R R R R Predetermined Value Channe...

Page 22: ...C1300 Advanced Circular Chart Recorder Notes 20 IM C1300 MOD Rev C Notes...

Page 23: ...Acknowledgements Modbus is a registered trademark of the Modbus IDA organization IBM is a registered trademark of Sales Software Service...

Page 24: ...ll rights in this document and in the subject matter and illustrations contained therein Any reproduction disclosure to third parties or utilization of its contents in whole or in parts is forbidden w...

Reviews: