D.13
Date Code 20020903 SEL-587Z Instruction Manual
Modbus RTU Communications Protocol
Modbus Commands
Tab le D .16 defines the command codes, their function and associated
parameters, and the Modbus function code used to initiate the related
command code.
Table D.16 Modbus Command Codes
Command Code Function
Parameter
Definition
Modbus Function
Code
01 Open No Parameter 06h, 10h
02 Close No Parameter 06h, 10h
03 Reset Targets No Parameter 06h, 10h
04 Trigger No Parameter 06h, 10h
05 Pulse OUT1 1–30 seconds
duration (defaults
to 1 second)
06h, 10h
06 Pulse OUT2 1–30 seconds
duration (defaults
to 1 second)
06h, 10h
07 Pulse OUT3 1–30 seconds
duration (defaults
to 1 second)
06h, 10h
08 Pulse OUT4 1–30 seconds
duration (defaults
to 1 second)
06h, 10h
09 Pulse Alarm 1–30 seconds
duration (defaults
to 1 second)
06h, 10h
10 Switch Protocol
a
a
Switches the serial port protocol to SEL-ASCII, the baud rate, parity, stop bits, and flow
control remain the same.
0080h 06h, 10h
11
b
b
Parameter of Command code 11 is bit masked to allow you to manipulate several data regions
simultaneously.
Reset Data Regions 0000 0000 0000
0001 Demand
Metering
0000 0000 0000
0010 Peak Metering
0000 0000 0000
0100 History Buffer
0000 0000 0000
1000 Communica-
tion Counters
06h, 10h
NOTE: Following a reset of the
History Buffer, the History Selection,
Event Selection, and Event Channel
Selection (see Ta bl e D.1 8 on
page D.16) remain at the same values
as previously set. Additionally,
History and Event records that do not
contain data, because they are
cleared, will return “not applicable”
(8000 hex) for all values.