13.8
SEL-400 Series Relays Instruction Manual Date Code 20171006
SELOGIC Control Equation Programming
SEL
OGIC Control Equation Programming
Comments
Include comment statements in SELOGIC control equations to help document
SEL
OGIC control equation programming. The relay provides the following two
type of comments:
➤ in-line comments: (*comment*)
➤ end-of-line comments: #xxx
Example of in-line comment:
PCT01IN := (*this is an in-line comment*) PMV04 (*this is an in-line
comment *)
Example of end-of-line comment:
PCT01IN := 10 # this is an end-of-line comment
If you begin a SEL
OGIC control equation with an end-of-line comment character,
then the entire line is a comment.
NOTE: During troubleshooting or
testing, reenter a line and insert the
comment character to disable it. Enter
the line without the comment
character to enable the line later
when you want it to be executed.
Comments are a powerful documentation tool for helping both you and others
understand the intent of programming and configuration of the settings. You can
use comments liberally; comments do not reduce SEL
OGIC control equation exe-
cution capacity.
Example 13.3 Boolean and Math SELOGIC Control Equations
The equations below are examples of Boolean SELOGIC control equations.
# Example Boolean SEL
OGIC control equations
PSV01 := IN101 # Store the value of IN101 in PSV01
PSV02 := IN101 AND RB03 # Store result of logical AND in
PSV02
PST01IN := IN104 # Use IN104 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 SEL
OGIC control equations.
# Example math SEL
OGIC control equations
PMV01 := 5 # Store the constant 5 in PMV01
PMV02 := 0.5 * VAFM # Store the product of A-Phase voltage and
0.5 in PMV02