Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • domain: The domain name
  • host: The host name
  • username: The username
  • password: The passwordid: The program identifier
  • path: Collection of path to different OPC items separated by ";"
  • clsid: The class identifier
  • progid: The program identifier 
  • period:

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

Code Block
themeEclipse
titleOPC-DAClient Transport Handler
linenumberstrue
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']]
})

...