OPCEnable — enables or disables outgoing OPC connections.
(OPCEnable label 0|1)
label
The name for this connection, as displayed in the OPC option of the Properties
window. If label is * then
the command affects all currently configured connections.
0|1
If 1, the connection is enabled; if
0, it is disabled.
A message indicating success or error. Please refer to Return Syntax for details.
If the argument is 1, the outgoing OPC connection specified
by the label is enabled. This is equivalent to checking
the check-box for the specified OPC connection in the OPC option of the Properties window. If the
argument is 0, the specified connection is disabled.