Disconnect
(FUN)
FUNCTION Disconnect : Error
Disconnects a previously created connection of this instance.
Important
Calling this method might take some time (eg. for logging out etc.) so be careful when calling from an IEC-Task. Typically this method should be called in an asynchronous way.
- InOut:
Scope
Name
Type
Comment
Return
Disconnect
An errorcode representing the result of this operation
Input
hPlcHandler
SysTypes.RTS_IEC_HANDLE
The instance to disconnect