Controlwave designer инструкция на русском

Emerson ControlWave Instruction Manual

  • Contents

  • Table of Contents

  • Troubleshooting

  • Bookmarks

Quick Links

Instruction Manual

Document: CI-ControlWave

Part: D301381X012

November 2010

ControlWave Process Automation

Controller

Remote Automation Solutions

www.EmersonProcess.com/Remote

ControlWave

loading

Related Manuals for Emerson ControlWave

Summary of Contents for Emerson ControlWave

  • Page 1
    Instruction Manual Document: CI-ControlWave Part: D301381X012 ControlWave November 2010 ControlWave Process Automation Controller Remote Automation Solutions www.EmersonProcess.com/Remote…
  • Page 2
    These instructions may not cover all details or variations in equipment or cover every possible situation to be met in connection with installation, operation or maintenance. Should problems arise that are not covered sufficiently in the text, the purchaser is advised to contact Emerson Process Management, Remote Automation Solutions division (RAS) for further information.
  • Page 3
     Know your system. As you know, a well-trained staff is essential to your operation. Emerson offers a full schedule of classes conducted by full-time, professional instructors. Classes are offered throughout the year at various locations. By participating in our training, your personnel can learn how to install, calibrate, configure, program and maintain your Emerson products and realize the full potential of your system.
  • Page 4
    This page is intentionally left blank…
  • Page 5: Table Of Contents

    Analog Output (AO) Modules ………………..3-24 Universal Digital Input (UDI) Modules………………3-29 Isolated Resistance Temperature Device (RTD) Input Module ……….3-35 3.10 Isolated Low Level Analog Input (LLAI) Module …………..3-39 Chapter 4 – Operation Powering Up/Powering Down the ControlWave ……………4-1 Issued Nov-2010 Contents…

  • Page 6: Service

    Communicating with the ControlWave………………4-2 4.3.1 Default Comm Port Settings ………………4-2 4.3.2 Collecting Data from the ControlWave…………….4-3 Creating and Downloading an Application (ControlWave Project) ………..4-3 Creating and Maintaining Backups ……………….4-4 4.5.1 Creating a Zipped Project File (*.ZWT) For Backup ………….4-5 4.5.2 Saving Flash Configuration Parameters (*.FCP) …………4-6 4.5.3 Backing up Data………………….4-8…

  • Page 7: Chapter 1 — Introduction

    ControlWave Instruction Manual (CI-ControlWave) Chapter 1 – Introduction  This manual focuses on the hardware aspects of the ControlWave Process Automation Controller (called the “ControlWave” throughout the rest of this manual). For information about the software used with the ControlWave, refer to the ControlWave Quick Setup Guide (D5084), the ControlWave Designer Programmer’s Handbook (D5125), and the…

  • Page 8: Scope Of The Manual

    Troubleshooting troubleshooting procedures. 1.2 Physical Description Each ControlWave has a printed circuit board (PCB) backplane mounted in a stainless steel housing, a Power Supply/Sequencer Module (PSSM), a CPU module which may include an optional Secondary Communication Board (SCB) and—depending on the backplane and housing size—up to eight I/O modules.

  • Page 9: Housings

     One or more I/O modules (see Section 1.6 and Chapter 3) 1.3 Housings ControlWave housings are stainless steel designed for panel-mounting or for some versions, for mounting in a 19-inch equipment rack. They contain the printed circuit board (PCB) backplane into which you connect the PSSM, the CPU module, and any I/O modules.

  • Page 10: Controlwave Housing Options

    ControlWave Instruction Manual (CI-ControlWave) Figure 1-2. ControlWave Housing Options Introduction Revised Nov-2010…

  • Page 11: Cpu Module

    CWPAC available on our website http://www.emersonprocess.com/remote. 1.4 CPU Module The CPU (central processing unit) module houses the multi-layer PCB, which contains the ControlWave CPU, I/O monitor/control, memory, and communication functions. It also may include the optional Secondary Communications Board (SCB). The CPU module includes: …

  • Page 12
    The CPU module contains 64MB of synchronous dynamic random access memory (SDRAM). SDRAM holds the running application (ControlWave project) as well as a copy of system firmware and the current values of any variables not marked RETAIN or stored in the static memory area.
  • Page 13: Power Supply/Sequencer Module (Pssm)

    Chapter 2 includes instructions for installing and configuring the PSSM. 1.6 I/O Modules The ControlWave supports analog input, analog output, digital input, digital output, universal digital input, isolated RTD, and isolated low level analog input modules for either local or remote field device wiring termination.

  • Page 14: Software Tools

    Software Tools The ControlWave programming environment consists of a set of integrated software tools which allow you to create, test, implement, and download complex control strategies for use with the ControlWave. Figure 1-4 graphically presents the programming environment. Introduction Revised Nov-2010…

  • Page 15: Controlwave Programming Environment

    (document D5084), and the ControlWave Designer Programmer’s Handbook (document D5125).  The I/O Configurator, accessible via a menu item in ControlWave Designer, allows you to define process I/O modules in the ControlWave and configure the individual mapping of I/O points for For information on the I/O digital and analog inputs and outputs.

  • Page 16
    Internet Protocol (IP) — You can use an Ethernet port or use a serial port using serial IP using Point-to-Point Protocol (PPP). Other supported protocols include: Modbus, Allen-Bradley DF1, CIP, DNP3, and Hex Repeater. See the ControlWave Designer online help for details and restrictions. 1-10…
  • Page 17: Chapter 2 — Installation

    ControlWave Instruction Manual (CI-ControlWave) Chapter 2 – Installation This chapter discusses the physical configuration of the ControlWave, considerations for installation, wiring instructions for the PSSM module, and instructions for setting switches and jumpers on the CPU module. For instructions on I/O installation, see Chapter 3.

  • Page 18: Class I, Div 2 Installation Considerations

    Make sure that the ControlWave is not exposed to a level of vibration that exceeds that provided in the technical specifications.. Placement of the ControlWave in Class 1, Division 2 (Group A, B, C, and Caution D) hazardous locations requires that you select an appropriate enclosure that meets NEMA Type 3X or 4X specifications.

  • Page 19: Unpacking Components

    Adding the ControlWave to an OpenBSI network Downloading the application-specific ControlWave project into the ControlWave : Steps 2 through 7 require that you install and use ControlWave Note Designer software on your PC. This manual focuses on hardware installation and preparation. Software installation and configuration is beyond the scope of this manual.

  • Page 20: Color Coding Of Slot Connectors

    I/O modules go in any other slot (Green tab)  2.2.3 Mounting the Housing You can install a ControlWave equipped with a 4-I/O module housing on a wall or panel. See Figure 2-2 for mounting hole patterns for a 4- I/O unit.

  • Page 21
    ControlWave Instruction Manual (CI-ControlWave) Figure 2-1. 8-I/O Module ControlWave — Mounting Diagram Revised Nov-2010 Installation…
  • Page 22: Grounding The Housing

    Once you install the housing, you must run a ground wire between the housing ground lug and a known good earth ground. When you install the various ControlWave modules into the housing and secure them using the captured panel fasteners, this automatically connects them to chassis ground.

  • Page 23: Power Supply/Sequencer Module (Pssm)

    ControlWave Instruction Manual (CI-ControlWave) : After you install the PSSM in the housing, as an added Note precaution we recommend that you run a #14 AWG wire from the TB2-5 power connection (chassis ground) to the same known good earth ground.

  • Page 24
    ControlWave Instruction Manual (CI-ControlWave) Figure 2-3. Power Supply/Sequencer Module (PSSM) Installation Revised Nov-2010…
  • Page 25: General Information About The Pssm

    ControlWave enters a “watchdog” condition in which the CPU cannot control your process. This occurs on power-up before the ControlWave project starts, if the unit is reset, if the ControlWave project “crashes” or if the system loses power. See Section 2.3.5.

  • Page 26: General Wiring Guidelines

    TB1 and TB2 to the PSSM until after you install, wire, and configure the CPU module. Follow the instructions in Section 2.3.3 General Wiring Guidelines when wiring connections. The ControlWave operates from +22.2 Vdc to +30.0 Vdc (with a Operating nominal +24Vdc input source). Range…

  • Page 27
    6 LLAI Module See table (no surge current) So, for example, if you have a ControlWave with a 16AI module, an 8AO module, and a 32DI module, the maximum current draw is 1A for the CPU plus 2A for the 16AI module plus 1A for the 8AO module and 1A for the 32DI module, for a total of 5A.
  • Page 28: Steady State Current Draw For Bulk Power Supplies

    ControlWave Instruction Manual (CI-ControlWave) Table 2-1. Steady State Current Draw for Bulk Power Supplies Component(s) System Current Field Current draw for Notes draw for 24Vdc 24Vdc Power Supply Power Supply CPU (with Ethernet), 290 mA Not applicable PSSM and backplane…

  • Page 29
    ControlWave Instruction Manual (CI-ControlWave) Figure 2-4 shows the typical wiring at the PSSM’s TB1 block. Figure 2-4. PSSM Wire Routing Diagram : As an added precaution, we recommend that you run a #14 Note AWG wire from the TB2-5 power connection (chassis ground) to the same known good earth ground used for the housing.
  • Page 30
    ControlWave Instruction Manual (CI-ControlWave) Figure 2-5. PSSM TB2 – Typical Wiring Schemes 2-14 Installation Revised Nov-2010…
  • Page 31: Wiring An External Alarm Or Annunciator To The Watchdog Connector And Wiring The Redundancy Control Input (Optional)

    Watchdog of the watchdog connector is to trigger an external alarm or annunciator Condition if the ControlWave enters a “watchdog” condition in which the CPU cannot control your process. A watchdog condition occurs when: A watchdog timer expires. This happens if the ControlWave project …

  • Page 32: Watchdog Mosfet Switch Wiring

    ControlWave Instruction Manual (CI-ControlWave) You must power the watchdog connector (TB1) from an external power Terminal Block supply. Unplug removable connector TB1 from the PSSM and wire Connector TB1 power to the connector. We recommend you do not plug the connector back into the PSSM until the CPU module is already installed in the housing.

  • Page 33: Controlwave To Controlwave Red I/O Redundancy Field Wiring

    ControlWave Instruction Manual (CI-ControlWave) Figure 2-7. ControlWave to ControlWave RED I/O Redundancy Field Wiring Revised Nov-2010 Installation 2-17…

  • Page 34: Cpu Module

    ControlWave Instruction Manual (CI-ControlWave) 2.4 CPU Module The CPU module, which controls the ControlWave and handles memory and communication functions, can only be installed in Slot #2 of the ControlWave backplane. Identify the carton holding the CPU module and remove it from that carton.

  • Page 35: Setting Dip Switches On The Cpu Module

    ControlWave Instruction Manual (CI-ControlWave) Figure 2-9. ControlWave CPU Module (with SCB) 2.4.1 Setting DIP Switches on the CPU Module Before you install the CPU module, you must determine the settings for its DIP switches. Refer to Figure 2-8 for the location of the DIP switch banks on the CPU board itself.

  • Page 36: Soft Switches

    OFF (Redundancy Enabled. This ControlWave is one of two in a redundant pair) Unit A / Unit B Specifies whether this ControlWave is the “A” or “B” unit in a redundant pair. Values are: ON (“A” unit in the redundant pair; factory default) OFF (“B”…

  • Page 37: Cpu Module Switch Sw3

    ControlWave Instruction Manual (CI-ControlWave) Table 2-3. CPU Module Switch SW3 SW3 Setting Function Mode Not currently used. System Enables / disables remote system firmware upgrade via Firmware load System Firmware Downloader: control ON (disables remote system firmware upgrade) OFF (enables remote system firmware upgrade; factory…

  • Page 38: Connections To Rs-232 Serial Port(S)

    RS-232 port, depending upon the type of SCB. RS-232 COM ports are assigned names based on their location in the RS-232 COM ControlWave. The CPU board has two RS-232 ports (COM1 and Port Names and COM2). See Table 2-5.

  • Page 39
     purchase RJ45 to DB9 Adapter cable(s) using part number 392844- 01-0 to use with the null modem cable. : You can configure the ControlWave as either a master or slave Note node on a BSAP network. Figure 2-10 illustrates the CPU module’s male 9-pin D-type connector.
  • Page 40: Male Db9 9-Pin Connector

    ControlWave Instruction Manual (CI-ControlWave) Figure 2-10. Male DB9 9-Pin Connector Table 2-7. COM1 & COM2 RS-232 Port Connector Pin Assignment RS-232 Signal RS-232 Description Data Carrier Detect Input Receive Data Input Transmit Data Output Data Terminal Ready Output Signal/Power Ground…

  • Page 41: Full-Duplex And Half-Duplex Cable

    Clear to Send Input Data Terminal Ready Output Signal/Power Ground Use the “null modem” cable for full-duplex (PPP protocol) communications when connecting a ControlWave to a PC. (See top part of Figure 2-12.) CW or PC 9-Pin Female 9-Pin Female “D”…

  • Page 42: Connecting To A Modem Or Radio

    ControlWave Instruction Manual (CI-ControlWave) 3305/3310/3330/3335/CW_10/30/35 9-Pin Male 9-Pin Female “D” Connector “D” Connector 1 = DTR 1 = DCD To P2 Pin-1 6 = CTS Full-duplex 2 = TXD 2 = RXD To P2 Pin-2 7 = DCD To P2 Pin-4…

  • Page 43: Connections To Rs-485 Serial Port(S) On Secondary Communication Board (Scb)

     : Control DTR using the PORTCONTROL function block and Note the _Pn_AUTO_DTR system variable in your ControlWave project. If you turn DTR off through these mechanisms, the port remains off, even though hardware is fully configured. When port is set for half-duplex operation, CTS must go low after …

  • Page 44
    Wire the master node to one end of the RS-485 cable run using a 24-gauge paired conductor cable (such as a Belden 9843). : ControlWave only supports half-duplex RS-485 networks. Note Table 2-12. RS-485 Network Connections…
  • Page 45: Connections To Ethernet Port(S) On The Cpu Module

    2.4.4 Connections to Ethernet Port(s) on the CPU Module The ControlWave can support from one to three Ethernet ports. These use a 10/100Base-T RJ-45 modular connector that provides a shielded twisted pair interface to an Ethernet hub. Two LEDs per port provide transmit and receive status indications: Table 2-13 shows port assignments for the Ethernet ports.

  • Page 46: Bezels

    ControlWave Instruction Manual (CI-ControlWave) 10/100Base-T connectors. Figure 2-17. Standard 10/100Base-T Ethernet Cable (CPU Module to Hub) Table 2-14. Ethernet 10/100Base-T CPU Module Pin Assignments Description Transmit Data+ (Output) Transmit Data– (Output) Receive Data+ (Input) Not connected Not connected Receive Data– (Input)

  • Page 47: Bezel Assembly

    ControlWave Instruction Manual (CI-ControlWave) You should install the bezel whenever the ControlWave is operational. The bezel includes a door you can open to access the PSSM and CPU modules. If necessary, you can remove the bezel for maintenance procedures. To install the bezel, align the snaps on the bezel with the corresponding holders on the chassis.

  • Page 48
    This page is intentionally left blank…
  • Page 49: Chapter 3 — I/O Modules

    3.10 Isolated Low Level Analog Input (LLAI) Module ……3-39 Installation Installing any I/O module in the ControlWave involves the same basic steps: Remove the I/O module from the shipping carton. I/O modules include a removable terminal housing assembly. This assembly has a door that swings downward to provide access to the unit’s terminal…

  • Page 50: Terminal Housing Assembly Removal

    Replace the module’s terminal housing assembly. Figure 3-1. Terminal Housing Assembly Removal Using a PC running the ControlWave Designer and OpenBSI software, configure the ControlWave to accept the new I/O modules and download the revised ControlWave project. Note: This step is beyond the scope of this manual. Refer to the ControlWave Designer Programmer’s Handbook (D5125)

  • Page 51: Module Placement

    The ControlWave process automation controller supports “hot Caution swapping” of I/O modules, but before any I/O modules can become operational, you must use ControlWave Designer to configure the project to accept the new I/O module, and then compile and download the revised application (project).

  • Page 52: Status Leds

    ControlWave Instruction Manual (CI-ControlWave) Figure 3-2. ControlWave Chassis Slot Assignments (with/without bezel shown) 3.2 Status LEDs Most of the I/O modules include one or more light emitting diodes (LEDs) to provide diagnostic or status indications. See Chapter 5 for information on the different LEDs.

  • Page 53: Local Termination

    DIN-rail mounted terminal assembly and then to field devices). ControlWave I/O modules use compression-type terminals that accommodate up to #14 AWG wire. Insert the wire’s bared end (approx. ¼” max) into the clamp beneath the screw and secure the wire. To prevent shorts, ensure that no bare wire is exposed.

  • Page 54: Remote Termination

    ControlWave Instruction Manual (CI-ControlWave) 3.2.2 Remote Termination For I/O modules that support remote terminations, install cables between the module’s remote headers and the remote DIN-rail mounted terminal block assemblies (see Figure 3-4). Install field wiring between the DIN-rail mounted terminal bock assembly and field devices (see the wiring diagrams associated with each I/O module description).

  • Page 55
    ControlWave Instruction Manual (CI-ControlWave) Figure 3-4. I/O Module (Remote Termination) Wire Routing Revised Nov-2010 I/O Modules…
  • Page 56: Digital Input (Di) Modules

    +21Vdc power supply (dry contacts). Note: Early versions of ControlWave DI modules required you to specify either internal or external sourcing for all DIs when you ordered the module; now you can set this yourself using jumpers on a per DI basis.

  • Page 57
    ControlWave Instruction Manual (CI-ControlWave) for use in dry contact applications contain a +21 Vdc isolated power supply powered through an output of the hot swap circuitry which receives power originating on the backplane. Setting Jumpers You must set configuration jumpers for each DI. according to Table 3- 3.
  • Page 58: Di Module — Local Terminal Block Assembly Assignments

    ControlWave Instruction Manual (CI-ControlWave) Figure 3-6. DI Module — Local Terminal Block Assembly Assignments Figure 3-7. Internally Sourced DI Module — Wiring Diagram Figure 3-8. Externally Powered DI Module — Wiring Diagram 3-10 I/O Modules Revised Nov-2010…

  • Page 59: Remote Din-Rail Mountable

    FUSES: F0 to F7: 1/8A, F+: 2A Figure 3-9. Remote DIN-Rail Mountable Terminal Block Assembly Assignments Software Configuration To use data from any ControlWave DI module you must add a CW_DI32 board in ControlWave Designer’s I/O Configurator, and then configure it. See the ControlWave Designer Programmer’s Handbook (D5125) for more information.

  • Page 60: Remote Din-Rail Mountable Terminal Block Assembly Assignments For Relay Isolated 120Vac Di Operation

    ControlWave Instruction Manual (CI-ControlWave) Figure 3-10. Remote DIN-Rail Mountable Terminal Block Assembly Assignments for Relay Isolated 120Vac DI Operation 3-12 I/O Modules Revised Nov-2010…

  • Page 61: Digital Output (Do) Modules

    ControlWave Instruction Manual (CI-ControlWave) 3.5 Digital Output (DO) Modules DO modules provide 32 or 16 DOs to control signaling functions. DO modules consist of a DO PCB with either a terminal block assembly (for local termination) or a header block assembly (for remote termination).

  • Page 62: Local Terminal Block Assembly

    ControlWave Instruction Manual (CI-ControlWave) module with failed hardware. For critical processes, the redundant DO with read-back capability is recommended. Use the same DO module type in any redundant pair; do not install a DO with read-back module in the primary controller and a standard DO module as its redundant counterpart in the backup controller, or vice versa.

  • Page 63: Assignments For Open Source

    ControlWave Instruction Manual (CI-ControlWave) FUSES: F0 to F7: 1A, F+: 2A Figure 3-13. Remote DIN-Rail Mountable Terminal Block Assembly for Open Source Isolated DO Operation Assignments Revised Nov-2010 I/O Modules 3-15…

  • Page 64
    Figure 3-14. Remote DIN-Rail Mountable Terminal Block Assembly Assignments for Relay Isolated 24Vdc DO Operation Software Configuration To use data from any ControlWave DO module you must add a CW_DO32 board in ControlWave Designer’s I/O Configurator, and then configure it. See the ControlWave Designer Programmer’s…
  • Page 65
    DO module and the standby DO module are handled in redundant systems with DO readback. Information on configuring system variables is included in the ControlWave Designer Programmer’s Handbook (D5125). If there is a discrepancy between the value of the online and standby DOs, the system sets a status variable to TRUE.
  • Page 66
    ControlWave Instruction Manual (CI-ControlWave) failover to the standby. When you set this system variable to FALSE, the system treats a DO readback failure in the associated device as an error; failover is inhibited. When you set this variable to TRUE, the system treats a DO…
  • Page 67: Analog Input (Ai) Modules

    Surge suppression and signal conditioning. Cable Shields Connect cable shields associated with AI wiring to the ControlWave housing ground. Multiple shield terminations require that you supply a copper ground bus (up to a #4 AWG wire size) and connect it to the housing’s ground lug.

  • Page 68: Internally Sourced 4-20Ma

    ControlWave Instruction Manual (CI-ControlWave) Table 3-7 Analog Input Module Configurations Part Number Number of AIs Termination Notes Connector 4-20 mA 396352-01-4 Local 4-20 mA 396352-03-0 Local 4-20 mA 396352-11-1 Remote 4-20 mA 396352-13-8 Remote 396352-14-6 Remote 1-5 Vdc Wiring the Module Figure 3-18 shows terminal assignments for a locally terminated AI module;…

  • Page 69: Externally Powered Isolated

    Figure 3-17. Externally Powered Isolated 1-5 Volt AI — Wiring Diagram Figure 3-18. Local AI Module Terminal Blocks Assembly Assignments Software Configuration To use data from any ControlWave analog input module you must add a CW_AI16 board in ControlWave Designer’s I/O Configurator, and then configure it.

  • Page 70
    ControlWave Instruction Manual (CI-ControlWave) FUSES: F0, F2, F4, F6: 1/8A for 4-20 mA AI Figure 3-19. Remote DIN-Rail Mountable Terminal Block Assembly Assignments Operation 3-22 I/O Modules Revised Nov-2010…
  • Page 71
    ControlWave Instruction Manual (CI-ControlWave) FUSES: F0, F2, F4, F6: 1/8A for 1-5V AI Figure 3-20. Remote DIN-Rail Mountable Terminal Block Assembly Assignments Operation Revised Nov-2010 I/O Modules 3-23…
  • Page 72: Analog Output (Ao) Modules

    ControlWave Instruction Manual (CI-ControlWave) 3.7 Analog Output (AO) Modules AO modules support eight 4–20 mA analog outputs. AO modules consist of an AO PCB (with a daughter board when configured for read- back) an LED board, a terminal housing assembly, as well as I/O assembly and mounting hardware.

  • Page 73
    ControlWave Instruction Manual (CI-ControlWave) Table 3-9. Analog Output Module Configurations Part Number Number of Termination Notes Connector 4-20mA 396353-01-0 local 4-20mA 396353-11-8 remote 396353-20-7 remote 4-20mA AO Readback on this module Wiring the Module Figure 3-21 shows field wiring assignments for a locally terminated AO module.
  • Page 74
    ControlWave Instruction Manual (CI-ControlWave) FUSES: F0, F2, F4, F6: 1/8A for AO 4-20mA Figure 3-22. Remote DIN-Rail Mountable Terminal Block Assembly Assignments Operation 3-26 I/O Modules Revised Nov-2010…
  • Page 75
    ControlWave Instruction Manual (CI-ControlWave) Figure 3-23. 4-20mA Current Loop AO — Wiring Diagrams Software Configuration To use data from any ControlWave analog output module you must add a CW_AO8 board in ControlWave Designer’s I/O Configurator, and then configure it. See the ControlWave Designer Programmer’s Handbook (D5125) for more information.
  • Page 76
    You should configure these variables as alarms so you receive notification of a failure of the backup AO module. See the ControlWave Designer online help for information on alarm configuration. When a read-back failure occurs, the FAIL LED remains RED until the…
  • Page 77: Universal Digital Input (Udi) Modules

    ControlWave Instruction Manual (CI-ControlWave) 3.8 Universal Digital Input (UDI) Modules Universal Digital Input (UDI) modules include six inputs which you can individually configure as high speed counters or polled inputs. UDI modules consist of a UDI PCB, either a terminal board assembly…

  • Page 78: Jumper Locations

    ControlWave Instruction Manual (CI-ControlWave) Table 3-11. UDI Module Configurations Part Number Number of UDIs Termination Connector 396362-02-8 local 396362-12-5 remote Setting Jumpers Each input has a jumper to enable/disable debounce. Enabling debounce activates filters that reduce spurious pulses caused by relay contact bounce.

  • Page 79
    ControlWave Instruction Manual (CI-ControlWave) Table 3-12. Jumper Assignments: UDI Module Jumper Purpose Description Configures UDI1 Pins 1-2 installed = Enable Debounce (Factory default). A change of state on both the SET and RST (reset) field inputs is required to accumulate counts.
  • Page 80: Terminal Block Assembly

    ControlWave Instruction Manual (CI-ControlWave) Terminal Block Assembly Assignments FIELD Field CIRCUITRY UDI Operation HSCSET HSCCOM +HSCSET1 +HSCSET2 HSCCOM1 HSCCOM2 +HSCRST1 +HSCRST2 HSCRST +HSCSET3 +HSCSET4 HSCCOM3 HSCCOM4 ‘A’ +HSCRST3 +HSCRST4 +HSCSET5 +HSCSET6 Relay Contact HSCCOM5 HSCCOM6 +HSCRST5 +HSCRST6 FIELD Field CIRCUITRY…

  • Page 81: Terminal Block Assembly

    ControlWave Instruction Manual (CI-ControlWave) Cable Assembly (One of 2 Cables) End of cable that interfaces with Remote UDI Module’s Header Block Assembly End of cable that interfaces with Remote UDI Module’s DIN-Rail Mountable Terminal Block Assembly From P1 From P2…

  • Page 82: Selecting Input Type In

    ControlWave Designer’s I/O Configurator, and then configure it. The I/O Configurator is where you specify the usage for each input using the Select Filter list box. Figure 3-29. Selecting Input Type in ControlWave Designer I/O Configurator Choose one of the following: “HSC Channel”…

  • Page 83: Isolated Resistance Temperature Device (Rtd) Input Module

    ControlWave Instruction Manual (CI-ControlWave) 3.9 Isolated Resistance Temperature Device (RTD) Input Module RTD Input modules provide a total of four inputs. Firmware detects the RTD type (2-, 3- or 4 wire) via the installation of jumper wires on the terminal block for 2-wire and 3-wire RTDs (see Figure 3-30).

  • Page 84
    ControlWave Instruction Manual (CI-ControlWave) Table 3-15. Jumper Assignments: Non-isolated HSC Module Jumper Purpose Description Enables/disables LEDs on Pins 1-2 installed = Enable LEDs (Factory default). module Pins 2-3 installed = Disable LEDs Wiring the Module Figure 3-31 shows field wiring assignments for locally terminated isolated RTD modules.
  • Page 85: Local Isolated Rtd Module

    Figure 3-31. Local Isolated RTD Module Terminal Block Assembly Assignments Software Configuration To use data from an Isolated RTD Input module you must add a CWM_RTD8 board in ControlWave Designer’s I/O Configurator, and then configure it. See the ControlWave Designer Programmer’s Handbook (D5125) for more information.

  • Page 86
    ControlWave Instruction Manual (CI-ControlWave) Figure 3-32. Remote DIN-Rail Mountable Terminal Block Assembly Assignments for Isolated RTD Module Operation 3-38 I/O Modules Revised Nov-2010…
  • Page 87: Isolated Low Level Analog Input (Llai) Module

    ControlWave Instruction Manual (CI-ControlWave) 3.10 Isolated Low Level Analog Input (LLAI) Module Low Level Analog Input (LLAI) modules provide six individually isolated differential inputs for thermocouples or 10mV inputs plus one cold junction compensation (CJC) input for temperature compensation at the terminal block.

  • Page 88: Isolated Llai Module

    ControlWave Instruction Manual (CI-ControlWave) Wiring the Module Figure 3-34 shows field wiring for locally terminated isolated LLAI modules. Figure 3-35 shows field wiring for remotely terminated isolated LLAI modules. The cold junction compensation (CJC) with a built-in RTD provides thermocouple temperature compensation at the terminal block and is electrically isolated.

  • Page 89
    ControlWave Instruction Manual (CI-ControlWave) Figure 3-34. Local Isolated LLAI Module Terminal Block Assembly Assignments Revised Nov-2010 I/O Modules 3-41…
  • Page 90
    ControlWave Instruction Manual (CI-ControlWave) Figure 3-35. Remote DIN-Rail Mountable Terminal Block Assembly Assignments for Isolated LLAI Module Operation 3-42 I/O Modules Revised Nov-2010…
  • Page 91: Llai Module

    ControlWave Instruction Manual (CI-ControlWave) Ranges & Table 3-19 provides the accuracy, resolution and temperature range for Errors the various thermocouples and 10mV LLAI inputs. Table 3-20 lists the RTD error with the CJC. Table 3-19. LLAI Module Input Accuracy and Resolution…

  • Page 92
    Software Configuration To use data from an Isolated Low Level Analog Input module you must add a CW_TC12 board in ControlWave Designer’s I/O Configurator, and then configure it. See the ControlWave Designer Programmer’s Handbook (D5125) for more information. That same manual includes an I/O Mapping section that describes, for advanced users, the I/O map for this module.
  • Page 93: Chapter 4 — Operation

    Communicating with the ControlWave ……….4-2 4.3.1 Default Comm Port Settings ……….4-2 4.3.2 Collecting Data from the ControlWave ………4-3 Creating and Downloading an Application (ControlWave Project) ..4-3 Creating and Maintaining Backups ……….4-4 4.5.1 Creating a Zipped Project File (*.ZWT) ……..4-5 4.5.2 Saving Flash Configuration Parameters (*.FCP)

  • Page 94: Communicating With The Controlwave

    4.3 Communicating with the ControlWave You communicate to the ControlWave by connecting a cable between a port on your PC workstation and one of the ControlWave ports. See Section 2.4 for more information on communications. The port at the PC workstation must match the configuration of the ControlWave port.

  • Page 95: Collecting Data From The Controlwave

    RS-232; 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or ControlWave Designer protocol COM3 RS-485 or RS-232 depending upon factory order; 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or ControlWave Designer protocol COM4 RS-485; 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or…

  • Page 96: Creating And Maintaining Backups

    Otherwise, when the unit is repaired or replaced, you’d have to create a new ControlWave project from scratch, which might take a lot longer than replacing a few damaged modules. Always maintain a backup copy of your ControlWave project in a safe Caution place.

  • Page 97: Creating A Zipped Project File (*.Zwt) For Backup

    It may be stored on your PC or removable storage media. It may also be downloaded and archived to ControlWave Flash memory where it may be uploaded at a later time for editing. With your current ControlWave project open in ControlWave Designer, perform the following steps: Click File >…

  • Page 98: Saving Flash Configuration Parameters (*.Fcp)

    Copy the resulting zwt file to backup media (CD-ROM, thumb drive, etc.) If you ever need to restore the project, just open the zwt file in ControlWave Designer, load libraries as needed, then compile the project and download it into the ControlWave.

  • Page 99
    Depending upon how your system is configured, the Flash Configuration – Loading Options dialog box may open. If it does, choose Load from device and wait for the utility to retrieve all parameters from the ControlWave, then skip to step 4, otherwise, just proceed to step 3. Click and wait for the utility to retrieve all parameters from the ControlWave.
  • Page 100: Backing Up Data

    ControlWave Instruction Manual (CI-ControlWave) 4.5.3 Backing up Data You can back up certain types of data and restore it if needed. There are other types of data that you can only collect, but you cannot restore.  If you have certain variables that represent tuning parameters…

  • Page 101: Chapter 5 — Service And Troubleshooting

    OpenBSI System Firmware Downloader and either NetView, LocalView, or TechView for communications. o HyperTerminal (included in Windows® XP) : When you service a ControlWave on site, we recommend that Note you close down (or place under manual control) any associated processes.

  • Page 102: Upgrading Firmware

    Harmful electrical potentials may still exist at the field wiring terminals Caution even though the ControlWave power source may be turned off or disconnected. Do not attempt to unplug termination connectors or perform any wiring operations until you verify that all associated power supply sources are turned off and/or disconnected.

  • Page 103: Hyperterminal Mode Menu

    = 1, and Flow control: = None and then click OK. Set CPU switch SW3-3 to ON (Force Recovery Mode). Apply power; to the ControlWave. The resident BIOS initializes and tests the hardware, this process is referred to as POST (Power On Self Test).

  • Page 104: Send File Dialog Box

    Send to start the flash upgrade (see Figure 5- 4). When you see the HyperTerminal Mode Menu again, it means the download has completed. Exit HyperTerminal and power down the ControlWave. If desired, you can disconnect the null modem cable between the ControlWave and the PC.

  • Page 105: Removing Or Replacing Components

    5.2 Removing or Replacing Components This section provides information on accessing ControlWave modules for testing, as well as removal/replacement procedures. Field repairs to ControlWave process automation controllers are strictly Caution limited to the replacement of complete modules. All modules (CPU, PSSM, and I/O) are factory sealed to prevent tampering.

  • Page 106: Removing/Replacing The Cpu Module

    Reconnect the cables and reinsert the key, if necessary. 5.2.3 Removing/Replacing the CPU Module Use this procedure to remove or replace the CPU module. If the ControlWave is running, place any critical control processes under manual control. Shut down the ControlWave by disconnecting the power.

  • Page 107: Removing/Replacing An I/O Module (Hot Swapping)

    ControlWave Instruction Manual (CI-ControlWave) If the ControlWave is running, place any critical control processes under manual control. Shut down the unit by turning off the power. Unplug the cables and PSSM modular connectors for power (TB2) and watchdog (TB1). Remove the bezel assembly. See Section 5.2.2.

  • Page 108: I/O Module To Be Replaced

    If the ControlWave is running, place any critical control processes that use this I/O module under manual control. Loosen the capture fasteners at the top and bottom of the module by turning them counter-clockwise.

  • Page 109
    ControlWave Instruction Manual (CI-ControlWave) Figure 5-6. Pulling the I/O Module Out of the Housing If you plan to replace this module with a new module, but want to retain all your existing I/O wiring to the terminal blocks, you need to disconnect the terminal block board from the rest of the module.
  • Page 110
    ControlWave Instruction Manual (CI-ControlWave) Loosen the fasteners at the top and bottom of the terminal board. Figure 5-7. Loosening the Top Fastener Figure 5-8. Terminal Block Board and Terminal Housing Assembly Separated from the Rest of the Module 5-10 Service & Troubleshooting…
  • Page 111
    ControlWave Instruction Manual (CI-ControlWave) Again, assuming you want to preserve your existing wiring to the terminal blocks, because you haven’t wired to the terminal blocks on the replacement module, remove the terminal block board and terminal housing assembly from the new replacement module.
  • Page 112: Removing/Replacing The Backup Battery

    Note module loses power. The system SRAM has a standby current draw of 50 uA maximum for each part. For a ControlWave containing 2MB of SRAM, a worst-case current draw of 110 uA allows a battery life of approximately 8,636 hours. This means…

  • Page 113: Checking Leds

    ControlWave Instruction Manual (CI-ControlWave) 5.3.1 Checking LEDs ControlWave modules contain light emitting diodes (LEDs) that provide operational and diagnostic functions. Table 5-1 shows LED assignments on modules. Table 5-1. LED Assignments on Modules Module / LED Name LED Color Function and Location…

  • Page 114: Port 80 Display

    ControlWave Instruction Manual (CI-ControlWave) Module / LED Name LED Color Function and Location Board CR4 – ENET Port 2 Red/Green ON RED = Data Collision (Left – see Figure 5- 11.) CR4 – ENET Port 2 Red/Green ON GREEN = Receiving data (Left – see Figure 5-11.)

  • Page 115: Power Switch

    ControlWave Instruction Manual (CI-ControlWave) Module / LED Name LED Color Function and Location Board point) LED OFF= no UDI input activity. See Figure 5- RTD Board Status Red/Green ON RED = Fail state/board not recognized. ON GREEN = Normal state. See Figure 5-17.

  • Page 116
    ControlWave Instruction Manual (CI-ControlWave) Figure 5-11. CPU Module (CPU & SCB boards) Port & LED Designations Figure 5-12. Analog Input (AI) Module LED Designations 5-16 Service & Troubleshooting Revised Nov-2010…
  • Page 117: Analog Output (Ao) Module

    ControlWave Instruction Manual (CI-ControlWave) Figure 5-13. Analog Output (AO) Module LED Designations Revised Nov-2010 Service & Troubleshooting 5-17…

  • Page 118
    ControlWave Instruction Manual (CI-ControlWave) Figure 5-14. Digital Input (DI) Module LED Designations Figure 5-15. Digital Output (DO) Module LED Designations 5-18 Service & Troubleshooting Revised Nov-2010…
  • Page 119: For Udi

    ControlWave Instruction Manual (CI-ControlWave) UDI Bd. Status LED (Red) = UDI Bd. not recognized or failed. UDI Bd . Status LED (Green) = UDI Bd. recognized and normal. ON UDIXX = Input is present Note: The Status LED will turn ON (Red) whenever power is initially applied to OFF UDIXX = Input is not present.

  • Page 120
    ControlWave Instruction Manual (CI-ControlWave) Figure 5-17. RTD Module LED Designations 5-20 Service & Troubleshooting Revised Nov-2010…
  • Page 121: Checking Wiring/Signals

    ControlWave Instruction Manual (CI-ControlWave) Figure 5-18. Low Level Analog Input (LLAI) Module LED Designations 5.3.2 Checking Wiring/Signals Check I/O field wiring at the terminal blocks and at the field device. Inspect the wiring for continuity, shorts, and opens. Check I/O signals at their respective terminal blocks (see Table 5-2).

  • Page 122: Port 80 Display Codes

    Power-On-Self- Test (POST) When you first power up the ControlWave, or if you reset it using the Codes reset switch, the BIOS runs a power-on-self-test (POST) to test the hardware. Normally, the POST codes pass by too quickly for you to see them, and the system enters normal run time, or if the CPU is set for force recovery mode, you see the code “86.”…

  • Page 123
    ControlWave Instruction Manual (CI-ControlWave) HEX Code Definition any init after vector table init is next. setting monochrome mode. setting color mode. toggle parity before optional video ROM. init before video ROM check. control passed to video ROM. video ROM returned control.
  • Page 124: Status Codes

    PCI space. Run Time Once your ControlWave project is normally running, the Port 80 display Status Codes is usually blank to conserve power. Table 5-4 shows status codes you may see during run-time.

  • Page 125: Reset Switch

    Unit Stopped 5.3.4 Reset Switch The reset switch (SW4) is a momentary button that lets you reset (stop and restart) the ControlWave while you test the unit using WINDIAG diagnostic software. Never use the reset switch during normal operation. Caution 5.4 WINDIAG Diagnostic Utility…

  • Page 126
     Use a null modem cable to connect RS-232 ports between the ControlWave and the PC. Use an RS-485 cable to connect the RS- 485 ports of the ControlWave and the PC. Note: For information on port connections and cabling, please see Chapter 2.
  • Page 127
    ControlWave Instruction Manual (CI-ControlWave) Figure 5-19. NetView Select Start >OpenBSI Tools >Common Tools > Diagnostics. The Main Diagnostics menu (Figure 5-20) displays. Figure 5-20. WINDIAG Main Diagnostics Menu Select the module to be tested. Enter any prompted parameters (slot #, etc.). WINDIAG performs the diagnostics and displays pass/fail results.
  • Page 128: Available Diagnostics

    ControlWave Instruction Manual (CI-ControlWave) After performing all diagnostic testing, exit WINDIAG and then exit the NetView if you don’t have any other ControlWave units to test. When you close NetView, the system asks whether you want to close OpenBSI. Select Yes.

  • Page 129
    ControlWave Instruction Manual (CI-ControlWave) Figure 5-21. RS-232 Loop-back Plugs  Port 3 (RS-232) use an 8-pin male RJ-45 loop-back plug (shown in left side of Figure 5-21). Figure 5-22. RS-485 Loop-back Plugs  Port 3 (RS-485) use an 8-pin male RJ-45 loop-back plug (shown in left side of Figure 5-22).
  • Page 130: Communications Diagnostic

    ControlWave Instruction Manual (CI-ControlWave) functioning), you must reconnect (using a now validated port) and test the remaining untested port. Test Procedure Use this procedure to test the comm ports. Connect an external loop-back plug to the port on the CPU or SCB port you want to test.

  • Page 131
    ControlWave Instruction Manual (CI-ControlWave) Click Return to Menu to display the WINDIAG Main Menu. Ethernet Port The Ethernet option on the WINDIAG Main Menu allows you to Loop-back Test select the Ethernet communication port (1 through 3) to test. This test configures the Ethernet port’s ability to transmit and receive via the twisted pair.
  • Page 132: Core Updump

    Click Return to Menu to display the WINDIAG Main Menu. 5.5 Core Updump In some cases—such as when a ControlWave fails for no apparent reason—you can upload a copy of the contents of SRAM and SDRAM to a PC for support personnel and service engineers to evaluate. This upload is called a “core updump.”…

  • Page 133
    Updump). Wait for the error condition (typically FF on the Port 80 display). Connect the ControlWave Comm Port 1 to a PC using a null modem cable. Operate the Run/Remote/Local switch as follows: : You must perform each step in less that one second.
  • Page 134
    Once the core updump completes, set the failed unit’s CPU switch SW1-1 to ON and SW1-4 to ON, if required, and then power cycle the failed unit to receive the sideload to become a valid standby unit. This applies to the ControlWave REDIO as well. 5-34 Service & Troubleshooting…
  • Page 135: Appendix A — Special Instructions For Class I, Division 2 Hazardous Locations

    Controller – Special Instructions for Class I, Division 2 Hazardous Locations The ControlWave Process Automation Controller is listed by Underwriters Laboratories (UL) as nonincendive and is suitable for use in Class I, Division 2, Groups A, B, C and D hazardous locations and non-hazardous locations only.

  • Page 136
    This page is intentionally left blank…
  • Page 137
    Appendix P – Redundant Power Supply Sequencer Module (RPSSM) The Redundant Power Supply Sequencer Module (RPSSM) provides your ControlWave with dual power supplies for operational redundancy. You can use the RPSSM in place of the standard power supply sequencer module (PSSM) in the following ControlWave models: …
  • Page 138
    TB1, TB2, and TB3 to the RPSSM until you have installed, wired, and configured the CPU module. Figure P-1. RPSSM Installed in ControlWave Slot #1 of a ControlWave Redundant Controller Setting Jumpers Depending upon how you are using the RPSSM, you may have to change one or more jumpers from their factor default positions.
  • Page 139
    Redundant Power Supply Sequencer Module (RPSSM) Jumper Position Description Disables the 12V monitor. When disabled, the RPSSM does not report a failure if voltage falls below 12V. If you need to change the jumper positions, unscrew the protective case from the RPSSM using a Phillips screwdriver (see Figure P-2). Figure P-2.
  • Page 140: Jumper Locations

    Use terminal blocks TB1 and TB2 to connect an external bulk power supply to the RPSSM. An external 24V power supply (22.2 to 30V) connected to TB1 provides system power to the ControlWave including the CPU boards and I/O boards (see Figure P-4).

  • Page 141
    TB3-7 = VR — Redundant unit control input (Used with ControlWave RED I/O) When using a pair of ControlWave I/O expansion racks, each with an RPSSM, and a ControlWave Redundant I/O and Communications Switch Unit (the redundant I/O switcher), the choice of which unit is “online”…
  • Page 142
    RPSSM to TB2-3 on the IORCM, and TB2-4 on the IORCOM must to 24V. Figure P-8 shows the location of the IORCM connectors on the ControlWave I/O Switcher. Figure P-7. – ControlWave to ControlWave REDI/O — Redundancy Field Wiring Installation and Use Revised Nov-2010…
  • Page 143
    Redundant Power Supply Sequencer Module (RPSSM) Figure P-8. – Location of TB2 on ControlWave I/O Switcher Wiring Digital Inputs to indicate Power Supply Failure Each power supply on the RPSSM drives a solid state relay contact closed during normal operation. In a failure, this contact opens. You can optionally wire the contact to a digital input (either externally or internally sourced) to provide indication of a power supply failure.
  • Page 144
    Redundant Power Supply Sequencer Module (RPSSM) Should a power supply fail, you must use a replacement supply that has Caution an identical bracket assembly (black anodize or gold irridite). The RPSSM must have one power supply with each type of assembly or it will not function.
  • Page 145
    Redundant Power Supply Sequencer Module (RPSSM) LED Indicators on the RPSSM Three light emitting diodes (LEDs) are visible through the front cover of the RPSSM (see Figure P-10). Table P-3 describes their functions. Table P-3. LED Descriptions Color LED label (when lit) Meaning PWR GOOD…
  • Page 146: Redundant Power Supply Sequencer

    Redundant Power Supply Sequencer Module (RPSSM) Specifications Redundant Power Supply Sequencer Module Input Range: 22.2 to 30V DC (24V input supply, nominal) Shutdown occurs at 22.2 nominal for 24V input supply systems, respectively. Temperature Range: Operating: -40 to 85 o C Storage: -40 to 85 o C 15 to 95% non-condensing Relative Humidity:…

  • Page 147
    ControlWave Instruction Manual (CI-ControlWave) Appendix Z – Sources for Obtaining Material Safety Data Sheets This device includes certain components or materials which may be hazardous if misused. For details on these hazards, please contact the manufacturer for the most recent material safety data sheet.
  • Page 148
    This page is intentionally left blank…
  • Page 149: Index

    ……3-13, 3-17 for Ethernet ports ……2-30 Disconnecting SRAM Battery ..5-12 RS-232 ……… 2-23 Downloading RS-485 ……… 2-27 the ControlWave project ….4-3 shields ………. 3-19 Checking LEDs ……….5-13 Environmental specifications….. 2-2 Wiring ………. 5-21 Error codes ……..5-22 CJC Error Ethernet ports ……..

  • Page 150
    ControlWave Instruction Manual (CI-ControlWave) 1-1. ControlWave with 8 I/O modules 3-2. ControlWave Chassis Slot ………… 1-2 Assignments……. 3-4 1-2. ControlWave Housing Options 1- 3-3. I/O Module (local termination) wire routing…….. 3-5 1-3. I/O Modules……1-8 3-4. I/O Module Remote Termination 1-4.
  • Page 151
    ControlWave Instruction Manual (CI-ControlWave) 3-20. Remote DIN-rail mountable 5-2. HyperTerminal (Ready to terminal block assembly Download)……..5-4 assignments for 1-5V AI..3-23 5-3. Send File dialog box ….5-4 3-21. Local AO module terminal 5-4. HyperTerminal (Download in block assembly assignments ..3-25 progress)……..
  • Page 152
    ControlWave Instruction Manual (CI-ControlWave) LocalView……..5-2 System Firmware Downloader ..5-2 Jumpers FLASH memory DI ……….. 3-9 amount……….1-6 LLAI ……….3-39 Force recovery mode switch …. 2-21 RPSSM………..P-2 RTD……….3-35 UDI ……….3-30 Grounding ……..2-6, 3-6 LEDs Hazardous locations ……A-1 Checking ……..
  • Page 153
    Soft Switches installation……..2-7 Lock & unlock ……2-19 Removing……..2-7, 5-6 Software Replacing ……..5-6 used with the ControlWave…. 1-8 Run/Remote/Local switch….4-1 Specifications TB1 Connectors ……2-16 for temperature, humidty, vibration 2- TB2 Connectors ……2-12 Wiring ………. 2-10 SRAM Battery Power switch……..
  • Page 154
    ControlWave Instruction Manual (CI-ControlWave) 2-9. RS-485 Connectors on SCB . 2-27 3-20. LLAI Module RTD Error with 2-10. RS-485 COM3 Port Connector CJC at 25C ……3-43 Pin Assignment ……2-27 4-1. Default Comm Port Settings (by 2-11. RS-485 COM4 Port Connector PCB)………..
  • Page 155
    ControlWave Instruction Manual (CI-ControlWave) DO……….3-14 RPSSM………..P-4 for redundancy ……2-15 RTD……….3-36 I/O Modules ……..3-5 UDI ……….3-31 LLAI ……….3-40 watchdog circuit….2-15, 2-16 PSSM ……….. 2-10 IND-7 Index Revised: Nov-2010…
  • Page 156
    Col. San Pedro de los Pinos PlantWeb and the PlantWeb logo are marks of Emerson Electric Co. The 01180 Mexico, D.F. Emerson logo is a trademark and service mark of the Emerson Electric Co. Mexico All other trademarks are property of their respective owners.

