13.35
Date Code 20171006
Instruction Manual
SEL-400 Series Relays
SEL
OGIC
Control Equation Programming
Effective Programming
➤
Work in a top-down method, specifying and moving to more detailed
levels, until you have sufficient information to create the settings. For
simple tasks, one level may be sufficient. For complex tasks, such as
automated station restoration, you may need several levels to move
from idea to implementation.
Comments
SEL
OGIC
control equation comments are very powerful tools for dividing, docu-
menting, and clarifying your programming. Even if you completely understand
your programming during installation and commissioning, comments will be
very helpful if you need to modify operation a year later.
Create these comments in the fixed and freeform SEL
OGIC
control equations, and
store these comments in the relay. Obtain comments to assist you in using the
ASCII interface or SEL configuration software, regardless of whether you have
the original files downloaded to the relay.
Comments add structure to freeform programming environments such as Visual
Basic, C, and freeform SEL
OGIC
control equations.
shows how to
use comments to divide and structure freeform SEL
OGIC
control equation pro-
gramming.
Example 13.22
Comments in Freeform SEL
OGIC
Control Equation Programming
Use comments to divide and direct your eye through freeform programming.
#
# This is a header comment that divides sections of freeform programming
#
AMV003 :=
15 * AMV003
# Explain this line here
#
# This comment is a header for the next section.
# Inputs: provide more detail for more complex tasks
# Outputs: describe how the programming affects the relay operation
# Processing: discuss how the programming itself operates
#
ASV004 :=
ACN01Q AND RB03
# First line of next section
Many texts on programming in various computer programming languages
suggest that you cannot include too many comments. The main reason to
include comments is that something you find obvious may not be obvious to
your coworker who will have to work with your programming in the future.
Adding comments also gives you the opportunity to think about whether the
program performs the function you intended.
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 ...