(OPCConnect label 0|1)
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.
If 1, connect; if 0, disconnect.
This command causes the outgoing OPC connection specified by label to connect to or disconnect from the OPC server. If the connection is disconnected, it will reconnect again according to its connection polling cycle. If you wish to disconnect such that the connection will not automatically be retried, use OPCEnable.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.