You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Issue
Provide the syntax to use for accessing a symbol using OPCXML-DA.
Product Line
OFS
Environment
Windows 10
Resolution
The following exampledemonstrate how to directly access a symbol in a PLC using OPCXML-DA. The symbol in the PLC
can be accessed by OFS using either the 'Data Dictionary' or the '.XVM' file method. It is accomplished using the OPC property
'ItemPath' and 'ItemName'.
e.g.,
Given the following:
The syntax to directly access the the symbol using OPCXML-DA is:defined as:
http://stationname/Website/OFS/ws/OPCXMLDa.asmx/myAlias!CPU227OPC
Provide the syntax to use for accessing a symbol using OPCXML-DA.
Product Line
OFS
Environment
Windows 10
Resolution
The following exampledemonstrate how to directly access a symbol in a PLC using OPCXML-DA. The symbol in the PLC
can be accessed by OFS using either the 'Data Dictionary' or the '.XVM' file method. It is accomplished using the OPC property
'ItemPath' and 'ItemName'.
e.g.,
Given the following:
- The Alias for the device name in in OFS is defined as 'myAlias'
- The symbol name in the Unity application is defined as 'CPU227OPC'
- ItemPath= "http://stationname/Website/OFS/ws/OPCXMLDa.asmx"
- ItemName= myAlias!CPU227OPC
The syntax to directly access the the symbol using OPCXML-DA is:defined as:
http://stationname/Website/OFS/ws/OPCXMLDa.asmx/myAlias!CPU227OPC