![Schweitzer Engineering Laboratories SEL-421-4 Instruction Manual Download Page 1173](http://html.mh-extra.com/html/schweitzer-engineering-laboratories/sel-421-4/sel-421-4_instruction-manual_12167261173.webp)
13.7
Date Code 20171006
Instruction Manual
SEL-400 Series Relays
SEL
OGIC
Control Equation Programming
SEL
OGIC
Control Equation Programming
equations. You can also enter entire line comments to help document program-
ming. Mathematical operations are available only in freeform SEL
OGIC
control
equation programming areas. An example of freeform SEL
OGIC
control equation
programming is shown in
.
Assignment Statements
Both fixed and freeform SEL
OGIC
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 evalu-
ates 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 SEL
OGIC
control equation to perform numerical calculations on data in the relay. For
example, in protection freeform programming in an SEL-451, enter
AMV034 := 5 * BK1IAFM to store the product of 5 and the Circuit Breaker 1
A-Phase current in automation math variable 34.
lists several
examples of Boolean and math SEL
OGIC
control equations.
Example 13.2
Freeform SEL
OGIC
Control Equations
The following equations are examples of freeform SEL
OGIC
control equa-
tions. The text after the # character is a comment included in the equation
and stored in the relay for future reference and documentation.
# Freeform equation example programming
#
# Is 80% of A-Phase fundamental voltage greater than 12kV?
PMV01 :=
VAFM * 0.8
# 80% of A-Phase fundamental voltage
PSV04 :=
PMV01 >= 12000
# True if A-Phase fundamental voltage
is greater than or equal to 12000
Use comments to group settings in the freeform SEL
OGIC
control equations
by task and to document individual equations. In this example, an intermedi-
ate calculation generates the value we want to test to determine if PSV04
will be turned on.
Summary of Contents for SEL-421-4
Page 6: ...This page intentionally left blank ...
Page 14: ...This page intentionally left blank ...
Page 30: ...This page intentionally left blank ...
Page 104: ...This page intentionally left blank ...
Page 128: ...This page intentionally left blank ...
Page 536: ...This page intentionally left blank ...
Page 584: ...This page intentionally left blank ...
Page 616: ...This page intentionally left blank ...
Page 696: ...This page intentionally left blank ...
Page 750: ...This page intentionally left blank ...
Page 755: ...Instruction Manual PM400 01 NB SEL 400 Series Relays Instruction Manual 20171006 ...
Page 776: ...This page intentionally left blank ...
Page 932: ...This page intentionally left blank ...
Page 976: ...This page intentionally left blank ...
Page 1024: ...This page intentionally left blank ...
Page 1038: ...This page intentionally left blank ...
Page 1064: ...This page intentionally left blank ...
Page 1128: ...This page intentionally left blank ...
Page 1206: ...This page intentionally left blank ...
Page 1316: ...This page intentionally left blank ...
Page 1350: ...This page intentionally left blank ...
Page 1464: ...This page intentionally left blank ...
Page 1468: ...This page intentionally left blank ...
Page 1492: ...This page intentionally left blank ...
Page 1518: ...This page intentionally left blank ...