BE1-951
BESTlogic Programmable Logic
7-9
SL-N Command Examples
The following examples illustrate how a preprogrammed logic scheme is copied to active logic and then
renamed with a custom name.
1.
Read the name of the active logic scheme. In this example, the active scheme is the default BASIC-OC
scheme.
>SL-N
BASIC-OC
2.
Copy a different preprogrammed scheme, FDR-W-IL, to active logic.
>SL-N=FDR-W-IL
OVERWRITE CUSTOM
(active)
LOGIC SETTINGS (Y/N)?
>Y
3.
If this preprogrammed scheme meets the needs of the application, the changes can be saved.
>EXIT
SAVE CHANGES (Y/N/C)?
(Y = Yes, N = No, and C = Cancel, Continue editing)
>Y
CHANGES SAVED
If an attempt was made to customize this read-only, preprogrammed logic, the relay would issue the
following message.
ERROR! CUSTOM LOGIC NAME EQUALS STANDARD LOGIC NAME
In order to customize the FDR-W-IL scheme (modify the logic expressions), the preprogrammed logic
name must be given a unique name that differs from any of the preprogrammed logic scheme names.
4.
Rename the active FDR-W-IL logic with a unique, meaningful logic name.
>SL-N=FEEDER2N
>EXIT
SAVE CHANGES (Y/N/C)?
>Y
CHANGES SAVED
FEEDER2N is now the active logic and the logic expressions can be changed as required. Remember,
changes must be saved to make them active.
Creating or Customizing a Logic Scheme
Before customizing a preprogrammed logic scheme, the scheme must be renamed. This process is outlined
in the previous SL-N Command Examples. The following procedure outlines the process of customizing or
creating a logic scheme. If a completely new logic scheme is to be created, begin with Step 5.
Step 1.
Copy the preprogrammed scheme by using the SL-N=<preprogrammed logic name> command.
Step 2.
Name the preprogrammed scheme with a unique, non-preprogrammed name by using the
SL-N=<new name> command. This allows the logic scheme to be programmed.
Step 3.
Obtain a list of the logic equations with the SL command.
Step 4.
Disable unneeded outputs or function blocks by setting them equal to zero. For example,
SL-VO10=0
Alternately, all output equations can be programmed or disabled at once by not using a number
suffix. For example, entering SL-VO=0 clears all output equations before writing new ones.
Another way to disable all logic settings is to copy the NONE logic to active logic. Renaming the
NONE logic will then permit the scheme to be programmed. The syntax used would be
SL-N=NONE;Y;SL-N=<new name>.
Step 5.
Change the logic expressions as required by using the SL-<function> and SL-VO commands.
Step 6.
Use the SL command to review the changes.
Step 7.
Save the changes by using the EXIT command.
The active logic scheme can also be saved as a text file and modified off-line using any ASCII text editor.
The text file can then be uploaded to the relay through terminal communications. Also, a Microsoft® Excel