+ All Categories
Home > Documents > Advc2-3001advc Custom Logic Tool r1.1 Web

Advc2-3001advc Custom Logic Tool r1.1 Web

Date post: 03-Jun-2018
Category:
Upload: nguyen-minh-tri
View: 256 times
Download: 9 times
Share this document with a friend

of 36

Transcript
  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    1/36

    Schneider Electric (Australia) Pty Limited80 Schneider Road,Eagle Farm,Qld 4009

    AUSTRALIATel: +61 7 3635 7500Fax: +61 7 3635 7560

    Custom Logic Tool user guideCustom Logic Tool (CLT)for ADVC Controller Range

    Scope of this documentThis document describes the user configuration and application ofthe Custom Logic Tool for the ADVC Controller.LimitationsThis document is copyright and is provided solely for the use of thepurchaser. It is not to be copied in any way, nor its contentsdivulged to any third party, nor to be used as the basis of a tenderor specification without the express written permission of themanufacturer.DisclaimerThe advisory procedures and information contained within thisdocument have been compiled as a guide to the safe and effectiveoperation of products supplied by Schneider Electric.It has been prepared in conjunction with references from sub-assembly suppliers and the collective experience of themanufacturer.In-service conditions for use of the products may vary betweencustomers and end-users. Consequently, this document is offeredas a guide only. It should be used in conjunction with the customersown safety procedures, maintenance program, engineering

    judgment and training qualifications.No responsibility, either direct or consequential, for injury orequipment failure can be accepted by the manufacturer resultingfrom the use of this document.Copyright 2011 by Schneider Electric.

    All rights reserved. No part of the contents of this document may bereproduced or transmitted in any form or by any means without thewritten permission of the manufacturer.

    Document part number ADVC2-3001Revision 1-1

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    2/36

    Custom Logic Tool (ADVC2-3001) Page 2 Schneider Electric

    Table of Contents1 Introduction................................................ 3 1.1 Compatibility ................................................ 3 1.2 Ratings ........................................................ 3 2 Quick Start Guide ...................................... 4 3 Create a Custom Logic Map ..................... 6 3.1 Open the CLT user interface....................... 6 3.1.1 Open a new CLT map ................................. 6 3.1.2 Open an existing CLT map.......................... 6 3.1.3 File names................................................... 6 3.1.4 File location ................................................. 7 3.1.5 Process to edit the CLT map....................... 7 4 The Custom Logic Tool user interface.... 8 4.1 CLT user interface....................................... 8 4.2 Custom Logic Tool menu ............................ 8 4.3 Design and edit logic characteristics........... 9 4.4 Editing the different types of parameters .... 9 4.4.1 Editing the Basic parameters ...................... 9 4.4 .2 Editing the Advanced parameters ............... 9 4.5 Custom Digitals ......................................... 10 4.5.1 About Custom Digitals............................... 10 4.5 .2 Digitals Configuration Worksheet.............. 10 4.6 Custom Variables...................................... 13 4.6.1 About Custom Variables............................ 13 4.6 .2 Variables Configuration Worksheet........... 13 4.7 Custom Counters ...................................... 15 4.7.1 About Custom Counters............................ 15 4.7.2 Counters Configuration Worksheet ........... 15 4.7.3 Counter behaviour..................................... 17 4.7 .4 Counter maximum values and rollover...... 18 4.8 Custom Timers .......................................... 19 4.8.1 About Custom Timers................................ 19 4.8.2 Timers Configuration Worksheet............... 20 5 Logic expressions................................... 22 5.1 Logic Expression Builder interface............ 22 5.1.1 Introduction................................................ 22 5.1.2 Operands Toolbox..................................... 22 5.1.3 Point Values Toolbox ................................ 23 5.1.4 Formatting Toolbox ................................... 23 5.1.5 Data Points window................................... 23 5.1.6 Filter Data Points....................................... 23 5.2 Operands................................................... 23 5.2.1 Logic Operands......................................... 24 5.2.2 Analogue Operands .................................. 24 5.2.3 Mathematical Operands ............................ 25 5.3 Database Points ........................................ 25 5.3.1 Digital database points .............................. 25 5.3.2 Analogue database points......................... 26 5.3 .3 Control database points ............................ 26 5.4 Creating logic expressions ........................ 27 5.4.1 Logic data points ....................................... 27 5.4.2 Analogue data points................................. 27 5.4.3 Optimizing the logic expressions............... 27 5.4.4 Latched and unlatched database points ... 27 5.4.5 Digital Set and Reset expressions ............ 29 6 Loading CLT maps to the controller ..... 30 7 Integrating custom logic points............. 30 8 Event log entries ..................................... 31

    9

    Practical examples.................................. 32

    9.1 Analogue alarms ....................................... 32 9.2 Two Stage Low battery alarm.................... 36

    List of FiguresFigure 1: CLT New configuration ...............................6 Figure 2: Existing configuration .................................6 Figure 3: CLT map editing process............................7 Figure 4: CLT User Interface .....................................8 Figure 5: Custom Digitals flow diagram...................10 Figure 6: Custom Digitals Worksheet window .........10 Figure 7: Custom Variables flow diagram................13 Figure 8: Custom Variables Worksheet window......13 Figure 9: Custom Counters flow diagram ................15 Figure 10: Counter Configuration Worksheet window

    ....................................................................15 Figure 11: Timer comparison...................................19 Figure 12: Custom Timers flow diagram..................20 Figure 13: Timer Configuration Worksheet window.20 Figure 14: Logic expression builder window............22 Figure 15: Operands toolbox ...................................22 Figure 16: Point values toolbox ...............................23 Figure 17: Formatting toolbox..................................23 Figure 18: Data Points window................................23 Figure 19: Filter data points .....................................23 Figure 20: Analogue operands and a counter

    database point ............................................24 Figure 21: Analogue logging option .........................27 Figure 22: Building logic expressions ......................28 Figure 23: Analogue reset expression .....................29 Figure 24: Custom Logic to communicate, control

    and indicate.................................................31

    Revision history:Rev 1-0 Initial release 30 Sep 11Rev 1-1 Minor update Chapter 9

    , symbols lost inPDF conversion

    3 Oct 11

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    3/36

    Custom Logic Tool (ADVC2-3001) Page 3 Schneider Electric

    1 IntroductionThe CLT (Custom Logic Tool) provides the user with an opportunity to develop additional logic functionality for the

    ADVC Controller Range. By evaluating user-defined collections of Digital and Analogue data points from theexisting Protocol Database, the CLT is used to alert operators of specific conditions that may exist on site. Basedon these conditions it is also possible to perform basic actions automatically if required.WSOS5 incorporates the newly developed CLT user interface that is used to create the custom logic expressions.

    In addition to CLT, WSOS5 also incorporates other customisation tools that are used to manage CommunicationProtocols, Operator Interface and Input/Output devices. Each of these tools operates independently, provides theuser access to the Protocol Database points and offers a limited level of logic functionality. CLT significantlyenhances the logic capabilities of all these tools by providing additional Protocol Database points. These newpoints can be incorporated in the existing configuration of these tools. (Please see chapter 7)The CL T incorporates the following functionality:

    Custom Digitals Design your own logic functions to provide True/False state indication and executeactions based on the result of logic expressions.

    Custom Variables Preset variable values used in logic expressions. Modify the active values via protocolto easily adapt the custom logic functionality to different conditions or applications.

    Custom Counters Create counters to monitor the number of transitions in logic expressions. The countervalues are available via protocol and are used in the custom logic functions. (Underdevelopment)

    Custom Timers Create timers to monitor the duration of transitions in a logic expression.

    The subsequent chapters describe the CLT operator interface and the functionality of the different elements. Theyalso contains some practical examples.

    1.1 Compatibility ADVC Controller firmware A45-03.00+WSOS 5 version: Version 5.13.01+Switchgear: N-Series, U-Series, W-Series, RL-SeriesFunctionality: ACR (Automatic Circuit Recloser), LBS (Automatic Sectionaliser).

    1.2 RatingsThese timing results are from tests performed over different controller conditions like loading CPU to max, allprotection elements pickup etc. In normal usage timing values will be less.Response time for logic functions 2.3 secondsResponse time for analogue functions 3.2 secondsResponse time for timer functions 2.1 secondsExpression size limitation 255 elements

    WARNINGUNEXPECTED EQUIPMENT OPERATION

    The designer of any logic or control function must consider the potential failure modes of the logic or controlfunctions and provide a means to achieve a safe state during, and after a failure.Examples of critical control functions are Work Tag, Hot Line Tag, Trip and Close operations.

    Separate safety procedures must be provided for critical control functions. Consideration must be given to the implications of logic functionality, anticipated response times and system

    operating characteristics. Each implementation of a Custom Logic Map must be individually and thoroughly tested for proper operation

    before being placed into service.

    Failure to follow these instructions can result in unexpected operation and associatedattendant hazards.

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    4/36

    Custom Logic Tool (ADVC2-3001) Page 4 Schneider Electric

    2 Quick Start Guide

    Ensure the correct version of WSOS is installed and the correct controller firmware is available Install WSOS Version 5.13.01+ or later. Follow the onscreen instructions. Download controller firmware A45-03.00+ or higher. The firmware version is needed to create a logic map.

    Create a Custom Logic map

    Select the CLT configuration windowOpen CLT user interfaceBrowse the WSOS menu > Customise>> Custom Logic Tool>>> Open.

    Create New Map ConfigurationSelect New option. Configure product, type

    and firmware version.

    Open Existing Map Select from listSelect Existing option. Select required map from

    a list of *.clt file names.

    CLT User interface

    Custom Digitals Custom VariablesProvides True/Falsestate indication andexecute actions basedon the result of logicexpressions.

    64 logic pointsOutput: True/FalseUser Presets:

    Name; Set expression; Reset expression; Set action; Reset action; Comment.

    Custom CountersPreset variables usedin logic expressions.Modify active valuesvia protocol to adaptfunctionality to differentapplications.

    32 custom variablesOutput: Default valueUser Presets:

    Name, Default value, Override option, Logging option, Comment.

    Note: WSOS assignsthe scale for variablesin expressions.

    Custom TimersCounts transitions inlogic expressions andprovides an analogueoutput for other logicexpressions.

    Provides a logic outputwhen the duration of atransition in a logicexpression exceeds apreset value.

    (Under development)

    32 Counters 32 TimersOutput: Active value Output: True/FalseUser Presets: User Presets:

    Name; Name; Minimum value; Type; Maximum value; Resolution; Default value; Duration; Reset value; Reset expression; Default expression; Start/Stop

    expression; Reset expression; Comment. Increment

    expression;Left click to select andedit each point. Select f x to enter expression Left click to select andedit each point.

    Left click to select andedit each point. Select f x to enter expression

    Decrementexpression;

    Comment.

    Expression builder Left click to select andedit each point. Select x to enter expression

    Select protocol database point bydouble clicking on the data point name.

    Add the Operand to the expression. Repeat above until expression iscomplete.

    Press Apply button when all the fieldsare complete. Save the CLT map.

    Browse the WSOS menu > Custom Logic Tool>> Save (or Save As)

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    5/36

    Custom Logic Tool (ADVC2-3001) Page 5 Schneider Electric

    Prepare ADVC controller Select the switchgear and ADVC Controller that will be running the custom logic function. Update the controller firmware to A45-03.00+ or higher. While offline, select the switchgear device in WSOS. In Configuration Feature Selection make the

    custom logic tool available by selecting the Custom Logic Tool Available option in the General section.

    Using the Custom Logic map

    Establish relationship between CLT, IOEX, CPMT & OCP

    The CLT function controls the status of 64 new custom logic points. These points are available as inputsto the other tools. Open existing or create new maps in these tools to utilise the new custom logic points.

    In addition to the 64 custom logic points, 32 custom variable CLT inputs are available via protocol. Theactive value of the variable can be changed via protocol.

    Protocol database

    Digitaldata

    Analoguedata

    Accumulatordata

    Digitalcontrols

    Customlogic

    Analoguecontrols

    IOEX Tool

    Test the customised behaviourGo online with the switchgear. Open the Custom Logic Tool window and monitor the digital data status whilestimulating the necessary inputs.

    CPMT ToolConfigures the switchgearinformation and controlsavailable via the selectedprotocol used in acommunication link.

    Select the required

    information from theprotocol database forcommunication viaprotocol.

    Operation is described in aseparate manual.

    Inputs: The entire protocol

    database including customlogic digital data.

    Outputs: Digital control of switchgear Assert IOEX outputs Override custom variables

    in the CLT tool.

    OCP ToolConfigures the Input/Outputcharacteristics and logicfunctions required for externaldevices.

    Configures logic expressionsfor status indication and setactions linked to quick keys onthe flexVUE operator interface.

    Link IOEX Inputs to digital

    controls to achieve thedesired action (Effect).

    Use digital data and logic

    expressions for statusindication.

    Create logic expression todrive specific IOEX outputs.

    Link digital controls andquick keys to provideoperator control of specificfunctions.

    Operation is described in aseparate manual.

    Inputs:Inputs: Digital switchgear data Digital switchgear data Custom logic digital data Custom logic digital data

    Outputs:Outputs: Digital control of

    switchgear. Digital control of

    switchgear.

    Save theIOEX map

    Save theOCP map

    Save theCPMT map

    Attach the requiredmaps to the switchgear

    Go online withthe switchgear

    Write the maps tothe switchgear

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    6/36

    Custom Logic Tool (ADVC2-3001) Page 6 Schneider Electric

    3 Create a Custom Logic MapWSOS Version 5.13.01+ or later contains the Custom Logic Tool. It is possible to create CLT maps without havingthe controller connected to the PC. This chapter describes how to create a new or open an existing CLT map.

    3.1 Open the CLT user interface

    To open an existing or create a new CLT map, browseto the Customise menu in the WSOS menu toolbar,select Open from the Custom Logic Tool option inthe Customise WSOS menu toolbar. An OpenCustom Logic Tool Configuration Window will bedisplayed.

    Browse the WSOS menu > Customise>> Custom Logic Tool>>> Open.

    3.1.1 Open a new CLT mapCreate a new CLT map by selecting the New option.Define the configuration of the map. The configurationallows the user to set up a map for a specific type ofswitchgear by selecting one of the following productoptions:

    U-Series 3-phase up to 27kV recloser; W-Series 1-phase SWER recloser; N-Series 3-phase up to 38kV recloser;

    RL-Series 3-phase up to 38kV sectionaliser; Alternatively, if a map will be used across differenttypes of switchgear (example N-Series and U-Series)select the following option:

    All Switchgear All types of switchgear.The Switchgear Type ACR or LBS defines the functionof the switchgear.It is also necessary to configure the firmware versionused on the controllers. The software version controlsthe availability of database points.Note: If an incorrect software version is specified, theCLT tool may include database points that are not

    supported by the controller. This could result in errorswhen the controller executes the CLT map.Click the Open button when complete.

    3.1.2 Open an existing CLT mapIt is possible to open/edit an existing CLT map byselecting the Existing option in the Window. Select thefile from the list in the Configuration frame and clickthe Open button. This action displays the CustomLogic Tool (CLT) user interface. (Please seechapter 4).

    Figure 1: CLT New configuration

    Figure 2: Existing configuration

    3.1.3 File names

    When a new CLT file is created, WSOS automatically names the file Custom Logic Tool Configuration.clt . Thefiles are identified by a *.CLT extension. If the file already exists a number suffix is automatically added to the filename for example Custom Logic Tool Configuration1.clt . To change the file name, use the Save As option inthe Custom Logic Tool Menu (see paragraph 4.2 ).

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    7/36

    Custom Logic Tool (ADVC2-3001) Page 7 Schneider Electric

    3.1.4 File locationThe *.CLT file location is set in the Directories tab of the System Properties window. Access the SystemProperties window via the Customise > Properties Menu. The default location is in the following directory:C:\Documents and Settings\All Users\Application Data\WSOS Switchgear Data\Custom Logic Tool.

    3.1.5 Process to edit the CLT mapThe flow diagram in Figure 3 shows the basic process to edit a CLT map. Chapters 4 and 5 describe each part ofthe process in detail.

    Figure 3: CLT map editing process

    Logic ExpressionBuilder see page 23

    Create the logicexpression

    Find data point Select data point

    Add Operand

    View all the relevantparameters availablein the worksheet.

    Custom Logic Tool WorksheetInterface see page 9

    Select parameter toedit

    Type in or selectnew parameters

    Edit logic expressionsin Expression builder f x

    CLT User Interface see page 8

    Select ConfigurationWorksheet to display

    View configuration ina compact format

    View live status whenonline with controller

    Select the point toedit by clicking in the

    row (offline)

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    8/36

    Custom Logic Tool (ADVC2-3001) Page 8 Schneider Electric

    4 The Custom Logic Tool user interface

    The CLT user interfaceoffers a dashboard fromwhere users can select the

    components to edit, viewthe CLT map configurationand display the onlinestatus duringcommissioning or testing.Chapter 4.3 describes howto edit the CLT map.

    Figure 4: CLT User Interface

    4.1 CLT user interfaceThe CLT user interface contains the following components: - Selection buttons; Configuration Information;

    Configuration Worksheet Area; and a Custom Logic Tool Menu.Selection Buttons The four buttons, located on the top left of the CLT user interface, are used to display thedifferent configuration worksheets in the Worksheet Area. Left clicking on the button will display the correspondingworksheet.Configuration Information Also located on the top, the two fields displaying the Firmware version and theswitchgear type chosen for the map.Mode The mode field displays Configuration mode when offline and editing the map. When online the CLT mapname is displayed.Configuration Worksheet Area This area displays the online status and configuration of each available parameterfor the Custom Digital, -Variable, -Counter and -Timer functions. Each function offers the user a collection ofdatabase points. The result of the database points are determined by the function of the point, user-defined logicexpressions and preset values. The Configuration Worksheet is arranged with the database points as rows and theuser-defined parameters as columns. Please see chapter 4.3 for more detail on the worksheet.Users ca n swap between the worksheets by using the buttons or the CLT menu.

    4.2 Custom Logic Tool menu A Custom Logic Tool menu is displayed when theCLT user interface is open. This menu providesnormal file managing type options such as Open,Save and Save As. It also provides options to viewthe four main CLT configuration worksheets:

    Custom Digitals; Custom Variables; Custom Counters;

    Custom Timers.From the CLT menu it also possible to print a copy ofthe configuration file for record keeping or review.This menu also provides the option VersionUpgrade to modify the firmware version selected fora CLT map. It is possible to upgrade the firmwareversion to a newer or the latest version. However, it isnot possible to change to an earlier version ofFirmware. Please follow the onscreen instructions toupdate the firmware version. Updating makesavailable the latest set of database points forinclusion in the CLT map. However it does notupgrade the controller firmware. To update thecontroller firmware it is necessary to use the ADVCLoader Tool that can be accessed via theCustomise menu.

    Browse the WSOS menu >Custom Logic Tool menu>> Open>> Custom Digitals>> Custom Variables>> Custom Counters>> Custom Timers>> Print Configuration File>> Save>> Save As>> Version Upgrade

    Firmware version CONFIGURATION MODEDigitals Variables Counters TimersSwitchgear type

    Selection buttons Configuration information

    The CLT Worksheet Area displays the status and configuration

    CustomDigitals

    or CustomVariables

    or CustomCounters

    or Custom Timers

    Rows Columns onlinestatus indication.

    Columns user configuration fields.

    Mode

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    9/36

    Custom Logic Tool (ADVC2-3001) Page 9 Schneider Electric

    4.3 Design and edit logic characteristicsThis chapter firstly describes how to edit the different types of parameters and then the different ConfigurationWorksheets available in the CLT user interface. Separate worksheets are provided to configure the parametersrequired for the logic, values, counters and timers within the CLT map. Paragraph 4.1 and 4.2 describes how toswitch between the different worksheets. There are four Configuration Worksheets, these are:

    Custom Digitals. See paragraph 4.5 for a description of all parameters. Custom Variables. See paragraph 4.6 for a description of all parameters.

    Custom Counters. See paragraph 4.7 for a description of all parameters. Custom Timers. See paragraph 4.8 for a description of all parameters.

    Each Configuration Worksheet has an associated editing tool. The tool displays and allows editing of the functionsparameters. There are six different types of parameters, each requiring a slightly different editing technique. Thetable below summarises the different types of parameters.

    Configuration worksheetsParameter type Digitals Variables Counters Timers

    Text Name,Comment

    Name,Comment

    Name,Comment

    Name,Comment

    Values Default Minimum,Maximum,Default,Reset

    Duration

    Tick box Overridevalue B

    a s

    i c p a r a m

    e t e r s

    ( S e e

    4 . 4 . 1

    )

    Selection list Type,Resolution

    Logic expressions

    f x Set,Reset

    Default,Reset,Increment,Decrement

    Reset,Start/Stop

    A d v a n c e

    d

    p a r a m e

    t e r s

    ( S e e

    4 . 4 . 2

    )

    Actions

    f x Set,

    Reset

    UP arrow Display contents of point n-1, where n is the current point. Doesnot apply any changes to the current point.

    Down arrow Display contents of point n+1, where n is the current point. Doesnot apply any changes to the current point. C o m m o n

    c o n

    t r o

    l s

    Apply button Applies the changes in the current point to the map.Apply

    4.4 Editing the different types of parametersTo edit the parameters, select the correct Configuration Worksheet, identify the row to edit and left click on any ofthe fields in the row. That will open the Digital editing window. Edit the parameters. The parameters can begrouped in two:

    Basic parameters These parameters are keyed in directly or selected using a mouse click. Advanced parameters An expression builder window is used to create these parameters.

    4.4.1 Editing the Basic parametersEditing the basic parameters are extremely easy. Please see the basic instructions provided below.

    Text Select and delete the existing text. Type the new text.Values Select and delete the existing value. Type the new value.Tick box Click in the square box provided to select/deselect the option.Selection list Click on the field to display the list of possible options and select the correct one.

    4.4.2 Editing the Advanced parameters A Logic Expression Builder is used to create the logic functions and actions. Use the f x symbol to open the LogicExpression Builder window. The builder is used to insert database points and operands in the expression field.Chapter 5 describes in detail how to use the Logic Expression Builder.

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    10/36

    Custom Logic Tool (ADVC2-3001) Page 10 Schneider Electric

    4.5 Custom Digitals4.5.1 About Custom DigitalsWith Custom Digitals you create your own logic functionality. The logic functionality is used to provide the local orremote operator with unique True/False state indication. It is also possible to associate commands with the logicfunctions, therefore executing actions based on the logic expressions.

    Figure 5: Custom Digitals flow diagram

    Based on information contained in the protocol database, Custom Digitals provide two main functions: Create additional status data in the database, making the results available to other database-related tools Perform basic automation through actions linked to custom digital points.

    4.5.2 Digitals Configuration WorksheetThis paragraph describes the different user parameters available in the Custom Digitals Configuration Worksheet.

    Figure 6: Custom Digitals Worksheet window

    The tables below describe the fields in the Custom Digitals Configuration Worksheet.

    Custom Logic Tool Custom Digitals Configuration Worksheet RowsDigital points Field name and Description 01 64

    Point 01 to 64 .Custom Digital 01 64

    Custom Logic Tool Custom Digitals Configuration Worksheet ColumnsOnline indication Field name and Description 1 st

    True/False (Digital Point Status )This field indicates the logic state (True or False) of the custom logic point. The statusis visible when a valid CLT map is running in the controller and the user is online withthe switchgear.Range: True, False

    Default: Blank

    Custom Logic Tool Custom Digitals Configuration Worksheet ColumnsUser configuration Field name and Description 2 nd 7 th

    Name (Customer specified name for the digital point )Instead of the generic Custom Digital xx name, users may specify aunique alias that can easily identify the purpose of the relevant logicpoint. The alias is visible in the user interface and is reported in theevent log when the point changes status.Range: Up to 50 ASCII charactersDefault: Custom Digital 01 to Custom Digital 64

    2nd

    Optional Automation

    actionsCustomDigitals

    Database

    Digitals

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    11/36

    Custom Logic Tool (ADVC2-3001) Page 11 Schneider Electric

    Custom Logic Tool Custom Digitals Configuration Worksheet ColumnsUser configuration Field name and Description 2 nd 7 th

    Set Expression (Expression to assert the digital point )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.When a Set Expression evaluates True, the Digital point is asserted. Thepoint remains true until one of the following conditions occur:

    In the absence of a Reset Expression, the Set Expressionevaluates to False, or

    The Reset Expression evaluates to True.The Set Expression may also be used to trigger a predetermined actionthat is configured in the Set Action field.Range: True/FalseDefault: Blank

    3rd

    Reset Expression (Expression to reset the digital point )The Reset Expression is optional. It is a logic function comprising acollection of database points and operands to determine the relationshipbetween the points. When a Reset Expression evaluates True, theDigital point is reset to False. The point remains False until the SetExpression evaluates True.The Reset Expression may also be used to trigger a predeterminedaction that is configured in the Reset Action field.Range: True/FalseDefault: BlankNote: The Reset Expression is optional

    4th

    Set Action (Takes action when the Set Expression is True )When the Set Expression evaluates true, it can be used to Toggle acontrol point or to turn a control point On or Off. By changing thecontrol point state, it is possible to trigger a predetermined action.Range: Digital controls, Protocol IOEX Controls, Analogue ControlsDefault: BlankNote: Note only one action can be assigned per set expression

    5th

    Reset Action (Takes action when the Reset Expression is True )When the Reset Expression evaluates true, it can be used to Toggle acontrol point or to turn the control point On or Off. By changing thecontrol point state, it is possible to trigger a predetermined action.Range: Digital controls, Protocol IOEX Controls, Analogue ControlsDefault: BlankNote: Note only one action can be assigned per reset expression

    6th

    Comment (Comment text field ) A text field is provided to describe the function of the digital point formaintenance or editing. The information is only visible in the CLT userinterface.Range: Up to 80 Unicode CharactersDefault: Blank

    7th

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    12/36

    Custom Logic Tool (ADVC2-3001) Page 12 Schneider Electric

    Example 1. Switchgear StatusThis example illustrates the use of digital database points and operands such as AND, OR and NOT.Use Digital 01 to create a logic point to assist an operator during a site visit in verifying that the switchgear is in thecorrect status before leaving the installation. For this example the correct switchgear status is when:

    the switchgear is closed, protection group A is active,

    the Work Tag is removed, the Auxiliary supply fail, and the battery supply fail.

    The protocol database includes status points that can be used to achieve this functionality. These are:Database point True when False whenSwitchgear Closed Switchgear closed Switchgear not closedProtection Group A Active Protection Group A is active Protection Group A is not activeWork/Hot Line Tag Work (Hot Line) Tag applied Work (Hot Line) Tag removedAuxiliary Supply Fail Auxiliary supply fail Auxiliary supply normalBattery Supply Fail Battery supply is not normal Battery supply is normalMaintenance Required Maintenance needed Maintenance not required

    The green cells highlight the states that will provide the necessary indication. Using Boolean algebra to satisfy therequirement, the configuration for Custom Digital Point 01 in the Digitals Worksheet will be:Name Change Custom Digital 01 to Confirm Switch Status.SetExpression

    Switchgear Closed AND Protection Group A Active AND (NOT( Work/Hot Line Tag OR AuxiliarySupply Fail OR Battery Supply Fail ))

    ResetExpression

    The Reset Expression is optional. Confirm Switch Status will become False when the SetExpression evaluates to False. Alternative it is possible to create a reset expression containing thesame or different database points. As an example it can include an additional check for possiblemaintenance required.NOT ( Switchgear Closed AND Protection Group A Active ) OR Work/Hot Line Tag OR AuxiliarySupply Fail OR Battery Supply Fail OR Maintenance Required

    Example 2. Low Battery TripThis example illustrates the use of analogue database points with operands such as and , and the use ofset/reset actions.Use Digital 02 to create a battery monitoring function that will trip the switchgear when the battery voltage fallsbelow a predetermined level of 21.6V. When the battery voltage recovers to above 22.6V normal operation must bepossible.The protocol database includes an analogue Battery Voltage point that will be used to achieve this functionality. Italso requires an action to trip the switchgear.Analogue Database point DescriptionBattery Voltage Analogue database point

    Minimum value is 0, Maximum value is 32Volts,Resolution is 0.01 and Deadband is 1

    Database control point DescriptionTrip Switchgear and block When this point is asserted, the switchgear will trip. Simultaneously closeoperations from any source are blocked. The block is removed by turningthe point off.

    In the Digitals Worksheet configure point 02 to the following.Name Change Custom Logic 02 to Low Battery Trip.SetExpression

    Battery Voltage 21.6V

    ResetExpression

    Battery Voltage 22.6V

    Set Action ON Trip Switchgear and blockReset

    ActionOFF Trip Switchgear and block

    Note how the above expressions use different voltage levels to create a deadband. It is also important to note thatthe reset expression is used to remove the close block. However it does not close the switchgear. An operator hasto close the switchgear manually.

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    13/36

    Custom Logic Tool (ADVC2-3001) Page 13 Schneider Electric

    4.6 Custom Variables4.6.1 About Custom VariablesCustom Variables is a collection of preset values. The preset values are used as active values in logic expressionscontaining analogue database points. It is possible to override the active values via protocol. This flexibility allows astandard map to be created and loaded to a collection of switchgear devices. Each device can be calibrated tothe different conditions or applications via protocol without altering the standard map.

    Figure 7: Custom Variables flow diagram

    The purpose of the Custom Variables is to: Provide a selection of preset values that is available to all logic expressions containing analogue database

    points. Provide remote access to the variable values in order to adapt the functionality of the custom logic map to

    different conditions.

    4.6.2 Variables Configuration WorksheetThis paragraph describes the paramaters available in the Custom Variables Configuration Worksheet.

    Figure 8: Custom Variables Worksheet window

    The tables below describe the fields in the Custom Variables Worksheet.

    Custom Logic Tool Custom Variables Configuration Worksheet RowsCustom Variables Field name and Description 01 32

    Point 01 to 32.Custom Variable 01 32

    Custom Logic Tool Custom Variables Configuration Worksheet ColumnsOnline indication Field name and Description 1 st

    Active Value (Existing value of the Variable )This field indicates the active value of the variable. The value is visible when a validCLT map is running in the controller and the user is online with the switchgear.Default: 0

    Custom Logic Tool Custom Variables Configuration Worksheet Columns

    Active valuesCustom

    Variables

    Optional Automation

    actionsCustomDigitals

    Database

    Digitals

    ProtocolTool

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    14/36

    Custom Logic Tool (ADVC2-3001) Page 14 Schneider Electric

    User configuration Field name and Description 2 nd 6 th

    Name (Customer specified name for the custom variable )Instead of the generic Custom Variable xx point name, users mayspecify a unique alias that can easily identify the purpose of the relevantvariable. The alias is visible in the user interface and is reported in theevent log with Maximum/Minimum value events.Range: Up to 50 ASCII characters

    Default: Custom Variable 01 to Custom Variable 32

    2nd

    Default Value (Specified map value for the point )The default value will be the active value used in all logic expressionsreferencing the variable, unless the active value is overridden with a newvalue.Default: 0

    3rd

    Override Value (Tick box )Selecting the tick box allows modification of the variables active valuevia SCADA. When the option is not selected the default value will alwaysbe used in logic expressions.Range: Selected/Not SelectedDefault: Not selected

    4th

    Comment (Comment text field ) A text field is provided to describe the function of the digital point formaintenance or editing. The information is only visible in the CLT userinterface.Range: Up to 80 Unicode CharactersDefault: Blank

    5th

    Scale (Practical scale value )The scale is determined by WSOS when the Custom Variable is used inconjunction with an analogue database point. WSOS RPN engine isinteger only thus will round up the decimal results of expressions.Default: 1

    6th

    Example 3. Load current monitor using Custom VariablesThis example illustrates the use of custom variables in logic expressions containing analogue data points.For the purposes of this example we will set up Custom Digital point 03 to monitor the phase currents. If the phasecurrents exceed 400A an overload alarm must be activated. The alarm must stay active until the phase currentreduces to less than 390A.Analogue Database point DescriptionA-Phase Current;B-Phase Current;C-Phase Current

    Line current flowing through each phaseMinimum value is 0, Maximum value is 16000 Amps,Resolution is 0.1 and Deadband is 10

    Custom Data point DescriptionCustom Variable 01 Custom Variable from the Custom Data collection of analogue values. This

    point is configured as over load current with a value of 400A.Custom Variable 02 Custom Variable from the Custom Data collection of analogue values. This

    point is configured as normal load current with a value of 390A.

    In the Digitals Worksheet configure point 03 to the following.Name Change Custom Logic 03 to Overload.SetExpression

    ( A-Phase Current > Custom Variable 01 ) OR ( B-Phase Current > Custom Variable 01 ) OR( C-Phase Current > Custom Variable 01 )

    ResetExpression

    ( A-Phase Current < Custom Variable 02 ) AND ( B-Phase Current < Custom Variable 02 ) AND( C-Phase Current < Custom Variable 02 )

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    15/36

    Custom Logic Tool (ADVC2-3001) Page 15 Schneider Electric

    4.7 Custom Counters4.7.1 About Custom CountersCustom Counters determine the number of times a particular logic status has occurred. The counter values canchange in either direction (Count Up or Down), under the control of separate Increment/Decrement logicexpressions. The active values of the counters are available via the protocol database for remote display. Activevalues can also be incorporated in logic expressions to drive logic functions, indication and even automationactions.

    Figure 9: Custom Counters flow diagram

    The custom counters provide two main functions: Count (up or down) logic transitions with the counter value available via protocol for remote indication Counter values are used as analogue database points in logic expressions.

    4.7.2 Counters Configuration WorksheetThis paragraph describes the user parameters available in the Custom Counters Configuration Worksheet.

    Figure 10: Counter Configuration Worksheet windowThe tables below describe the fields in the Custom Counters Worksheet.

    Custom Logic Tool Custom Counters Configuration Worksheet RowsCustom Counters Field name and Description 01 32

    Point 01 to 32.Custom Counters 01 32

    Custom Logic Tool Custom Counters Configuration Worksheet ColumnsOnline indication Field name and Description 1 st

    Active Value (Existing value of the Counter )

    This field indicates the active value of the counter. The value is visible when a validCLT map is running in the controller and the user is online with the switchgear.Default: 0

    Custom Logic Tool Custom Counters Configuration Worksheet ColumnsUser configuration Field name and Description 2 nd 11 th

    Name (Customer specified name for the custom counter )Instead of the generic Custom Counter xx point name, users mayspecify a unique alias that can easily identify the purpose of the relevantcounter. The alias is visible in the user interface and is reported in theevent log with Maximum/Minimum value events.

    Range: Up to 50 ASCII charactersDefault: Custom Counter 01 to Custom Counter 32

    2nd

    CountersCustom

    Counters

    Active valuesCustom

    Variables

    Optional Automation

    actionsCustomDigitals

    Database

    Digitals

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    16/36

    Custom Logic Tool (ADVC2-3001) Page 16 Schneider Electric

    Custom Logic Tool Custom Counters Configuration Worksheet ColumnsUser configuration Field name and Description 2 nd 11 th

    Minimum Value (Specified minimum value for the counter )The minimum value specifies the lowest possible value of the counter.When the counter reaches the minimum value, the count will notdecrease further even if the decrement expression evaluates true.Unless, the global Counter Rollover On setting in the switchgearFeature Selection window is selected. Then the value will go from theMinimum Value to the Maximum Value when the Decrement Expressionevaluates true.Range: 0 to 2,000,000,000Default: 0

    3rd

    Maximum Value (Specified maximum value for the counter )The maximum value specifies the highest possible value of the counter.When the counter reaches the maximum value, the count will notincrease further even if the increment expression evaluates true. Unless,the global Counter Rollover On setting in the switchgear FeatureSelection window is selected. Then the value will go from the MaximumValue to the Minimum Value when the Increment Expression evaluatestrue.Range: 0 to 2,000,000,000Default: 0

    4th

    Default Value (Specified default value for the counter ) At initialisation of the map, the active value of the counter will be thedefault value. The active value of the counter also changes to theDefault Value when the default expression evaluates true.Range: 0 to 2,000,000,000Default: 0

    5th

    Reset Value (Specified reset value for the counter )

    The active value of the counter changes to the Reset Value when thereset expression evaluates true.Range: 0 to 2,000,000,000Default: 0

    6th

    Default Expression (Changes the counter value to default )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.When a Default Expression evaluates True, the counter value is set tothe Default Value. The value remains unchanged until the DefaultExpression becomes False.Range: True/False

    Default: Blank

    7th

    Reset Expression (Changes the counter value to reset )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.When a Reset Expression evaluates True, the counter value is set to theReset Value. The value remains unchanged until the Reset Expressionbecomes False.Range: True/FalseDefault: Blank

    8th

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    17/36

    Custom Logic Tool (ADVC2-3001) Page 17 Schneider Electric

    Custom Logic Tool Custom Counters Configuration Worksheet ColumnsUser configuration Field name and Description 2 nd 11 th

    Increment Expression (Increases the counter value by one )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.When the Increment Expression evaluates True, the counter value isincreased by one.Range: True/FalseDefault: Blank

    9th

    Decrement Expression (Decreases the counter value by one )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.When the Decrement Expression evaluates True, the counter value isdecreased by one.Range: True/FalseDefault: Blank

    10th

    Comment (Comment text field )

    A text field is provided to describe the function of the digital point formaintenance or editing. The information is only visible in the CLT userinterface.Range: Up to 80 Unicode CharactersDefault: Blank

    11th

    4.7.3 Counter behaviourUsing a timing diagram, this paragraph illustrates the behaviour of counters.

    ParametersDefault Value = 3 Reset Value = 0

    Active Value shown in Blue.

    Expressions shown in Red: Increment expression Decrement expression Default expression Reset expression

    Step-by-step description of the counter behaviour: Value1. Initially the counter starts at the Default Value 32. The counter value increases by one when the Increment Expression evaluates true 4 53. The counter value decreases by one when the Decrement Expression evaluates true 44. As per step 2 55. As per step 3 46. The Default Expression evaluates true and sets the counter value to the Default Value 37. The Reset Expression evaluates true and sets the counter value to the Reset Value, even

    though the Default Expression is still true. Reset has a higher priority.0

    8. The Reset Expression evaluate false, but the Default Expression is still true. Therefore the valueof the counter is set to the Default Value.

    3

    Increment01

    Default 01

    01

    23

    45

    67Counter value

    Reset0

    1

    Decrement01

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    18/36

    Custom Logic Tool (ADVC2-3001) Page 18 Schneider Electric

    4.7.4 Counter maximum values and rolloverUsing a timing diagram, this paragraph illustrates the behaviour of counters when a maximum value is specified. Italso shows the difference in behaviour when Counter Rollover is turned On/Off. This illustration uses the sameIncrement/Decrement Expressions as 4.7.3 . However there are no Reset and Default Expressions.From the below illustration, the importance of the Maximum, Minimum values and Rollover settings become clear.

    Parameters

    Maximum Value = 4 Default Value = 3 Minimum Value = 0

    Active Value shown in Blue.Expressions shown in Red:

    Increment expression Decrement expression

    Counter without a Maximum Value: Value1. Initially the counter starts at the Default Value 32. The counter value increases by one when the Increment Expression evaluates true 4 53. The counter value decreases by one when the Decrement Expression evaluates true 44. As per step 2 55. As per step 3 4 36. As per step 2 4

    Counter with a Maximum Value, Rollover OFF: Value7. Initially the counter starts at the Default Value 38. The counter value increases by one when the Increment Expression evaluates true. This is the

    maximum value. The value remains 4 even when the Increment Expression evaluates true.4

    9. The counter value decreases by one when the Decrement Expression evaluates true 3

    10. As per step 8 411. As per step 3 3 212. The counter value increases by one when the Increment Expression evaluates true. 3

    Counter with a Maximum Value, Rollover ON: Value13. Initially the counter starts at the Default Value 314. The counter value increases by one when the Increment Expression evaluates true. 415. The counter value rolls over to the Minimum Value when the Increment Expression evaluates

    true.0

    16. The counter value rolls over to the Maximum Value when the Decrement Expression evaluatestrue

    4

    17. As per step 15 018. As per step 16 419. The counter value decreases by one when the Decrement Expression evaluates true. 320. The counter value increases by one when the Increment Expression evaluates true. 4

    Increment0

    1

    Decrement01

    7

    01

    23

    45

    6Counter value without Maximum valuespecified

    7

    01

    23

    4 5

    6Counter value with Maximum valuespecified, androllover OFF .

    7

    01

    23

    45

    6Counter value with Maximum valuespecified, androllover ON .

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    19/36

    Custom Logic Tool (ADVC2-3001) Page 19 Schneider Electric

    4.8 Custom Timers4.8.1 About Custom TimersCustom Timers are available to filter or delay transitions in logic expressions. Each timer has a preset duration, andstarts running when the Start/Stop Expression evaluates true. When the timer expires a logic output is asserted.The output remains asserted until the Reset Expression evaluates true. There are three different types of timers tochoose from. Each responds differently to the start/stop logic expression. Their behaviour can be summarised asfollows:

    Type CharacteristicsDe-bounce Timer If the Start/Stop Expression evaluates true, the timer starts running. However, if the

    Start/Stop Expression becomes false before the timer expires, the timer resets to thepreset value. Therefore, the timer output is only asserted if the Start/Stop Expressionremains in a true state for a period greater than the preset value. The output is assertedwhen the timer expires.

    Cumulative Timer If the Start/Stop Expression evaluates true, the timer starts running. The timer ispaused if the Start/Stop Expression becomes false before the timer has expired andcontinues when the expression becomes true again. Therefore, the timer output isasserted when the combined duration of true state equals the preset value.

    Latching Timer If the Start/Stop Expression becomes true, regardless of the duration, the timer outputis asserted a time equalling the preset value after the initial transition to the true state.

    The timing diagram below compares the different types of timers using the same Start/Stop Expression and timescale.

    Figure 11: Timer comparison

    The custom timers provide three main functions: Filter transitions in logic expressions to act only on those exceeding a preset duration. Measure the cumulative duration of a logic state. Delay the transition in a logic expression by a preset time.

    Custom timers are used in conjunction with the other CLT functions.

    Output01

    Remaining time0%100%

    Output01

    Remaining time0%100%

    Output01

    Remaining time0%100%

    Reset01

    Start/Stop01

    De-bounce Timer

    reset

    Cumulative Timer

    pause

    Latching Timer

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    20/36

    Custom Logic Tool (ADVC2-3001) Page 20 Schneider Electric

    Figure 12: Custom Timers flow diagram

    4.8.2 Timers Configuration WorksheetThis paragraph describes the user parameters available in the Custom Timers Configuration Worksheet.

    Figure 13: Timer Configuration Worksheet window

    The tables below describe the fields in the Custom Timers Worksheet.

    Custom Logic Tool Custom Timers Configuration Worksheet RowsCustom Timers Field name and Description 01 32

    Point 01 to 32.Custom Timers 01 32

    Custom Logic Tool Custom Timers Configuration Worksheet ColumnsOnline indication Field name and Description 1 st 2 nd

    Timer Output (Logic output )This field indicates the logic state of the timer True when the timer hasexpired and False otherwise. The value is visible when a valid CLT mapis running in the controller and the user is online with the switchgear.Range: True/FalseDefault: Blank

    1 st

    Elapsed Value (Existing value of the Timer )This field indicates the elapsed value of the timer. The value is visiblewhen a valid CLT map is running in the controller and the user is onlinewith the switchgear.Default: 0

    2nd

    Custom Logic Tool Custom Timers Configuration Worksheet ColumnsUser configuration Field name and Description 3 rd 9 th

    Name (Customer specified name for the custom timer )Instead of the generic Custom Timer xx point name, users may specifya unique alias that can easily identify the purpose of the relevant timer.The alias is visible in the user interface and is reported in the event logwith Maximum/Minimum value events.Range: Up to 50 ASCII characters

    Default: Custom Timer 01 to Custom Timer 32

    3 rd

    TimersCustomTimers

    CountersCustom

    Counters

    Active valuesCustom

    Variables

    Optional Automation

    actionsCustomDigitals

    Database

    Digitals

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    21/36

    Custom Logic Tool (ADVC2-3001) Page 21 Schneider Electric

    Custom Logic Tool Custom Timers Configuration Worksheet ColumnsUser configuration Field name and Description 3 rd 9 th

    Timer Type (Select the type of timer )The type of timer determines the behaviour of the timer. (See 4.8.1 ).Choose the required characteristics by selecting the appropriate optionfrom the list.Range: De-bounce, Cumulative, LatchingDefault: De-bounce

    4 th

    Timer Resolution (Select the resolution for the timer )Choose an appropriate resolution from the list provided.Range: 1 second, 1 minute, 1 hour, 1 dayDefault: 1 second

    5 th

    Timer Duration (Specified duration for the timer )The duration of the timer determines the timing period before the outputis asserted. (See 4.8.1 ).Range: 2,000,000,000Default: 0

    6 th

    Reset Expression (Resets the timer value and logic output )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.When a Reset Expression evaluates True, the timer value is reset andthe logic output is set to False.Range: True/FalseDefault: Blank

    7 th

    Start/Stop Expression (Expression monitored by the timer )The expression is a logic function comprising a collection of databasepoints and operands to determine the relationship between the points.Range: True/FalseDefault: Blank

    8 th

    Comment (Comment text field ) A text field is provided to describe the function of the digital point formaintenance or editing. The information is only visible in the CLT userinterface.Range: Up to 80 Unicode CharactersDefault: Blank

    9 th

    Example 4. Duration of overloadThis example illustrates the use of Timers in logic expressions.In this example we will create an alarm that will alert operators when the feeder has been overloaded for a period

    exceeding 4 hours. We will use the Overload feature created in Example 3 and add a timer to it.

    Custom Data point DescriptionCustom Digital 03 This is a custom logic point created in a previous example. It is asserted

    when the load current in any phase exceeds the level set in CustomVariable 01 (400A). The point resets when the load current on all phasesare less than Custom Variable 02 (390A). These values can be changed viaprotocol.

    In the Timers Worksheet configure point 01 to the following.Name Change Custom Timer 01 to Overload duration.Type De-bounce TimerResolution 1 hourDuration 4Start/StopExpression

    Custom Digital 03

    Custom Timer will be asserted when the overload current exceeds 4 hours.

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    22/36

    Custom Logic Tool (ADVC2-3001) Page 22 Schneider Electric

    5 Logic expressions5.1 Logic Expression Builder interface

    5.1.1 IntroductionThe Logic Expression Builder is used to add points and operands tothe expression field in the Custom Logic Tool Worksheet interface.It is used to create two different types of logic expressions:

    Logic expressions and Action expressions.

    The Builder accessed from the Custom Logic Tool Worksheets byselecting the f x symbol. Figure 14 shows the typical expressionbuilder window comprising five main components. Thesecomponents are discussed in subsequent paragraphs. Availability ofthe first three components located on top depends on the type oflogic expression being created. The table below summarises theavailability.

    Logic expression Action expression1. Operand

    selection All 17 operands are

    availableNone are available

    2. Point valuecontrols None are available On, Off, andToggle areavailable

    3. Formattingcontrols

    Indent, New line,and Delete all text

    are available

    Delete all text isavailable

    4. The forth component, Data points, allows the user to search orbrowse to data points, select the data points for inclusion in theexpression and view a description of the data point.

    5. The fifth component, Filter Data Points, limits the availability ofdata points to only those supported by specific firmwareversions.

    Figure 14: Logic expression builder window

    5.1.2 Operands ToolboxThe following operands are available to describe the relationship ofdatabase points. This toolbox is only visible when creating logicexpressions. The use and behaviour of the different operands aredescribed in paragraph 5.2 .

    ( )To avoid ambiguity, parentheses are used to groupexpressions together. These expressions are resolvedfirst.

    AND Logic AND. OR Logic OR.

    NOT Logic NOT. + Mathematical PLUS

    - Mathematical MINUS Mathematical MULTIPLYMathematical DIVIDE = Analogue EQUAL TO

    Analogue NOTEQUAL TO XORLogic Exclusive OR

    < Analogue LESS THAN Analogue LESS THAN orEQUAL TO

    > Analogue GREATERTHAN Analogue GREATERTHAN or EQUAL TO

    Store Number Analogue STORE NUMBER is used toadd numerical values to the logicexpressions.

    Figure 15: Operands toolbox

    ?

    Point Value

    controlsOperandselection Formatting

    controls

    Data Points Find (search) Browse for points Select points

    View pointinformation

    Filter Data Points

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    23/36

    Custom Logic Tool (ADVC2-3001) Page 23 Schneider Electric

    5.1.3 Point Values ToolboxPoint Values are used to control the action of digital control points.This toolbox is only visible when creating action expressions.

    ON Turns the control point ON.OFF Turns the control point OFF.

    TOGGLEToggles the state of the control point. If itwas in the ON state the point is turned offand vice versa.

    Figure 16: Point values toolbox

    5.1.4 Formatting ToolboxThe formatting tools are used to alter the appearance of theexpressions in the expression window.

    INDENT indents the current line in the expressionwindow. This tool is not available when actions are beingcreated.NEW LINE inserts a new line in the expressionwindow. This tool is not available when actions are beingcreated.DELETE ALL TEXT deletes the contents of theexpression window.

    Figure 17: Formatting toolbox

    5.1.5 Data Points windowThe data points available in the specified firmware version aredisplayed in the Data Points window. It is important to know thatthere are two main groups of data points available:

    Status Data Points (used as inputs in logic expressions)

    Control Data Points (used to cause specific actions).There are two different types of status data points:

    Logic (True/False) Analogue.

    All the control data points are Logic (On/Off).Logic points have a symbol to identify the digital nature. Agroup of logic points are identified by the symbol.

    Analogue points have a symbol to identify the analogue nature. A group of analogue points are identified by the symbol.The Find feature is used to search the text names of the databasepoints and it will only display those points containing the text typedinto the Find field.

    All database points are contained in a three-tier structure. The +symbol is used to browse to the different tiers. Simply click on the+ to display the contents of the group.

    Figure 18: Data Points window

    5.1.6 Filter Data PointsThe Version Filter reduces the set of database points to only thoseavailable in the specified range of firmware.

    Figure 19: Filter data points

    5.2 OperandsSeventeen operands are provided to describe the relationship between database points in logic expressions. Thisparagraph describes the function of the different operands and illustrates its use with logic and analogue datapoints. There are three groups of operand:

    Logic Operands used with logic database points Analogue Operands used with analogue database points Mathematical Operands used to perform calculations on set values.

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    24/36

    Custom Logic Tool (ADVC2-3001) Page 24 Schneider Electric

    5.2.1 Logic OperandsLogic operands are used with logic database points. AND , OR , NOT and XOR are logic operands used toimplement Boolean functions. It performs a logic operation on one or more logic inputs and produces a single logicoutput. The table below summarises the function of the logic operands by showing the output of the differentoperands for the same inputs. A and B are digital database points.

    Database points Result of expressionA B NOT A NOT B A AND B A OR B A XOR B 0 0 1 1 0 0 00 1 1 0 0 1 11 0 0 1 0 1 11 1 0 0 1 1 0

    Operand DescriptionNOT When the database point is true, the result is false.AND If all the database points are true, the result is true.OR If one or more of the database points are true, the result is true.XOR The result is true if the database points are not equal.

    It is possible to simultaneously use different combinations of logic operands in one expression. Example: A AND B AND C

    A OR B OR C (A AND B) OR C NOT( A AND B AND C) (A XOR B) OR C

    5.2.2 Analogue OperandsThe analogue operands ( =, , andStore Number ) are used with analoguedatabase points. To illustrate the function anddifference between the operands, Figure 20 shows the behaviour of the differentoperands when applied to the same counterdatabase point. The counter counts up over aperiod of time and when used with each ofthe operands and a specific set value, willdeliver the results as shown.Store Number is used to add a fixed setvalue in the expression.For example:To create an expression where a counterpoint such as Operations Counter is greaterthan 1000, the following steps are required:1. Find the Operations counter database

    point in the expression builder.2. Add the point by double clicking on the

    point name.3. Select high alarm as the analogue

    logging option.4. Select the operand > to add it to the

    expresion.5. Select the operand Store Number and

    enter the number 1000 when prompted.The expression will look something like this:Operations Counter > 1000

    Figure 20: Analogue operands and a counter database point

    Set value

    =

    >

    400 The True/False state of Digital point yy is shown in red (when there is no reset expression).If the reset expression is defined = A Phase Current < 380 , the True/False state of Digital point yy is shown inblack.

    Figure 23: Analogue reset expression

    O N

    O F F

    O F F

    Digital point yy with reset expression

    400A380A

    A m p

    420A

    ton tmax toff time

    Digital point yy without reset expression

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    30/36

    Custom Logic Tool (ADVC2-3001) Page 30 Schneider Electric

    6 Loading CLT maps to the controllerMake the custom logic tool available in the switchgear file. TheCustom Logic Tool Available field is found under the General sectionof the Feature Selection Window in WSOS.

    When CLT is available in the switchgear a new option is added tothe switchgear explorer to access the Custom Logic Tool.Selecting the Custom Logic Tool option opens the window below.

    Click on the CLR Description field to select the map for theswitchgear.

    The adjacent window allows the user to select the Custom LogicTool Map from a list of *.clt files that exists on the personalcomputer. Select the file and click OK.

    This attaches the CLT map to the switchgear file. Save theswitchgear file and go online with the switchgear. In the OptionsMenu select Write Switchgear Settings to Switchgear, select theCLT Mapping option and follow the onscreen instructions to load themap to the controller.

    The Operator interface includes a field to display the name of the map in use. For the setVUE operator interface aCustom Logic page displays the Map name being used. In the flexVUE operator interface Engineering menu >Configuration menu > Custom Logic Menu the Custom Logic Map displays map name of the file being used.Both these pages are not visible when CLT feature is disabled from WSOS.

    7 Integrating custom logic pointsCLT provides a variety of Operands to describe the relationship between the selected database points in a Logic

    Expression. The results of the logic expressions are available via the Protocol Database to the CPMT, OCP andIOEX tools, significantly enhancing the status reporting via communications protocol, operator interface andinput/output devices.Figure 24 below demonstrates the relationship between the different customisation tools. Note how all the mapsare created separately based on the data contained in the protocol database. Each tool has its own operator guide.This guide focuses on the Custom Logic Tool (CLT).Note: This document often refers to a map for the different tools. Example CPMT map, OCP map, IOEX map,CLT map. In this context map refers to the file containing the logic expressions, input and output characteristicsand relations.

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    31/36

    Custom Logic Tool (ADVC2-3001) Page 31 Schneider Electric

    CPMT Tool (Protocol management)

    CPMTMap

    Figure 24: Custom Logic to communicate, control and indicate

    8 Event log entries

    The custom digital points are logged in the event log when the state of the point changes. The source for theseevents is CLT for Custom Logic Tool. The event log entry is of the format:Timestamp Logic point name ON/OFF

    Example: Timestamp Custom logic 01 ONWhen the user enables logging of the maximum/minimum values in logic expressions containing analoguedatabase points the event log entries are:Example: Timestamp1 High Power Alarm ON

    Timestamp2 High Power Alarm Max ValueTimestamp2 At time Max timeTimestamp2 High Power Alarm OFF

    In the above example High Power Alarm is the alias set by the user and ON when the point is asserted.

    Timestamp1 is when the alarm was turned ON. Timestamp2 is the time when the alarm was turned off. At thistimestamp three events are recorded. The first reports the maximum value, the second the time at which thismaximum was recorded and the third reports that the logic point was turned off. Max Value is the maximum value.When an action is linked to a virtual point, the event log will show the virtual point entry as described above plusthose events associated with the action. Example if the High Power Alarm virtual point above had associated withit the action to change the active protection to Protection Group C, the event log entries in WSOS would looksomething like this:Timestamp CLT High Power Alarm ONTimestamp CLT Protection Group (C) RequestedTimestamp Protection Group C ActiveThe source is shown in the event log when it is viewed on the flexVUE or setVUE operator interfaces.The event log can be filtered to only display CLT related events.

    OCP Tool (flexVUEOperator interface)

    IOEX Tool

    (Input/Output)

    CLT Tool (Custom logic)

    Protocoldatabase

    (331 points)

    &

    Customlogic points

    OCPMap

    IOEX

    Map

    LogicMap

    Logic

    Expressions & Actions

    IOEX 331 points

    OCP 331 points

    CPMT 331 points

    IOEXDevice

    flexVUEInterface

    ProtocolClient

    Computer with WSOS

    Reference material:The following manuals are available to assist in theoperation of the other configuration tools available inWSOS. Copies are located in:C:\Program Files\WSOS\

    CPMT manual.............................WSOS01-DOC-102IOEX manual.................................................N00-685Protocol database................... ADVC-PTCL-331.html

    ADVC Controller

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    32/36

    Custom Logic Tool (ADVC2-3001) Page 32 Schneider Electric

    9 Practical examples9.1 Analogue alarmsThe analogue alarms feature monitors a selection of analogue database points and alerts the remote user whenany of the parameters are outside the predetermined range.

    Parameter ValueFilename C:\Documents and Settings\All Users\Application Data\WSOS Switchgear Data\

    Custom Logic Tool\Analog Alarms.cltProduct All SwitchgearVersion Version A44-42.0Custom Logic Tool DigitalRow 1Name High Phase Current AlarmSetExpression

    ((A-Phase Current Custom Variable 01) OR(B-Phase Current Custom Variable 01) OR(C-Phase Current Custom Variable 01))

    ResetExpression

    ((A-Phase Current (Custom Variable 02 + (Custom Variable 01 - Custom Variable 02) 0.9)) AND(B-Phase Current (Custom Variable 02 + (Custom Variable 01 - Custom Variable 02) 0.9)) AND(C-Phase Current (Custom Variable 02 + (Custom Variable 01 - Custom Variable 02) 0.9)))

    Comment High Phase Current AlarmCustomLogic ToolVariableLogging

    A-Phase Current High Alarm 0.1 AmpsB-Phase Current High Alarm 0.1 AmpsC-Phase Current High Alarm 0.1 Amps

    Row 2Name Low Phase Current AlarmSetExpression

    ((A-Phase Current Custom Variable 02) OR(B-Phase Current Custom Variable 02) OR(C-Phase Current Custom Variable 02))

    ResetExpression

    ((A-Phase Current (Custom Variable 02 + (Custom Variable 01 - Custom Variable 02) 0.1)) AND(B-Phase Current (Custom Variable 02 + (Custom Variable 01 - Custom Variable 02) 0.1)) AND(C-Phase Current (Custom Variable 02 + (Custom Variable 01 - Custom Variable 02) 0.1)))

    Comment Low Phase Current Alarm

    CustomLogic ToolVariableLogging

    A-Phase Current Low Alarm 0.1 AmpsB-Phase Current Low Alarm 0.1 AmpsC-Phase Current Low Alarm 0.1 Amps

    Row 3Name High Phase to Phase Voltage AlarmSetExpression

    ((ABi Phase to Phase Custom Variable 03) OR(BCi Phase to Phase Custom Variable 03) OR(CAi Phase to Phase Custom Variable 03) OR(ABx Phase to Phase Custom Variable 03) OR(BCx Phase to Phase Custom Variable 03) OR(CAx Phase to Phase Custom Variable 03))

    ResetExpression

    ((ABi Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.9)) AND(BCi Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.9)) AND(CAi Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.9)) AND(ABx Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.9)) AND(BCx Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.9)) AND(CAx Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.9)))

    CommentCustomLogic ToolVariableLogging

    ABi Phase to Phase High Alarm 1 VoltsBCi Phase to Phase High Alarm 1 VoltsCAi Phase to Phase High Alarm 1 Volts

    ABx Phase to Phase High Alarm 1 VoltsBCx Phase to Phase High Alarm 1 VoltsCAx Phase to Phase High Alarm 1 Volts

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    33/36

    Custom Logic Tool (ADVC2-3001) Page 33 Schneider Electric

    Parameter ValueRow 4Name Low Phase to Phase Voltage AlarmSetExpression

    ((ABi Phase to Phase Custom Variable 04) OR(BCi Phase to Phase Custom Variable 04) OR(CAi Phase to Phase Custom Variable 04) OR(ABx Phase to Phase Custom Variable 04) OR(BCx Phase to Phase Custom Variable 04) OR

    (CAx Phase to Phase

    Custom Variable 04))ResetExpression

    ((ABi Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.1)) AND(BCi Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.1)) AND(CAi Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.1)) AND(ABx Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.1)) AND(BCx Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.1)) AND(CAx Phase to Phase (Custom Variable 04 + (Custom Variable 03 - Custom Variable 04) 0.1)))

    CommentCustomLogic ToolVariableLogging

    ABi Phase to Phase Low Alarm 1 VoltsBCi Phase to Phase Low Alarm 1 VoltsCAi Phase to Phase Low Alarm 1 Volts

    ABx Phase to Phase Low Alarm 1 VoltsBCx Phase to Phase Low Alarm 1 VoltsCAx Phase to Phase Low Alarm 1 Volts

    Row 5Name High Phase to EarthGround Voltage AlarmSetExpression

    ((Ai Phase to Earth/Ground Volts Custom Variable 05) OR(Bi Phase to Earth/Ground Volts Custom Variable 05) OR(Ci Phase to Earth/Ground Volts Custom Variable 05) OR(Ax Phase to Earth/Ground Volts Custom Variable 05) OR(Bx Phase to Earth/Ground Volts Custom Variable 05) OR(Cx Phase to Earth/Ground Volts Custom Variable 05))

    ResetExpression

    ((Ai Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.9)) AND(Bi Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.9)) AND(Ci Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.9)) AND(Ax Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.9)) AND(Bx Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.9)) AND(Cx Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.9)))

    CommentCustomLogic ToolVariableLogging

    Ai Phase to Earth/Ground Volts High Alarm 1 VoltsBi Phase to Earth/Ground Volts High Alarm 1 VoltsCi Phase to Earth/Ground Volts High Alarm 1 Volts

    Ax Phase to Earth/Ground Volts High Alarm 1 VoltsBx Phase to Earth/Ground Volts High Alarm 1 VoltsCx Phase to Earth/Ground Volts High Alarm 1 Volts

    Row 6Name Low Phase to EarthGround Voltage AlarmSetExpression

    ((Ai Phase to Earth/Ground Volts Custom Variable 06) OR(Bi Phase to Earth/Ground Volts Custom Variable 06) OR(Ci Phase to Earth/Ground Volts Custom Variable 06) OR(Ax Phase to Earth/Ground Volts Custom Variable 06) OR(Bx Phase to Earth/Ground Volts Custom Variable 06) OR(Cx Phase to Earth/Ground Volts Custom Variable 06))

    ResetExpression

    ((Ai Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.1)) AND(Bi Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.1)) AND(Ci Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.1)) AND(Ax Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.1)) AND(Bx Phase to Earth/Ground Volts (Custom Variable 06+(Custom Variable 05 - Custom Variable 06) 0.1)) AND(Cx Phase to Earth/Ground Volts (Custom Variable 06 + (Custom Variable 05 - Custom Variable 06) 0.1)))

    CommentCustomLogic ToolVariableLogging

    Ai Phase to Earth/Ground Volts Low Alarm 1 VoltsBi Phase to Earth/Ground Volts Low Alarm 1 VoltsCi Phase to Earth/Ground Volts Low Alarm 1 Volts

    Ax Phase to Earth/Ground Volts Low Alarm 1 VoltsBx Phase to Earth/Ground Volts Low Alarm 1 VoltsCx Phase to Earth/Ground Volts Low Alarm 1 Volts

    Row 7Name High EarthGround Current Alarm

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    34/36

    Custom Logic Tool (ADVC2-3001) Page 34 Schneider Electric

    Parameter ValueSetExpression

    (Earth/Ground Current Custom Variable 07)

    ResetExpression

    (Earth/Ground Current (Custom Variable 08 + (Custom Variable 07 - Custom Variable 08) 0.9))

    CommentCustomLogic ToolVariable

    Logging

    Earth/Ground Current High Alarm 0.1 Amps

    Row 8Name Low EarthGround Current AlarmSetExpression

    (Earth/Ground Current Custom Variable 08)

    ResetExpression

    (Earth/Ground Current (Custom Variable 08 + (Custom Variable 07 - Custom Variable 08) 0.1))

    CommentCustomLogic ToolVariableLogging

    Earth/Ground Current Low Alarm 0.1 Amps

    Row 9Name High System Power Alarm

    SetExpression

    ((Apparent Power-S Custom Variable 09) OR(Reactive Power-Q Custom Variable 09) OR(Real Power-P Custom Variable 09))

    ResetExpression

    ((Apparent Power-S (Custom Variable 10 + (Custom Variable 09 - Custom Variable 10) 0.9)) AND(Reactive Power-Q (Custom Variable 10 + (Custom Variable 09 - Custom Variable 10) 0.9)) AND(Real Power-P (Custom Variable 10 + (Custom Variable 09 - Custom Variable 10) 0.9)))

    CommentCustomLogic ToolVariableLogging

    Apparent Power-S High Alarm 1 kVAReactive Power-Q High Alarm 1 kVARReal Power-P High Alarm 1 kW

    Row 10Name Low System Power Alarm

    SetExpression ((Apparent Power-S Custom Variable 10) OR(Reactive Power-Q Custom Variable 10) OR(Real Power-P Custom Variable 10))

    ResetExpression

    ((Apparent Power-S (Custom Variable 10 + (Custom Variable 09 - Custom Variable 10) 0.1)) AND(Reactive Power-Q (Custom Variable 10 + (Custom Variable 09 - Custom Variable 10) 0.1)) AND(Real Power-P (Custom Variable 10 + (Custom Variable 09 - Custom Variable 10) 0.1)))

    CommentCustomLogic ToolVariableLogging

    Apparent Power-S Low Alarm 1 kVAReactive Power-Q Low Alarm 1 kVARReal Power-P Low Alarm 1 kW

    Row 11Name High NPS Current AlarmSetExpression

    (NPS Current Custom Variable 11)

    ResetExpression

    (NPS Current (Custom Variable 12 + (Custom Variable 11 - Custom Variable 12) 0.9))

    CommentCustomLogic ToolVariableLogging

    NPS Current High Alarm 0.1 Amps

    Row 12Name Low NPS Current AlarmSetExpression

    (NPS Current Custom Variable 12)

    ResetExpression

    (NPS Current (Custom Variable 12 + (Custom Variable 11 - Custom Variable 12) 0.1))

    CommentCustomLogic ToolVariableLogging

    NPS Current Low Alarm 0.1 Amps

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    35/36

    Custom Logic Tool (ADVC2-3001) Page 35 Schneider Electric

    Parameter ValueCustom Logic Tool VariableRow 1Name High Phase Current ThresholdSet Value 200.1OverrideValue

    On

    CommentRow 2Name Low Phase Current ThresholdSet Value 20.2OverrideValue

    On

    CommentRow 3Name High Phase to Phase Voltage ThresholdSet Value 10000OverrideValue

    On

    CommentRow 4Name Low Phase to Phase Voltage ThresholdSet Value 4000OverrideValue

    On

    CommentRow 5Name High Phase to EarthGround Voltage ThresholdSet Value 6500OverrideValue

    On

    CommentRow 6Name Low Phase to EarthGround Voltage ThresholdSet Value 2000OverrideValue

    On

    CommentRow 7Name High EarthGround Current ThresholdSet Value 200.0OverrideValue

    On

    CommentRow 8Name Low EarthGround Current ThresholdSet Value 1.8OverrideValue

    On

    Comment

    Row 9Name High System Power ThresholdSet Value 5400OverrideValue

    On

    CommentRow 10Name Low System Power ThresholdSet Value 500OverrideValue

    On

    CommentRow 11Name High NPS Current Threshold

    Set Value 100.0OverrideValue

    On

    CommentRow 12

  • 8/12/2019 Advc2-3001advc Custom Logic Tool r1.1 Web

    36/36

    Parameter ValueName Low NPS Current ThresholdSet Value 1.0OverrideValue

    On

    Comment

    9.2 Two Stage Low battery alarmThe two stage low battery alarm is used to detect when the battery capacity is depleted. And when the determinedlow voltage level is detected, the controller trips the attached switchgear. After the trip action the controller shutsdown due to the low power condition. If preferred the map can be modified to raise an alarm via protocol ratherthan trip the switchgear.

    Parameter ValueFilename C:\Documents and Settings\All Users\Application Data\WSOS Switchgear Data\

    Custom Logic Tool\Low Battery Voltage Alarm.clt Product All Switchgear Version Version A45-2.0 Custom Logic Tool Digital Row 1 Name Low Battery Voltage Alarm

    SetExpression (Battery Voltage Custom Variable 01) AND Auxiliary Supply Fail

    ResetExpression

    (Battery Voltage Custom Variable 02)

    Set Action OFF ACR/LBS Control Comment Low Battery Voltage Alarm CustomLogic ToolVariableLogging

    Battery Voltage High And Low Alarm 0.01 Volts

    Custom Logic Tool VariableRow 1 Name Low Battery Threshold Set Value 21.60 OverrideValue

    On

    Comment Low Battery Alarm Threshold Row 2 Name Low Battery Alarm Reset Set Value 22.60 OverrideValue

    On

    Comment Low Battery Alarm Reset Threshold


Recommended