Professional Documents
Culture Documents
3. MODBUS INTERFACE
The MODBUS interface is a master/slave protocol and it is defined by MODBUS.org: See
www.modbus.org
MODBUS Serial Protocol Reference Guide: PI-MBUS-300 Rev. E
Baud rate
Device address
Parity
Inactivity time
If a fault record or maintenance record is directly selected using the manual mechanism then
the data can be read from the register ranges specified above. The event record data in
registers 30103 to 30111 will not be available.
It is possible using register 40401(G6 data type) to clear independently the stored relay
event/fault and maintenance records. This register also provides an option to reset the relay
indications, which has the same effect on the relay as pressing the clear key within the alarm
viewer using the front panel menu.
State Description
Idle This will be the state reported when no record is selected; such
as after power on or after a record has been marked as extracted.
Busy The relay is currently processing data.
Page ready The data page has been populated and the master station can
now safely read the data.
Configuration All of the configuration data has been read without error.
complete
Record complete All of the disturbance data has been extracted.
Disturbance An error occurred during the extraction process where the
overwritten disturbance being extracted was overwritten by a new record.
No unextracted An attempt was made by the master station to automatically
disturbances select the next oldest unextracted disturbance when all records
have been extracted.
Not a valid An attempt was made by the master station to manually select a
disturbance record that did not exist in the relay.
Command out of The master station issued a command to the relay that was not
sequence expected during the extraction process.
Start
Get Number of
disturbances
from register
3x00800
Get oldest
disturbance ID
from register
3x00801
Select required
disturbance by
writing the ID
value of the
required record
to register
4x00250
No
Get
Disturbance
Time stamp
Extract
from registers
Disturbance Data
3x00930 -
3x00933
(optional)
End SC
P1460ENa
Start
Read Status
word from
register
3x00001
No
Yes
Error
Select next
Oldest
unextracted
Record by
writing 0x04 to
register
4x00400
Extract Disturbance
Record
Send command
to accept record
by writing 0x08
SC to register
4x00400 P1461ENa
Start
FirstTime =
TRUE
Read Status
word from
register
3x00001
FirstTime
= TRUE
Yes
Is FirstTime ==
Yes
TRUE
FirstTime
FirstTime = FALSE
= TRUE
Select next Oldest
unextracted
Record by writing
0x04 to register
4x00400
No
Extract Disturbance
Error Record
Send command
to accept and
select next
record by writing
0x0C to register
4x00400 P1462ENa
SC
Start
(Record Selected)
To parent
procedure
Page Ready
Read number of
registers in data page
from address 3x00802
SC Configuration Complete
(Begin extracting data
file)
P1463ENa
Start
(Configuration
Complete)
To parent
procedure
Send 'Select Data File'
to register 4x00400
Page Ready
Read number of
registers in data page
from address 3x00802
Record Complete
(Mark record as
extracted, automatic
extraction only)
P1464ENa
The first address for a multi-register write must be a valid address, if there are
unmapped addresses within the range being written to then the data associated with
these addresses will be discarded.
If a write operation is performed with values that are out of range then the illegal data
response will be produced. Valid setting values within the same write operation will be
executed.
In addition to the basic editing of the protection setting groups, the following functions are
provided:
Default values can be restored to a setting group or to all of the relay settings by writing
to register 40402.
It is possible to copy the contents of one setting group to another by writing the source
group to register 40406 and the target group to 40407.
It should be noted that the setting changes performed by either of the two operations defined
above are made to the scratchpad area. These changes must be confirmed by writing to
register 40405.
The active protection setting groups can be selected by writing to register 40404. An illegal
data response will be returned if an attempt is made to set the active group to one that has
been disabled.
Bit Position
Byte
7 6 5 4 3 2 1 0
1 m7 m6 m5 m4 m3 m2 m1 m0
2 m15 m14 m13 m12 m11 m10 m9 m8
3 IV R I5 I4 I3 I2 I1 I0
4 SU R R H4 H3 H2 H1 H0
5 W2 W1 W0 D4 D3 D2 D1 D0
6 R R R R M3 M2 M1 M0
7 R Y6 Y5 Y4 Y3 Y2 Y1 Y0
Where:
m = 0…59,999ms
I = 0…59 minutes
SC
H = 0…23 Hours
R = Reserved bit = 0
3.9 Power & energy measurement data formats (G29 & G125)
The power and energy measurements are available in two data formats; G29 integer format
and G125 IEEE754 floating point format. For historical reasons the registers listed in the
main part of the “Measurements 2” column of the menu database (see P14x/EN MD) are of
the G29 format. The floating point, G125, versions appear at the end of the column.
signed 16-bit integer, its dynamic range is constrained to ±32768. This limitation should be
borne in mind for the energy measurements, as the G29 value will saturate a long time
before the equivalent G125 does.
The associated G27 multiplier is calculated as G27 = (CT primary) u (VT primary/110V)
when primary value measurements are selected, and as G27 = (CT secondary) u (VT
secondary/110V) when secondary value measurements are selected.
SC Due to the required truncations from floating point values to integer values in the calculations
of the G29 component parts and its limited dynamic range, the use of the G29 values is only
recommended when the MODBUS master cannot deal with the G125 IEEE754 floating point
equivalents.
Note: The G29 values must be read in whole multiples of three registers. It
is not possible to read the G28 and G27 parts with separate read
commands.
SCADA Communications P14x/EN SC/De6
Example:
For A-Phase Power (Watts) (registers 30300 - 30302) for a 110V relay, In = 1A,
VT ratio = 110V:110V and CT ratio = 1A:1A.
Applying A-phase 1A @ 63.51V
((CT Primary) u (VT Primary)/110V). Thus, the G27 part of the value will equal 1. Hence the
The multiplier is derived from the VT and CT ratios set in the relay, with the equation
the G27 multiplier would be 10,000A u 110,000V/110 = 10,000,000. The overall value of the
Using the previous example with a VT ratio = 110,000V; 110V and CT ratio = 10,000A:1A
SC