Copyright This document and parts thereof must not be reproduced or copied without written per- mission from ABB, and the contents thereof must not be imparted to a third party, nor used for any unauthorized purpose. The software or hardware described in this document is furnished under a license and may be used, copied, or disclosed only in accordance with the terms of such license.
(EMC Directive 2004/108/EC) and concerning electrical equipment for use within specified voltage limits (Low-voltage directive 2006/95/EC). This conformity is the result of tests conducted by ABB in accordance with the product standards EN 50263 and EN 60255-26 for the EMC directive, and with the product standards EN 60255-1 and EN 60255-27 for the low voltage directive.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual • Lowercase letters are used for the name of a keyboard key that is not labeled on the keyboard. For example, the space bar, comma key, and so on. • Press CTRL+C indicates that you must hold down the CTRL key while pressing the C key (to copy a selected object in this case).
COM600 series 5.1 1MRS756738 Logic Processor User's Manual The information icon alerts the reader to relevant facts and conditions. The tip icon indicates advice on, for example, how to design your project or how to use a certain function. 1.8.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Term Description OPC item Representation of a connection to the data source within the OPC server. An OPC item is identified by a string <object path>:<property name>. Associated with each OPC item are Value, Quality, and Time Stamp.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual 1.10. Related documents Name of the manual MRS number COM600 User’s Manual 1MRS756125 COM600 Operator's Manual 1MRS756705 COM600 HMI Configuration Manual 1MRS756740 COM600 Data Historian Operator's Manual 1MRS756739 COM600 Sequence Control Configuration Manual...
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Introduction 2.1. General information about the COM600 series The COM600 product series are versatile Substation Management Units that help realize smart substation and grid automation solutions in industrial and utility distribution net- works.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual • COM600F is a dedicated distribution automation controller unit that runs dis- tributed grid and feeder applications for ANSI power networks and inherits all core features of the COM600 series. 2.3. Functional overview The Logic Processor function enables developing customer-specific automated applica- tions for COM600.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Logic Processor.bmp Figure 2.3-1 Functional overview of Logic Processor CoDeSys Control Win V3 runtime system is manufactured by 3S-Smart Software Solutions GmbH (www.3s-software.com). 2.4. Features Logic editor (CoDeSys V3 programming system) supports all five standard programming languages defined by the IEC 61131-3 standard: •...
Page 14
COM600 series 5.1 1MRS756738 Logic Processor User's Manual • Structured Text (ST) • Instruction List (IL) Logic editor also supports online debugging. CoDeSys Control Win V3 Runtime system includes the following features: • Loading and execution of the IEC 61131-3 applications •...
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Configuration 3.1. Overview of configuring Logic Processor The prerequisite is to have knowledge about logic programming and IEC 61131-3 standard. Also, CoDeSys programming environment must be installed from the SAB600 DVD to be able to use the Logic Editor in SAB600.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Add_Logic_Processor_IED.bmp Figure 3.2-1 Adding a Logic Processor IED 3.3. Logic editor 3.3.1. Creating the logic in the CoDeSys programming environment Logic Processor IED must be added to the communication structure before starting the Logic Processor CoDeSys pro- gramming environment.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Default_POU.bmp Figure 3.3.1-1 Default POU in the CoDeSys project You can modify the existing POU and add more POUs under the device. CoDeSys pro- gramming help is available from the Help menu.
Page 18
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Sample_PLC_PRG_POU.png Figure 3.3.2-1 Sample PLC_PRG POU with variables To add a symbol configuration: 1. Select Application in the Device tree. 2. Right-click Application. 3. Select Add Object. 4. Select Symbol configuration. A new Symbol Configuration object is added under Application and the symbol configuration editor opens.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual 3.3.3. Add POU to Application MainTask A PLC Application comprises of one or more POUs (PLC Programs). After creating a POU to the application, add it to Application Maintask for execution. To add a POU to Application’s maintask: 1.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Selecting_POU_MainTask.png Figure 3.3.3-2 Selecting POU to add to main task 3.3.4. Setting device path Before downloading a PLC Application to Logic Processor (CoDeSys Control Win V3 Runtime) in COM600, an active Device path must be set between Logic Editor and Logic Processor.
Page 21
1MRS756738 COM600 series 5.1 Logic Processor User's Manual 2. In the Device configuration editor under Communication Settings tab, click the Gateway drop-down button and then click Manage gateways …. Manage_Gateways.png Figure 3.3.4-2 Manage Gateways 3. In the Manage gateways window, click Add to add a Gateway using the IP Address of the COM600 being used.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Select_Device_Active_Path.png Figure 3.3.4-3 Select Device Active Path to COM600 6. Once the active path is set, the Device Communication Settings page should show up as below. Further downloads can be accomplished by login to device.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual 2. Select Online from the menu bar in Logic Editor, and click Login to connect to Logic Processor in COM600. Then Further prompts should appear to automatically download the application. Click Yes and continue.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual 3.4. Making cross-references After logging out from the device, you can close the CoDeSys programming environment and launch the Cross References tool to build a cross-reference between the COM600 communication structure and Logic Processor variables.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Adding_Cross-references.png Figure 3.4-2 The Cross references tool 4. Click the desired Data attribute in the tree, and click Apply to confirm the change change in the table. 5. The Direction field is used for setting the direction of the value transfer, either from data object data attribute to logic variable (->) or from logic variable to data object...
Page 26
COM600 series 5.1 1MRS756738 Logic Processor User's Manual and/or, • Transferring data from a PLC Application to an OPC communication server (for example DNP/IEC6 1850) to initiate a control mechanism to a desired outcome, based on the logic defined in the PLC Application.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Assigning_symbols_to_Virtual_Data_Objects.png Figure 3.5-1 Assigning symbols to Virtual Data Objects 3.6. Downloading Logic Processor OPC Server configuration When communication configuration of IEDs, logic configuration of Logic Processor, and the cross-references between them are done, go to SAB600, select Management on Gateway, and download the configuration to COM600.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Application example 4.1. Logic requirement The following is an example of building PLC logic in COM600, and not intended to implement a complete breaker failure protection logic. An example project is provided on the SAB600 installation CD.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual 1. Each REF615 has a breaker failure protection. Each REF615 uses DNP 3.0. 2. Assume there is a fault F1 on Feeder #1. 3. Normally, REF615 protecting Feeder #1 should detect the fault and send an OPEN/Trip command to Bkr-2.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Add one DPC data object (Pos) to read and control the switch. Add one SPS data object (BreakFailure) to read break failure signal. 6. In breaker 3 IED, add a logic node Brk3CSWI1.
Page 31
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Adding_Function_Block_Diagram.png Figure 4.4-1 Adding a function block diagram 7. Click Add to create a new POU. 8. A further Function Block Diagram editor window opens for the new program. The Function Block diagram is a graphically-oriented programming language. It...
Page 32
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Adding_R_TRIG.png Figure 4.4-2 Adding R TRIG 10. Insert a rising edge detector to catch the breaker failure signal. Select R_TRIG, a rising edge detection function block from the Function blocks catalog, and drag and drop it to the Function Block Diagram editing area.
Page 33
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Declaration_Part_FBD.png Figure 4.4-4 Declaration part of the Function Block Diagram In the declaration part of the diagram, the br2Failure variable is defined as a Boolean variable and initialized to FALSE. 15. Add a second function block in the ToolBox by selecting the RS (Reset Set function block) from the Boolean Operators catalog and dragging and dropping it to the output point of the R TRIG object.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Logic_trip.bmp Figure 4.4-6 Failure Protection Logic In this Function Block Diagram, the first row is to catch the rising edge of breaker 2 failure and check Reset signals. The second and third row are to generate an On/Off square wave (Tripping signal) from a break failure status by using Timer Pulse, Timer and XOR gate function blocks.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Add_POU_to_MainTask.png Figure 4.5-1 Adding POU to MainTask 4.6. Add Symbol Configuration To configure symbols from POU: 1. Right-click Application in the Device Tree. Select Add Object > Symbol Config- uration. 2. A Symbol Configuration object is added to Application and Symbol Configuration Editor opens.
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Add_Symbol_Configuration.png Figure 4.6-1 Add Symbol Configuration 4.7. Setting device path To setup Logic Editor to communicate with Logic Processor in COM600: 1. Double-click Device in the Devices Window. The Device Editor opens showing Communication Settings tab.
1MRS756738 COM600 series 5.1 Logic Processor User's Manual Device_Communication_Settings_Active_Path.png Figure 4.7-1 Device Communication Settings after setting active path 4.8. Building and activating the application 1. Select Build > Build to compile the project. All objects belonging to the application is syntactically checked. Any potential error messages or warnings are displayed within the message view.
Page 38
COM600 series 5.1 1MRS756738 Logic Processor User's Manual Importing_LP_variables.png Figure 4.9-1 Importing Logic Processor variables 3. From the communication structure, select the appropriate data objects and drag and drop to each of the symbols available. Once a data object is dragged and dropped...