OPC-DA transport handler to access measurements using the OPC industry standard. The implementation is based on the Utgard library from the OpenSCADA project.

Options

Functions

value(OPCValue)

Returns the value of the OPC item

quality(OPCValue)

Returns the quality of the OPC item

error(OPCValue)

Returns the error code of the OPC item

timestamp(OPCValue)

Returns the timestamp of the OPC item

Example

PQL

output = ACCESS({Source='source',
wrapper='GenericPush',
transport='OPC-DA',
protocol='None',
dataHandler='Tuple',
options=[['host', 'example.com'],['domain', 'Domain'],['username', 'admin'],['password', '12345']],
schema=[
['value', 'Double']]
})

CQL

CREATE STREAM source (value Double)
    WRAPPER 'GenericPush'
    PROTOCOL 'None'
    TRANSPORT 'OPC-DA'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'host' 'example.com', 'domain' 'Domain', 'username' 'admin', 'password' '12345')