Download DXA410 DAQOPC User`s Manual

Transcript
3.2 OPC Interface Functions
• Specifying the data item PROP (COMMON)
ItemID is specified as follows:
Device name!COMMON.PROP
Example: DEVICE1!COMMON.PROP
Property ID VARIANT type Description
1
VARTYPE
“Item Canonical Data Type”
Allows retrieval of VARIANT data type of items.
VT_I2(2)
5
VT_I4
“Item Access Rights”
Access level of item.
3: Read and write.
• Specifying the data item Record (COMMON)
ItemID is specified as follows:
Device name!COMMON.Record
Example: DEVICE1!COMMON.Record
Property ID
1
OPC_PROP_CDT
VARIANT type Description
VARTYPE(2)
5
VT_I4(3)
OPC_PROP_RIGHTS
“Data Type”
Allows retrieval of VARIANT data type of items.
VT_I2(2)
“Item Access Rights”
Access level of item.
Basic version: 1 = read only
Advanced version: 3 = read/write enabled
• Specifying the data item Math (COMMON)
ItemID is specified as follows:
Device name!COMMON.Math
Example: DEVICE1!COMMON.Math
Property ID
1
OPC_PROP_CDT
VARIANT type Description
VARTYPE(2)
“Data Type”
Allows retrieval of VARIANT data type of items.
VT_I2(2)
5
VT_I4(3)
“Item Access Rights”
OPC_PROP_RIGHTS
Access level of item.
Basic version: 1 = read only
Advanced version: 3 = read/write enabled
3-40
IM 04L01B03-61E