Skip to content

OPC XML-DA

OPC XML-DA (XML Data Access) is the web services (SOAP/XML) based version of OPC DA. Since it runs over HTTP instead of COM/DCOM, it is platform independent and has a firewall-friendly architecture.

inSCADA supports the OPC XML-DA protocol in Client role only.

FeatureOPC DAOPC XML-DAOPC UA
PlatformWindows onlyPlatform independentPlatform independent
TransportCOM/DCOMHTTP/SOAPTCP, HTTP, WebSocket
PerformanceHighMedium (XML overhead)High
FirewallProblematic (DCOM)Easy (HTTP)Easy
StatusLegacyLegacyActive
Connection (HTTP URL)
└── Device
└── Frame (Data Block — Subscription group)
└── Variable (Item Name)
ParameterExampleDescription
ProtocolOPC XMLProtocol selection
IP Address192.168.1.100OPC XML-DA server IP address
Port8080HTTP port
Path/OpcXmlDaServiceWeb service path (endpoint)
Connect Timeout5000 msConnection establishment timeout
Request Timeout5000 msRequest timeout
Max Depth12Tag tree browse depth
ParameterExampleDescription
Scan Time1000 msScan period
Scan TypePERIODICPERIODIC or FIXED_DELAY
ParameterExampleDescription
Use Subscription ModetrueSubscription-based data retrieval
Percent Deadband0.5Analog value change threshold (%)
Hold Time0 msServer response hold duration
Wait Time0 msServer change wait duration

Hold Time and Wait Time: Control the OPC XML-DA subscription mechanism. The server waits for value changes during the Wait Time and holds the response during the Hold Time. When both values are 0, immediate polling is performed.

ParameterExampleDescription
NameRandom.Int1Item name (OPC XML-DA item path)
TypeFloatData type
Data TypeDescription
BooleanSingle bit value
SByteSigned 8-bit integer
ByteUnsigned 8-bit integer
Int16Signed 16-bit integer
UInt16Unsigned 16-bit integer
Int32Signed 32-bit integer
UInt32Unsigned 32-bit integer
Int64Signed 64-bit integer
Float32-bit floating point
Double64-bit floating point
StringCharacter string
DateTimeTimestamp