Skip to content

OPC DA

OPC DA (Data Access) is the most widely used component of the OPC Classic standards. It is built on Windows COM/DCOM technology and provides real-time data access. It was used as the de facto standard in industrial automation before OPC UA.

inSCADA supports the OPC DA protocol in Client role only.

FeatureOPC DAOPC UA
PlatformWindows onlyPlatform independent
TechnologyCOM/DCOMTCP/IP, HTTP, WebSocket
SecurityDCOM securityTLS, certificates, user auth
DiscoveryVia DCOMBrowse + Discovery
StatusLegacyActive development
Connection (COM ProgID)
└── Device
└── Frame (Data Block — Subscription group)
└── Variable (Item ID)
ParameterExampleDescription
ProtocolOPC DAProtocol selection
IP Address192.168.1.100OPC DA server IP address
Port135DCOM port (default: 135)
COM ProgIDMatrikon.OPC.SimulationOPC server COM programmatic identifier
Separator.Tag path separator character (default: dot)
Max Depth12Tag tree browse depth
Server Status Check Time30000 msServer status check period
ParameterExampleDescription
Scan Time1000 msScan period
Scan TypePERIODICPERIODIC or FIXED_DELAY
ParameterExampleDescription
Use Subscription ModetrueSubscription-based data retrieval (notification on change)
Percent Deadband0.5Analog value change threshold (%)

Subscription Mode: When true, the OPC server sends notifications only when values change — reducing network traffic and CPU load. When false, periodic polling is performed.

ParameterExampleDescription
NameTemperatureVariable name (also used as OPC Item ID)
TypeVT_R4OPC DA data type
Data TypeDescription
VT_BOOLBoolean
VT_I1Signed 8-bit integer
VT_UI1Unsigned 8-bit integer
VT_I2Signed 16-bit integer
VT_UI2Unsigned 16-bit integer
VT_INTSigned 32-bit integer
VT_UINTUnsigned 32-bit integer
VT_I8Signed 64-bit integer
VT_R432-bit floating point (float)
VT_R864-bit floating point (double)
VT_BSTRCharacter string

inSCADA can discover available items by browsing the OPC DA server’s tag tree. This feature makes it easier to find the correct Item ID information when defining variables.

Since OPC DA runs over Windows DCOM, DCOM configuration is required for remote connections:

  1. Configure remote access permissions using DCOMCNFG on the OPC server computer
  2. Open DCOM ports (135 + dynamic ports) in Windows Firewall
  3. Both computers must have the same user account or appropriate authorization