background image

C1300

Advanced Circular Chart Recorder

5 Modbus Functions

IM/C1300–MOD

 Rev. C

11

5.4 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.

Example

 – a preset single register request to write the value 500 to holding register address 121 (alarm trip A1) in slave 01 is shown

below.

5.4.2 Preset Single Register Response

The normal response to a preset single register request is to retransmit the query message after the register has been altered.

Example:

5.5 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.

Example:

*These are considered to be the information fields for diagnostic mode.

5.5.2 Loopback Test Response

The response always echoes the query, only diagnostic code 0 (bytes 3 and 4) can be used.

Example:

*These are considered to be the information fields for diagnostic mode.

Note.

Function codes 5, 6 and 16 are the only messages that are recognized as valid for broadcast.

Note.

To write to a register, the register's offset address must be used, e.g. to write to register 121, the offset address 120(78H) 

is transmitted.

Address

Function

Register Offset 

Data Value 

Error Check Field

 (CRC-16)

High

Low

High

Low

01

06

00

78

01

F4

09

C4

Address

Function

Register Offset 

Data Value 

Error Check Field

 (CRC-16)

High

Low

High

Low

01

06

00

78

01

F4

09

C4

Address

Function

Data Diagnostic Code 

Data*

Data*

Error Check Field

 (CRC-16)

High

Low

01

08

00

00

A5

37

DA

8D

Address

Function

Data Diagnostic Code 

Data*

Data*

Error Check Field

 (CRC-16)

High

Low

01

08

00

00

A5

37

DA

8D

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: