14.55
Date Code 20171006 Instruction Manual SEL-400 Series Relays
ASCII Command Reference
Command Description
TEST DB
The TEST DB command is used for testing access of the virtual device database
used for Fast Message Data Access.
TEST DB
Use the TEST DB command to write temporary values to the virtual device data-
base to verify the database values. The relay contains a database that describes
the relay to external devices. When other devices access the relay via the Fast
Message protocol, the relay appears as a virtual device described by the database.
The relay is Virtual Device 1.
The virtual database is accessible to master stations of supported Fast Message
protocol connected to the relay through serial communication or Ethernet net-
work. You can therefore test the read functionality of the Fast Message protocol
in the serial port or Ethernet interface with this command.
Use the TEST DB 1 command to override any value in the relay database. You
must understand the relay database structure to effectively use the TEST DB
command. Use the MAP and VIEW commands to see the organization and con-
tents of the database.
Values you enter in the relay database are override values. Use the TEST DB
command to write override values in the database accessed through the Fast Mes-
sage Data Access operations.
The database address addr can be any legitimate decimal or hexadecimal address.
(A hexadecimal address is a numeral with an “h” suffix or a “0x” prefix.)
You can enter the override value value1 as an integer, a floating-point number
(which overrides two registers), a character (which must be in single quotes), or a
string (which must be in double quotes and overrides the number of registers cor-
responding to the length of the string).
If a date/time stamp is also provided (M D Y h m s), the relay will change the
static state given and, for any bits being changed by this operation, queued entries
will be pushed with the provided date/time stamp. If no queue is associated with
the database region (determined by addr), the date/time stamp will be ignored.
The order that the date should be entered on the command line depends upon the
DATE_F (Global) setting. For example, if DATE_F := DMY, you would enter
TEST DB 1 addr value D M Y h m s.
While there are active test data, the relay asserts Relay Word bit TESTDB.
Ta b l e 1 4.1 29 T EST D B Com m a n d
Command Description Access Level
TEST DB Display present override values by virtual device
number and address.
1, B, P, A, O, 2
TEST DB 1 addr
value1
Write new data value1 to the database at an address
addr.
B, P, A, O, 2
TEST DB 1 addr
value1 M D Y h m s
Write new data value1 to the database at an address
addr and include the provided date/time stamp
MDYhms.
B, P, A, O, 2