ControlWave Designer позволяет инженерам гибко выбирать наиболее подходящую аппаратную систему контроллера без необходимости изучения нового языка программирования для каждой платформы. Гибкость стандарта IEC61131-3 также позволяет каждому производителю дополнять базовый набор функций высокоуровневыми функциями для конкретных продуктов, чтобы максимально использовать отличительные возможности своих продуктов, при этом строго придерживаясь стандартов IEC 61131-3.

Документация

Лист технических данных: ControlWave Designer

Руководство программиста ControlWave Designer

Особенности

  • Усреднение, сравнение, определение итоговых значений.
  • Календарное планирование и планирование последовательности операций.
  • ПИД: регулирование, опережение и запаздывание.
  • Расчеты характеристик потоков газов и жидкостей по стандартам Американской газовой ассоциации.
  • Хранилище архива аварийной сигнализации.
  • Обработка файлов.

  • Аналогичные товары

Вся информация на сайте о товарах и ценах носит справочный характер и не является публичной офертой. Производитель оставляет за собой право изменять характеристики товара, его внешний вид и комплектность без предварительного уведомления продавца

User Manual

Document: D5085

Part: D301416X012

May, 2010

Getting Started with

ControlWave Designer

ControlWave Designer

Remote Automation Solutions www.EmersonProcess.com/Remote

