The record for a logic scheme is shown below. The first line must have the words PROTECTION SCHEME, starting at column 1. The remaining data starts on the next line and can occupy one or more lines. The record ends with a blank line.
PROTECTION SCHEME
BUS_NO1; BUS1; KV1; BUS_NO2; BUS2; KV2; CKT; BTYP;
SCHEME_ID; SCHEME_TYPE; SCHEME_EQUATION;
NTERMS;
TERM1; TVAL1; TCODE1; DEVICEID1; TMNL1;
......
TERMn; TVALn; TCODEn; DEVICEIDn; TMNLLn;
MEMO;
TAG;
SGNLONLY;
ASSETID; FLAG;
ONDATE; OFFDATE; PKGB; UDF;
SCHEME_ID: An identifier for the logic scheme. The scheme ID can have up to 20 characters enclosed in quotation marks. The ID must be unique among all the logic schemes in the same relay group.
SCHEME_TYPE: An identifier for the logic scheme type. The scheme type can have up to 13 characters enclosed in quotation marks
SCHEME_EQUATION: Logic equation. The equation can have up to 512 characters enclosed in quation marks. Each logic equation term can have up to 20 characters and must begin with a letter. All letters in logic equation must be in upper case.
NTERMS: Number of terms in the logic equation
TERM1…n: Label of each term in the logic equation.
TVAL1…n: Numeric value of the logic equation term; For delay constant, this is a floating point number of seconds; For distance and overcurrent relay this is a integer code of relay element operation signal: TVAL=1 for zone 1 or instantaneous element pickup; TVAL=2 for zone 2 or TOC element pickup; TVAL=i for zone i pickup; TVAL=11 for zone 1 or instantaneous element trip; TVAL=12 for zone 2 or TOC element trip; TVAL=10+i for zone i trip; For terminal reclosing TVAL is the operation count (1 to 3), Use TVAL=0 for any count; Use TVAL=4 for open and lock; For logic scheme, TVAL is not used and will be ignored by the program;
TCODE1…n: Logic equation term type code: C for constant; O for overcurrent relay; D for distance relay; L for logic scheme; E for voltage and differential relays; R for terminal reclose; B for terminal open;
DEVICEID1…n: [for relay and logic scheme term only] Relay or logic scheme ID. ID can have up to 20 characters enclosed in quotation marks.
TMNL1 …n: Terminal location string; See 10.2 RELAY LOCATION INFORMATION for description of this string;
MEMO: Memo with up to 512 characters enclosed in quotation marks.
TAG: Tag string with a maximum of 512 characters. Tags in string are separated by semicolon. Any alpha-numeric characters can be used, except for the string delimiter (single or double quotation mark). The tag string is enclosed in quotation marks.
SGNLONLY: Signal only flag. Enter 1 to set; 0 to reset.
ASSETID: Asset ID string with a maximum of 128 characters enclosed in quotation marks.
FLAG: On/off- line flag. Set flag to 1 for on-line; 2 for off-line.
ONDATE: In-service date. Set to 0 if not available. Otherwise enter an unsigned 32-bit integer that stores the year/month/date information given by the CTime object in the Microsoft Foundation Class.
OFFDATE: Out-of-service date. Set to 0 if not available. Otherwise enter an unsigned 32-bit integer that stores the year/month/date information given by the CTime object in the Microsoft Foundation Class.
PKGB: Protection package B flag. Enter 1 if true. Otherwise, enter 0.
UDF: User-defined data fields. Enter the list of user defined field values as a tab delimited text string enclosed in single quotes.