
GE Multilin
M60 Motor Protection System
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 M60 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
three register values starting at address 4050h from slave device 11h (17 decimal); the slave device responds with the val-
ues 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
Содержание M60 UR Series
Страница 10: ...x M60 Motor Protection System GE Multilin TABLE OF CONTENTS ...
Страница 98: ...3 40 M60 Motor Protection System GE Multilin 3 3 DIRECT INPUT OUTPUT COMMUNICATIONS 3 HARDWARE 3 ...
Страница 128: ...4 30 M60 Motor Protection System GE Multilin 4 3 FACEPLATE INTERFACE 4 HUMAN INTERFACES 4 ...
Страница 238: ...5 110 M60 Motor Protection System GE Multilin 5 4 SYSTEM SETUP 5 SETTINGS 5 Figure 5 29 DISCONNECT SWITCH SCHEME LOGIC ...
Страница 410: ...5 282 M60 Motor Protection System GE Multilin 5 10 TESTING 5 SETTINGS 5 ...
Страница 413: ...GE Multilin M60 Motor Protection System 6 3 6 ACTUAL VALUES 6 1 OVERVIEW 6 FIRMWARE REVISIONS See page 6 29 ...
Страница 440: ...6 30 M60 Motor Protection System GE Multilin 6 5 PRODUCT INFORMATION 6 ACTUAL VALUES 6 ...
Страница 452: ...7 12 M60 Motor Protection System GE Multilin 7 2 TARGETS 7 COMMANDS AND TARGETS 7 ...
Страница 462: ...9 8 M60 Motor Protection System GE Multilin 9 2 BATTERIES 9 MAINTENANCE 9 ...
Страница 474: ...A 12 M60 Motor Protection System GE Multilin A 1 PARAMETER LISTS APPENDIX A A ...
Страница 584: ...B 110 M60 Motor Protection System GE Multilin B 4 MEMORY MAPPING APPENDIX B B ...
Страница 614: ...C 30 M60 Motor Protection System GE Multilin C 7 LOGICAL NODES APPENDIX C C ...
Страница 630: ...E 10 M60 Motor Protection System GE Multilin E 1 IEC 60870 5 104 PROTOCOL APPENDIX E E ...
Страница 642: ...F 12 M60 Motor Protection System GE Multilin F 2 DNP POINT LISTS APPENDIX F F ...
Страница 644: ...G 2 M60 Motor Protection System GE Multilin G 1 RADIUS SERVER CONFIGURATION APPENDIX G G ...
Страница 652: ...H 8 M60 Motor Protection System GE Multilin H 3 WARRANTY APPENDIX H H ...
Страница 662: ...x M60 Motor Protection System GE Multilin INDEX ...