tpc driver 6f8c1105 - toshiba · 2018-11-28 · if the label is lost or soiled, inform toshiba...
TRANSCRIPT
TC-net
OPC Client Software Instruction Manual
6F8C1385
9th Edition 21th August. 2014 The material in this manual may be revised without notice.
Copy right 2009-2014 by Toshiba Corporation. All rights reserved. No part of this manual may be reproduced in any form without permission.
Safety Precautions
i
Safety Precautions The instruction manual and the labels affixed to the products or equipment give important information for using products safely. It helps prevent damage to properties and hazard to people who use them or work with them. Make yourself familiar with the signal words and signs in this page, then read the safety precautions that follow and always follow the instructions to avoid hazards. Explanation of signal words Signal word is a word that designates a degree or level of hazard seriousness. The words WARNING and CAUTION are used for the products.
WARNING Indicates a potentially hazardous situation which could result in death or serious injury, if you do not follow the instructions.
CAUTION Indicates a potentially hazardous situation which may result in minor or moderate injury and/or property damage, if you do not follow the instructions.
Hazard alert shapes and symbols Following shapes and symbols are used in the safety precaution labels affixed to the products and in other places including operation manuals for giving safety instructions.
Filled circle means "Mandatory Action" or "Do as indicated." Required action is shown in the circle or described near the circle.
Circle band with a diagonal slash means "Prohibition" or "You must not do." Prohibited action is shown in the circle or described near the circle.
Triangle means "Hazard Alerting" or "Be alert against hazard." The kind of hazard is shown in the triangle or described near the triangle.
Exclamation point with a triangle is a safety alert symbol which indicates a potential hazard. It is used with a Signal Word.
Square or rectangle means "Information Messages" or "Notice."
Important precautions for system operation System fault or data loss may occur in the event of power outage whether it is external or internal of the system. Take precautions in advance to protect the system in order to prevent such event to take place. Also back up your data regularly to minimize the possible damage by loss of data as a result of such event. Confirmation of product safety label Confirm that product safety labels are put on the front panel of the power supply module. If the label is lost or soiled, inform TOSHIBA Corporation.
Safety Precautions
ii
Introduction
iii
Introduction This manual explains how to use the OPC client software for TC-net (hereafter called as OPC Client). First, read "Safety Precautions" carefully to use this device safely and correctly. After you read this manual, keep it in a place where you can find it easily when you need it.
Composition of This Manual This manual is composed of the following chapters. Chapter 1 Outline of OPC Client This explains the functions and composition of the OPC Client. Chapter 2 Setting-Up OPC Client This explains how to install and uninstall the OPC Client. Chapter 3 Launch and Operate OPC Client This explains how to launch the OPC Client. Chapter 4 Specification of Functions This explains the functions of OPC Client in detail. Microsoft and Windows are trademarks of US Microsoft Corporation registered in U.S.A. and other countries. Other company names and product names described in this manual are the trademarks and registered trademarks of the respective companies.
Introduction
iv
Reference Manual
The reference manual is as follows: TC-net OPC Server Instruction Manual 6F8C1368
Conventions used in this manual Other than safety precaution items, the following symbols are used to explain items that need your attention. Important: Explains items required to use the product correctly. Tip: Introduces referential matters to help you understand the main text. Reference: Documents you should refer to help you understand the main text. → Indicates reference locations of this manual or other manuals.
Contents
v
Contents Safety Precautions i Introduction iii
1. Outline of OPC Client 1 1.1. System Configuration 1 1.2. Functions 4 1.3. Restriction 4
2. Setting-Up OPC Client 5 2.1. Installing Microsoft .Net Framework 2.0/3.5 5 2.2. Installing OPC Client 6 2.3. Uninstalling OPC Client 7 2.4. Reinstalling OPC Client 10 2.5. OPC Client Environment Settings 10 2.6. Windows Settings 10
3. Launch and operate OPC Client 43 3.1. Launch OPC Client Software 43 3.2. Basic operation 45
4. Specification of Functions 47 4.1. Main window 47 4.2. Load the items information 52 4.3. Browse 55 4.4. Search Items 56 4.5. Set the simulation type to write automatically 58 4.6. Filter Setting 60 4.7. Operation for OPC Client 62
Contents
vi
1. Outline of OPC Client
1
1. Outline of OPC Client TC-net OPC Client Software (hereafter called as OPC Client) is for TC-net OPC Server.
1.1. System Configuration This paragraph describes the system configuration needed for OPC Client. The following table indicates the recommended specifications of the hard ware for OPC Client.
Table 1.1 Hardware specification
Item Specification CPU Pentium®4 Processor 1.0GHz or more OS Microsoft® Windows® 8.1 Pro [x64] *1
Microsoft® Windows® 7 Professional [x64] SP1 or later Microsoft® Windows® 7 Professional [x86] SP1 or later Microsoft® Windows® Vista Ultimate/Enterprise SP1 or later Microsoft® Windows® XP Professional SP2 or later Microsoft® Windows® Server 2012 R2 Standard [x64] Microsoft® Windows® Server 2008 R2 [x64] SP1 Microsoft® Windows® Server 2008 [x86] SP2 Microsoft® Windows® Server 2003 R2 SP2 or later
*1 : 64 bits version OS support is added in OPC Client V01.80, but execute OPC Client with 32 bits mode.
HDD Space Capacity 10MB or more Memory 1GB or more
Table 1.2 Software specification
Software Version TC-net OPC Server V01.00 or later
Important:
There is a description of "OPC Client destination folder" in this manual, but becomes the following folder when it is used the 64 bits version OS. Destination folder in case of the 64 bits version OS: C:\Program Files (x86)\Toshiba\OpcClient
Important:
There is a description of System Folder (C:\Windows\System32) in this manual, but becomes the following folder when it is used the 64 bits version OS. System Folder in case of the 64 bits version OS: C:\Windows\SysWOW64
1. Outline of OPC Client
2
1. Outline of OPC Client
3
The constitution of OPC Client is described below.
Figure 1.1 Example of System Configuration
Ethernet
TC-net
Client PC OPC Client
OPC Server OPC Server OPC Server
1. Outline of OPC Client
4
1.2. Functions OPC Client has the following functions.
• Data Access You can read values of OPC items and write them.
• Write automatically You can write values to OPC items automatically.
• For other OPC servers This accesses other OPC Servers.
1.3. Restriction OPC Client has the following restriction.
• Maximum 10 applications run at the same time When 10 applications are already runnig, the following message dialog is displayed.
Figure 1.2 Abort Message
• Maximum 1000 items can be registered in one OPC Client.
Important:
If you register 1000 items or more by reading a csv file or browsing, only 1000 items are registered.
2. Setting-Up OPC Client
5
2. Setting-Up OPC Client This chapter describes installation and uninstall of .OPC Client.
2.1. Installing Microsoft .Net Framework 2.0/3.5 When your PC doesn’t have “Microsoft.Net Framework 2.0” or “Microsoft.Net Framework 3.5”, you must install it on your PC.
Important :
Launch Setup.exe under one use with a computer administrator account.
Important :
Launch Setup.exe in CD.
Important :
When the OPC Client is already installed, uninstall it . About how to uninstall the OPC Client , refer to 2.3 paragraph..
Important :
If Microsoft.Net Framework 2.0 or Microsoft.Net Framework 3.5 isn’t installed on your PC or your PC’s OS is Windows 8.1 or Windows XP or Windows Server 2012 R2 or Windows Server 2003, install it according to “2.1 Installing Microsoft.Net Framework 2.0/3.5”.
Reference:
About how to install “Microsoft.Net Framework 2.0” or “Microsoft.Net Framework 3.5”, refer to “9.2.1 Installing Microsoft.Net Framework 2.0/3.5” in “9. Log Decompress Tool ” on “TC-net OPC Server Instruction Manual” (6F8C1368) .
2. Setting-Up OPC Client
6
2.2. Installing OPC Client 2.2.1. Install Install OPC Client from CD.
Proceed as shown below in Figure 2.1 after the program is executed. <1>Input Serial No. and click <Run>.
<2>Select “TC-net OPC Client SATOPCCA VXX.XX” and click <Install>. (VXX.XX is the current version.)
<3>Click <Next>.
<4>Input “Folder”. Normally this folder is “C:\Program Files\Toshiba\OpcClient”. In case of the 64 bits version OS, Input "C:\Program Files (x86)\Toshiba\OpcClient". If you would like to change it, click <Browse…>. In order to use OPC Client for all logon users, “Everyone” is selected. If you want to use it only for the current logon user, select “Just Me”. After setting, click <Next>.
2. Setting-Up OPC Client
7
<5>Click <Next>.
<6>Installation is completed. Click <Close>.
Figure 2.1 Install OPC Client
. 2.3. Uninstalling OPC Client 2.3.1. On Windows 8.1 / Windows 7 / Windows Vista /
Windows Server 2012 R2 / Windows Server 2008 R2/ Windows Server 2008
Uninstall the OPC Client with [Control Panel] – [Programs and Features] or [Control Panel] - [Uninstall a program].
<1> Open [Control Panel].
Select [Uninstall a program]. When the view is "Classic View" or "Large icons" or "Small icons", select < Programs and Features >.
2. Setting-Up OPC Client
8
<2>Select “TC-net OPC Client Software VXX.XX” and Click <Uninstall> button. (VXX.XX is the current version.) It starts to remove program.
<3> The message that make sure to remove is displayed and click <Yes>. It starts to remove program.
Figure 2.2 Uninstall OPC Client Software on Windows 8.1 / Windows 7/ Windows Vista/
Windows Server 2012 R2 / Windows Server 2008 R2/ Windows Server 2008
2. Setting-Up OPC Client
9
2.3.2. On Windows XP / Windows Server 2003 Uninstall the OPC Client with [Control Panel] – [Add or Remove Programs]
<1> Select <Add or Remove Programs>.
<2>Select “TC-net OPC Client VXX.XX” and Click < Remove> button. (VXX.XX is the current version.) It starts to remove program.
<3>The message that make sure to remove is displayed and click <Yes>. It starts to remove program. When it completes, the message dialog will be displayed.
<4> Click [OK].
Figure 2.3 Uninstall OPC Client on Windows XP
2. Setting-Up OPC Client
10
2.4. Reinstalling OPC Client If you would like to reinstall the OPC Client, you need to uninstall it at first.
2.5. OPC Client Environment Settings The OPC client applications needs environment for OPC clients. If you use OPC client on PC without OPC Server, you must install OPC environment from CD for installing OPC Server.
Reference:
About installing OPC environment, refer to “2.1 Installation” in “2. Setting-Up OPC Server” on
“TC-net OPC Server Instruction Manual” (6F8C1368) . 2.6. Windows Settings The OPC server and OPC clients access data via a network to communicate each other. To realize this, some environment settings are required. This section describes how to set the environment settings. When OPC Server and OPC Clients runs on one PC, these setting are unnecessary.
Tip:
If you would not like to lower security level, logon with the same user name and the same password
in OPC Server and OPC Client.
We recommend you that user name of OPC Server and one of OPC Client is same.
Important:
If OPC Clients can’t connect to OPC Server, you may remove “Internet Protocol Version 6
(TCP/IPv6)” in Network Protocols on Network Connections . (Widnows 8.1, Windows 7, Windows
Vista, Windows Server 2012 R2 , Windows Server 2008 R2 and Windows Server 2008) The following settings are needed.
Reference:
About how to uninstall the OPC Client, refer to 2.3. About how to install the OPC Client, refer to 2.2
2. Setting-Up OPC Client
11
(1) DCOM Setting
(2) Windows Firewall
(3) User Account Control
2.6.1 DCOM Setting
The dcomcnfg command is a command to make the security setting to execute OPC communications through the computer network.
On Windows 8.1/ Windows 7 / Windows Vista / Windows Server 2012 R2 / Windows Server 2008 R2 / Windows Server 2008 R2
●DCOMCNFG Setting
On Windows 8.1/ Windows Server 2012 R2 <1> Click [Run] on the menu
Enter “dcomcnfg” in the “Run” dialog and click <OK>.
Figure 2.4 Launch dcomcnfg dialog (Windows 8.1/ Windows Server 2012 R2)
Others <1> Click [Start] on start menu
Enter “dcomcnfg” in “Start Search” box and push <ENTER> key.
Figure 2.5 Launch dcomcnfg dialog (Others)
2. Setting-Up OPC Client
12
●Changing default properties <1> Execute the commands in the following order:
“Console Root” → “Component Services” → “Computers” → “My Computer.” Right-click the “My Computer” and select “Property” menu.
<2> Select the “Default Properties” tab in the “My Computer Properties” window and make the following settings.
Item Selection
Enable Distributed COM on this computer Check this item
Enable COM Internet service on this computer Not check this item
Default Authentication Level Connect
Default Impersonation Level Identity
When there is difference between authentication level of OPC client-side and one of OPC server side, It is accorded with high one. In addition, the authentication level is a turn of "the None < connection < summons < packet".
2. Setting-Up OPC Client
13
<3> Click “COM Security” tab and click < Edit Limits… > on it.
<4> Select “ANONYMOUS LOGON” user to allow “Remote Access”. Click <OK>.
2. Setting-Up OPC Client
14
<5>Click “Edit Limits…” in “Launch and Activation Permissions”.
<6>Check “Remote Launch” and “Remote Activation” for “Everyone” User. Click <OK>.
2. Setting-Up OPC Client
15
<7>Click <OK> on “My Computer Properties” dialog.
Figure 2.6 Change default properties
2. Setting-Up OPC Client
16
On Windows XP / Windows Server 2003
●DCOMCNFG Setting <1> Click [Run] on start menu
Enter “dcomcnfg” in “Run” dialog and click <OK>.
So the right dialog is displayed. Click <OK>.
Figure 2.7 Launch dcomcnfg dialog
●Changing default properties
<1> Execute the commands in the following order: “Console Root” → “Component Services” → “Computers” → “My Computer.” Right-click the “My Computer” and select “Property” menu.
2. Setting-Up OPC Client
17
<2> Select the “Default Properties” tab in the “My Computer Properties” window and make the following settings.
Item Selection
Enable Distributed COM on this computer Check this item
Enable COM Internet service on this computer Not check this item
Default Authentication Level Connect
Default Impersonation Level Identity
When there is difference between authentication level of OPC client-side and one of OPC server side, It is accorded with high one. In addition, the authentication level is a turn of "the None < connection < summons < packet".
<3> Click “COM Security” tab and click < Edit Limits… >.
2. Setting-Up OPC Client
18
<4> Select “ANONYMOUS LOGON” user to allow “Remote Access”. Click <OK>.
<5>Click “Edit Limits…” in “Launch and Activation Permissions”.
2. Setting-Up OPC Client
19
<6> Check “Remote Launch” and “Remote Activation” for “Everyone” User. Click <OK>.
<7>Click <OK> on “My Computer Properties” dialog.
Figure 2.8 Change default properties
2. Setting-Up OPC Client
20
2.6.2 Security Setting Logon to Windows XP Professional or later from other computers is done as a Guest user. In addition, logon to Windows XP Professional from users without a password is not allowed.
Therefore, to make a remote connection to OPC server, the above security setting must be changed.
How to change the setting is as follows.
To change the setting, it is necessary to log on as a user with Administrator privilege.
This Setting is on both of OPC Server and OPC Client
On Windows 8.1 / Windows 7 / Windows Vista / Windows Server 2012 R2/ Windows Server 2008 R2 / Windows Server 2008 <1> On Windows 8.1 / Windows Server 2012 R2
Open the menu by right-clicking the left side on the task bar, open the ‘Control Panel’.
Others Open “Control Panel” from start menu.
2. Setting-Up OPC Client
21
<2> Select "Classic View" or "Large icons" or "Small icons" for the view and open “Administrative Tools”.
or
<3> Open ““Local Security Policy” from “Administrative Tools”.
2. Setting-Up OPC Client
22
<4> Select the commands in the following order: “Security Settings” → “Local Policies” → “Security Options” and select “Accounts: Limit local account use of blank passwords to console logon only”.
<5> Select “Disabled” and then click [OK].
<6> Likewise, select “Network access: Sharing and security model for local accounts”.
<7> Select “Classic – local users authenticate as themselves” and then click [OK]
Figure 2.9 Security
2. Setting-Up OPC Client
23
On Windows XP/ Windows Server 2003 <1> Open “Control Panel” from start menu.
Select “Classic View “ and open “Administrative Tools”.
<2> Open ““Local Security Policy” from “Administrative Tools” .
<3> Select the commands in the following order: “Security Settings” → “Local Policies” → “Security Options” and select “Accounts: Limit local account use of blank passwords to console logon only”.
2. Setting-Up OPC Client
24
<4> Select “Disabled” and then click [OK].
<5> Likewise, select “Network access: Sharing and security model for local accounts”.
<6> Select “Classic – local users authenticate as themselves” and then click [OK]
Figure 2.10 Security
Important:
Windows XP or later has an internal security function to prevent an intruder break-in. This is done by
limiting the user who accesses a computer through the network as a [Guest] level. When an intruder
tries to enter a computer without privilege by guessing a password to get the privilege, either he fails
or he can obtain only an access level of limited [Guest] level.
However, the above setting changes the internal security of Windows XP or later and this setting
change results in a conventional Windows level security.
Be careful about the operating environment of a machine where OPC server is installed.
2. Setting-Up OPC Client
25
2.6.3. Windows Firewall Windows XP Service Pack2 or later provides better protection against viruses, hackers, and worms, and includes Windows Firewall, Pop-up Blocker for Internet Explorer, and the new Windows Security Center.
When this machine is used for OPC Client Software, Fire Wall should be disabled for the port with which OPC Client Software uses for communicating to OPC Server. It is necessary to log on for changing this in a user with Administrator special privilege. How to specify excepted traffic in Firewall is described below.
On Windows 8.1 / Windows 7 / Windows Server 2012 R2 /Windows Server 2008 R2 <1> Open “Control Panel”.
Open “Windows Firewall” in System and Security.
Important:
If you turn off Windows Firewall , you can use the function of OPC without the following setting. But in order to keep your pc safer, we recommend to turn on Windows Firewall.
2. Setting-Up OPC Client
26
<2> “Windows Firewall” is turned on by default. Click <Turn Window Firewall on or off>.
<3> “Customize Settings” window is displayed If “Turn off Windows Firewall (not recommended)” is selected, select “Turn on Windows Firewall”. Click <OK>.
<4>Click "Allow a program or feature through Windows Firewall" in "Windows Firewall".
2. Setting-Up OPC Client
27
Click "Allow another program …" in the "Allowed programs and features" list.
.
<5> "Add a Program" dialog is appeared. Click <Browse…>.
<6> Browse dialog is appeared. Select the following program. C:\Windows\system32\OPCENUM.EXE C:\Program Files\Toshiba\OpcClient \ TcnetOpcClient.EXE (*1)
(*1) This can be selected after installing OPC client software. In case of the 64 bits version OS, select C:\Windows\SysWOW64\OPCENUM.EXE C:\Program Files (x86)\Toshiba\OpcClient \ TcnetOpcClient.EXE
Click <OK>.
2. Setting-Up OPC Client
28
<7>Add the selected program. Click <Add>.
<8>Search the added program in the list. When there isn't "Microsoft Management Console" (mms.exe) in the list, you must add "C:\Windows\System32\mmc.exe". In case of the 64 bits version OS, add "C:\Windows\SysWOW64\mmc.exe". If it is in the list, Click <OK>
<9>Go back "Windows Firewall" is shown. Click "Advanced settings".
2. Setting-Up OPC Client
29
<10>"Windows Firewall with Advanced Security" is shown. Select "Inbound Rules" and mouse-right-click on it. Click "New Rule…" on the popup menu.
<11>"New Inbound Rule Wizard" is appeared. Select "Port" and click <Next>.
<12> Set the following port in "Protocol and Port". Check “TCP” Port No:135 Click <Next>.
2. Setting-Up OPC Client
30
<13> Select "Allow the connection" in "Action". Click <Next>.
<14> Select all items in "Profile". Click <Next>.
<15> Set the following name port and click “OK”. Name :DCOM Click <Finish>.
The setting for Windows Firewall is now completed.
Figure 2.11 Windows Firewall on Windows 8.1 / Windows 7 / Windows Server 2012 R2 / Windows Server 2008 R2
2. Setting-Up OPC Client
31
On Windows Vista / On Windows Server 2008 <1> Open “Control Panel” from start menu.
Exchange Classic display and open “Windows Firewall”.
<2> “Windows Firewall” is turned on by default. Click <Change settings>.
<3> “Windows Firewall Settings” window is displayed If “Off” is selected, select “On (recommended)”.
2. Setting-Up OPC Client
32
<4>Select “Exceptions” tab. Click <Add Program…>.
<5> Displays “Add a Program” dialog. Click <Browse…> and select the following programs to be added.
C:\WINDOWS\system32\OPCENUM.EXE C:\Program Files\Toshiba\OpcClient \ TcNetOpcClient.exe (*1)
(*1) This can be selected after installing OPC client software. Click <OK>.
<6>Select “Exceptions” tab. Click <Add Port…>.
2. Setting-Up OPC Client
33
<7> Set the following port and click “OK”. Name :DCOM Port No:135 Check “TCP” Click <OK>.
<8> Click <OK>. Windows Firewall setting is completed.
Figure 2.12 Windows Firewall on Windows Vista/Windows Server 2008
2. Setting-Up OPC Client
34
On Windows XP / Windows Server 2003 <1> Select [Control Panel].
Click [Windows Firewall].
<2>“Windows Firewall” is turned on by default. If it is “Off”, select “On (recommended)”.
<3>Select “Exceptions” tab. Click <Add Program…>.
2. Setting-Up OPC Client
35
<4> Displays “Add a Program” dialog. Click <Browse…> and select the following programs to be added.
C:\WINDOWS\system32\OPCENUM.EXE C:\Program Files\Toshiba\OpcClient\ TcNetOpcClient.exe (*1)
(*1) This can be selected after installing OPC client software. Click <OK>.
<5>Select “Exceptions” tab. Click <Add Port…>.
<6> Set the following port and click “OK”. Name :DCOM Port No:135 Check “TCP”
Click <OK>.
2. Setting-Up OPC Client
36
<7>Click <OK>. Windows Firewall setting is completed.
Figure 2.13 Windows Firewall on Windows XP
2. Setting-Up OPC Client
37
2.6.4. User Account Control (Windows 8.1, Windows 7, Windows Vista, Windows Server 2012 R2 , Windows Server 2008 R2 and
Windows Server 2008 only)
User account control (UAC; User Account Control) is one of the security technology introduced in Windows Vista and this is going to let you use Windows in a normal user. When you use PC for OPC Client, it is necessary to invalidate this setting. The user account control becomes by default effective.
It is necessary to log on to a change in a user having an Administrator special privilege. How to change the user account control is described below.
On Windows 8.1/ Windows Server 2012 R2 <1> On Windows 8.1/ Windows Server 2012 R2
Open the menu by right-clicking the left side on the task bar, open the ‘Control Panel’.
<2> Select "Large icons" or "Small icons" for the view and open “Administrative Tools”.
2. Setting-Up OPC Client
38
<3> Open ““Local Security Policy” from “Administrative Tools”.
<4> Select the commands in the following order: “Security Settings” → “Local Policies” → “Security Options” and double click “User Account Control: Admin Approval Mode for the Build-in Administrator account”.
<5> Select “Disabled” and then click [OK].
Figure 2.14 User Accounts(Windows 8.1/ Windows Server 2012 R2)
2. Setting-Up OPC Client
39
On Windows 7 / Windows Server 2008 R2 <1> Open “Control Panel” from start menu.
Select “User Accounts and Family Safety”.
<2>Select “User Accounts” in the "User Accounts and Family Safety".
<2>Select “Change User Account Control settings”.
2. Setting-Up OPC Client
40
<3> Move the bar to "Never notify" on the scale. Click <OK>.
Figure 2.15 User Accounts(Windows 7 / Windows Server 2008 R2)
On Windows Vista / On Windows Server 2008 <1> Open “Control Panel” from start menu.
Select Classic View and open “User Accounts”.
<2>Select “Turn User Account Control on or off”.
2. Setting-Up OPC Client
41
<3> “Use User Account Control (UAC) to help protect your computer” is on as default. Check “Use User Account Control (UAC) to keep protect your computer” off. Click <OK>.
Figure 2.16 User Accounts (Windows Vista/Windows Server 2008)
2. Setting-Up OPC Client
42
3 .Launch and operate OPC Client
43
3. Launch and operate OPC Client This chapter describes how to launch OPC Client.
3.1. Launch OPC Client Software This paragraph describes how to launch OPC Client Software. Select the [Tc-net OPC Client Software] on the App view on Windows 8.1/ Windows Server 2012 R2. Select [Start]-[All Programs]-[ TC-net Opc Client]-[Tc-net OPC Client Software] on other OS.
When you launch OPC Client, the main window is displayed.
3.1.1. On Windows 8.1/ Windows Server 2012 R2
Figure 3.1 Launch OPC Client on Windows 8.1
3.1.2. On Windows Server 2008
Figure 3.2 Launch OPC Client on Windows 2008
3 .Launch and operate OPC Client
44
3.1.3. On Windows 7 / Windows Vista
Figure 3.3 Launch OPC Client on Windows 7/ Windows Vista
3.1.2. On Windows XP / Windows Server 2003
Figure 3.4 Launch OPC Client on Windows XP
Figure 3.5 Main Windows of OPC Client
3 .Launch and operate OPC Client
45
3.2. Basic operation This paragraph describes how to operate OPC Client commonly.
Figure 3.6 Sample – OPC Client
3.2.1. How to Input Select a cell and click a left button of the mouse or push a key on a cell directly. Then you can input data on it. After you input data and push [Enter] button or move a mouse cursor on other cell, the input data is fixed.
Tip:
When the input data becomes to be fixed, check it whether it is right or wrong. If it is wrong, the error message is shown..
Figure 3.7 Sample of error message
3 .Launch and operate OPC Client
46
3.2.2. How to delete columns Select column(s) on the table and push [Delete] button.
Tip:
When you delete columns, you can’t undo it.
3.2.2. How to sort data When you select a cell of the title that you want to sort on the table, an arrow marker is displayed. Click it.
Figure 3.8 Sort marker
Sort marker
4. Specification of Functions
47
4. Specification of Functions This chapter describes the functions of OPC Client
Tip:
According to Read Interval, Write Interval , the number of items or the number of OPC Client running, the state of OPC Client may be “No response”.
4.1. Main window This window is shown when the OPC Client is started.
The number of OPC Client registered at same time is maximum 10.
1)NodeID 2)ProgID 27)[Filter] button 28)Enabled 3)[Connect] button 4)[Disconnect]
button
5)Read Interval (ms) 6)[Save] button 7)[Load] button
8)[CSV] button
9)[Browse] button
10)[Search] button 11)[Clear] button 12)[Add To Server] button 13)[Remove from Server] button
14)[Read] button 15)[Auto Read] button 16)[Write] button 17)[Auto Write] button 18)[Exit] button
19)Item Name
20)Data Type
21)Value 22)Button to display array data
23)Quality 24)Time Stamp
25)Success 26)Error
Fig. 4.1 OPC Client (Main Window)
4. Specification of Functions
48
Display area/Input field
1) NodeID This is a computer name or IP address of OPC Server on ethernet. Its string is within 15 characters.
2) ProgID This is Program ID of OPC Server. Its string is within 64 characters.
3) [Connect] button OPC Client connects to OPC Server.
4) [Disconnect] button OPC Client disconnects from OPC Server.
5) Read Interval (ms) This is interval time when OPC Client reads items automatically. It can be specified from 10 by 60000. (Default : 1000)
6) [Save] button The current information (NodeID, ProgID, ItemList, Read Interval, Simulation Settings) is saved in CSV file.
7) [Load] button The setting information is loaded from the CSV file.
8) [CSV] button When you want to load item information from the csv file which is exported by OPC Server Setting Tool. This displays the [Save as] dialog.
Reference:
About the details, refer to “4.2 Load the items information” 9) [Browse] button
This browses in OPC Server and display the result.
Reference:
About the details, refer to “4.3 Browse” 10) [Search] button
This displays the “Search by Item Name” dialog.
Reference:
About the details, refer to “4.4 Search Items”
4. Specification of Functions
49
11) [Clear] button This clears the items on ItemList. Before clearing them, display the following message.
Fig. 4.2 Confirmation Message
12) [Add To Server] button This adds the items on ItemList to OPC Server.
13) [Remove from Server] button This removes the items on ItemList from OPC Server.
14) [Read] button This reads the values of items from OPC Server.
15) [Auto Read] button This reads the values of items from OPC Server automatically. The Interval time to read is specified in 5). The string “Auto Read” changes “Stop Reading”. When you click it agrain, you will stop reading.
16) [Write] button This writes the values of items to OPC Server.
Tip:
By [Write] , the values of all items are written at one time. Before you edit the value, you must do [Read].
17) [Auto Write] button This writes the values of items to OPC Server automatically. It displays the dialog to set the simulation type. The string “Auto Write” changes “Stop Writing”. When you click it agrain, you will stop writing.
Reference:
About the details, refer to “4.5 Set the simulation type to write automatically”
4. Specification of Functions
50
18) [Exit] button This closes OPC Client
19) Item Name This is the name of item.Its string is within 64 characters. After clicking[Add To Server], this area can’t be edited.
20) Data Type This is the Data Type. This is set after reading a value from OPC Server or loding from the csv file.
Tip:
OPC Client converts the data type of the data which it read into the data type to use in the OPC client inside and displays it. “UI2”->” I4”, “UI4” ->”R8”, ”ARRAY | UI2”->”ARRAY | I4” “ARRAY | UI4”-> “ARRAY | R8”
There is a case unlike the data type with the OPC server.
Tip:
The data is really read and written only in an appointed data type part with an OPC server. And you will have errors when you write data out of the range for data type specified by OPC server, and can’t write it.
21) Value This is a value of OPC item. It is displayed after reading from OPC Server. And It can be edited. The data is decimal, hex or string. eg. ) "100 (0x64)", "-100 (0xFF9C)" When the data is array type, this cell indicates the first data. (If data is hex, “0x” adds to it.)
4. Specification of Functions
51
22) Button to display array data When the data is array type, this displays all data in a dialog after doing [Read]. Here you can edit the vaules.
Fig. 4.3 The dialog for array data
23) Quality This indicates the quality of data after reading.(Good/Bad) (Only view)
24) Time Stamp This indicates the timestamp of data after reading. (Only view)
25) Success This indicates the counter of reading or writing successfully.
26) Error This indicates the counter of reading or writing with fail.
27) [Filter] button This displays the dialog for filter of ItemList on Main Window.
Reference:
About the details, refer to “4.6 Filter Setting”
28) Enabled This indicates whether filter is enabled or disabled.
4. Specification of Functions
52
4.2. Load the items information When you click [CSV] button on the main window, the “Open” dialog is displayed and you can open a csv file.
The contents of the csv file are displayed in ItemList on the main window.
10) Area to select by Block No. 11)Area to select by Item Name . 7) Data Type 8)Bit No. 9)Array Num
12)Area to search
by Item Name
13)[OK] button
14)[Cancel] button
1) Sel 2) Item Name 3) Comment 4) Block No 5)Word No 6)Word Address
Fig. 4.4 Item List dialog
Display area/Input field
1) Sel Check whether or not to load the item to the main window. Items which are checked add to Item List of main window.
2) Item Name This is the name of item.
3) Comment This is the comment for this item.
Reference:
About the main screen, refer to “4.1 Main Window”
Only View
4. Specification of Functions
53
4) Block No. This is the Block No.
5) Word No. This is the Word No.
6) Word Address This is the starting address of word.
7) Data Type This is the Data Type. BOOL, I2 , UI2 , I4 ,UI4 , R4 , BSTR , ARRAY | BOOL ARRAY | I2 , ARRAY | UI2 , ARRAY | I4 , ARRAY | UI4 , ARRAY | R4
8) Bit No. This is the Bit No. of bit data. Its value is from 0 by 15.
9) Array Num This is the number of array or length of character string. Its value is from 0 by 65535. (Only view).
10) Area to select by Block No. No. : Input Block No. within 0-2047. [Select] button : Check the item with the specified Block No. in “Sel” Cell. [Release] button : Uncheck the item with the specified Block No. in “Sel” Cell.
11) Area to select by Item Name. Conditions : Input Item Name. which has wildcard characters.(“*”, “?”) You can specify the following format. “*” : All items “ABC” : Search items which agree with “ABC”. “ABC*” : Search items of which the head string is “ABC”. (eg. ”ABC”, “ABC1234”, “ABC_1000” …) “*XYZ” : Search items of which the end string is “XYZ”. (eg. ”XYZ”, “G123XYZ”, “G100_XYZ” …) “ABC*XYZ” : Search items of which the head string is “ABC” and the end string is “XYZ”. (eg. ”ABCXYZ”, “ABC_123_XYZ” …) “?BC*XYZ” : Search items of which the 2nd and 3rd string is “BC” and the end string is “XYZ”. (eg. ”ABCXYZ”, “CBC_123_XYZ” …) [Select] button : Check the item with the specified Item Name. in “Sel” Cell. [Release] button : Uncheck the item with the specified Item Name in “Sel” Cell.
4. Specification of Functions
54
12) Area to search by Item Name [Search] button : This displays the “Search by Item Name” dialog.
Reference:
About the details, refer to “4.4 Search Items” [Select All] button : Check the all items in “Sel”. [Release All] button : Uncheck the all items in “Sel”.
13) OK Load selected items to main window and close the dialog.
Tip:
When the selected item alreaady exists, it is overwritten.
14) Cancel Close the dialog without loading data.
Tip:
Only “Sel” cell can be edited.
4. Specification of Functions
55
4.3. Browse When you click [Browse] button on the main window, the following message dialog is shown.
Fig. 4.5 Message dialog
When you click <Yes>, this browses all items. When you click <No>, this browses hierarchized items only.
It browses in OPC Server and displays the result in the dialog.
1) Result
2) Select
3) Close
Fig. 4.6 Browse dialog
Display area/Input field
1) Result The result of browsed items is displayed. The item with [+] has hierarchy. When you double click it, it is displayed the contents of it. The item with [-] is displayed with the contents. When you double click it, the contents are hidden.
Reference:
About the main screen, refer to “4.1 Main Window”
4. Specification of Functions
56
2) Select The selected items without [+] and [-] in the result area are loaded to the main window. (When they are already existed, there is no change.)
3) Close Close this dialog.
4.4. Search Items Click [Search] button and the Search screen displayed.
1)Item Name 2)Search 3)Result
4)Cancel
Fig. 4.7 Search dialog
Display area/Input field
1) Item Name This is the character for searching items. The wildcard characters can be used here.
Reference:
About the details, refer to “4.2 Load the items information.”.
2) Search Search items with characters in 1).
3) Results Display items searched. These items are maximum 100. When you double click a item, display its column on the top of Item List.
4. Specification of Functions
57
Button
4) Cancel Close the Search screen.
Reference:
When the search dialog is displayed, you can’t sort and edit on the Item List.
4. Specification of Functions
58
4.5. Set the simulation type to write automatically When you select [Auto Write] on the main window, OPC Client makes the simulated data and puts them to OPC items.
When you click [Auto Write] button on the main window, the “Select Simulation type” dialog is displayed.
1)Simulation Type
2) Analog Setting
3) Change Interval( s)
4) Write Interval(ms)
5) [ OK ] button
6) [Cancel] button
Fig. 4.8 Simulation Setting dialog
Display area/Input field
1) Simulation Type Select the type to make the simulated data.. Linear / Sine / Invert
2) Analog Setting These parameters are for analog data. Set Upper limit and Lower limit as “Upper limit > Lower limit”. (Upper Limit : Default 100, Lower Limit : Default 0)
3) Change Interval (s) This is the interval to change data. Its value is from 1 by 3600. (Default : 60)
4) Write Interval (ms) This is the interval to put data to OPC items. Its value is from 10 by 60000. (Default : 1000)
5) OK Starts to write data to OPC items automatically and close the dialog.
6) Cancel Close the dialog.
Tip:
These parameters are exported in the CSV file by [Save] button on the main screen.
4. Specification of Functions
59
4.5.1 About Simulation
This writes data that is created according to the contents set in the “Select Simulation type” dialog. “Auto Write” writes the data created by the following process every “Write Interval”.
[Parameters] Upper limit = RH Lower limit=RL Change Interval=TM Running time=t Current Value=PV
(1) Linear (Linear Wave) Increase: (RH-RL)/TM PV = t*(RH-RL)/TM + RL At the case of “PV > RH”, PV equals RL.
(2) Sine (Sine Wave) center: (RH-RL)/2 + RL range: (RH-RL)/2 θ=t*2π/TM (π=3.14159265) PV = center + range*sinθ
(3) Invert PV = NOT(PV)
Tip:
This culcuration doesn’t use “Change Interval”. Here the data change for “Write Interval”
Change Interval
Upper limit
Lower limit
Change Interval Upper limit
Lower limit
4. Specification of Functions
60
4.6. Filter Setting When you select [Filter] on the main window, this dialog is displayed.
You can set the conditions for filtering. When “Enabled” on the main window is checked, this setting is enabled.
1)Item Name
2) Data Type
3) Quality
4) Access Result
5) Display Type
6) [ OK ] button
7) [Cancel] button
Fig. 4.9 Item Filter dialog
You can set the conditions for filtering. “Data Type ", "Quality" and "Access Result" can have several conditions. Item List is filtered with all of “Item Name”, “Data Type ", "Quality" and "Access Result".
Display area/Input field
1) Item Name This is the character for searching items. The wildcard characters can be used here.
Reference:
About the details, refer to “4.2 Load the items information.”.
2) Data Type Select the data type for filtering. You can check several items.
3) Quality Select the quality type for filtering. You can check several items.
4. Specification of Functions
61
4) Access Result Select the access result for filtering. You can check several items.
5) Display Type Select the display type after filtering Filter : Only rows that agree with filter condition are shown in the ItemList. Mark : All rows are shown in the ItemList and only rows that agree with filter condition have pink background color.
6) OK Save the contents of setting and close the dialog.
7) Cancel Not save the contents of setting and close the dialog.
4. Specification of Functions
62
4.7. Operation for OPC Client This paragraph describes a standard operation for OPC Client.
Maintenance Export data in CSV file
Add OPC Items to OPC Server
Data File (CSV )
Access data
Connect to OPC Server
Remove OPC Items from OPC Server
Disconnect from OPC Server
Figure 4.10 Operation for OPC Client
(1)Connect to OPC Server Connects OPC Client to OPC Server for accessing OPC items.
(2)Add OPC Items to OPC Server Select OPC items by loading items from the csv file or browsing in OPC server. Then Add them to OPC Server for accessing data.
(3)Access data Read or write data.
(4)Remove OPC items Remove OPC items which are added from OPC Server
(5) Disconnect from OPC Server Disconnect OPC Client from OPC Server.
(6)Maintenance Backup data. Setting information is exported in the csv file.
Social Infrastructure Systems Company
Security & Automation Systems Division
72-34, Horikawa-Cho, Saiwai-Ku, Kawasaki 212-8585, Japan