Connect

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

Connect


 

Connect to PLC.

 

 


syntax

bResult = AxEng1.Connect(

                                 [UnitName]

                                 )


Parameters

UnitName

 

type:

string

 

Specify the name of the unit you want to connect to. If not specified, connection processing will be performed for all units.

 

Return Value

bResult

 

type:

bool

 

FALSE - Failure. TRUE - Success.

 


Commentary

After calling the Connect method, you can communicate with PLC.

 

 

 


reference

 

DisConnect