2-12 General Description Date Code 20010518
SEL-2020 Instruction Manual
“20” Message Response
The SEL-2020 automatically parses data that are recognized. These data are requested using the
“20” message format. The type of response will depend on the attached device's capability. If it
has Fast Meter capability, the responses to 20METER messages are in binary format and the
responses to 20DEMAND and 20TARGET messages may also be in a binary format.
Non-“20” Message Response
Message responses that are not recognized as SEL data can be ignored, or parsed by one of five
techniques:
ASCII Integer (Parse = 1). Parses numbers only; every number separated by a space, comma,
decimal, or any other character becomes a separate item.
ASCII Float (Parse = 2). Parses numbers only, but retains decimals as part of each number.
Character String (Parse = 3). Retains all numbers and characters in a character string.
Integer String (Parse = 4). Stores each pair of received bytes in a register, most-significant-
byte first. This option is primarily useful for capturing data from devices that send data in binary
words.
Integer String with XON/XOFF encoding (Parse = 5). Same as Integer String except special
2-byte encoding sequences used to represent XON (11h) and XOFF (13h) characters are
translated back to the single byte codes for XON and XOFF. This option is necessary when
capturing binary data while using XON/XOFF flow control.
SIMPLE SETTINGS
There are seven SET command variations you can use to configure and control the SEL-2020’s
operation. These include SET G for global settings, SET P for port configuration and communi-
cation settings, SET A for automatic messages, SET U for user-defined commands, SET M for
data movement and scaling, SET L for SEL
OGIC Control Equation settings, and SET C for
calibration settings. See Section 6: Settings, for more detailed information about this group of
commands.
SET G - Global Settings
You use the SET G command to set global parameters that are used by all ports including the
SEL-2020 ID string, intermediate logic variable settings, and the control equations for optional
I/O board output contacts.
SET P - Port Configuration Choices (Ports F, 1-16)
You can use the SET P settings to establish each port’s configuration and communication
parameters. The configuration options are designed to make the SEL-2020 compatible with
almost any device that has an EIA-232 port. This is the only setting command required to use the
SEL-2020 as a port switch.