8-12
SR3 SERIES PROTECTIVE RELAY PLATFORM – COMMUNICATIONS GUIDE
FUNCTION CODE 10H
CHAPTER 8: MODBUS FUNCTIONS
Table 8-8: MASTER/SLAVE PACKET FORMAT FOR FUNCTION CODE 10H
Query
:
The query message specifies 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 43851 to 00 01 and 00
00 hex, in slave device 254:
Response
:
The normal response returns the slave address, function code, starting address, and
quantity of registers preset.
MASTER TRANSMISSION
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message for slave 17
FUNCTION CODE
1
10
store setpoints
DATA STARTING ADDRESS
2
04 5C
setpoint address 04
5C
NUMBER OF SETPOINTS
2
00 02
2 setpoints = 4 bytes
total
BYTE COUNT
1
04
4 bytes of data
DATA 1
2
00 02
data for setpoint
address 04 5C
DATA 2
2
01 F4
data for setpoint
address 04 5D
CRC
2
31 11
CRC error code
SLAVE RESPONSE
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message from slave
17
FUNCTION CODE
1
10
store setpoints
DATA STARTING ADDRESS
2
04 5C
setpoint address 04
5C
NUMBER OF SETPOINTS
2
00 02
2 setpoints
CRC
2
82 7A
CRC error code
Field Name
Hex
Slave Address
FE
Function
10
Starting Address Hi
0F
Starting Address Lo
0A
No. of Registers Hi
00
No. of Registers Lo
02
Byte Count 04
04
Data Hi
00
Data Lo
01
Data Hi
00
Data Lo
00
Содержание 339
Страница 4: ...1 iv SR3 SERIES PROTECTIVE RELAY PLATFORM COMMUNICATIONS GUIDE ...
Страница 10: ...1 2 SR3 SERIES PROTECTIVE RELAY PLATFORM COMMUNICATIONS GUIDE COMMUNICATIONS INTERFACES CHAPTER 1 INTRODUCTION ...
Страница 164: ...8 16 SR3 SERIES PROTECTIVE RELAY PLATFORM COMMUNICATIONS GUIDE ERROR RESPONSES CHAPTER 8 MODBUS FUNCTIONS ...