EasyManua.ls Logo

Sel 411L - Page 858

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.34
SEL-411L Relay Protection Manual Date Code 20151029
SELOGIC Control Equation Programming
Effective Programming
Comments
SELOGIC control equation comments are very powerful tools for dividing,
documenting, 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 free-form 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 free-form programming environments such as
Visual Basic, C, and free-form SEL
OGIC control equations. Example 14.23
shows how to use comments to divide and structure free-form SEL
OGIC
control equation programming.
EXAMPLE 14.23 Comments in
Free-Form SELOGIC Control Equation Programming
Use comments to divide and direct your eye through free-form
programming.
#
# This is a header comment that divides sections of free-form program-
ming
#
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.
Testing
After documentation and comments, the next essential element of an effective
approach to programming is testing. Two types of testing are critical for
determining if programming for complex tasks operates properly. First, test
and observe whether the program performs the function you want under the
conditions you anticipated. Second, look for opportunities to create conditions that
are abnormal and determine how your program reacts to unusual conditions.
For example, test your system in unanticipated, but possible conditions such
as loss of power, loss of critical field inputs, unexpected operator inputs, and
conditions that result from likely failure scenarios of the equipment in your
system. It is unlikely that you will find every possible weakness, but careful
consideration and testing for abnormal conditions will help you avoid a failure
and may reveal deficiencies in the normal operation of your system.

Table of Contents

Related product manuals