EasyManua.ls Logo

Sel 411L - Page 829

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.5
Date Code 20151029 Protection Manual SEL-411L Relay
SELOGIC Control Equation Programming
SEL
OGIC Control Equation Programming
Assignment
Statements
Both fixed and free-form SELOGIC control equations are a basic type of
computer programming statement called an assignment statement.
Assignment statements have a basic structure similar to that shown below:
LVALUE := Expression
Starting at the left, the LVALUE is the location where the result of an
evaluation of the expression on the right will be stored. The := symbol marks
the statement as an assignment statement and provides a delimiter or separator
between the LVALUE and the expression. Type the := symbol as a colon and
equal sign. The assignment symbol is different than a single equal sign (=) to
avoid confusion with a logical comparison between two values. The type of
LVALUE must match the result of evaluating the expression on the right.
There are two basic types of assignment statements that form SEL
OGIC
control equations. In the first type, Boolean SEL
OGIC control equations, the
relay evaluates the expression on the right to a result that is a logical 1 or a
logical 0. The LVALUE must be some type of Boolean storage location or
setting that requires a Boolean value. For example, the setting for the
Protection Conditioning Timer 7 Input, PCT07IN, requires a value of 0 or 1,
which you set with a Boolean SEL
OGIC control equation.
The second type is a math SEL
OGIC control equation. Use the math SELOGIC
control equation to perform numerical calculations on data in the relay. For
example, in protection free-form programming, enter AMV034 := 5 *
BK1IAFM to store the product of 5 and the Circuit Breaker 1 A-phase current
in automation math variable 34. Example 14.3 lists several examples of
Boolean and math SEL
OGIC control equations.
EXAMPLE 14.3 Boolean and Math SELOGIC Control Equations
The equations below are examples of Boolean SEL
OGIC control
equations.
# Example Boolean SELOGIC control equations
PSV01 := IN201 # Store the value of IN201 in PSV01
PSV02 := IN201 AND RB03 # Store result of logical AND in PSV02
PST01IN := IN204 # Use IN204 as the input value for PST01
PSV03 := PMV33 >= 7 # Set PSV03 when PMV33 greater than or equal to 7
The lines below are examples of math SELOGIC control equations.
# Example math SELOGIC control equations
PMV01 := 5 # Store the constant 5 in PMV01
PMV01 := 5 (*Store the constant 5 in PMV01*)
PMV02 := 0.5 * VAFM # Store the product of A-phase voltage and 0.5 in
PMV02
Comments
Include comment statements in SELOGIC control equations to help document
SEL
OGIC control equation programming. There are two ways to indicate a
comment. One way is to start a comment anywhere in a SEL
OGIC control
equation with the # character. The comment then continues to the end of the
line. If you begin a SEL
OGIC control equation with a comment character, then
the entire line is a comment.
The second way is to enclose the comment within parenthesis and two
asterisks (* text *). For example, either of the programming below are valid
comments.
PMV01 := 5 # Store the constant 5 in PMV01
PMV01 := 5 (*Store the constant 5 in PMV01*)

Table of Contents

Related product manuals