6.23
Date Code 20120126
Instruction Manual
SEL-2032 Communications Processor
Database
Access Methods
Access
by Register
When you view a port database by register you are viewing a contiguous space
of 64k registers. You reference a register in one of three ways:
Port Number:Address
Port Number:Region Label:Address Offset
Port Number:Region Label:Data Item Label
The
STORE
and
VIEW
commands support address accesses, as does the
\R.../ special message string.
Consider accessing the year within the Global region. It can be referenced any
of the following ways (the port number is arbitrary when you are accessing the
Global region):
1:002Ah
1:GLOBAL:2Ah
1:GLOBAL:_YEAR
Some other examples are:
VIEW 5:1234h
An SEL-2032 command typed from the command line that
displays the contents of Port 5, hexadecimal address 1234.
MESG1="\Rb;5:1234h/"
The same register and port number as above in a
message string that defines the contents of Message 1 as register data
found in that address in binary format.
MESG1="\Rf;5:METER:IA/"
Defines the contents of Message 1 as the IA data
item of the meter data found in the Port 5 database in floating-point
format.
STORE 8:USER:0 "Data"
Stores the string “Data” starting at first address of
User region on Port 8.
Often, you will wish to access multiple adjacent registers at once. The
STORE
command allows this by letting you store a set of data, starting at the
specified address. Add the parameters NR and a count after the address in a
VIEW
command to display multiple registers. Add a semicolon and a count
after the address within a \R.../ special message string to read multiple
registers. The following examples illustrate multiple register access:
STORE 8:USER:0 5,7,9,11
Store integers 5, 7, 9, and 11 in first four registers of
the User region.
VIEW 5:LOCAL:ELEMENTS NR 6
View 6 registers, starting with first element
register in Port 5’s Local region.
MESG2= “\Rf;5:METER:IA;6/”
Read 6 registers (3 floats), starting with the IA
register in the meter region of Port 5.
Access by Bit
Individual bits within the database can also be accessed. Five-bit access
methods are available:
Bit Label
Port Number:Bit Label
Port Number:Region Label:Bit Label
Port Number:Address:Bit Number
Port Number:Region Label:Address Offset:Bit Number
Summary of Contents for SEL-2032
Page 6: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 12: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 46: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 70: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 104: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 124: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 188: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 216: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 244: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 322: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 328: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 336: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 338: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 342: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 348: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Page 354: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...