IMPORTANT! READ INSTRUCTIONS BEFORE STARTING!

Be sure that these instructions are carefully read and understood before any operation is attempted. Improper use of this device in some applications may result in damage or injury. The user is urged to keep this book filed in a convenient location for future reference.

These instructions may not cover all details or variations in equipment or cover every possible situation to be met in connection with installation, operation or maintenance. Should problems arise that are not covered sufficiently in the text, the purchaser is advised to contact Emerson Process

Management, Remote Automation Solutions division (RAS) for further information.

EQUIPMENT APPLICATION WARNING

The customer should note that a failure of this instrument or system, for whatever reason, may leave an operating process without protection. Depending upon the application, this could result in possible damage to property or injury to persons. It is suggested that the purchaser review the need for additional backup equipment or provide alternate means of protection such as alarm devices, output limiting, fail-safe valves, relief valves, emergency shutoffs, emergency switches, etc. If additional information is required, the purchaser is advised to contact RAS.

RETURNED EQUIPMENT WARNING

When returning any equipment to RAS for repairs or evaluation, please note the following: The party sending such materials is responsible to ensure that the materials returned to RAS are clean to safe levels, as such levels are defined and/or determined by applicable federal, state and/or local law regulations or codes. Such party agrees to indemnify RAS and save RAS harmless from any liability or damage which RAS may incur or suffer due to such party’s failure to so act.

