9-20
Database
Date Code 20010518
SEL-2020 Instruction Manual
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-2020 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 data 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
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.
Summary of Contents for SEL-2020
Page 8: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 23: ...5 Figure 2 SEL 2020 Front and Rear Panels ...
Page 33: ...15 Figure 6 SEL 2020 Panel Cutout and Drill Plan for Panel Mount Models ...
Page 38: ......
Page 152: ......
Page 154: ......
Page 178: ......
Page 244: ......
Page 246: ......
Page 256: ......
Page 258: ......
Page 272: ......
Page 274: ......
Page 296: ......
Page 298: ......
Page 304: ......
Page 308: ......
Page 336: ......
Page 338: ......
Page 344: ......
Page 352: ......
Page 446: ......
Page 470: ......