User’s Manual WX1 GateOPC IM WX1-04E 7th Edition
This manual describes the functions and operating procedures of GateOPC. To ensure correct use, please read this manual thoroughly before beginning operation. After reading the manual, keep it in a convenient location for quick reference in the event a question arises. GateOPC is a software program that uses the OPC (OLE for process control) protocol to acquire measurement data and pass that data to DAQLOGGER or Remote Monitor.
Software License Agreement IMPORTANT - PLEASE READ CAREFULLY BEFORE INSTALLING OR USING: THANK YOU VERY MUCH FOR SELECTING SOFTWARE OF YOKOGAWA ELECTRIC CORPORATION ("YOKOGAWA"). BY INSTALLING OR OTHERWISE USING THE SOFTWARE PRODUCT, YOU AGREE TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT INSTALL NOR USE THE SOFTWARE PRODUCT AND PROMPTLY RETURN IT TO THE PLACE OF PURCHASE FOR A REFUND, IF APPLICABLE. Software License Agreement 1.
Software License Agreement 5. Infringement 5.1If you are warned or receive a claim by a third party that the Software Product in its original form infringes any third party's patent (which is issued at the time of delivery of the Software Product), trade mark, copyright or other intellectual property rights ("Claim"), you shall promptly notify Yokogawa thereof in writing. 5.
Overview of This Manual Structure of This Manual This user’s manual consists of the following chapters. Chapter 1 Title Overview 2 Operating Procedure 3 Detailed Description of Functions Index Description Gives an overview of the GateOPC software. Lists the PC requirements for running GateOPC and gives information about system configuration. Lists procedures for entering environment and data acquisition interval settings, running the program, and viewing the status display.
1 Contents Software License Agreement............................................................................................................. ii Overview of This Manual.................................................................................................................. iv Chapter 1 Overview 1.1 1.2 Chapter 2 Overview of GateOPC Functions.......................................................................................... 1-1 System Overview........................................
Chapter 1 Overview 1.1 1 Overview of GateOPC Functions Features • Acts as an OPC client, connecting to an OPC DA (data access) server (hereinafter OPC server). • Can acquire data from 16 OPC servers simultaneously. • Measurement can be performed at intervals of up to 0.5 seconds*. * IM WX1-04E However, DAQLOGGER’s shortest interval is 1 second. Also, the maximum speed of 0.
1.2 System Overview System This software can acquire data from OPC DA revision 2.0 servers. Required Operating Systems Run DAQWORX under any of the following operating systems.
1.2 System Overview 1 System Configuration Overview GateOPC 2 TCP/IP connection Monitor server protocol Remote Monitor Data acquisition 3 OPC Server OPC connection Data transfer Index PLC, DCS etc It is recommended that you run GateOPC and DAQLOGGER or Remote Monitor on separate PCs depending on the number of devices that the system supports and other factors affecting the load.
Chapter 2 2.1 Operating Procedure 1 Running and Exiting GateOPC Running the Software 2 Procedure GateOPC > GateOPC. Operating Procedure 1. From the Windows Start menu, choose Programs > YOKOGAWA DAQWORX > 3 The GateOPC Configurator dialog box opens. Index Note • • When you start GateOPC it is restored to the same status that was active during the previous session. If the program is closed while a process or service is running, the license will be considered to be “in use.
2.2 Entering Environment Settings When you start GateOPC, the configurator opens allowing you to perform the following: • Specify an OPC server • Connect to an OPC server • Edit an OPC server item • Create/delete groups • Add/delete group items • Set item properties • Test acquisition • Run/stop the executable function (see section 2.3) • Enter TCP/IP port numbers for monitor servers (see section 2.3) Specifying an OPC Server Procedure 1.
2.2 Entering Environment Settings ProgID: Click the Search button to display the ProgID list, then make a selection. If Local was selected above, the software searches for an OPC server on the local computer, then displays the results. System No: Select the system number to assign to the OPC server. You can display the OPC server list (see “Browsing OPC Server Items” in chapter 3) to see which OPC servers are assigned to which systems. Up to 16 OPC servers can be connected. 3. Click OK.
2.2 Entering Environment Settings Displaying the OPC Server List, Changing Settings, and Deleting Servers Procedure Displaying the OPC Server List 1. Click the Show or hide OPC server list button or choose View > OPC Server List from the menu bar. The OPC server list is displayed. Click a system number to display that system’s window in the front of the screen The show/hide OPC server list button Use button OPC server list Click a cell to select it for editing Changing OPC Server Settings 2.
2.2 Entering Environment Settings 1 Displaying the OPC Server and Group Trees, and Editing Settings 1. You can add new OPC servers (see page 2-2, “Specifying an OPC Server”). The OPC Server window is displayed in the GateOPCConfigurator screen, and the OPC Server Tree and Group Tree are displayed to the left of that window. The device, group, tag, items, and other information specified for the connected OPC servers is displayed.
2.2 Entering Environment Settings Displaying OPC Groups 2. Click the Group Root folder located to the left of the OPC server dialog box inside the GateOPCConfigurator screen. The group list is displayed. Click The following Information is displayed in the list. Group Name: Specified names of each group UpdateRate (ms): Display update interval (in units of msec) Deadband (%): Deadband expressed as a percentage Changing OPC Group Settings 3.
2.2 Entering Environment Settings Dec Pos: Select a decimal place from 0 to 4. Color: Select from the color selection dialog box. 1 Value: Displays the values during test execution. The number of digits before the decimal point is determined by the decimal place setting. 3 2. Click a Span Hight, Span Low, Tag Name, or Unit cell, then change the setting. 3. If you click a Dec Pos cell a list appears. Make a selection from the list. 4.
2.2 Entering Environment Settings Creating and Deleting Groups, and Changing Group Names Procedure Creating Groups • Using a Tool Button or Menu Command to Create Groups 1. Click the Group creation button or choose Edit > Group Creation from the menu bar. Group creation button The Group creation dialog box opens. 2. Enter settings for each item. Group Name: Up to 30 alphanumeric characters can be input. Up to 50 groups can be created.
2.2 Entering Environment Settings 1 Deleting Groups • Using the Menu Bar to Delete Groups 1. Select the group you wish to delete. 2 2. Choose Edit > Delete from the menu bar. The group is deleted. 1. Right-click the group name located in the Group Root folder on the left side of the OPC server window. The shortcut menu is displayed. Operating Procedure • Using the Group List to Delete Groups 3 Index 2. Select Delete. Changing a Group Name • Using the Group List to Change a Group Name 1.
2.2 Entering Environment Settings Adding and Deleting Group Items Note These procedures are available only when connected with the OPC server. Procedure Adding Items Up to 32 group items can be added. • Using the Menu Bar to Add Items 1. Select the group to which you wish to add an item. 2. Choose Edit > Add Item. The Add Item dialog box opens. 3. Enter an item ID. 4. Click OK. The item is added. • Using the Group List to Add Items 1.
2.2 Entering Environment Settings 1 Executing the Test Procedure Executing the Test 2 1. Click the group name located in the Group Root folder to the left of the OPC Operating Procedure server window. The item properties are displayed in the right of the window. Test execution button 3 Stop button Index 2. Select the item ID for which you wish to perform the test. 3. Click the Test Execution button on the tool bar or choose Execute > Test from the menu bar.
2.3 Loading Data from the OPC Server and Transferring It to DAQLOGGER or Remote Monitor By running the executable function, you can connect to and acquire data from the OPC server, then transfer that data to DAQLOGGER or Remote Monitor via Ethernet. GateOPC’s executable function acts as the client of a DAQLOGGER or Remote Monitor that is running as the monitor server. Procedure Connecting to OPC Servers 1. Turn ON the OPC servers you wish to connect to in the Use column of the OPC server list. 2.
2.3 Loading Data from the OPC Server and Transferring It to DAQLOGGER or Remote Monitor 1 Running as a Service or as a Process 5. Click the Service execution or Process execution button on the tool bar, or choose Execute > Process or Service from the menu bar. 2 A dialog box appears asking you whether or not to save before execution. 6. Click OK. Note Execution occurs on OPC servers whose Use buttons are turned ON (blue) in the OPC server list.
2.4 Viewing the Status of the Executable Function Displaying the Connection Status Procedure 1. Choose View > State Display. The GateOPC Information Software dialog box opens, allowing you to see the method under which the executable function may be running (as a process or as a service), whether or not it is running, and with which PCs communications are open.
2.5 1 Viewing Version Information Procedure 2 1. Click the About button or choose Help > About from the menu bar. Operating Procedure 3 About button The Version dialog box opens.
Chapter 3 3.1 Detailed Description of Functions 1 Overview GateOPC performs COM or DCOM communications with OPC servers and acquires data at regular intervals. Through the monitor server function, the acquired data is transferred to DAQLOGGER or Remote Monitor via TCP/IP. The following is a list of the features of each software function.
3.1 Overview Executable Function Features of the executable function are as follows: • Running as a process and as a service is possible. • Data is acquired from OPC servers at regular intervals. • Runs as a monitor server if DAQLOGGER or Remote Monitor is the client. Status Display Function Features of the Status Display function are as follows: • Executable Function Status Display Practice status display (stopped, running as a service, running as a process).
3.2 1 Detailed Description of Functions OPC Server GateOPC utilizes the OPC (OLE for process control) DA (data access) revision 2.0 server and COM/DCOM technology on the local machine or remote machine to form a connection and acquire data. 3 Interfaces Used Detailed Description of Functions The interfaces for the OPC server are defined as shown in the figures below.
3.2 Detailed Description of Functions The interfaces used by GateOPC are as follows: • OPC Server Object IOPCCommon IOPCServer IOPCItemProperties IConnectionPointContainer IOPCBrowseServerAddressSpace • OPC Group Object IOPCItemMgt IOPCGroupStateMgt IOPCSyncIO Note According to OPC DA version 2 conventions IOPCBrowseServerAddressSpace is optional, so GateOPC can run even if the OPC server does not have this interface. However, the OPC server item browse function is not available without this interface.
3.2 Detailed Description of Functions 1 Browsing OPC Server Items This function not available if the IOPCBrowseServerAddressSpace interface is not installed on the OPC server. You can search through all items on the OPC servers and display them in a format similar to the Windows explorer. You can display the layered structure of branch items, and all leaf items on each layer. The data type, access rights (read/write), units, and details are displayed for each leaf item.
3.2 Detailed Description of Functions Adding Items to Groups You can add an item to a group. GateOPC limits the number of characters to 32. However, fewer than 32 may be allowed depending on the OPC server. Note These settings correspond to the OPC server settings and define GateOPC acquisition items. An item may not be able to be added depending on its type.
3.2 Detailed Description of Functions 1 Acquiring Data at Fixed Intervals Device (PLC etc.
3.2 Detailed Description of Functions Scan Mode When connecting with DAQLOGGER to acquire OPC data, if the number of channels in the GateOPC Configurator exceeds 1600, 1600 channels of data is sent to DAQLOGGER, starting with the first channel of the instrument of the smallest system number.
3.3 1 Message and Corrective Actions Error Message Cannot write to file. E212 Cannot read file. E213 Cannot open file. E401 Communication error. E402 E403 E501 E1010 Communication timeout. Cannot open a communication port. Invalid license number. Please reinstall the software. Execution of a process failed. E1011 Execution of a service failed. E1301 E1302 Cannot connect OPC server. Execution of status display function failed. E1303 Failed to create group. E1304 Failed to create item.
3.3 Message and Corrective Actions Executable Function Messages No.
Index 1 Index A O acquiring data at fixed intervals............................................. 3-7 adding and deleting items..................................................... 2-7 adding items........................................................................ 2-10 adding items to groups.......................................................... 3-6 opc server.............................................................................. 3-3 overview...............................................