DisConnect

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

DisConnect


 

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

 

type:

bool

 

FALSE - Failure. TRUE - Success.

 


Commentary

After the DisConnect method is called, the communication connection with PLC is disconnected.

 

 

 


reference

 

Connect