<< Click to Display Table of Contents >>
Manual > Reference > Methods >
Unregister the unit (PLC).
syntax
bResult = AxEng1.DelUnit(
UnitName
)
Parameters
type:
string
Unit name. Example: "U01"
Return Value
bResult
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