OPCReload

OPCReload — reloads the data set from an OPC server.

Syntax

(OPCReload [label [reconnect]])
    

Arguments

label

The name for this connection, as displayed in the OPC option of the Properties window. If label is * or absent, then the command affects all currently configured connections.

reconnect

Either 1 or no argument causes a disconnect and reconnect during the reload cycle. A 0 prevents a disconnect from the OPC server during reload.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command cauSes the outgoing OPC connection specified by label to reload its data set from the OPC server. If the reconnect argument is absent or is 1, the connection will be disconnected and then reconnected during the reload cycle. If reconnect is 0, then the data set will be reloaded without disconnecting from the server.