EasyManuals Logo

Brainchild PR20 User Manual

Default Icon
479 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #466 background imageLoading...
Page #466 background image
Page 466 of 479
Field Name
RTU example (Hex)
Error Check Hi
37
Total Bytes
7
8.2.2 Preset (Write) Multiple Registers (Function 0x10)
The function code is used to write a block of contiguous registers (1 to 120 registers) in remote
device.
Query
The query message specified the register references to be preset. Registers are addressed starting at
zero: register 1 is addressed as 0. The requested preset values are specified in the query data field.
Data is packed as two bytes per register.
Here is an example of a request to preset two registers starting at 40001 to 00 0A and 01 02 hex in
slave device 1:
Field Name
RTU example (Hex)
Slave Address
01
Function
10
Starting Address Hi
00
Starting Address Lo
00
Quantity of Registers Hi
00
Quantity of Registers Lo
02
Byte Count
04
Data Hi
00
Data Lo
0A
Data Hi
01
Data Lo
02
Error Check Lo
53
Error Check Hi
FC
Total Bytes
13
Response
The normal response returns the slave address, function code, starting address and quantity of
registers preset. Here is an example of a response to the query shown above:
Field Name
RTU example (Hex)
Slave Address
01
Function
10
Starting Address Hi
00
Starting Address Lo
00
Quantity of Registers Hi
00
Quantity of Registers Lo
02
Error Check Lo
41
Error Check Hi
C8
Total Bytes
13
8.2.3 Placing the CRC into message
When the 16 bit CRC (two 8 bit bytes) is transmitted in the message, the low order byte will be
transmitted first, followed by the high order byte.
For example, if the CRC value is 1241 hex:
Slave Address
Function
Data
CRC Lo
CRC Hi

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Brainchild PR20 and is the answer not in the manual?

Brainchild PR20 Specifications

General IconGeneral
BrandBrainchild
ModelPR20
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals