Home
DP410 DAQOPC fpr DARWIN Series User`s Manual
Contents
1. 2 8 IM DP41013 61E 2 2 Starting the Configurator and Setting Parameters Select the RS 422 A address you cannot select the address for RS 232 C Setting file This is the same as the description for When the port is an Ethernet port However for COM all settings can be received Serial Setting Tab Page The following items are specified on the Serial Setting tab page ifigurator Eile Settings View Help gt none gt none E none Port No Select the check box corresponding to the port No to be used Type Set the type of port to be used Baud Rate Select the baud rate for the port to be used Parity Set the parity for the port to be used Stop Bit Select the stop bit for the port to be used Version Information Dialog Box The Version Information dialog box shows the following information Version information ProglD Serial No Version Information DAQOPC for DARWIN Configurator R3 01 Yokogawa ExaopcDADAQOPCDARWIN1 Copyright C 2001 YOKOGAWA Electric Corporation uoneisdo OdOOVa eS 2 3 Starting and Stopping DAQOPC Starting DAQOPC The DA server process automatically starts as a background process when the Windows system is started At this point DAQOPC starts communications with the DARWIN according to the communication conditions that were specified using the Configurator The setup information of the Configurator is loaded during the startup of the Wi
2. VB and VC DAQOPC and User Application on the DAQOPC and User Application on Same PC Different PCs DAQOPC R3 01 VB6 0 VC 6 0 SP5 VB5 0 6 0 VC 5 0 6 0 If you are creating a program using VB select the Yokogawa Exaopc Data Access Automation Server check box by choosing Project gt References IM DP41013 61E 1 7 M IAI9AQ Chapter 2 DAQOPC Operation 2 1 Flow of DAQOPC Operation Flow of Operation This section will describe the operations of DAQOPC For the access method from the OPC client software see chapter 3 DAQOPC DA Server Function DAQOPC refers to the setting configurations at startup and communicates with the DARWIN The DAQOPC Configurator provides easy to use user interface like a typical Windows application for displaying and setting the communication parameters of the DARWIN from which DAQOPC is to retrieve data In addition the DAQOPC Configurator shows information that is required for the client to connect to DAQOPC ProgID The general flow of operation is as follows 1 Determine the method of connection with the DARWIN from which to retrieve the data using the Configurator 2 Start DAQOPC 3 Set up the client software if the client is on a different PC Changing the Parameter during DAQOPC Operation You can change parameters on the DAQOPC Configurator even when DAQOPC is in operation However the specified parameters take effect the next time DAQOPC is
3. suoouny 19M S Vd DdOOVA pe 3 2 POPC Interface Functions Cached data update The cached data is scheduled in units of the update rate as follows 1 The cached data is divided into update rate communication units the maximum number of data points that can be transferred each time 10000 2 Ifthe data and the update rate are the same it is scheduled once to avoid duplication 3 Each communication unit is scheduled as follows Each communication unit maintains its update rate Scheduling is dispersed so that duplication of communication units within the same second with the same update rate is avoided as much as possible up to a range of one minute Scheduling is performed so that duplication within the same second with communication units of other update rates is minimized The communication unit of each update rate is scheduled with the start point at each 0 s of the system time If multiple communication units of the same update rate exist they are scheduled in order every 1 s with the update rate as the maximum width Li I 1 Schedule of 41 minute 41 minute 14 minute 11 minute data update data 1 update data 2 update data 3 1 i ee Schedule of 10 second 10 second 10 second data update data 1 update data 2 Pe m m l I Li Schedule of 2 second 2 second 2 second data update data 1 update data 1 i AY ae Id n second n 1 seccond n 2 second n 3 second Subscription
4. DAQOPC rules regarding the data change check for the subscription are given below For data of which the type is VT_R8 measured and computed values PV ifthe ratio of the difference between the current cached data and the new value is greater than the deadband cached data is updated For data of which the type is VT_I2 alarm status ALARMx device status Common STATUS property read status PROP and VT_BOOL command DO status Rxxx Status if there is a difference between the current cached data and the new value cached data is updated 3 12 IM DP41013 61E 3 2 POPC Interface Functions Group Object Attribute IOPCGroupStateMgt Groups are provided as means by which the OPC client can efficiently access the process data via the DA server The OPC client is able to register arbitrary number of items in a group and in general this group is handled as a unit for process data access The handling of group object properties that are vender specific is indicated below Group name For the DAQOPC DA Server if no name is specified when creating a group object agroup object with the following name is created Name of the created group CSGroup1 CSGroup2 CSGroupN where N is an integer string Item Attribute IOPCitemProperties Item attributes are attributive values that can be retrieved by specifying the ItemID and property ID The following types of data can be acquired Specifying the data item PV me
5. ItemID is specified as follows Device name computation channel Example DEVICE1 CH031 Property ID VARIANT type Description 101 VT_BSTR Item Description Example Funace 1 Allows retrieval of the tag strings specified on the DARWIN When a setting data is received from the DA100 DC100 or DR or when a setting data that was created using the DAQ32 or DAQ32Plus Hardware Configurator is opened Q and G are converted to spaces u is converted to u and is converted to e Once a character is converted it cannot be converted back Specifying the tag number communication input data There are no item properties that can be retrieved Specifying the tag number relay There are no item properties that can be retrieved Specifying the tag number COMMON There are no item properties that can be retrieved Specifying the device ItemID is specified as follows Device name Example DEVICE1 Property ID VARIANT type Description 6001 VT_BSTR Model Example DX120 On DARWIN the DARWIN model name DA100 DR130 DR2xx or DC100 is displayed 6002 VT_l2 Login Level 1 For RS 232 C RS 422 A and Ethernet port No 34150 2 For Ethernet port No 34151 Allows retrieval of the access level to the DARWIN 3 16 IM DP41013 61E 3 2 POPC Interface Functions Locale ID LCID The locale ID LCID is a language identifier that is used when the OP
6. Relay off FALSE Relay on TRUE Cannot be used when the port number used on the Ethernet network is set to 34151 Item name STATUS COMMON Specifiable tag COMMON Indicates the status of the specified device see below Operating normally 0 The specified device does not exist 1 Failed to allocate memory area 2 Failed to open communications 3 Communication error 4 3 10 IM DP41013 61E 3 2 POPC Interface Functions When the status is 3 and 4 and 0 is written the DAQOPC server attempts to recover the communication of the specified device When the communication recovers the device status is received and the property information is retrieved The device status also written to a fixed file Writing O when the status is 0 1 or 2 is void Note If the module configuration is changed after receiving the settings and the channel that was valid before no longer exists the value is set to the value specified by the Configurator and the quality code is change to The specified item does not exist Item name PROP Specifiable tag COMMON Indicates the property read status of the specified device see below The properties of the specified device have not been read 0 The properties of the specified device have been read 1 Performs a read operation to the specified device 2 When 2 is written the properties are retrieved from the specified device Normally if the device status is set to be received at startup by
7. View gt Recorder Setting Switches to the Recorder Setting tab View gt Serial Setting Switches to the Serial Setting tab View gt Tool Bar Shows or hides the toolbar View gt Status Bar Shows or hides the status bar Help gt About Displays the Version Information dialog box IM DP41013 61E uoneisdo OdOOVa 2 2 Starting the Configurator and Setting Parameters Working Condition Dialog Box Set the following items on the Working Condition dialog box Working Condition x Time stamp I Execute by simulation mode Use time of PC I Start Math func at start m How to treat special data over data _ over data Define value 0 Definevalue 0 C Use lower span C Use lower span Use upper span C Use upper span Skip data value 0 Not existing ch 0 Error data value 0 Unstable data value u m How to treat data at communication error Define value 0 C Use previous value m How to treat decimal point of communication input data Setas0 C Refer to Math channel m How to treat default file Not receive at start Receive at start cancel _ Time Stamp Select whether to use the time of the connected recorder or the time of the PC in which DAQOPC is installed for the time stamp that is added when the data is retrieved Note When the connected device is the DA100 the time on the PC is used even if you select Use time of DARWIN Execute by simulation mode
8. If you select this check box DAQOPC does not perform communications with the DARWIN and operates as a simulator Note To execute DAQOPC in demo mode the configuration file that was specified in the Detail Setting dialog box of each device must exist Start Math Func at Start If you select this check box the computation operation will start when the server is started How to treat special data Assigns values to special data that is retrieved from the DARWIN For values over or under the range you can specify a particular value or assign upper and lower limits of the span You can also assign values for skip error and no data data You can assign a value between 100000000 and 1000000000 A decimal point is added to the appropriate position to the value that is actually retrieved In addition you can assign a value when a nonexistent channel is specified as an item The selectable range is 100000000 to 1000000000 2 4 IM DP41013 61E 2 2 Starting the Configurator and Setting Parameters Note You can specify the span in the range setting for the DR and DC but the span referred here is the upper and lower limits of the selectable range to be used when using the range setting on the DR and DC In addition when the scale is specified on the DR DC or DA the specified scale range becomes the upper and lower limits How to treat data at communication error Specify the handling of the value when an error occurs while d
9. Methods CreateBrowser Creates a browser object Yes GetErrorString Gets the error string Yes QueryAvailbleLocalelDs Gets a list of supported locale IDs Yes QueryAvailableProperties Gets a list of properties Yes GetltemProperties Gets properties Yes Lookupltem IDs Converts the ItemID of properties No Events ServerShutDown Shutdown event Yes Yes Supported No Not supported IM DP41013 61E 3 3 suoouny 19M3S Vd DdOOVa o 3 2 POPC Interface Functions Object Type Name Description Support Organization Hierarchical type Yes Filter Filter specification Yes DataType Data type Yes Properties AccessRights Access rights Yes CurrentPosition Current position Yes Count Number of collections Yes Item Gets the object Yes OPCBrowser ShowBranches Gets a list of current positions Yes ShowLeafs Gets a list of current positions Yes MoveUp Moves the hierarchy Yes Methods MoveToRoot Moves the hierarchy Yes MoveDown Moves the hierarchy Yes MoveTo Gets the absolute position Yes GetltemID Gets the ItemID Yes GetAccessPaths Gets access paths No DefaultGrouplsActive Default active property Yes DefaultGroupUpdateRate Default cache update Yes DefaultGroupDeadband Default deadband Yes Properties DefaultGroupLocalelD Default locale ID Yes DefualtGroupTimeBias Default time bias Yes Count Number of collections Yes OPCGroups Item Gets the group object Yes Add Adds a group Yes GetOPCGroup Gets the
10. The DAQOPC for the DARWIN series uses the configuration file based on the following philosophy Basic Operation The server receives the setup information from the connected remote DARWIN at startup and operates based on the received information How to Use Port No 34151 of the Ethernet Module When compared to port No 34150 the commands that can be used on port No 34151 are limited and the information required by the server cannot be retrieved If you are using the DAQOPC through port No 34151 of the Ethernet module simultaneously with other software programs the required information is retrieved using DAQ32 a DARWIN standard software program To Cut Down the Server Startup Time The time needed in retrieving setup information from the DARWIN can be reduced by receiving the settings and saving them to a file beforehand or by using the DAQ32 setting data Operation When the DARWIN Setting Conditions Is Missing The server operation is not automatically recovered in the following cases An explicit recover instruction or loading of properties is required When reception fails at startup When reloading of properties fails If reloading of properties fails the channels that were accessed up to this point remain as invalid channels The server operation is not affected Also if the PC does not receive the settings file when starting up the server must be restarted Communication Input Data Communication input data cannot be retriev
11. data identifier and writing using communication input data Starts and stops the OPC server in sync with the start and shutdown of Windows Supports the Ethernet RS 232 C EIA 232 standard and RS 422 A EIA 422 standard interfaces of DARWIN Allows a data update rate of up to 1 s However data update may not be possible at the specified rate depending on the communication conditions Capable of reading measured value computed value and alarm status as an ItemID Capable of reading and writing communication input data and command DO as ItemIDs excluding communications using the Ethernet module via port No 34151 By setting the communication status with the connected device as an ItemID a client is able to instruct a recovery after a power failure Retrieves span value unit tag alarm type and alarm setting as Property IDs of the ItemlD The DAQOPC OPC server supports the OPC Data Access Version 2 05A The DAQOPC OPC server supports the OPC DA Custom Interface The DAQOPC OPC server supports the OPC DA Automation Interface The DAQOPC OPC server supports optional the OPC DA browser function Browser function is used by the OPC client to browse the contents of the OPC server The DAQOPC OPC server can connect up to 16 DARWINs IM DP41013 61E 1 1 MAIAJBAO 1 1 Functional Overview of DAQOPC Where OPC Interface Fits OPC client refers to the application that requests data using the OPC inte
12. the value of Device1 ch01 PV exists in Trend 1 and Report 1 in this example Server object Group object ItemID Server object A m Trend 1 Device1 ch01 pv Device1 ch02 pv Device1 ch03 pv Device1 ch04 pv Report 1 m Device1 ch01 pv Device1 ch01 Alarm1 OPC Interface Compliance The DAQOPC DA server is an OPC server that provides the interface complying with the following OPC DA Specification Version 2 05a OPC DA Custom Interface OPC DA Automation Interface It supports all the standard functions that are defined in these OPC Specifications In addition those items that are defined as options browse function of items are also supported Note For details on the OPC Custom Interface and OPC Automation Interface see the corresponding sections in section 1 3 Server Functions IM DP41013 61E 3 1 suoouny 19M S Vd DdOOVA o 3 2 OPC Interface Functions A List of Interfaces The DAQOPC DA Server supports the standard interface of OPC Version 2 05a It also supports a portion of the interface that is defined to be options For clients that use the older version of the OPC interface functions that were supported in OPC Version 1 0A are also supported This section will mainly focus on the vender specific option interface of the DAQOPC DA Server For details on the OPC Interface see the specifications that are released by the OPC Foundation A list of int
13. 11 2 5 Handling of Configuration Files ccceceeeceeeeeeeeeeeeeeecieeeeeeeeeeeeeaeseeeeeceeseeeseneetiaeeeeeeeea 2 12 Chapter 3 DAQOPC DA Server Functions 3 1 Overview of the DAQOPC DA Server Function ecceeeceeeeeeeeeeeeeeeeteeeeaeeeeeeenaeeeeeeenaeee 3 1 3 2 OPC Interface FUNCTIONS cee eee cece eeee cent eeeeeeee estes eeeeeeaeeeaaeeeeeecaeseeeescaeeeaeeseeeetiaeeeeeenaes 3 2 3 3 Error Codes irisi aineina inaa a aia i edie iets 3 19 Index iii IM DP41013 61E Chapter 1 Overview 1 1 Functional Overview of DAQOPC What Is an OPC Interface By using the OPC interface provided by YOKOGAWA the user is able to access various data on the DARWIN via the DAQOPC server using an OPC compliant application that runs on a Windows machine The user does not have to create a special application program The OPC interface is a standard interface that uses OLE Object Linking and Embedding for process control It consists of a server that provides various data on the DARWIN and ageneral purpose interface used to access the server OPC applies OLE which is a standard method of communication between applications in the Windows environment to process control It allows the exchange of process data between multiple general purpose Windows applications DARWIN DAQOPC Functions Provides Data Access function DA the OPC interface DA function Reading of the current value of the process data that uses ItemID as the
14. for each device select whether to receive the setting conditions by communicating to the DARWIN at startup If you select Receive at start the setting data is received from the connected device and stored to the default file at startup However if the DARWIN setting conditions are specified in the detail setting of each device the setting conditions are not received at startup If you select No receive at start the setting data is not received from the connected device at startup nor when ItemID Common Status is set to 2 However if the default file is specified in the detail setting of each device and the file does not exist setting data is received at startup IM DP41013 61E 2 5 uonesado OdOOVa eS 2 2 Starting the Configurator and Setting Parameters Setting of Ethernet Dialog Box Set the following items on the Setting of Ethernet dialog box Ethernet Setting M Use time out m Start and connect Time out 3000 msec Retry times 0 Time out for communication 250 msec 0 r Auto retry function Time out 3000 msec Retry times cancer Use Time out Select this check box when setting a timeout Start and Connect Set the timeout time and the retry count for establishing connection at the startup of the server These values also apply to the reestablishment of the connection when 2 is written to Common Status You can set 1 ms to 60000 ms for Time out You can set 0 to
15. group object Yes Methods Remove Deletes the group Yes RemoveAll Deletes all groups Yes ConnectPublicGroup Gets the public group No RemovePublicGroup Deletes the public group No Yes Supported No Not supported IM DP41013 61E 3 2 POPC Interface Functions Object Type Name Description Support Name Group name Yes IsPublic Public property always FALSE No IsActive Active property Yes IsSubcscribed Asynchronous property Yes ClientHandle Client handle Yes Properties ServerHandle Server handle Yes LocaleID Locale ID Yes TimeBias Time bias Yes DeadBand Deadband Yes UpdateRate Cache update rate Yes OPCltems Item collection Yes OPCGroup SyncRead Performs a synchronous read Yes SyncWrite Performs a synchronous write Yes AsyncRead Performs an asynchronous read Yes Methods AsyncWrite Performs an asynchronous write Yes AsyncRefresh Refreshes Yes AsyncCancel Cancels asynchronous request Yes DataChange Change notification Yes AsyncReadComplete Asynchronous read response Yes a AsyncWriteComplete Asynchronous write response Yes AsyncCancelComplete Cancel response Yes Yes Supported No Not supported IM DP41013 61E 3 5 suoloun4 189g Vd DdOOVa fe 3 2 POPC Interface Functions Object Type Name Description Support Parent Parent group obj
16. the Configurator they are received at startup and the properties are retrieved If a file is specified the properties are read from the file at startup When a retrieve request for a property value is received the server returns a value based on this value rather than actually requesting the device In addition the server uses the decimal position information of the measured and computed values that are retrieved at the start of DAQOPC Therefore if you change the range and other settings on the specified device the settings are reread from the specified file The settings are not received Note If the module configuration is changed after executing a reread and the settings and the channel that was valid before no longer exists the value is set to the value specified by the Configurator and the quality code is change to The specified item does not exist Access path OPC defines access path for distinguishing the COM Component Object Model ports but the DAQOPC DA Server does not use it Blob OPC defines a parameter called Blob to increase the efficiency of ItemID searches but the DAQOPC DA Server does not use it Data acquisition operation The data acquisition operation complies with the OPC specifications However if the acquisition request from the client software exceeds the specifications of the maximum number of data points of DAQOPC the process is temporarily suspended Therefore the desired response will not be obtained
17. 10 times for Retry When connection is established retry is stopped before the specified count is reached If Retry is set to O and the connection fails the communication fails and the connection is not retried Time out for communication Select this check box to set the timeout for the communication error when retrieving data or requesting write operation after connection You can set 1 ms to 60000 ms for Time out Auto retry function Select this check box to reestablish the connection when retrieving the next data or requesting the next data write operation when communication failed or communication error occurred The settings for Time out and Retry are the same as those for Start and Connect Setting the Recorder The Recorder Setting tab page is shown below onfigurator File Settings View Help Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected IM DP41013 61E 2 2 Starting the Configurator and Setting Parameters The following items are specified on the Recorder Setting tab page Model If the file that was selected in Detail exists the corresponding model information is displayed Measurement Channel if the file that was selected in Detail exists the corresponding number of measurement channels is displayed Computation channel I
18. C server returns values as strings Itis used in alarms status and other parameters that include engineering units In general the DAQOPC DA server ignores the locale ID The unit and tag strings of the DARWIN are passed without any modification For error strings OPCServer GetErrorString OPCCommon GetErrorString the DAQOPC Server only supports the locale or the Windows system However all error strings that are defined by the OPC are returned in English Windows system errors are returned in the local language When a setting data is received from the DA100 DC100 or DR or when a setting data that was created using the DAQ32 or DAQ32Plus Hardware Configurator is opened Q and are converted to spaces m is converted to u and e is converted to e Once a character is converted it cannot be converted back Structures Defined by the OPC The DAQOPC DA server handles the vendor specific section of the structures that are defined by the OPC specifications as follows Item attributte structures OPCITEMATTRIBUTES Engineering Unit The engineering unit is the range information of the item ID Server status structures OPCSERVERSTATUS Bandwidth On the DAQOPC DA server the bandwidth is set to the number of ItemIDs that are registered in the cache update VenderlInfo Yokogawa Electric Corporation is set on the DAQOPC server Support for OPC Optional Specifications The OPC optional functions that DAQOPC supports ar
19. IDs 102 and 103 become the lower limit and the upper limit of the scale respectively For computation channels the two Property IDs represent the specified left span and right span When the left span and right span are reversed Property IDs 102 and 103 become the lower limit and the upper limit of the span respectively IM DP41013 61E 3 13 suoouny 19M S Vd DdOOVA o 3 2 POPC Interface Functions Specifying the data item ALARM measurement channel and computation channel ItemID is specified as follows Device name measurement or computation channel ALARM1 or ALARM 2 4 Example DEVICE1 CHO01 ALARM1 Property ID VARIANT type Description 1 VARTYPE Data Type Allows retrieval of VARIANT data type of items 5 VT_l4 Item Access Rights 1 Read only Access level of item 6 VT_R4 Server Scan Rate Example 250 Allows retrieval of the DARWIN measurement interval in the ms order 100 VT_BSTR EU Unit Example Allows retrieval of the engineering unit specified on the DARWIN 6004 VT_l2 Alarm Type 0 Alarm OFF 5 RH alarm 1 H alarm 6 RL alarm 2 L alarm 3 DH alarm 4 DL alarm Allows retrieval of the type of alarm specified on the DARWIN If the range is set to SKIP or the computation channel is OFF Alarm OFF is output for all channels 6005 VT_R8 Alarm Trigger Example 1 583 Allows retrieval of the alarm trigger value specifie
20. QOPC The overall construction of DAQOPC is shown below DAQOPC OPC server consists of a server that provides the interface specifications of the OPC DA OPC client Automation Wrapper t DAQOPC DA server AA 1 4 I Li 1 i 1 t OPC interface DARWIN gt Process data Pe Engineering data Role of each function An overview of the interface that DAQOPC supports is indicated Process Data OPC Specification Current value data Read write Complies with DA 2 05a Write is only for communication input data only Engineering Data OPC Specification Tag information Read Complies with DA 2 05a Tag list Read Complies with DA 2 05a MAIAJBAO IM DP41013 61E 1 5 1 3 Server Function A list of DAQOPC server functions is shown below Function Name Description OPC DA custom interface Functions that complies with the custom interface of the OPC specification OPC DA automation interface Functions that complies with the automation interface of the OPC specification DA Server Application capacity The application capacity of the DAQOPC DA server is shown below Item Application Capacity Maximum number of clients 100 clients Maximum number of group objects 1 000 groups Maximum number of registered ItemIDs 10 000 group Maximum number of cache update ItemIDs 100 000 Cache update rate U
21. User s DP410 Manual DAQOPC for DARWIN Series YOKOGAWA IM DP41013 61E Yokogawa Electric Corporation 3rd Edition Foreword Notes Copyright Trademarks Revisions 3rd Edition March 2005 YK This manual explains the functions and operations of DAQOPC 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 whenever a question arises during operation DAQOPC is an OPC server that provides OPC interface Data Access interface The OPC interface was designed by the OPC OLE for Process Control Foundation This manual describes the specifications of the Data Access interface and vender dependent section This manual is for those who understand the specifications of the OPC Foundation The contents of this manual are subject to change without prior notice as a result of continuing improvements to the instrument s performance and functions Every effort has been made in the preparation of this manual to ensure the accuracy of its contents However should you have any questions or find any errors please contact your nearest YOKOGAWA dealer Copying or reproducing all or any part of the contents of this manual without the permission of Yokogawa Electric Corporation is strictly prohibited YOKOGAWA holds the copyright to the software that is on the CD ROM e Microsoft MS DOS Windows Windows NT and Wi
22. VICE1 ICOMMON STATUS Property ID VARIANT type Description 1 VARTYPE Data Type Allows retrieval of VARIANT data type of items 5 VT_l4 Item Access Rights 3 Read and write Access level of item ItemlD is specified as follows Device name COMMON PROP Specifying the data item PROP COMMON Example DEVICE1 COMMON PROP Property ID VARIANT type Description 1 VARTYPE Data Type Allows retrieval of VARIANT data type of items 5 VT_l4 Item Access Rights 3 Read and write Access level of item IM DP41013 61E 3 15 suoouny 19M S Vd DdOOVA o 3 2 POPC Interface Functions Specifying the tag number measurement channel ItemID is specified as follows Device name measurement channel Example DEVICE1 CHO001 Property ID VARIANT type Description 101 VT_BSTR Item Description Example Funace 1 Allows retrieval of the tag strings specified on the DARWIN 6003 VT_BSTR Input Range Example TC Typek Allows the retrieval of range strings of measurement channels When a setting data is received from the DA100 DC100 or DR or when a setting data that was created using the DAQ32 or DAQ32Plus Hardware Configurator is opened Q and G are converted to spaces u is converted to u and is converted to e Once a character is converted it cannot be converted back Specifying the tag number computation channel
23. asurement channel and computation channel ItemlD is specified as follows Device name measurement or computation channel PV Example DEVICE1 CH001 PV Property ID VARIANT type Description 1 VARTYPE Item Cannonical Data Type Allows retrieval of VARIANT data type of items 5 VT_I4 Item Access Rights 1 Read only Access level of item 6 VT_R4 Server Scan Rate Example 250 Allows retrieval of the DARWIN measurement interval in the ms order 100 VT_BSTR EU Unit Example C Allows retrieval of the engineering unit specified on the DARWIN i 102 VT_R8 iene Example 2 0000 Allows retrieval of the upper limit of the span or scale that is specified on the DARWIN VT_R8 Low EU 103 Example 2 0000 Allows retrieval of the lower limit of the span or scale that is specified on the DARWIN 1 When a setting data is received from the DA100 DC 100 or DR or when a setting data that was created using the DAQ32 or DAQ32Plus Hardware Configurator is opened Q and are converted to spaces u is converted to u and e is converted to e Once a character is converted it cannot be converted back 2 The upper and lower limits of the selectable measurement range for each measurement range of the DARWIN If a linear scaling is used on the DARWIN side they become left and right scales set by scaling When the left scale and right scale are reversed the Property
24. ata is being retrieved If the previous value is used the value before the communication error is retrieved If you are specifying a particular value it is handled in the same fashion as How to treat special values If acommunication error occurs when DAQOPC initially connects to the DARWIN the value is always set to 0 How to treat decimal point Select whether to set the decimal point position of the communication input data the same as that of the computation channel or not use the decimal point and the numbers below the decimal point If you select Set as 0 the value is transmitted with the value below the decimal point truncated If you select Refer to Math channel the decimal position of the computation channel is set to the decimal point position of the specified communication input data when computation input data is specified in the computing equation of the computation channel within the setting data that is specified by each device The value less than the number of digits below the decimal point that is specified for the computation channel is truncated When multiple channels are using the same communication input data the decimal position for the measurement channel with the smallest number is used However if communication input data is not used on the computation channel the decimal point and the value below it are truncated and transmitted How to treat default file If the default file is specified for the setting data
25. d on the DARWIN It is set to O when the alarm is OFF When a setting data is received from the DA100 DC100 or DR or when a setting data that was created using the DAQ32 or DAQ32Plus Hardware Configurator is opened and are converted to spaces u is converted to u and e is converted to e Once a character is converted it cannot be converted back Specifying the data item INPUT communication input data ItemID is specified as follows Device name communication input data INPUT Example DEVICE1 CHC01 INPUT Property ID VARIANT type Description 1 VARTYPE Data Type Allows retrieval of VARIANT data type of items 5 VT_l4 Item Access Rights 3 Read and write Access level of item 102 VT_R8 High EU Allows the retrieval of the upper limit that can be input 103 VT_R8 Low EU Allows the retrieval of the lower limit that can be input IM DP41013 61E 3 2 POPC Interface Functions ItemlD is specified as follows Device name relay number STATUS Specifying the data item STATUS Rxxx Example DEVICE1 RO01 STATUS Property ID VARIANT type Description 1 VARTYPE Data Type Allows retrieval of VARIANT data type of items 5 VT_l4 Item Access Rights 3 Read and write Access level of item ItemlD is specified as follows Device name COMMON STATUS Specifying the data item STATUS COMMON Example DE
26. e described below Browsing retrieves a list of ItemIDs in the server Hierarchy OPCBrowseServerAddressSpace is an interface used to retrieve a list of tags There are two methods available for viewing the server side list FLAT or HIERARCHICAL For the DAQOPC use the HIERARCHICAL method specifying the device name tag number and data item in that order ItemID retrieval through GetiltemID The following string is returned for GetltemID When a device name is specified Device name Example Device1 Cannot be used in IOPCltemMgt Addltems When a tag number is specified Device name tag number Example Device ch001 Cannot be used in OPCltemMgt Addltems When a data item is specified Device tag number data item Example Device1 ch001 PV Can be used in OPCltemMgt Addltems IM DP41013 61E suoouny 19M S Vd DdOOVA o 3 2 POPC Interface Functions BrowseOPCltemIDs filter If you specify OPC_FLAT for the filter type the operation is the same as when both OPC_BRANCH and OPC_LEAF are specified Sorting is not performed on the list and there is no limit in the number of data points that can be entered in the list Therefore the larger the number of tag numbers more memory space is consumed In such case you can use the following types of filters to suppress the amount of memory that is consumed at any given time szFilterCriteria DAQOPC ignores this parameter dwAccessRightsFilter DAQOPC supports this pa
27. ect Yes DefaultRequestedDataType Default requested data type Yes pipes DefaultAccessPath Default access path No DefaultActive Default active property Yes Count Number of collections Yes Item Gets the item object Yes GetOPCltem Gets the item object Yes OPCltems Remove Removes the item object Yes Validate Checks the item Yes Methods SetActive Sets the active property Yes SetClientHandles Sets the client handle Yes SetDataTypes Sets the data type Yes Addlitem Adds an item Yes Addltems Adds multiple items Yes Parent Parent group object Yes ClientHandle Client handle Yes ServerHandle Server handle Yes AccessPath Access path No AccessRights Access rights Yes ItemID ItemID Yes IsActive Active property Yes Properties RequestedDataType Requested data type Yes OPCltem Value Data value Yes Quality Quality flag Yes TimeStamp Time stamp Yes CanonicalDataType Data type assigned by the server Yes EUType Engineering unit type No EUInfo Engineering unit information No Read Performs a synchronous read Yes Methods Write Performs a synchronous write Yes Yes Supported No Not supported IM DP41013 61E 3 2 POPC Interface Functions Process Data The process data of the OPC specification consists of the following three elements Value Quality Flag Time Stamp Value OPC uses a data type called VARIANT Quality Flag This flag indicates whether the Value was retrie
28. ed file File name CA darwindevice 1 cfg Specify the following parameters IP Address Enter the IP address assigned to the DARWIN that is to be connected Port No Select the port number to be used Note If you set Port No to 34151 you cannot receive setup data Use selected file is automatically selected In addition you cannot specify communication input data and command DO Setting file Specify the setting file that is used when a server retrieves properties If you had set How to treat default file to Receive at start on the Working Condition dialog box and you select Use default file here the server retrieves the properties at startup and creates a default file If you select Use selected file you can specify a setting data ast rst or cst for the connected device that was created using the DAQ32 or DAQ32Plus Hardware Configurator Note If the parameters are not correct connection to the DARWIN fails The setting data that is created as a default file is not compatible with the setting data that is created using the DAQ32 or DAQ32Plus Hardware Configurator When the port is COM Click the address to display the following dialog box Detail Setting Device 02 M RS 422 A 10 s a O S O O 2Gu Cancel s f f f s S E ss fs gS f amp fF Ss fs gS 8 B wf BH m Setting file C Use default file Select file CA idarwindevice 2 cfg b name
29. ed from the DARWIN no such command exists Therefore the communication input data values are stored within the server When writing of communication input data is successful the saved values are overwritten with the successful values The default value is 0 Therefore the values retrieved at the client may be different from the values that are actually saved on the DARWIN 2 12 IM DP41013 61E Chapter 3 DAQOPC DA Server Functions 3 1 Overview of the DAQOPC DA Server Function Data Access Method via the OPC Interface Through the OPC Interface the OPC client creates a group object in the server object and registers the process data to be accessed as an ItemID in the group object ItemIDs are registered in the form tag tag item Using this scheme you can specify the data acquisition rate for each group object You can also register the same ltemID in different group objects according to your application Server object Group object A Group object B ItemID1 ItemID3 ItemID1 ItemID3 ItemID2 ItemID4 ItemID2 ItemID4 In the example below two group objects Trend 1 and Report 1 are created in the server object A Device1 ch01 PV through ch04 PV are registered as ItemIDs in the Trend 1 group object Device1 ch01 PV and Device1 ch04 Alarm01 are registered as ItemIDs in the Report 1 group object Trend 1 and Report 1 are accessed as independent group objects In addition
30. eeeeees 2 6 Setting the Recorder 2 Setting Up the DAQOPC Client Software Requirements en Starting and Stopping DAQOPC seser Starting the Configurator and Setting Parameters 2 2 SUUCTU LES cin0Skcas sec cesecescensssadsceesastscednecasettesestavensdbecarastnasic 3 17 T Time StaM p ssresisissinn na a 3 7 3 9 V ValU RTTA TT 3 7 W What Is an OPC Interface cccecceceseeceee cee eeeeeeseesteeees 1 1 IM 04L01B03 61E Index 1 x pu
31. el number ALARM1 Example Device1 Ch01_ALARM1 You can specify ALARM1 through ALARM4 for the alarm The read writable values are the following two values Input value Syntax Device name communication input data number INPUT Example Device1 ChC01 INPUT Add the letter C as in ChC01 for the communication input data Command DO Syntax Device name communication input data number STATUS Example Device 1 R001 STATUS For the relay number the xxx of Rxxx is the same as the Ixx Sxx Oxx 1xx 2xx 3xx 4xx and 5xx of the DARWIN Item name PV Specifiable tag Existing measurement and computation channels only Item name ALARM Specifiable tag Existing measurement and computation channels only Item names are ALARM1 ALARM2 ALARMS and ALARM4 The alarm value is 0 if there is no alarm occurring The value is set to the alarm type alarm type value 1 through 6 as written in property ID 6004 which is an alarm item property if an alarm is occurring see page 3 14 Item name INPUT Specifiable tag Existing communication input data only The input range is the range that can be input to the DARWIN The server does not check whether the input value is within the allowed input range Cannot be used when the port number used on the Ethernet network is set to 34151 Item name STATUS Rxxx Specifiable tag Rxxx Only command DO that can be used on the DARWIN DA model style 8 or later can be specified The status of the specified relay is as follows
32. entse 3 2 D DA SEVE ssnin ivi easiest Nei DAQOPC configuration window Data acquisition operation c cceeeeeeeeteeceeeeeeeeeeeeeeeaes Defining the IteMID ssssssieseesiieriiessrressrrrsirnreriessrnrerrns E gt Error COWS seriais anani 3 19 E Flow of DAQOPC Operation ccccceeeeeteeeee test eeeeeeeee 2 1 G GrOUp Name A EA EET Group Object Properties n Hardware Requirements cccccceeeeeeeeeeseeueeeseeeeeeeeaees 1 4 Item attributte structure 0 ec cccccecceeceesesseeeeeeeeeseseaees 3 17 Item Properties sat MRD cs seers ca testes da ndsbades bin AEE E E AE L Locale ID rriari e N a ER 3 17 O gt OPC Automation Interface cccccccccccscceesseccesseeeeeseeeeees 1 7 OPC Customilntenace jac ses coczccicn ccexectesseiees sesateeresseseveen tehaaee 1 7 OPC Interface OPC Interface Compliance s e 3 1 OPC Interface FUNCTIONS c cccccscceessseeeestececsseeeessseeeenes 3 2 Overall Construction of DAQOPC cccccecesccessseeceseeeeeees 1 5 P PrOCeSS Dala csc20c tecdtiewn ic aie a a 3 7 Q gt Quality Flag ssssitestieeicestsevsseadeic aranana naaran kankaan ARAA aE A ARARAT SAt 3 7 So Serial Setting Tab Page 00 ces sscessesseeceseceeceseeeeeeneeeseenees 2 9 Server Function Server status structure Server Client Configuration ccccccecceeeeeeeeceeeeeseeeeeees 1 3 Setting of Ethernet Dialog Box c cccccecceeeeetecesteest
33. er than for physical deficiencies found on the original CD ROM or this manual upon opening the product package Yokogawa Electric Corporation shall not be held responsible by any party for any losses or damage direct or indirect caused by the use or any unpredictable defect of the product Copyright YOKOGAWA holds the copyright to the software that is on the CD ROM IM DP41013 61E Contents FOR WOM sicions ran ss adadande dace teatengunxhsas saseialdedeasiausdatietatadsaeaavenacedeaealesacasedsbassendsusdiagadebawesiacsale i Notes on Using This Product cccceesseeeeeeeeeesneeeeeeeeeneeeseaaeeeceeeeeeseeeeneaeeeceeeeeeseeesseneeeenneeenenaeeneaes ii Chapter 1 Overview 1 1 Functional Overview of DAQOPC ccccseccecessececeeceeecaeeeceneeeecaeeeensaeeeceeeeeessaeeseesaeessnneees 1 1 1 2 Overall Configuration and DAQOPC Interface ee ec ceeeeeeceeeeeeeeeneetaeseeeeeeaeeeeeeneeee 1 5 1 3 Server FUNCTION mir arioso e i aarahi o a E E 1 6 Chapter 2 DAQOPC Operation 2 1 Flow of DAQOPC Operation 0 ecceeececeeeeeceeeeeecaeeeeeeccaeeeaaeeeeeesaaesneeesaeseaaeeneeeseeeeeeeeaes 2 1 2 2 Starting the Configurator and Setting Parameters 0 c ceceeeceeeeeeeeeeeeeeeeeeeeeeeeseeseeeenaees 2 2 2 3 Starting and Stopping DAQOPC see ecceeeeeeteeeneeeeee eae eeeeeeeeeetaaeeeeeesueeseeeeeieeetaeeeeeeeea 2 10 2 4 Setting Up the DAQOPC Client 00 cece cette enee cere eeeteee ene eeeaaeeeeeesieeseeeeeieesiaeeneeeena 2
34. erfaces that are supported is indicated for the OPC Custom Interface and OPC Automation Interface Custom Interface The table below indicates whether or not the DAQOPC DA Server supports various interfaces of the Custom Interface Object Interface Name Description Support OPCServer l OPCServer A standard interface of the OPC DA server Yes Adds and Deletes group objects IOPCCommon OPC common interface Yes Sets the locale and retrieves error strings IConnectionPointContainer OPC common interface Yes Interface for asynchronous communication used to notify the client that the server is going to shut down IOPCItemProperties Interface Retrieves the properties of the ItemID Yes l OPCBrowseServerAddress_ Browses the ItemIDs in the OPC DA server Yes Space optional IOPCServerPublicGroups Connects to the public group deletes the public group No optional IPersistFile Loads and saves configuration information No optional OPCGroup IOPCGroupStateMgt Manages the group object Yes IOPCltemMgt Manages the ItemIDs Yes lOPCSynclO Performs synchronous write and read operations Yes IOPCAsynclO2 Performs asynchronous write and read operations Yes IConnectionPointContainer Interface for creating connections for asynchronous Yes read and write operations IOPCPublicGroupStateMgt Convert a private group to a public group No optional IOPCAsynclO old Performs asynchronous write and read operations Ye
35. f the file that was selected in Detail exists the corresponding number of computation channels is displayed System If the file that was selected in Detail exists you can refer to the system and module configuration within the file If you click the left item under System the following dialog box appears You cannot change the information uoneisdo OdOOVa DR200 C Standalone Cc Expand Sileno fe z Memory im z M Mathmatical Func M1 V Report Func M3 M Floppy fe SCs une es F Deg F Display D2 Daylight Saving Time L1 Cancel If you click the right item under System the following dialog box appears You cannot change the information em Modules DT 200 21 OT 200 21 DT 201 aiaia fatal tat 8 sevsesecee 0 21 ex on ond 2e be on on 3e on ex weeeeeeeee SELeLeeee AAAA AAAA Fest Port Select the port to be connected For COM only the ports that are valid in the serial settings are displayed Detail This is valid when Port is not set to NONE Sets the detail settings of communication and the handling of the DARWIN setting conditions IM DP41013 61E 2 2 Starting the Configurator and Setting Parameters When the port is an Ethernet port Click Detail to open the following dialog box Detail Setting Device 01 m Ether OK IP address l oono Cancel Por No 34150 C 34151 m Setting file C Use defaultfile Use select
36. ndows 2000 are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries Adobe and Adobe Acrobat are trademarks of Adobe Systems Incorporated Adobe Systems Other company and product names are trademarks or registered trademarks of their respective companies For purposes of this manual the TM and symbols do not accompany their respective trademark names or registered trademark names 1st Edition March 2001 2nd Edition August 2001 3rd Edition March 2005 All Rights Reserved Copyright 2001 Yokogawa Electric Corporation IM DP41013 61E Notes on Using This Product Storing the CD ROM Agreement Please store the original CD ROM in a safe place During the actual operation use the software that is installed on the hard disk Restriction on Use Use of this product this utility software and manual by more than one computer at the same time is prohibited Use by more than one user is also prohibited Transfer and Lending Transfer or lending of this product to any third party is prohibited Guarantee Should a physical deficiency be found on the original CD ROM or this manual upon opening the product package please promptly inform Yokogawa The claim must be made within seven days from the date you received the product in order to receive a replacement free of charge Exemption from Responsibility Yokogawa Electric Corporation provides no guarantees oth
37. ndows system If you change the Configurator settings restart the system to apply the new settings Stopping DAQOPC The DA server process automatically stops when the Windows system is shut down 2 10 IM DP41013 61E 2 4 Setting Up the DAQOPC Client If you are using DAQOPC remotely from a PC that is connected to the network you must setup the DAQOPC client If you have not set up the DAQOPC client follow the procedure below to set up the software 1 Insert a formatted floppy disk into the floppy drive of the PC PC server in which you have installed DAQOPC 2 Onthe server PC run ZOPMKEXAFDC EXE in the Program folder in the installation folder of the DAQOPC using a program such as Windows Explorer 3 Adialog box appears when an OPC client setup disk is created Click OK in the dialog box 4 Log onto the PC PC client in which to setup the OPC client using auser name belonging to the Administrator group 5 Insert the setup floppy disk that you have just created into the floppy drive of the client PC 6 Run Setup exe on the setup floppy disk The OPC client is set up OPC server ZOPMKEXAFDC exe N Setup exe PC DAQOPC Access Method from the Client Software The ProgID used in accessing DAQOPC from the client software is as follows Yokogawa ExaopcDADAQOPCDARWIN1 IM DP41013 61E 2 11 uoneisdo OdOOVa 2 5 Handling of Configuration Files
38. pdateRate 1 to 3 600 sec Server name ProgID The server name of the DAQOPC DA server is as follows Servername Yokogawa ExaopcDADAQOPCDARWIN1 Note You can also check the server name ProgID in the Version Information dialog box of the DAQOPC configuration window 1 6 IM DP41013 61E 1 3 Server Function OPC Custom Interface and OPC Automation Interface The OPC specification defines two types of interfaces OPC custom interface and OPC automation interface Both of these interfaces have approximately the same data access functions but they are designed for different client programs The DAQOPC OPC server implements both interfaces and supports both types of client programs Custom Interface Automation Interface Application For dedicated applications such as For easy access from script languages SCADA MES analysis software programs Number of client languages VC Visual Basic Performance Good Poor The OPC custom interface uses the basic OLE COM functions directly and operates at a high speed In contrast the OPC automation interface complies with the OLE automation interface that allows access from Visual Basic The process that facilitates the access from script languages leads to an overhead and therefore the performance is slightly lower than the OPC custom interface VB and VC versions If you are creating an application program OPC client use the following versions of
39. rameter BrowseAccessPaths Since AccessPaths is not used this is not supported 3 18 IM DP41013 61E 3 3 Error Codes The error codes that DAQOPC specifies are shown below Number Message Description 0xC0049001 Fail to allocate memory Failed to allocate memory area 0xC0049002 Fail to read configuration file Failed to load the communication setting data 0xC0049003 Selected device doesn t exist A nonexistent device is specified by the Configurator 0xC0049004 Fail to open device Failed communications at startup 0xC0049005 Communication error A communication error occurred 0xC0049006 Irrelevant value Invalid value was input for communication input data 0xC0049007 Fail to get time stamp from PC Failed to get the time stamp from the PC 0xC0049008 Selected tag doesn t exist A nonexistent channel or relay is specified as an item IM DP41013 61E suo joung J8aAI9S WG DdOOVG o Index A ACCESS pathi triair orrn 3 11 Automation Interface seeesseereeieerrerrrrririrrrreereerrerrneereren 3 3 B BOD REFET ETAT sense eaeesues E EERS 3 11 BrOWSING s cc0veeerweeevede ee aie 3 17 C gt Cached data update 0 eee essceeceseceeeceeceeeeneeeeeeeeesaeeeeees 3 12 Configurator oo cecceecceccceeceeeceee cess eeeeeeeeeecaeeeaeeseeeeeaeenaeeeees 2 2 Custom Interface esis ccsdeeecaesiec iania aea a Aasaa niecadecetiet
40. rface OPC server refers to the application that provides the data General purpose PC Windows 2000 Windows XP OPC client OPC interface Ethernet General purpose PC _ General purpose PC Cr CF OPC client ee l 4 ae ss ti p OPC server OPC server DAQOPC DAQOPC ee a J N Pi Ethernet DARWIN DARWIN Process data Process data The OPC server and OPC client run on a general purpose PC You can use a commercially sold OPC compliant application or an OPC compliant application that you ve created using VC Visual C VB Visual Basic or VBA Visual Basic for Application as an OPC client 1 2 IM DP41013 61E 1 1 Functional Overview of DAQOPC Server Client Configuration The DAQOPC user OPC client may exist on the same PC as the DAQOPC server or ona host computer Windows machine When the OPC client exists on the same PC as the DAQOPC server OPC client OPC server DAQOPC I Ethernet Application size Mid size Performance Faster than when the OPC client exists on a host computer because a local OPC server is used When the OPC client exists on a host computer Application PC OPC client OPC server DAQOPC DAQOPC F T Ethernet l Ethernet Application size Mid to large size Performance The performance degrades slightly 20 to 30 per server when compared to the case in
41. rmation that is added to the combination of Quality and Substatus Code Description 0 Not Limited 1 Low Limited 2 High Limited 3 Constant 3 8 IM DP41013 61E 3 2 POPC Interface Functions Data and Quality code The data from the DARWIN is converted to the following Quality codes Data status Quality Substatus Limit Normal value Good Non specific Not Limited Positive overrange value Good Non specific High Limited Negative overrange value Good Non specific Low Limited Skip or computation Off Bad Out of Service Not Limited Error value Bad Sensor Failure Not Limited No data Bad Out of Service Not Limited Communication error Bad Comm Failure Not Limited The specified item does not exist Bad Configuration Erroe Not Limited By assigning values other than normal values using the Configurator you can check the data from the DARWIN even without the Quality code Time Stamp Retrieves either the time of the DARWIN or the time of the PC Using the Configurator you can change the destination from which to retrieve the time Selection on the Configurator Description Time of the device DARWIN Retrieves the time of the device Time of the PC Retrieves the time of the PC in which the Server for retrieving the data is installed in UTC Note The DEVICE section is fixed In the number section that follows specify the device position that yo
42. s old interface for compatibility IDataObject old Performs connection and disconnection to the Yes asynchronous I O old interface for compatibility EnumOPCltem IEnumOPCltemAttributes Retrieves a list of ItemIDs that are registered in the Yes Attributes group object Yes Supported O Not supported 3 2 IM DP41013 61E 3 2 POPC Interface Functions Automation Interface The DAQOPC DA Server only supports the automation interfaces that correspond to the custom interfaces that are supported The table below shows whether or not the interface is supported Since those that are not supported may result in error error handling for Visual Basic must be provided Object Type Name Description Support StartTime Time when the server was started Yes CurrentTime Current time Yes LastUpdateTime Time that was notified last Yes MajorVersion Major version Yes MinorVersion Minor version Yes BuildNumber Build number Yes VendorInfo Vendor information Yes Properties ServerState Server state Yes LocalelD Locale ID Yes Bandwidth Bandwidth Yes OPCServer OPCGroups Collection of group objects Yes PublicGroupNames Public group name No ServerName Server name Yes ServerNode Node name Yes ClientName Client name Yes GetOPCServers Gets a list of server names Yes Connect Established connection Yes DisConnect Releases connection Yes
43. started IM DP41013 61E 2 1 uoneisdo OdOOVa 2 2 Starting the Configurator and Setting Parameters Configurator Configurator is used to set the connection method and operating conditions between DAQOPC and the DARWIN from which to retrieve the data Starting the Configurator Choose Start gt Programs gt DAQOPC gt DAQOPC for DARWIN Configurator The window that appears when the program is started is shown below Not Connected E NONE ctec n NONE INONE Not Connect NONE Not Connected NONE Not Connected Not Connected Not Connected Not Connected z B z z z zl z z ie B 2 2 IM DP41013 61E 2 2 Starting the Configurator and Setting Parameters A List of Menu Commands The functions of menu commands are indicated below File gt Revert Reloads the Configuration file without saving the information that you are currently editing File gt Save Saves the information that you are currently editing to the Configuration file File gt Print Prints the recorder settings and serial settings that you are currently editing File gt Print Preview Prints the preview of the recorder settings and serial settings that you are currently editing File gt Printer Setup Sets the printer File gt Exit Exits the Configurator Setting gt Working Condition Displays the Working Condition dialog box Setting gt Ethernet Setting Displays the Setting of Ethernet dialog box
44. u assigned using the Configurator ItemID An arbitrary string used to identify items It is generally called tags Defining the ItemID DAQOPC defines ItemIDs as follows Device tag number data item Example DEVICE1 CH001 PV The DEVICE section is fixed In the number section that follows specify the device position that you assigned using the Configurator A list of ItemIDs On DAQOPC the following items can be accessed using ItemIDs a Canonical ItemID Description data type Access Rights Notes DEVICEx CHxxx PV Measured value or computed VT_R8 Read Only Measurement and result computation channels only DEVICEx CHxxx ALARMx Alarm status of the specified VT_I2 Read Only Measurement and channel computation channels only DEVICEx CHexx INPUT Value of the communication VT_R8 Read Write Communication input input data data only DEVICEx COMMON STATUS Device status VT_l2 Read Write DEVICEx COMMON PROP Property read status VT_l2 Read Write DEVICEx Rxxx STATUS Command DO status VT_BOOL Read Write Command DO only IM DP41013 61E 3 9 suoouny 19M S Vd DdOOVA o 3 2 POPC Interface Functions The retrievable process values are the following two values Measured value and computed value Syntax Device name channel number pv Example Device1 Ch01 PV For the device name enter the name of the device that you specified using the Configurator Alarm value Syntax Device name chann
45. ved correctly Notifies the reason if erroneous The quality flag of DAQOPC follows the system of the OPC specifications The quality flag system of the OPC specifications consists of the following three contents Quality Good Bad or Uncertain Substatus details dependent on the Quality Limit additional information for the substatus The quality flag is expressed using the following 8 bits Substatus on the Quality code Bit L Not Limited LL HL Constant Quality Good Bad or Uncertain DAQOPC sets these three types of information as a quality flag IM DP41013 61E 3 7 suoouny 19M S Vd DdOOVA o 3 2 POPC Interface Functions Quality and Substatus The Substatus of the Quality code contains information that can be expressed using 4 bits for each Quality Good Bad and Uncertain The Substatus codes are defined by the OPC specifications DAQOPC uses these codes to add details The table below shows the information that the OPC specifications define Substatus for Each Data Quality Code Code Good 3 Bad 0 Uncertain 1 0 Non specific Non specific Non specific 1 N A Configuration Error Last Usable Value 2 Local Override Not Connected N A 3 Device Failure Sensor Not Accurate 4 Sensor Failure EngineeringUnitsExceeded 5 Last Known Value Sub Normal 6 Comm Failure 7 Out of Service 8 9 10 11 12 13 14 15 Limit Limit is yet another Quality code info
46. which the OPC client exists on the same PC as the DAQOPC server This is because the DCOM Distributed Component Object Model is used to connect between the client and server IM DP41013 61E MOIAI9AQ 1 1 Functional Overview of DAQOPC Hardware Requirements The following hardware is required for DAQOPC to operate properly PC model IBM PC AT compatible Single CPU e CPU Pentium II 300MHz or faster recommended Windows 2000 Pentium II 800MHz or faster recommended Windows XP Main memory 256 MB or more Free disk space 1 GB or more Communication device RS 232 C port supported by the OS Ethernet NIC not required if the OPC client and the DAQOPC server exist on the same PC and the RS 232 C RS 422 A interface is used to retrieve data from the DARWIN e Peripheral devices Mouse supported by the OS Software Requirements The following software is required for DAQOPC to operate properly Operating System Windows 2000 or Windows XP The package DAQOPC and the OS Windows 2000 or Windows XP is of a same language e Service pack Windows 2000 Service Pack 3 or 4 Windows XP Service Pack 1 or 2 Others If the communication interface with the DARWIN is RS 422 A an RS 232 C RS 422 A converter is required 1 4 IM DP41013 61E 1 2 Overall Configuration and DAQOPC Interface This section will describe the overall construction of DAQOPC and an overview of DAQOPC functions Overall Construction of DA
Download Pdf Manuals
Related Search
Related Contents
INSTITUTO DE NORMALIZACION Y CALIDAD Repassage à la vapeur listino in formato pdf "Seguridad en máquinas: consideraciones para la 5369 - Candide マルチカメラ接続アダプター DIRECT LINK FLASH TUNER Manual - MidNite Solar Betriebsanleitung Band-Schieflaufschalter ZB0090 Copyright © All rights reserved.
Failed to retrieve file