DelUnit

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

DelUnit


 

Unregister the unit (PLC).

 

 

 


syntax

bResult = AxEng1.DelUnit(

                                 UnitName

                                 )


Parameters

UnitName

 

type:

string

 

Unit name. Example: "U01"

 

Return Value

bResult

 

type:

bool

 

FALSE - Failure. TRUE - Success.

 


Commentary

The DelUnit method deletes a unit, which is the first level of a tag, from the program. Folders and tags defined within the unit are also deleted at the same time.

 

 

 

 


reference

 

AddUnit