ELECTRICAL GROUNDING

Metal enclosures and exposed metal parts of electrical instruments must be grounded in accordance with OSHA rules and regulations pertaining to «Design Safety Standards for Electrical

Systems,» 29 CFR, Part 1910, Subpart S, dated: April 16, 1981 (OSHA rulings are in agreement with the National Electrical Code).

The grounding requirement is also applicable to mechanical or pneumatic instruments that include electrically operated devices such as lights, switches, relays, alarms, or chart drives.

EQUIPMENT DAMAGE FROM ELECTROSTATIC DISCHARGE VOLTAGE

This product contains sensitive electronic components that can be damaged by exposure to an electrostatic discharge (ESD) voltage. Depending on the magnitude and duration of the ESD, this can result in erratic operation or complete failure of the equipment. Read supplemental document

S14006 for proper care and handling of ESD-sensitive components.

Remote Automation Solutions

A Division of Emerson Process Management

1100 Buckingham Street, Watertown, CT 06795

Emerson Process Management

Training

GET THE MOST FROM YOUR EMERSON

INSTRUMENT OR SYSTEM

Avoid Delays and problems in getting your system on-line

Minimize installation, start-up and maintenance costs.

Make the most effective use of our hardware and software.

Know your system.

As you know, a well-trained staff is essential to your operation. Emerson offers a full schedule of classes conducted by full-time, professional instructors. Classes are offered throughout the year at various locations. By participating in our training, your personnel can learn how to install, calibrate, configure, program and maintain your Emerson products and realize the full potential of your system.

For information or to enroll in any class, go to http://www.EmersonProcess.com/Remote and click on “Educational Services” or contact our training department in Watertown at (860)

945-2200.

BLANK PAGE

Table of Contents

Introduction – What is ControlWave? ……………………………………………………………………………….. 1

Starting ControlWave Designer………………………………………………………………………………………… 3

Opening A New Project …………………………………………………………………………………………………… 3

Configuring I/O ……………………………………………………………………………………………………… 7

I/O Configuration Wizard (Step 1 of 3): (Most users can skip to Step 2) …………………….. 8

I/O Configuration Wizard (Step 2 of 3):………………………………………………………………….. 9

I/O Configuration Wizard (Step 3 of 3):………………………………………………………………… 11

Example – Creating A Simple Project ……………………………………………………………………………… 24

Step 1. Start ControlWave Designer:……………………………………………………………………. 25

Step 2. Open A New Project:………………………………………………………………………………. 25

Step 3. Start the I/O Configuration Wizard: ………………………………………………………….. 25

Step 4. Define Process I/O boards. ………………………………………………………………………. 25

Step 5. Create A Program Which Implements Your Control Strategy ………………………. 30

Step 6. Create A Task Which Can Run The Program……………………………………………… 42

Step 7. Compile the Program and, if necessary, correct any errors …………………………… 45

Step 8. Download the program into your ControlWave unit, or the I/O Simulator………. 46

Step 9 Save Your Project ……………………………………………………………………………………. 51

iii

Introduction – What is ControlWave?

Introduction – What is ControlWave?

The ControlWave programming environment uses industry-standard tools and protocols to provide a flexible, adaptable approach for various process control applications in the industrial automation business.

The ControlWave Programming Environment consists of a set of integrated software tools which allow a user to create, test, implement, and download complex control strategies for use with the

ControlWave series of Process Automation Controllers.

1

Build your Control Strategy

Create a new control strategy from scratch

ACCOL 3

Function Block

Library

ControlWave

Designer

Development

Environment

I/O Configuration Wizard

2

Test your Control Strategy

I/O Simulator

IEC 61131 Real Time System

Load executable

ControlWave system Firmware

Process Automation

Controller

IEC 61131 Real Time System

Load executable

Configuration Parameters

Real Time and Historical Data

Project Source — compressed

(OPTIONAL)

PROCESS I/O BOARDS

Data From Field Input Devices

3

Download your Control Strategy

OpenBSI

OpenBSI Downloader can perform downloads. ControlWave Designer can also be used to download and test hardware.

Downloader

4

Retrieve Data via

Web Pages

Data Access

ActiveX

Controls

HTML

Other software in which the

ActiveX controls have been placed e.g. Visual Basic,

Excel

Web pages running in Internet Explorer

ObjectServer

OpenBSI Utilities e.g. DataView

Harvester

Third

Party software

1 Getting Started with ControlWave

Introduction – What is ControlWave?

The tools which make up the environment are:

ControlWave Designer load building package offers several different methods for generating and debugging control strategy programs including function blocks, ladder logic, structured languages, etc. The resulting process control strategy programs (projects) are fully compatible with IEC 61131 standards. Various communication methods are offered, including TCP/IP, serial links, as well as communication to OpenBSI software and networks. ControlWave Designer incorporates the KW MULTIPROG wt IEC 61131 programming tool.

1

 The I/O Configuration Wizard, accessible via a menu item in ControlWave Designer, allows you to define process I/O boards in the ControlWave-series controller, and configure the individual mapping of I/O points for digital and analog inputs and outputs.

 The ACCOL3 Function Block Library which is imported into ControlWave Designer, includes a series of ControlWave-specific function blocks. These pre-programmed function blocks accomplish various tasks common to most user applications including alarming, historical data storage, as well as process control algorithms such as PID control.

 The I/O Simulator allows the control strategy programs (projects) generated through

ControlWave Designer to be tested on a PC, with simulated analog and digital inputs and outputs. The I/O Simulator utilizes the identical IEC 61131 real time system used in the

ControlWave controller; this allows initial I/O testing and debugging to be performed in a safe, isolated environment, without the need for a running ControlWave-series controller and process I/O boards.

 The ObjectServer – a package you purchase separately that allows real-time data access by any OPC compliant third-party software package.

 A series of Web Page Controls are also available for retrieval of real-time data values, historical data values, and communication statistics. The web controls utilize ActiveX technology and are called through a set of fixed Web pages, compatible with Microsoft®

Internet Explorer. Alternatively, developers can place the controls in third-party ActiveX compatible applications such as Visual BASIC or Microsoft® Excel, or in their own userdefined web pages to provide a customized human-machine interface (HMI).

1

KW MULTIPROG wt is an industry-standard tool developed by Kl

_

pper und Weige Software GmbH. KW

MULTIPROG wt is used by various PLC and RTU vendors for generating IEC 61131 code.

Getting Started with ControlWave 2

Starting ControlWave Designer, Opening A Project

Installing the Software

ControlWave Designer software is included on the OpenBSI CD-ROM.

