background image

C1300

Advanced Circular Chart Recorder

5 Modbus Functions

12

IM/C1300–MOD

 Rev. C

5.6 Write Multiple Registers – Function Code 16

5.6.1 Write Multiple Registers Query

Holding registers existing within the controller can have their contents changed by this message (a maximum of 8 registers). When
used with slave address zero (broadcast mode) all slave controllers load the selected registers with the contents specified.

Example

 – a write 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 response confirms slave identification, function code, starting register address and quantity only.

Example:

Address

Function

Register Start 

Offset

Number of

Registers 

Byte 

Count

Holding 

Register 121 

Holding 

Register 122

Error Check Field

(CRC-16)

High

Low

High

Low

High

Low

01

10

00

78

00

02

04

00

0A

00

64

D4

C4

Address

Function

Register Start Offset

Number of Registers 

Error Check Field

(CRC-16)

High

Low

01

10

00

78

00

02

00

10

90

Содержание C1300

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 22: ...C1300 Advanced Circular Chart Recorder Notes 20 IM C1300 MOD Rev C Notes...

Страница 23: ...Acknowledgements Modbus is a registered trademark of the Modbus IDA organization IBM is a registered trademark of Sales Software Service...

Страница 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...

Отзывы: