EasyManua.ls Logo

Sel 411L - Page 854

Sel 411L
1108 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P.14.30
SEL-411L Relay Protection Manual Date Code 20151029
SELOGIC Control Equation Programming
SEL
OGIC Control Equation Operators
Arithmetic
Use arithmetic operators to perform basic mathematical operations on
numerical values. Arguments of an arithmetic operation can be either Boolean
or numerical values. In a numerical operation, the relay converts logical 0 or
logical 1 to the numerical value of 0 or 1. For example, multiply numerical
values by Boolean values to perform a selection operation. Use parentheses to
group terms in math SEL
OGIC control equations and control the evaluation
order and sequence of arithmetic operations.
The relay uses IEEE 32-bit floating-point numbers to perform SEL
OGIC
control equation mathematical operations. If an operation results in a quantity
that is not a numerical value, the SEL
OGIC control equation status bit that
signals a math error, MATHERR, asserts. The value that the relay stored
previously in the specified result location is not replaced. The relay clears the
corresponding math error bits if you change SEL
OGIC control equation
settings (protection or automation), or if you issue a STATUS SC command.
Example 14.14 contains examples of arithmetic operations in use.
EXAMPLE 14.14 Using Arithmetic Operations
The free-form math SEL
OGIC control equations below show examples
of arithmetic operator usage.
# Arithmetic examples
AMV001 := AMV005 + AMV034 # Calculate sum
AMV002 := AMV005 – AMV034 # Calculate difference
AMV003 := AMV005 * AMV034 # Calculate product
AMV004 := AMV005 / AMV034 # Calculate quotient
The lines below demonstrate the use of Boolean values with the
multiplication operation.
# Use of multiplication to select numerical values based on active settings
group
# Use 7 if protection settings group 1 active
# Use 5 if protection settings group 2 active
AMV005 := 7 * SG1 + 5 * SG2
The lines below demonstrate math calculation error detection.
# The line below results in a math error if AMV029 becomes 0
AMV006 := 732 / AMV029
In the second line, if AMV029 is 6 on the first pass through the
automation programming, the relay stores the result 122 in AMV006.
If on the next pass AMV029 is 0, the MATHERR bit asserts and the
value in AMV006 does not update.
SQRT
Use the SQRT operation to calculate the square root of the argument. Use
parentheses to delimit the argument of a SQRT operation. A negative
argument for the SQRT operation results in a math error and assertion of the
corresponding math error bit described in Arithmetic. Example 14.15 shows
examples of the SQRT operator in use.
EXAMPLE 14.15 Using the SQRT Operator
The free-form math SEL
OGIC control equations below show examples
of SQRT operator usage.
# SQRT examples
AMV001 := SQRT (AMV005) # Single argument version of SQRT

Table of Contents

Related product manuals