7.32
SEL-2032 Communications Processor Instruction Manual Date Code 20120126
Settings
Math/Data Movement (SET M) Settings
Each line within the SET M entry may contain an equation, operation, or a
comment.
Equations define how to move data into the port User region. They have the
following syntax, where brackets [ ] indicate optional items, and a vertical
bar | is used to separate mutually exclusive options. See Tabl e 7 .1 0 for an
explanation of the SET M equation parameters.
dest[,type][;[atype][;label]][+|-|*|/]=
source[,type][scaling][;repeat_count]
or
dest[,type] [;[atype][;label]][+|-|*|/]=constant[;repeat_count]
or
dest:bit[;[atype][;label]][+|*]=[!]source_bit
or
dest:bit[;[atype][;label]][+|*]=bit_const
or
dest;;NVOL_MEM=nvol_const
DELETE [n] <Enter> Delete the current line.
If n is included, delete n lines, starting with the current line.
INSERT <Enter> Insert a blank line at the current location;
current line and all following lines shift down one line.
Table 7.10 Math/Data Movement Equation Parameters (Sheet 1 of 2)
Equation
Parameter
Explanation
type Data type for the location
F Float (IEEE single-precision)
I Signed integer (16-bit two’s complement)
P Pack character data LSB first (available on left side only)
C Pack character data MSB first (available on left side only)
H1L Read low byte as ASCII-hex value (available on right side only)
H1H Read high byte as ASCII-hex value (available on right side only)
dest Default to integer
source Defaults to location data type
constant Defaults to float if a decimal point is present, to integer otherwise
atype Access type
B Treat as 16 binary items
(default if type is P or equation is a bit assignment)
I Treat as 16-bit signed integer (default if type is I)
L Treat as 32-bit signed integer
F Treat as floating point number (default if type is F)
C Treat as 16-bit counter
Table 7.9 Editing Keys and Commands for SET M and SET R (Sheet 2 of 2)
Command Function
Courtesy of NationalSwitchgear.com