7.16
SEL-2032
Communications Processor
Instruction Manual
Date Code 20120126
Settings
Automatic Message (SET A) Settings
Decode Equations
A Decode Equation consists of one or more Decode Expressions as shown in
.
Equation 7.1
Use braces, { }, to enclose a group of expressions together. This is especially
useful when parsing tabular data. The following string is an example of a
Decode Equation.
In this example, the SEL-2032 expects four rows of data with each row
containing an integer, string of 5 characters, an integer, and a floating-point
value. At the end of each row is a carriage return.
A Decode Expression consists of one or more Decode Elements or a Search
String as shown below.
DExp = DElem
D Exp = (DElem
1
, DElem
2
, …, DElem
n
)
D Exp = Search String
Use parentheses, ( ), to enclose a logical group of Decode Elements, and
commas to separate the Decode Elements within a logical group. The
following string shows an example Decode Expression with three Decode
Elements.
I, 3F, S20
This example specifies one integer, an array of three floating-point numbers,
and a string of 20 characters.
Decode Elements.
A Decode Element consists of a Data Type (Type) and
optional parameters as shown below.
DElem = [
r
]Type[
n
][@|;label]
These optional parameters are shown below in brackets but the brackets are
not actually entered. The Data Type and optional parameters are defined in
.
An example of a Decode Element is: 2F5;My_Float. This example shows an
array of two floating-point numbers, each with a maximum of 5 ASCII
characters. The data are stored in the SEL-2032 database with the My_Float
label.
Decode Elements also have user-defined reset values. It may be desirable to
have user-defined reset values for failed parsing conditions. Specify the
numerical reset values in the Decode Equation. After defining a reset value,
any subsequent data items that fail to parse are reset to the new reset value.
The Decode Equation shown in
, resets the database with the
following reset values if the SEL-2032 fails to parse the incoming data.
F = 78F0 0000h (default reset value defined in table 3.6)
H = 8000h (default reset value defined in table 3.6)
I = 8000h (default reset value defined in table 3.6)
F = 3.55 (reset value defined with RF3.55)
DEq = DExp
1
DExp
2
. . . DExp
n
4
I S5 I F
& ‘\00D’
Содержание SEL-2032
Страница 6: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 12: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 46: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 70: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 104: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 124: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 188: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 216: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 244: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 322: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 328: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 336: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 338: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 342: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 348: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...
Страница 354: ...This page intentionally left blank Courtesy of NationalSwitchgear com ...