To install it, choose “Install OpenBSI” from the choices provided in the CD browser, and then select “ControlWave Designer with ACCOL III”. For more information on the installation process, see Chapter 2 of the OpenBSI Utilities Manual (document# D5081).

Starting ControlWave Designer

ControlWave Designer is your IEC 61131 program development tool. It allows you to create a

control strategy (project) in any of five standard IEC 61131 languages, compile the program, debug it, and download it into your ControlWave controller.

To start ControlWave Designer click on:

StartProgramsOpenBSI Tools ControlWave Tools ControlWave Designer

IMPORTANT: If this is the very first time ControlWave Designer has been started on this particular computer, you will be reminded to register the software. Otherwise, the software can only be used for a maximum of 60 days. For more information on the registration

process, see Chapter 2 of the OpenBSI Utilities Manual (document# D5081).

Opening A New Project

ControlWave Designer will start. Then, click on the

New Project icon, shown above, or click on

FileNew Project.

3 Getting Started with ControlWave

Starting ControlWave Designer, Opening A Project

The New Project dialog box will appear.

Double-click on the ‘ControlWave’ icon (or the ‘CWMicro’ icon if you are using a ControlWave

Micro-series unit) and a project tree will be created which automatically includes the ACCOL3 function block library.

We will briefly discuss some of the terminology associated with the project tree. The project tree includes a series of folders and worksheets which define the various elements of your project.

Among the most important elements of the project tree are:

Getting Started with ControlWave Designer 4

Starting ControlWave Designer, Opening A Project

Logical POUs

Libraries

Data Types

Program Organization Units (POUs) hold the program code for your project. They are defined on three separate worksheets. One worksheet can optionally contain a textual description of the POU, a second worksheet lists the variables associated with the POU, and a third worksheet defines the POU code. POUs can be up to 640 K bytes in size, and there is an enforced limit of 512 POUs per project. There are three types of POUs:

Functions — Sometimes the term function is abbreviated as ‘FU’. These

are the simplest type of POU. They can take multiple inputs, but they generate only one output. The memory allocated for a function’s data is not persistent; i.e. once the function completes execution, that memory is released. Functions are generally used to perform mathematical operations; an example of a function is R_INT which truncates a real number to an integer. Functions can only call other functions. Functions can only be executed when included as part of a program POU.

Function Blocks — Sometimes the term function block is abbreviated as

‘FB’. Function blocks can take multiple inputs, and they can generate multiple outputs. Unlike functions, they can have persistent memory. Most of the POUs provided in the ACCOL3 library are function blocks, for example, the AVERAGER, the INTEGRATOR, the PID3TERM, the

LEADLAG, etc. User-defined function blocks can be created which consist of logical connections of various functions and function blocks.

Function blocks can only be executed when included as part of a program

POU.

Programs – Programs are essentially groups of functions and function

blocks which have been logically connected together to perform some task. Programs are the only type of POU which can actually be executed.

Users can create more than one program in a project, and in fact, they can create multiple instances of the same program. Programs can contain persistent memory.

There are two types of libraries: Firmware libraries are libraries of functions and function blocks created specifically for this controller model. The ACCOL3 library is a firmware library containing functions and function blocks created specifically for the ControlWave-series of controllers. It is automatically loaded when you choose the ControlWave

Template in the New Project dialog box. User libraries are optionally created by the user. They are libraries of programs, functions, and function blocks called in from other previously saved projects.

The Data Type worksheets can be used to define customized data type structures. For example, arrays of numbers. NOTE: The data entered here

5 Getting Started with ControlWave

Starting ControlWave Designer, Opening A Project

only defines the data type, it doesn’t actually set aside memory for storing the data — — that occurs in a variable declaration.

Physical Hardware Physical hardware defines details of the actual controller which will

execute the project. It is divided into several sections:

RTU_CFG is the type of code generation required for the controller – for

ControlWave this always begins with IPC, and it is always configured via the IO Configuration Wizard.

RTU_RESOURCE defines the type of run-time system used – in this

case, it is always ‘ControlWave’.

Tasks are the actual mechanism by which programs are executed. When

you have completely defined a program, you must associate a program instance with an executing task, and define the rate of execution.

Global_Variables is where any user-created global variables are defined.

IO_Configuration defines the inputs and outputs of the process I/O

boards in the ControlWave-series controller and optionally the

ControlWave Remote Ethernet I/O, and/or ControlWave I/O Expansion

Rack(s). This section should only be edited via the IO Configuration

Wizard; do NOT attempt to edit it manually.

Additional worksheets are added to the project tree as you build your project. Some of these are added automatically, others must be manually added by the user.

IMPORTANT

Do not rename items in the project tree created automatically by ControlWave Designer, such as the ‘IO_Configuration’ item. ControlWave Designer looks for worksheets under specific items of the tree, and if you rename those items, ControlWave Designer will be unable to locate those worksheets.

NOTE: We have introduced a lot of terminology in this section. Don’t worry about absorbing all of it now. The most important parts should become clearer to you as you proceed through the

‘Configuring I/O’ and Example sections, later in this manual.

Getting Started with ControlWave Designer 6

Configuring I/O

In order to reference I/O points on the process I/O boards of your controller, you need to configure them within your project.

Although it is possible to manually edit the “IO_Configuration” section of the project tree, we strongly recommend you use the I/O Configuration Wizard, as it will perform syntax checking, and is easier for most users.

The I/O Configuration Wizard is accessible from within ControlWave Designer by clicking as follows: ViewIO Configurator

When started, any existing I/O configuration data will be read and displayed in the I/O

Configuration Wizard. The Configuration Wizard is a multi-page tool; [>>Next>>] and

[<<Back<<] buttons are provided to allow you to move between the pages. A [Settings] push

button allows the user to rename default variable names, if necessary. (See ‘Changing Default

Variable Names’, later in this section.) NOTE: Page 1 allows the user to define multiple resources. Typically, only a single resource is used, so by default, page 2 will appear first since most users do not need to use Page 1.

IMPORTANT

The IO Configuration Wizard will add a variable group to the Global_Variables worksheet called IO_GLOBAL_VARIABLES. Both the IO_GLOBAL_VARIABLES group in the

Global_Variables worksheet and the IO_Configuration worksheet should never be manually edited by the user; these should only be modified through the IO Configuration Wizard.

7 Getting Started with ControlWave Designer

Configuring I/O

I/O Configuration Wizard (Step 1 of 3): (Most users can skip to Step 2)

The first page of the I/O Configuration Wizard allows the user to select from the available I/O configurations and I/O resources. NOTE: Because most projects utilize a single configuration

and resource, this page is skipped when first starting the I/O Configuration Wizard. It is accessible, however, by clicking on the [<<Back<<] button from the second page of the Wizard.

Available

Configurations

This lists all configurations in the current project. Select the I/O

Configuration Section for which you are defining the I/O.

NOTE: Typically, projects utilize a single I/O configuration

section.

Available Resources This lists all resources for the selected I/O configuration. Choose

the resource for which I/O is to be defined. NOTE: Typically,

projects utilize a single resource.

Click on [Next>] to proceed to the next step.

Getting Started with ControlWave Designer 8

I/O Configuration Wizard (Step 2 of 3):

The second page of the I/O Configuration Wizard allows the user to specify which process I/O boards are actually installed in the ControlWave-series controller, as well as boards which are installed in separate devices such as I/O Expansion Racks, or Remote Ethernet I/O units.

Boards should be selected from the selection boxes in the ascending order of their slot number.

First, use the “Unit Type” list box to identify which type of ControlWave controller you are configuring, then select the desired boards, and click on [ADD].

If this controller has associated I/O racks, or Remote Ethernet I/O units, choose those boards in the “Ext Rack Board” and “Remote IO Boards” selection boxes and click on [ADD].

For more information on the various fields, see below:

Unit Type

This field allows you to identify the type of ControlWave-series controller you are configuring, so that the proper board types can be

9 Getting Started with ControlWave Designer

Configuring I/O

displayed for it. The types of controllers include:

CW_ ControlWave Process Automation Controller

CWM_ ControlWave MICRO Process Automation Controller

LP_ ControlWave Low Power (LP) Process Controller

CXX_ ControlWave CW_30 or CW_10 Controller

Once you select the type of controller, the boards which can be installed in that unit will be displayed as possible choices.

For ease of configuration, select the boards from the list in ascending order of their slot number in the ControlWave unit. Clicking once on the board abbreviation will cause a description of the board to be displayed at the bottom of the Wizard page. Double-clicking on the board abbreviation (or clicking once on the board and then clicking on [ADD]) will add the board to the “Selected Boards List”. The

I/O Configurator’ section of the ControlWave Designer

Programmer’s Handbook (document# D5125) lists the various types

Ext Rack Boards

of boards.

This lists boards which may be installed in the ControlWave I/O

Expansion Rack. If this ControlWave-series controller is configured to use an I/O Expansion rack, select the appropriate boards in ascending order of their slot number in the rack.

Double-clicking on the board abbreviation (or clicking once on the board and then clicking on [ADD]) will add the board to the

“Selected Boards List”

Remote IO Boards

This lists boards used in ControlWave Remote Ethenet I/O units. If this ControlWave controller is configured to use Remote Ethernet

I/O, select the appropriate boards.

Double-clicking on the board abbreviation (or clicking once on the board and then clicking on [ADD]) will add the board to the

“Selected Boards List”

Selected Boards List This list allows the user to declare which boards reside in the

ControlWave controller or its configured ControlWave Remote

Ethernet I/O unit(s), or ControlWave I/O Expansion Racks. To remove a board from the “Selected Boards List” double-click on it, or click on it once, and then click on [REMOVE]. To remove all boards click on [REMOVE ALL].

Click on [Next] to verify configuration information, adjust slot numbering, define zeros and spans for analog inputs, etc.

Getting Started with ControlWave Designer 10

I/O Configuration Wizard (Step 3 of 3):

The third page of the I/O Configuration Wizard displays configuration details for each board. To see the details, click on the board abbreviation, and the configuration details will be displayed on the right hand side of the page. NOTE: The fields available for particular boards vary from platform to platform.

Selected Boards List

Displays all boards selected on the previous page. Click on a particular board abbreviation to display configuration details for the board.

Board Name

A name for the board can be specified here. This name will be used when configuring pins for the board.

Map Type

(Information Only) Depending upon the type of board, separate memory areas (called maps) are reserved for either inputs or outputs.

Some boards have both an input map and an output map. For example, a digital output board has outputs (DOs) in its output map, but it may also have inputs which indicate board status conditions and errors. For more detailed information on the input and output maps for various boards, see the ‘I/O Mapping’ section of the ControlWave Designer

Programmer’s Handbook (document# D5125).

NOTE: If you have an older ControlWave project in which you changed the map type from the default choice, this may cause errors to be

11 Getting Started with ControlWave Designer

Configuring I/O

Start… End Address

Slot Number

IP Address

generated when the project is rebuilt. If this occurs, you should delete

the board definition and re-define the board.

Displays the range of memory addresses used by the board.

Displays either the physical I/O slot in the ControlWave controller which holds the board, or if this is a Mixed I/O Board (MIOB) it displays a board selection number. For ControlWave and ControlWave

Micro, I/O slot numbers are positive integers, e.g. 1, 2, 3, etc. For the

ControlWaveLP, the slot number is 0 for all boards except for the AO; for the AO the slot can be 8 to 13. NOTE: I/O Slot number is NOT the

same as the chassis slot number. Chassis slots which hold the power supply and CPU boards are not considered to be I/O slots, so the first

I/O slot is typically the third chassis slot.

ControlWave Remote Ethernet I/O boards are identified by their

Related Task

Internet Protocol (IP) address, instead of the I/O slot number. The same is true for boards residing in a ControlWave I/O Expansion Rack.

Shows the name of the task which uses this board. In some cases, for example, when using Ethernet I/O, or analog boards in an RTU 3340, it is important to associate a board with the task which uses the board.

When a board is associated with a task, that board will be read / written to, at the rate cycle associated with the task, thereby ensuring up-to-date information for calculations performed in the task. When no task is associated with the board, board execution is associated with the default task, which runs at a lower priority, and therefore may not provide sufficient up-to-date I/O information when it is required by a task.

This determines how values of the I/O variables associated with this board will be made available to other software programs. Checking

Mark Variables as

PDD OPC

“PDD” allows the controller to reference variables by name, which is

necessary if you intend to access a variable by external software which requires ‘read-by-name’ access, such as DataView, or one of the other

OpenBSI Utilities. Checking “OPC” adds this variable to a collection list used by the ObjectServer or by the OpenBSI Signal Extractor. This is necessary when data is to be extracted, and sent to a database.

When edits have been made to this page, click on the [Show xxx Information] button. The name on this button, and the pin configuration details, vary depending on the type of board being configured. See the pages that follow for the standard board types.

NOTE: If you are using RIO Open Modbus board types, please see the ‘I/O Configurator’ section of the ControlWave Designer Programmer’s Handbook (document# D5125).

Getting Started with ControlWave Designer 12

Analog Boards

Analog Input Board Page (CWM_AI8 board)

(some of these fields do NOT appear for other models)

Analog Output Board Page (CW_AO8 board)

(some of these fields do NOT appear for certain models)

13 Getting Started with ControlWave Designer

Configuring I/O

List of Available

Pins

Pin Name

Value

Zero

Span

Add Over Range

Status

Low Level Analog Input Board (CXX_LL4 Board)

Displays a list of the individual pins (I/O points) on this process I/O board. If the pin is displayed in RED, that pin is active. If the pin is left grayed out, that pin is considered unused.

Defines a name identifying this pin. IMPORTANT: This name is used as a variable name to reference the I/O pin in your POU.

Defines the initial value for this I/O pin, in floating point format.

NOTE: This is not available for analog input pins.

Defines the lowest value of the range for this I/O pin. Used to scale the input/output value.

Span is added to the ZERO value to define the highest value of the range for this I/O pin. Used to scale the input/output value.

When selected, will cause a variable to be created to store the value of the overrange status bit. Over range conditions occur when an attempt is made to drive the variable associated with this pin outside the range defined by the zero and span. When this occurs, the over range status bit will be set to TRUE.

Getting Started with ControlWave Designer 14

Range Type

Bottom Range

Top Range

For some boards, you can specify whether the board input is in current or voltage. Choose ‘VOLTS’ or ‘AMPS’. NOTE: For example, if 4 to

20 milliamps of current drive the board, you would choose ‘AMPS’, then enter 0.004 for the “Bottom Range” value, and 0.020 for the

“Top Range” value.

The lowest usable value for VOLTS or AMPS for this board input. For example, if the board input can range from 1 to 5 VOLTS, the

“Bottom Range” would be set to 1.0. If this board input can range

from 4 to 20 milliamps, “Bottom Range” would be set to 0.004. Other ranges are possible as well.

The highest usable value for VOLTS or AMPS for this board input. For example, if the board input can range from 1 to 5 VOLTS, the “Top

Range” would be set to 5.0. If this board input can range from 4 to 20

milliamps, “Top Range” would be set to 0.020. Other ranges are possible as well.

Set Actual Output

Value

When selected, this will cause a variable to be created which displays the actual value which was written to the output pin.

Add Board Status

When selected, will cause a variable to be created to store board status

Add Last Operation

Status

information.

When selected, will cause a variable to be created to store the status of the last conversion operation information.

Calibration Error

This is only present for certain platforms. When checked, will cause a variable to be created to store error information. This variable will be set to TRUE whenever there is bad calibration data in the EEPROM.

Board Time Out

This is only present for certain platforms. When checked, will cause a variable to be created to store information about board time out errors.

Board time outs occur if there is a problem with conversion operations.

Mark All Pins Used

When checked, will activate all pins on this I/O board. They will all appear in RED.

Configure Hold

Values

When checked, enables other fields on the page for configuring a hold value for this pin. A hold value is the value used by the I/O card if it detects a watchdog of the ControlWave CPU. The I/O board maintains this value at the pin until the unit is restarted.

Update Default

When checked, allows the «User Configured Output» hold value to

15 Getting Started with ControlWave Designer

Configuring I/O

Value

Hold Last Output

be changed on-line; otherwise the hold value can only be set in the I/O

Configurator.

When checked, specifies that during a watchdog failure, the hold value for this pin will be whatever value was on the pin when the failure occurred. NOTE: «Hold Last Output» and «User Configured

User Configured

Output

Output» are mutually exclusive. Either one may be configured for a

particular pin, but NOT both.

When checked, allows the user to enter a value for this pin which will be used as the hold value in the event there is a watchdog failure of the

Point Type

ControlWave. NOTE: «Hold Last Output» and «User Configured

Output» are mutually exclusive. Either one may be configured for a

particular pin, but NOT both.

(Not Shown) Appears for CXX_LL4 Low Level Analog Input Board only. Specifies the type of low-level analog input. See the table, below, for a list of supported temperature/voltage ranges for inputs to the

CXX_LL4 board.

Point Type

Thermocouple Type B

Thermocouple Type E

Thermocouple Type J

Thermocouple Type K

Thermocouple Type R

Thermocouple Type S

Thermocouple Type T

Resistance Temperature Device (RTD)

Voltage

Range

100 o

C to 1820 o

C

-270 o

C to 1000 o

C

-210 o

C to 1200 o

C

-270 o

C to 1370 o

C

-50 o

C to 1720 o

C

-50 o

C to 1760 o

C

-270 o

C to 400 o

C

-220 o

C to 850 o

C

-10 mV to 10 mV

When all pins have been configured, click on [Done]. You can then proceed to select and configure pins for another board.

Getting Started with ControlWave Designer 16

Digital Boards

Digital Input Board Page

(Not all fields are present for all board types)

List of Available Pins

Pin Name

Set Pin Status

Enable Counter

Processing

Digital Output Board Page

Displays a list of the individual pins (I/O points) on this process

I/O board. If the pin is displayed in RED, that pin is active. If the pin is left grayed out, that pin is considered unused.

Is a name identifying this pin. This name is used as a variable name to reference the I/O pin in your POU.

Sets the initial value for this digital output (DO). NOTE: This option is not available for digital inputs.

Turns on or off the counters associated with the digital input (DI) process I/O board. Counters are used in certain applications. For

17 Getting Started with ControlWave Designer

Configuring I/O

Add Board Status

Mark All Pins Used

Turn off Leds

example, if a mixed I/O board is used with a ControlWaveLP, a digital input (DI) can be used as a low speed counter (30 millisecond filter). Enabling counter processing in such a case will allow interrupt processing to occur for that DI. NOTE: This option does not apply to all board types and platforms.

When selected, will cause a variable to be created to store board status information.

When checked, will activate all pins on this I/O board. They will all appear in RED.

This option is only available on certain boards. When checked, it will create a variable which allows you to turn OFF the I/O board’s diagnostic LEDs to save on power. LEDs are turned OFF when the variable is set ON. NOTE: For this to work, the LED

enable jumper on the board must be in position 2-3; otherwise, the software cannot disable the LEDs, only a hardware jumper can.

Reset Point Count

See manual CI-ControlWaveMICRO for details.

When set to ON, allows the number of counts to be reset. This occurs automatically whenever the board is restarted. NOTE: This function only applies when a CXX_DI16 board is used as a low speed counter.

Set No Init Counter Flag When checked, counters on the board will NOT be initialized to

Add Time Stamp of Last

Sample

zero on a warm start of the unit. NOTE: This function only applies when a CXX_DI16 board is used as a low speed counter.

When selected, will cause a variable to be created to store the timestamp of the last sample collected by this I/O board.

NOTE: This function only applies when a CXX_DI16 board is used as a low speed counter.

When all pins have been configured, click on [Done]. You can then proceed to select and configure pins for another board.

Getting Started with ControlWave Designer 18

High Speed Counter (HSC) Boards

High Speed Counter Page

(Not all fields are present for all board types)

List of Available

Channels

Channel Name

Add Input Channel State

Reset Point Count

Select Filter

Displays a list of the individual channels (counter I/O points) on this process I/O board. If the channel is displayed in RED, that channel is active. If the channel is left grayed out, that channel is considered unused.

Is a name identifying this channel. This name is used as a variable name to reference the channel in your POU.

When selected, displays the TRUE/FALSE value of the channel.

When set to ON, allows the number of counts to be reset. NOTE:

This occurs automatically whenever the board is restarted.

Specifies how the board will operate for this channel:

‘None’

’30 ms’

Defaults to 30 millisecond filtering.

Turns on 30 millisecond filter. Typically used for

Add Board Status

‘1 ms’ Turns on 1 millisecond filter. Used for low speed

‘HSC Channel’ High Speed Counter (Default for CWM_RTU board)

When selected, will cause a variable to be created to store board status information.

19 Getting Started with ControlWave Designer

Configuring I/O

Add Time Stamp of Last

Sample

Mark All Pins Used

When selected, will cause a variable to be created to store the timestamp of the last sample collected by this I/O board.

When checked, will activate all channels on this I/O board. They will all appear in RED.

Set No Init Counter Flag When checked, counters on the board will NOT be initialized to

zero on a warm start of the unit. Requires 04.41 or newer

Turn off Leds

firmware.

(Not Shown) This option is only available on certain boards.

When checked, it will create a variable which allows you to turn

OFF the I/O board’s diagnostic LEDs to save on power. LEDs are turned OFF when the variable is set ON. NOTE: For this to work,

the LED enable jumper on the board must be in position 2-3; otherwise, the software cannot disable the LEDs, only a hardware

jumper can. See manual CI-ControlWaveMICRO for details.

Remote I/O Status Board

The Remote I/O Status Board is a ‘virtual’ board, i.e. there is no actual physical board. By including it within your ControlWave project, global variables will be created to store communication statistics information, and board ID strings for the

ControlWave I/O Expansion Rack.

For more information about these variables, and the software configuration for the ControlWave

I/O Expansion Rack, please see the ControlWave I/O Expansion Rack Quick Setup Guide

(document# D5122).

Getting Started with ControlWave Designer 20

Notes About Ethernet I/O Boards

IP address is defined here.

Unlike process I/O boards which are physically installed in the ControlWave controller, ControlWave Remote Ethernet

I/O boards are in a separate location, and communicate to the ControlWave unit using TCP/IP. (The IP address for the

Ethernet I/O board is configured from the third page of the

I/O Configuration Wizard.)

Certain parameters must be specified for the Ethernet I/O units which hold the boards. Once this is done, however, the configuration of the individual board pins is identical to that described earlier.

NOTE: The dialog box shown at right includes possible fields for the

ControlWave Remote Ethernet I/O, however, not all of these fields are visible in all cases.

Unit Number

Add Driver Status

Activate Counters

Specifies the Modbus unit address number associated with this

ControlWave Remote Ethernet I/O unit.

When selected, will cause a variable to be created to store I/O driver status information.

Creates / disables a variable which allows the user to control the starting / stopping of the counters in the ControlWave Remote

21 Getting Started with ControlWave Designer

Configuring I/O

Ethernet I/O board. These counters are used with digital inputs

(DI).

Add Freshness Counter

When selected, will cause a variable to be created to store a

‘freshness’ counter value. The freshness counter represents the number of program executions since new data has been collected through this Ethernet I/O board. A value of 0, indicates the data is as new (fresh) as possible.

Clear Counters

Convert RTD value to tenths

[Show Pins], [Analog

Pins], [Digital Pins]

[Done]

Sets all counter values associated with this board to 0.

(For RIO 4RTD — 4 Digital Input Board ONLY) — When checked, causes values from the Resistance Temperature Device board to be divided by 10, thereby providing greater precision.

When clicked on, calls up a dialog box for configuring the individual pins for the board.

Click here when configuration for this board is complete.

Additional Configuration For ControlWave Remote Ethernet I/O

Besides the I/O configuration within ControlWave Designer, additional configuration for

Ethernet I/O hardware must be performed using the Remote I/O Toolkit software (not to be

confused with what used to be known as the OpenBSI Technician Toolkit). Documentation on the

Remote I/O Toolkit software is provided in the form of on-line help screens.

The Remote I/O Toolkit software is included as an installation option on the OpenBSI CD ROM.

 To use counters (DI) you must enable counters in the Remote I/O Toolkit software.

 The IP address entered for a ControlWave Remote Ethernet I/O board in the ControlWave

Designer I/O Configuration Wizard must MATCH the IP address entered in the Remote I/O

Toolkit.

 If you are using high speed counters, 32 bit counters must be enabled within Remote I/O

Toolkit.

 For analog inputs/outputs (AI, AO) you must NOT change the default scaling within Remote

I/O Toolkit. Changes should only be made within the ControlWave Designer I/O

Configuration Wizard.

 Be aware that if you are using counters (Digital Input or High Speed Counter), restarting of

Getting Started with ControlWave Designer 22

the ControlWave Remote Ethernet I/O will cause a large jump in counts.

 If you intend to use TPO (Time Proportioned Outputs) for any point, you must enable TPO for those points.

Changing Default Variable Names (All board types)

As you proceed to define your I/O, the I/O Configuration Wizard will automatically create variable names associated with the I/O board to store status information, zeros and spans, etc.

These variable names are based on the pin name you define with an appropriate suffix added. To see the default suffix, click on the [Variable Names] button (previously called [Settings]) visible on certain pages of the I/O Configuration Wizard.

While NOT recommended, the variable suffixes can be altered by the user, if desired. The different pages of the Global Output Variables Names dialog box are accessible by clicking on the tabs. Make changes on the various pages, then click on [OK] to save all the changes.

23 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Example 1 – Creating A Simple Project

NOTE: This example shows one possible way to approach a problem. There are many different solutions available.

The fictitious Sunken Valley Water Company wants to set up a PID (proportional, integral, derivative) loop for controlling the flow of liquid through a pipeline.

They have a flow control valve to vary the flow, and a flowmeter to measure it.

Both the valve and flowmeter are connected to a

ControlWave controller.

Before trying to create a project which will perform the PID control, we need to make a list of each thing the project will be doing.

 Bring in the flow data from the pipeline.

The flow in the pipeline is measured by the flowmeter FT101. The flow rate ranges from

0 to 500 gallons per minute. This data will come in through an analog input process I/O board.

 Slow down reaction to flow changes so as to reduce the amount of wear and tear on the valve.

We want to ensure that we don’t wear out the control valve trying to respond too quickly to changes in flow. To do this, we need to delay response to the input flow data using a

LEAD_LAG function block.

 Perform the actual PID calculation.

To perform the actual PID control, we can use the pre-defined PID3TERM function block.

 Send data to the control valve.

The controller will have to send data out to the flow control valve (FIC101/FCV101), in order to vary the position of the valve to regulate the flow. This will require an analog output process I/O board.

Now that we know, roughly, what we’re trying to do, let’s create our project.

Getting Started with ControlWave Designer 24

Example – Creating A Simple Project

Step 1. Start ControlWave Designer:

Click as follows:

StartProgramsOpenBSI Tools ControlWave Tools ControlWave Designer

Step 2. Open A New Project:

Click as follows: FileNew Project

Choose the ‘ControlWave’ template (or ‘CWMicro’ if you have a ControlWave MICRO) in the new project dialog box, and click on [OK].

Step 3. Start the I/O Configuration Wizard:

Click as follows: ViewIO Configurator

Step 4. Define Process I/O boards.

NOTE: By default, the I/O Configuration Wizard will skip the first page of the dialog box because most applications, including this example, use a single configuration and a single resource.

First, choose the type of

ControlWaveseries controller you are configuring in the “Unit

Type” list box.

Next, select the board you want to use from the list of boards for that controller type.

Then, click on “Add” to add the board to the

“Selected

Boards List.”

Finally, click on

“Next.”

25 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Our particular project will require two different process I/O boards. An analog input board is needed to handle the analog input which provides the flow data. An analog output board is also needed to send control data out to the valve. We will describe in detail how to define the analog input board; once it is done, the analog output board should be defined by the same basic approach.

First, choose the type of ControlWave controller you are using in the “Unit Type” field (‘CW_’

= ControlWave, ‘LP_’ =ControlWaveLP, ‘CWM_’ =ControlWave MICRO, ‘CXX_’= CW10 or

CW30. Choose the analog input board used in your unit, then click on [ADD]. Then click on

[Next>>].

On the third page, click on the board in the “Selected Boards List” and its parameters will be displayed on the right hand side of the dialog box. Enter the proper slot number for the board in the “Slot Number” field. Then click on [Show Analog Pins Information] to configure the individual I/O pins.

Click on the board name to display its parameters.

Enter the I/O slot number in the controller which holds this board.

Click here to configure the

I/O pins.

Getting Started with ControlWave Designer 26

Example – Creating A Simple Project

To activate a particular pin, double-click on it in the “List of Available Pins”. Active pins are shown in red. Then select the pin, and configure it. You can change the default name in the “Pin

Name” field. Analog inputs should have “Zero” and “Span” values defined, as well.

Double-click on the pin name to activate it.

Active pins show in red.

You can change the pin name here; ControlWave

Designer uses the name you enter here to reference the pin in the rest of the program.

To configure a particular pin, click on it in the list.

You must define a “Zero” and

“Span” here. If not, the program uses a default of

0 to 100.

Click on

“Done” when you finish.

When finished, click on [Done] to return to page 3 of the I/O Configuration Wizard, then click on [<<Back<<] to return to page ‘Step 2 of 3’, and add another board.

27 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Now define an Analog Output board. Repeat the same general process used to create the Analog

Input board. Be sure you use a different I/O slot number for the Analog Output board, and be sure you specify a unique pin name for the analog output, and set its zero and span.

The figure, below, shows the pin definition for the analog output. We have set a zero and span of

0 and 100 respectively; this range covers the percentage at which the control valve is to be opened.

You can change the pin name here; ControlWave

Designer uses the name you enter here to reference the pin in the rest of the program.

Double-click on the pin name to activate it.

Active pins show in red.

To configure a particular pin, click on it in the list.

Click on

“Done” when you finish.

You define a

“Zero” and

“Span” here.

When you finish with the I/O configuration, go to page ‘Step 3 of 3’ and click on the [Finish] button.

Getting Started with ControlWave Designer 28

Example – Creating A Simple Project

Some notes about choosing variable names:

 Variable names consist of a combination of letters (A-Z, a-z), numbers (0-9) and the underscore character ‘_’.

 The first character of a variable name CANNOT be a number.

 Variables are NOT case sensitive, i.e. MY_VARIABLE, my_variable, and mY_vAriaBLe are all considered to be the same variable name.

 Although you won’t always see it, in addition to the variable name you enter, the system automatically precedes every variable by one or more instance names, separated by periods, depending upon where the variable was defined (‘@GV.’ for global variables, task and function block instance names for local variables) e.g. @GV.F101_INPUT or

Flow1.V003

 If you have OpenBSI Utilities Version 4.0 or earlier, we recommend your variable names be limited to 20 characters or less (including the instance name or ‘@GV.’ described above). This is recommended because prior to OpenBSI Version 4.1, tools such as

DataView only recognized the first 20 characters; and so, that is the only portion of the variable name those tools will display. Newer versions recognize up to 64 characters.

 If you decide to use longer variable names (up to 128 characters are allowed), only the first 30 characters will be recognized within ControlWave Designer. If you have variables in your ControlWave POU worksheet with more than 30 characters, however, make sure there are no two variables in which the first 30 characters are the same, or else those two variables will be treated as the same variable.

For example, two variables named:

COMPRESSOR_STATION_FOUR_STATUS_ON

and

COMPRESSOR_STATION_FOUR_STATUS_OFF should not be included in the same worksheet because the first 30 characters

‘COMPRESSOR_STATION_FOUR_STATUS’

are the same, and therefore the difference between the ‘_ON’ and ‘_OFF’ would not be recognized by the compiler.

Here are some legal variable names:

COMPRESSOR_4_STATUS

_PUMP_START tank_level_hi_alarm

Here are some ILLEGAL variable names, and the reason they are illegal:

1_STATION4_MAINSWITCH (*illegal because it starts with a number*)

PUMP#4_START (*illegal because the ‘#’ character is NOT allowed*)

29 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Step 5. Create A Program Which Implements Your Control Strategy

Now that we have our I/O configuration completed, we can create a program which uses the I/O we have defined.

To start, locate the “Logical POUs” object in the

Project Tree. Right-click on it and choose

“InsertProgram” from the pop-up menu.

(POU stands for Program Organizational Unit – it basically means a ‘program or sub-program’ in an IEC 61131 language. IEC-61131 supports five different programming languages; this example uses FBD – Function Block Diagram language, however, you can choose any of the five languages when you create your own programs.)

Creating A Program

The Insert dialog box opens.

Enter a name for the program.

Choose

“Program.”

For this example,

we choose “FBD.”

Choose

“<independent>.”

Choose

“<independent>.”

For this example, choose “Program” for the type and “FBD” for the Language.

Enter a name for the program we are defining. In this case we have decided on the name

‘Flow_Control_Program’.

The PLC type should be “<independent>” and the Processor Type should also be specified as

Getting Started with ControlWave Designer 30

Example – Creating A Simple Project

«<independent>».

Click on [OK] when finished.

A new ‘empty’ program will be added to the Project Tree. Double-click on the

‘Flow_Control_Program*’ icon to define the program.

This part allows you to enter a textual

description of the program (optional).

This part lists variables associated with

the program.

Inserting Function Blocks in the program

Now click in the right-most portion of the screen.

Double-click on this part to actually

define the program.

Click in this portion of the screen

31 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Now you must use the Edit Wizard located in the lower-left corner of the screen. (If the

Edit Wizard is not visible, click on the icon shown at left, to activate it.)

Choose the ‘ACCOL3’ “Group”, to access the ACCOL3 function block library, then use the scroll bar to see which function blocks belong to the library.

In order to smooth out fluctuations of the flow input (and protect the flow control valve) we want to feed our flow input into a LEAD_LAG function block. Locate the function block named

‘LEAD_LAG’ then double-click on it.

Choose the

<ACCOL3> group.

Use the scroll bar to locate the desired function block, then double-click on that name to add that function block to your program.

The Variable Properties dialog box, shown at right, opens.

You might ask at this point, ‘Why is the function block being called a variable?’ The reason is that the function block is referred to in the program by an instance name, which is like a variable name. The instance name allows the program to distinguish between different

Getting Started with ControlWave Designer 32

Example – Creating A Simple Project

instances of the same type of function block, for example, if you had two different LEAD_LAG function blocks in the same POU. You can optionally enter a name of your choice for the function block, or just use the default. You can also enter a comment in the “Description” field, as we have done. Now click on the [OK] push button.

A graphical representation of the LEAD_LAG function block will be displayed on the screen.

Each parameter name for the function blocks in the ACCOL3 library begins with two or more lowercase letters. These lowercase letters (which we will call the prefix) identify whether the parameter is an input, an output, or both an input and output, followed by the possible data types for the parameter.

The type of variable precedes the parameter name.

The identifier for this function block is “LEAD_LAG1.”

The first letter is always an ‘i’ for INPUT, or an ‘o’ for OUTPUT. If a parameter can be both an

INPUT and an OUTPUT, the second letter is an ‘o’. Otherwise, the second, and any other letters in the prefix indicate the various data types allowed for this parameter. The possible types are: ab ais ar arb

BOOL variable required. NO constants allowed.

STRING or INT variable required, depending on the usage. No constants allowed.

REAL variable required. NO constants allowed.

REAL or BOOL variable required. NO constants allowed. aus b

USINT variable or array of USINT required. No constants allowed.

BOOL variable or constant di DINT variable or constant i r

INT variable or constant

REAL variable or constant s, si SINT variable or constant s, str STRING (Note: Character strings must be surrounded by single quotes.) ud,udi UDINT variable or constant ui UINT variable or constant us USINT variable or constant a, any if not followed by any other prefix letters, then any of the following variable types: REAL, SINT, INT, DINT are valid, however, NO constants allowed

33 Getting Started with ControlWave Designer

Example – Creating A Simple Project

ius ob odi oi or oud oui

Ous ioar ir is, isi is, istr iudi iui

The table, below, summarizes the meaning of the letters in the parameter name prefix.

Parameter Name

Prefix

Input or Output Valid Data Types:

ia, iany iab iais

INPUT

INPUT

INPUT

REAL, SINT, INT, DINT

NOTE: You CANNOT use constants on parameters with the ‘ia’ or ‘iany’ prefix; only variables may be used.

BOOL variable — NO constants allowed. iar iarb iaus

INPUT

INPUT

INPUT

STRING or INT variable. No constants.

REAL variable — NO constants allowed.

REAL or BOOL variable. NO constants allowed.

USINT variable or array of USINT. No constants. ib idi ii ioab

INPUT

INPUT

BOOL variable or constant

DINT variable or constant

INPUT INT variable or constant

INPUT & OUTPUT BOOL variable — NO constants allowed.

INPUT & OUTPUT REAL variable — NO constants allowed.

INPUT REAL variable or constant

INPUT SINT variable or constant

INPUT

INPUT

INPUT

INPUT

OUTPUT

OUTPUT

OUTPUT

OUTPUT

OUTPUT

OUTPUT

OUTPUT

STRING (must be surrounded by single quotes)

UDINT variable or constant

UINT variable or constant

USINT variable or constant

BOOL variable or constant

DINT variable or constant

INT variable or constant

REAL variable or constant

UDINT variable or constant

UINT variable or constant

USINT variable or constant

Getting Started with ControlWave Designer 34

Example – Creating A Simple Project

Click on the dot feeding into the irInput parameter of the LEAD_LAG function block, then go to the menu bar and click as follows: ObjectsVariable (Alternatively, you could just doubleclick on the dot.)

The Variable Properties dialog box opens. A default variable name of ‘V001’ appears as well.

However, the LEAD_LAG function block must receive its input from the F101_INPUT pin on the Analog Input process I/O board (defined earlier in Step 4);

that is the variable we want.

In the ‘Global Variable Groups’ section of the dialog box, click on the ‘+’ signs to expand the folder tree. Continue this until you have highlighted the ‘IO_GLOBAL_VARIABLES’ item. We want to highlight this item because it will contain the I/O variable defined earlier.

In the ‘Scope’ section, click on the “Global” button. (‘Global’ refers to anything that is accessible to all POUs in this ControlWave project; ‘Local’ refers to something that is confined to the current POU.)

Click in the Name list box to see a list of variables. Select F101_INPUT from the list box, since that is the variable we want. Finally, click on [OK].

Select F101_INPUT from the list box.

Choose “Global” for the scope.

35 Getting Started with ControlWave Designer

Example – Creating A Simple Project

The ‘F101_INPUT’ variable will now be displayed on the

irInput parameter of the LEAD_LAG function block.

Next, we can proceed to define variable names for the other inputs (irDerivative, irIntegral, and ibReset).

Double-click on the IrDerivative parameter. A variable name will automatically be assigned, in this case ‘V002’. You can enter a different name, or accept V002. Alternatively, you can just

enter a constant value here, instead of a variable name, if this parameter does not have an ‘ia’ or

‘iany’ prefix (see table on page 34) and you know that this value will never need to be changed,

and you don’t intend to collect/display it at the PC. (If you encounter the error ‘Operand not implemented or area exceeded’ at download, this indicates that you should NOT have used a constant because this parameter has an ‘ia’ or ‘iany’ prefix.)

This is a default name ControlWave Designer assigns automatically. You can change it if desired, or leave it as is.

You can reference a

“Global” variable outside of this POU. Any I/O variable must be “Global.”

If you want to define a non-I/O variable as

“Global” we recommend you do NOT mix I/O and non-I/O in the same variable worksheet.

You can only reference a

“Local” variable within this

POU. Typically, you should choose “Local” unless this is an I/O variable which references data going directly form/to an I/O board, or it is being shared among more than one

POU.

Enter an initial value here.

Choose the data type based on the prefix letters for the parameter name: r = REAL b = BOOL

Getting Started with ControlWave Designer 36

Example – Creating A Simple Project

NOTE: You’ll notice that you have the option of defining the new variable as either ‘Local’ or

‘Global’ . (If the Local/Global options are “grayed out,” de-select the Show all variables of

worksheets button to access them.)

As we noted before, Local variables are only accessible within this POU. If you define a variable as a local variable, and you create another POU, you will NOT be able to access the local variables in the first POU; they are completely unknown to the second POU. If you define a variable as global, it is accessible in the current POU, and in any other POUs you define for this project. This distinction isn’t too important for this particular example, however, it is discussed in detail in the ControlWave Designer Programmer’s Handbook (document# D5125).

We recommend, however, that if you are NOT defining an I/O variable for an I/O board that you choose «Local». Alternatively, if you do choose «Global», make sure you choose the ‘Default’ variable group, or some other variable group you have defined. Do NOT choose the

‘IO_GLOBAL_VARIABLES’ group for any non-I/O variables.

Choose the proper “Data type”, in this case ‘REAL’, and enter an “Initial value”, if desired. (In this case the initial value is the default value of 0.0, some of the other variables in this example will require initial values).

Although we aren’t using them in this example the “RETAIN”, “PDD” and “OPC” fields are useful. The “RETAIN” box is checked if you want the last value of this variable to be used on re-start after a power failure or warm download.

Checking the “PDD” box allows the controller to reference this variable by name. Reference by name is necessary if you intend to access this variable by external software which requires ‘readby-name’ access, such as DataView, or other OpenBSI Utilities.

Checking the “OPC” box adds this variable to a collection list used by the ObjectServer, or by the OpenBSI Signal Extractor. This is necessary when data is to be extracted and sent to a database.

Finally, click on [OK] when finished.

Repeat this process for the other input variables in the

LEAD_LAG function block — -irIntegral, and ibReset. The

irIntegral will be of the REAL data type and should be

assigned an initial value of 0.7. The ibReset will be of the

BOOL data type and should be assigned an initial value of

FALSE (i.e. OFF). When finished, the LEAD_LAG function block should appear similar to the figure shown at right.

37 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Notice that we have not defined the orOutput parameter yet. This Output parameter will actually send data out to another function block — — the PID3TERM function block. Let’s add that function block now.

To insert the PID3TERM function block, click in an open area of the window pane. Again, in the Edit

Wizard you must choose ‘<ACCOL3>’ for the “Group”, then scroll down to locate the PID3TERM function block, and double-click on it.

The Variable Properties dialog box will appear. You can optionally enter a name other than the default. You can also, optionally, enter a comment in the

“Description” field. Then just click on

[OK].

The PID3TERM function block will appear. We now have two function blocks, LEAD_LAG and PID3TERM.

Now we have two different function blocks:

Getting Started with ControlWave Designer 38

Example – Creating A Simple Project

We want to feed the output of the LEAD_LAG function block (i.e. a smoothed out flow value) into the input of the PID3TERM. There are various ways to do this; in this method, click on the

‘Connect Objects’ icon (shown above), then click on the green dot representing the orOutput parameter of the LEAD_LAG function block. Move the mouse horizontally and you will notice that a red line is drawn as you move the cursor.

Dot representing the Output parameter

Dot representing

the Input parameter

Move the cursor to make a line which connects the two dots

Position the cursor on the blue dot representing the irInput parameter of the PID3TERM function block and click. The connection has now been made.

A connection has now been established.

39 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Connecting Function Blocks Together – Method 2

Another method for making the connection would have been to drag the PID3TERM function block over to the LEAD_LAG function block so that the orOutput of the LEAD_LAG connects with the irInput of the PID3TERM.

Drag the PID3TERM function block over to the LEAD_LAG function block so that the “orOutput” of LEAD_LAG connects with the “irInput” of

PID3TERM.

Drag the PID3TERM back over to its previous position. This stretches the connection between the two function blocks.

Once the connection has been established, the PID3TERM can be dragged back to its previous location; the connection between them will stretch accordingly.

NOTE: This method is only appropriate if you have a small number of function blocks, and a small number of connections to make.

Getting Started with ControlWave Designer 40

Example – Creating A Simple Project

Now you can proceed to define the irSetpoint, irDeadband, irProportion, irIntegral,

irDerivative, irReset, ibTrack, and orError variables of the PID3TERM by double clicking on

each parameter (see previous examples of this process on pages 35 to 37). Don’t forget to choose

the correct data type (in this case ‘REAL’ or ‘BOOL’), and, for the input variables, assign appropriate initial values for this example. The table, below, shows the correct data types and some recommended initial values for this example:

PID3TERM Parameter

Name

IrSetpoint

IrDeadband

IrProportion

Data Type Initial Value for this example

REAL 40.0

REAL 0.0

IrIntegral

IrDerivative

IrReset

IbTrack

OrError

REAL 2.0

REAL 0.5

REAL 0.0

REAL 0.0

BOOL FALSE

Choose F101_OUTPUT which is the name of PIN1 on the analog output board.

That just leaves the orOutput parameter of the PID3TERM. Remember that we need to feed the output of the PID controller out to the analog output process I/O board, so it can actuate the flow control valve, thereby controlling the flow in the pipeline. We defined the output pin for this purpose to be F101_OUTPUT; we can reference that now. Double-click on the orOutput and choose F101_OUTPUT from the “Name” field in the Variable Properties dialog box.

(Remember that to do this, you have chosen the IO_GLOBAL_VARIABLES group from the tree, and clicked on the “Global” button.

So now we have defined data types for all of our variables, entered initial values where necessary, etc.

41 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Our program (POU) is done! In order to make it do anything, however, it has to be associated with a task.

Step 6. Create A Task Which Can Run The Program

Tasks determine how fast a program, or program(s) are executed. When a task is started, it reads

all inputs from the input process I/O boards, it then performs all calculations in the programs of a task, and then it writes output data out through the output process I/O boards.

Tasks are found below the “Physical Hardware” branch of the Project Tree. To create a task,

right-click on the “Tasks” icon in the project tree, and choose “Insert” and “Task’ from the pop-up menu.

Right-click on “Tasks” and

choose Insert

Task.

The Insert dialog box opens.

Getting Started with ControlWave Designer 42

Example – Creating A Simple Project

Enter a “Name” for the task. In this case we have chosen ‘Task1’. If you enter ‘DEFAULT’ for the name, the task will run whenever time is available — this is sometimes referred to as the ‘idle task.’ In general, ‘CYCLIC’ should be chosen for the “Task type”. Click on [OK] when finished.

Enter a name for the task.

Choose “Cyclic” for the task type.

Finally, click “OK.”

The Task Settings dialog box opens. Choose the rate of execution of the task by entering a value in the “Interval” field. The interval is measured in milliseconds. Generally, “Watchdog Time” is set to the same value as the “Interval”. A Watchdog condition is reported if the task does not execute within the watchdog time. This allows task slippage to be detected.

In a cyclic task, the interval between executions is measured in milliseconds.

0 is the highest priority,

1 is the next highest, etc.

43 Getting Started with ControlWave Designer

Example – Creating A Simple Project

If desired, specify a “Priority” for the task. ‘0’ is considered the highest priority. ‘1’ is the next highest priority, and so on.

NOTE: If you chose ‘DEFAULT’ as the task name, the task will NOT execute according to an interval, but instead, will be executed whenever time is available. It serves as the idle task.

When finished, click on [OK] and the task will have been defined.

Now that the task exists, however, it is necessary to associate the program that we wrote with the task. Otherwise we will just have an empty task executing. To associate the program with the task, right-click on the icon for the task in the project tree, and choose “Insert” and “Program

instance” from the pop-up menu.

The Insert dialog box opens. Choose “Program instance” as the “Type”.

First, choose “Program

Instance.”

Then, assign a unique name here.

“Program type” should be the type of program you defined. In this case

“Flow_Control_Program.

Click “OK” when you finish.

When we insert the program, we are actually creating something called a program instance.

Each program instance must be assigned a unique name — — in this case we chose ‘Flow1’. The program instance is essentially a copy of the ‘Flow_Control_Program’ program we created.

Copies are used because, theoretically, you might want to use the same program in different tasks, and if you didn’t use a copy there would not be available memory for internal (local) variables for each separate copy.

All local variables created in a POU are only for a particular instance. This becomes very

Getting Started with ControlWave Designer 44

Example – Creating A Simple Project

important if you want to create a user defined function block from one of your POUs. (User

defined function blocks are discussed in the ControlWave Designer Programmer’s Handbook, document# D5125.)

Click on [OK] when finished.

Step 7. Compile the Program and, if necessary, correct any errors

Now the program can be compiled. The compilation process takes your project (programs, function blocks, tasks, etc.) and generates machine-readable code from it, that can be run in your

ControlWave controller, or in the I/O Simulator.

The compilation process checks for any syntactical errors in your program, and also issues warnings about possible problems with the structure of the program. It does NOT check for logic errors in your control strategy, however.

To compile the program, click on the icon shown at left, or go to the menu bar, and click as follows: BuildMake

Various messages scroll by on the screen.

If there are errors or warnings, click on the “Errors” or

“Warnings” tab for more information.

If there are errors or warnings generated during the compilation, you can view them by clicking on the ‘Errors’ or ‘Warnings’ tabs, respectively.

Often, you can double-click on the error listed in the error window, and the compiler identifies its location in the project.

Double-click on the error message to jump to the location in the file where the compiler detects the error.

Right-click on the error and choose

“Help on Message” from the pop-up menu to view more information about the error.

For more information about what a particular error message means, right-click on the error message, then choose “Help on Message” from the pop-up menu (if it is available.)

45 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Step 8. Download the program into your ControlWave unit, or the I/O Simulator

WARNING

Users should never attempt to download an untested program into a controller if the controller is currently connected to a running plant or industrial process. Safeguards must be taken prior to downloading to ensure that the controller is isolated from the process and I/O is disconnected. Failure to take such precautions could result in injury to persons or damage to property.

Before a download can be performed, the resource which will receive the download must be properly configured.

The IEC 61131 real-time system which will execute your compiled program code runs either in the PC-resident I/O Simulator or in the

ControlWave controller.

If the I/O Simulator will receive the download, only the choice of simulation must be made.

If the ControlWave controller will receive the download, the DLL which will be used to perform the download must be identified.

To choose the resource, right click on the resource and choose

“Settings” from the pop-up

menu.

Getting Started with ControlWave Designer 46

Example – Creating A Simple Project

The Resource Settings dialog box opens. If you will initially be downloading into the I/O

Simulator, choose “Simulation 1”.

If, instead, you will be downloading directly into a ControlWave controller, choose “DLL” and use the DLL list box to choose the DLL which will provide your desired type of connection

(OpenBSI connection, serial connection, or TCP/IP connection).

Click on [Ok] when you have made your choices.

Either choose the DLL

(OpenBSI, Serial, or

TCP/IP) which provides a connection to the

ControlWave, or choose the simulation

(I/O Simulator).

NOTE: For purposes of this example, we will use the I/O Simulator.

47 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Next, click as follows: OnlineProject Control

The I/O Simulator opens. If necessary, minimize the I/O Simulator in order to uncover the RTU

Resource dialog box.

Click on the [Download] button in the RTU Resource dialog box.

Getting Started with ControlWave Designer 48

Example – Creating A Simple Project

The Download dialog box opens.

Click on the [Download] button in the Project section of the

Download dialog box. (NOTE: The [Download] button in the

Bootproject portion of the dialog box is ONLY used if you want to download into the boot area of the ControlWave unit; the bootproject is a project which will start whenever the controller is re-booted or power is restored following a power failure.)

The RTU_Resource dialog box will re-appear. Click on either the

[Warm] or [Cold] buttons. The [Warm] button only re-initializes

non-retentive variables. The [Cold] button re-initializes all variables.

If desired, execution can be stopped by clicking on the [Stop] button. Then, execution can be restarted using either the [Warm] or [Cold] buttons.

In the I/O Simulator, icons will now appear for all configured process I/O boards. In this example, we have two process I/O boards – one analog input board, and one analog output board. In the figure, below, they are shown as Slot 1 and Slot 2, respectively.

49 Getting Started with ControlWave Designer

Example – Creating A Simple Project

Click on either of the board icons, and a graphical representation of the board, showing simulated values for all pins on the board will appear.

In addition, you can view the values of other variables in your program by entering Debug

Mode. To do this, click on: OnlineDebug. (NOTE: The same command again allows you to exit Debug Mode.)

If you then examine the graphical representation of the project, values for each of the variables

Getting Started with ControlWave Designer 50

Example – Creating A Simple Project

will be displayed next to the parameter names of each function block, and the F101_OUTPUT variable should change as you modify the F101_INPUT.

Step 9 Save Your Project

You can now exit Debug Mode (if you haven’t already) by clicking on OnlineDebug again, and save your project.

To save the project, click on FileSave Project As/Zip Project As and specify a path and filename for the project.

Beginning with OpenBSI 5.8, you can include spaces in the path and filename. Prior to that, they were prohibited.

If you save the project ‘as is’ i.e. uncompressed, it will have a file extension of *.Mwt, and will also have a sub-directory of files associated with it with the same name as the project. If you choose to zip the project (i.e. compress it), it will have a file extension of *.Zwt.

NOTE: If you intend to copy the project to a different location, or a different PC, it is strongly recommended you zip the project first to ensure that all files are copied.

NOTE: If you are using the Variable Extension Wizard (see the ControlWave Designer

Programmer’s Handbook – D5125) and you rename your project (FileSave Project As/Zip

Project As), you must re-run the Variable Extension Wizard and save your initialization files again.

NOTE: If, after unzipping a project, you try to save it and you encounter a message ‘Cannot copy file file_pathfilename.TXT. Command aborted!’, go in Windows Explorer to the path and filename listed, and delete the named file(s). Then try to save the project again. If a similar message appears, repeat this process, as necessary. You will then be able to successfully save the project.

51 Getting Started with ControlWave Designer

Getting Started with ControlWave Designer

User Manual

D5085

May, 2010

Emerson Process Management

Remote Automation Solutions

1100 Buckingham Street

Watertown, CT 06795

Phone: +1 (860) 945-2262

Fax: +1 (860) 945-2525 www.EmersonProcess.com/Remote

Emerson Process Management

Remote Automation Solutions

6338 Viscount Rd.

Mississauga, Ont. L4V 1H3

Canada

Phone: 905-362-0880

Fax: 905-362-0882 www.EmersonProcess.com/Remote

Emerson Process Management SA de CV

Calle 10 #145

Col. San Pedro de los Pinos

01180 Mexico, D.F.

Mexico

T +52 (55) 5809-5300

F +52 (55) 2614-8663 www.EmersonProcess.com/Remote

Emerson Process Management, Ltd.

Remote Automation Solutions

Blackpole Road

Worcester, WR3 8YB

United Kingdom

Phone: +44 1905 856950

Fax: +44 1905 856969 www.EmersonProcess.com/Remote

Emerson Process Management AP Pte Ltd.

Remote Automation Solutions Division

1 Pandan Crescent

Singapore 128461

Phone: +65-6770-8584

Fax: +65-6891-7841 www.EmersonProcess.com/Remote

NOTICE

“Remote Automation Solutions (“RAS”), division of Emerson Process

Management shall not be liable for technical or editorial errors in this manual or omissions from this manual. RAS MAKES NO WARRANTIES,

EXPRESSED OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE WITH

RESPECT TO THIS MANUAL AND, IN NO EVENT SHALL RAS BE LIABLE

FOR ANY INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL

DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF PRODUCTION,

LOSS OF PROFITS, LOSS OF REVENUE OR USE AND COSTS

INCURRED INCLUDING WITHOUT LIMITATION FOR CAPITAL, FUEL AND

POWER, AND CLAIMS OF THIRD PARTIES.

Bristol, Inc., Bristol Babcock Ltd, Bristol Canada, BBI SA de CV and the Flow

Computer Division are wholly owned subsidiaries of Emerson Electric Co. doing business as Remote Automation Solutions (“RAS”), a division of

Emerson Process Management. FloBoss, ROCLINK, Bristol, Bristol

Babcock, ControlWave, TeleFlow and Helicoid are trademarks of RAS. AMS,

PlantWeb and the PlantWeb logo are marks of Emerson Electric Co. The

Emerson logo is a trademark and service mark of the Emerson Electric Co.

All other trademarks are property of their respective owners.

The contents of this publication are presented for informational purposes only. While every effort has been made to ensure informational accuracy, they are not to be construed as warranties or guarantees, express or implied, regarding the products or services described herein or their use or applicability. RAS reserves the right to modify or improve the designs or specifications of such products at any time without notice. All sales are governed by RAS’ terms and conditions which are available upon request.

© 2010 Remote Automation Solutions, division of Emerson Process

Management. All rights reserved.

ControlWave Designer allows engineers the flexibility to choose the most appropriate controller hardware system without the necessity of learning a new programming language for each platform. The flexibility of IEC61131-3 further allows each manufacturer to augment the basic set of functions with product-specific high-level functions to take maximum advantage of their products’ distinguishing capabilities, yet strictly adhere to the IEC 61131-3 standards.

Read more…

Documents & Drawings

Features

  • Average, compare, and totalize
  • Scheduling and sequencing
  • PID and lead/lag
  • AGA gas flow and liquids calculations
  • Alarming and historical storage
  • File handling

Если у вас отсутствует техническая возможность для скачивания Инструкция по эксплуатации для Emerson Process Management ControlWave MICRO
вы можете прочесть документ прямо на нашем сайте или
Скачать Emerson Process Management ControlWave MICRO Инструкция по эксплуатации

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

Инструкции для прочих Emerson Process Management

  • Сетевые карты Emerson Process Management Bristol ControlWave PAC Redundancy Инструкция по эксплуатации

  • Сетевые карты Emerson Process Management ControlWave Remote Ethernet I/O Инструкция по эксплуатации

  • Пожарные газовые извещатели Emerson Process Management ControlWave XFC Инструкция по эксплуатации

  • Персональные лифты Emerson Process Management - Emerson Electric Co. Personal Lift T100-25C1 Инструкция по эксплуатации

  • Погодные радиостанции Emerson Process Management - Emerson Electric Co. Weather Radio 225 Инструкция по эксплуатации

Понравилась статья? Поделить с друзьями:
  • Contour plus one видео инструкция
  • Contour hd 1080p инструкция на русском
  • Conti cc100 инструкция на русском
  • Contex long love гель инструкция по применению
  • Contex classic с гелем смазкой инструкция