
GE Multilin
L60 Line Phase Comparison Relay
B-3
APPENDIX B
B.2 MODBUS FUNCTION CODES
B
B.2MODBUS FUNCTION CODES
B.2.1 SUPPORTED FUNCTION CODES
Modbus
®
officially defines function codes from 1 to 127 though only a small subset is generally needed. The relay supports
some of these functions, as summarized in the following table. Subsequent sections describe each function code in detail.
B.2.2 READ ACTUAL VALUES OR SETTINGS (FUNCTION CODE 03/04H)
This function code allows the master to read one or more consecutive data registers (actual values or settings) from a relay.
Data registers are always 16 bit (two byte) values transmitted with high order byte first. The maximum number of registers
that can be read in a single packet is 125. See the Modbus Memory Map table for exact details on the data registers.
Since some PLC implementations of Modbus
®
only support one of function codes 03h and 04h, the relay interpretation
allows either function code to be used for reading one or more consecutive data registers. The data starting address will
determine the type of data being read. Function codes 03h and 04h are therefore identical.
The following table shows the format of the master and slave packets. The example shows a master device requesting 3
register values starting at address 4050h from slave device 11h (17 decimal); the slave device responds with the values 40,
300, and 0 from registers 4050h, 4051h, and 4052h, respectively.
FUNCTION CODE
MODBUS DEFINITION
GE MULTILIN DEFINITION
HEX
DEC
03
3
Read Holding Registers
Read Actual Values or Settings
04
4
Read Holding Registers
Read Actual Values or Settings
05
5
Force Single Coil
Execute Operation
06
6
Preset Single Register
Store Single Setting
10
16
Preset Multiple Registers
Store Multiple Settings
Table B–3: MASTER AND SLAVE DEVICE PACKET TRANSMISSION EXAMPLE
MASTER TRANSMISSION
SLAVE RESPONSE
PACKET FORMAT
EXAMPLE (HEX)
PACKET FORMAT
EXAMPLE (HEX)
SLAVE ADDRESS
11
SLAVE ADDRESS
11
FUNCTION CODE
04
FUNCTION CODE
04
DATA STARTING ADDRESS - high
40
BYTE COUNT
06
DATA STARTING ADDRESS - low
50
DATA #1 - high
00
NUMBER OF REGISTERS - high
00
DATA #1 - low
28
NUMBER OF REGISTERS - low
03
DATA #2 - high
01
CRC - low
A7
DATA #2 - low
2C
CRC - high
4A
DATA #3 - high
00
DATA #3 - low
00
CRC - low
0D
CRC - high
60
Содержание L60
Страница 2: ......
Страница 4: ......
Страница 24: ...1 14 L60 Line Phase Comparison Relay GE Multilin 1 5 USING THE RELAY 1 GETTING STARTED 1...
Страница 42: ...2 18 L60 Line Phase Comparison Relay GE Multilin 2 2 SPECIFICATIONS 2 PRODUCT DESCRIPTION 2...
Страница 78: ...3 36 L60 Line Phase Comparison Relay GE Multilin 3 3 DIRECT INPUT OUTPUT COMMUNICATIONS 3 HARDWARE 3...
Страница 368: ...8 28 L60 Line Phase Comparison Relay GE Multilin 8 2 SINGLE POLE TRIPPING 8 THEORY OF OPERATION 8...
Страница 470: ...D 10 L60 Line Phase Comparison Relay GE Multilin D 1 PROTOCOL APPENDIXD D...
Страница 482: ...E 12 L60 Line Phase Comparison Relay GE Multilin E 2 DNP POINT LISTS APPENDIXE E...
Страница 498: ...x L60 Line Phase Comparison Relay GE Multilin INDEX Z ZERO SEQUENCE CORE BALANCE 3 9...