CHAPTER 11: MODBUS PROTOCOL
Function Code 05H (Execute Operation)
8 SERIES PROTECTIVE RELAY PLATFORM – COMMUNICATIONS GUIDE
Modbus Implementation: Force Single Coil
8 Series relay Implementation: Execute Operation
The function code allows the master to request an 8 Series relay to perform specific
command operations.
For example, to request slave 17 to execute operation code 1 (reset), we have the following
master/slave packet format:
Table 11-5: Master Packet Format for Function Code 05H
MASTER TRANSMISSION
SLAVE ADDRESS
FUNCTION CODE
OPERATION CODE
CODE VALUE
CRC (low, high)
Table 11-6: Slave Packet Format for Function Code 05H
SLAVE RESPONSE
SLAVE ADDRESS
FUNCTION CODE
OPERATION CODE
CODE VALUE
CRC (low, high)
ASE 2000 V2 Example
--> 00 00 00 00 00 06 FE 05 00 01 FF 00
--> 00 00 00 00 00 06 FE 05 00 01 FF 00
FUNCTION CODE 05H (EXECUTE OPERATION)
BYTES
EXAMPLE
1
FE
1
05
2
00 01
2
FF 00
2
C9 F5
BYTES
EXAMPLE
1
FE
1
05
2
00 01
2
FF 00
2
C9 F5
DESCRIPTION
message for slave 254
execute operation
operation code 1
perform function
CRC error code
DESCRIPTION
message from slave 17
execute operation
operation code 1
perform function
CRC error code
11-5