...
domain:
The domain namehost
:
The host nameusername
:
The usernamepassword
:
The passwordid: The program identifierpath:
Collection of path to different OPC items separated by ";"clsid:
The class identifierprogid:
The program identifierperiod:
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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']] }) |
...