<< Click to Display Table of Contents >>
Manual > Reference > Methods >
Disconnect from PLC.
syntax
bResult = AxEng1.DisConnect(
[UnitName]
)
Parameters
UnitName
type:
string
Specify the name of the unit you want to disconnect. If not specified, all units will be disconnected.
Return Value
bResult
bool
FALSE - Failure. TRUE - Success.
Commentary
After the DisConnect method is called, the communication connection with PLC is disconnected.
reference
Connect