ObjectIterator.Reset (METH) ¶ METHOD Reset Resets the iterator. Afterwards iterator points in front of the first element (==> ObjectIterator.Current is 0).
SubObjectIterator (FB) ¶ FUNCTION_BLOCK SubObjectIterator IMPLEMENTS ISubObjectIterator Helps to iterate through the subobjects of an object. For using this iterator property SubObjectIterator.Object must be set to the corresponding object. The iterator then points in front of the first subobject of this object (==> property SubObjectIterator.Current is 0). By calling SubObjectIterator.MoveNext the iterator can be moved to the next subobject. If SubObjectIterator.MoveNext returns TRUE the current subobject can be retrieved by property SubObjectIterator.Current . The iterator can be set back in front of the first element by calling SubObjectIterator.Reset . Example See ObjectIterator . Properties: Current Object Methods: MoveNext Reset Structure: Current (Property) MoveNext (Method) Object (Property) Reset (Method)
SubObjectIterator.Current (PROP) ¶ PROPERTY Current : IODSubObject Gets the subobject where the iterator points to.
SubObjectIterator.MoveNext (METH) ¶ METHOD MoveNext : BOOL Sets the iterator to the next subobject. This subobject can be retrieved afterwards by property SubObjectIterator.Current . Method returns TRUE if iterator was successfully moved. Method returns FALSE e.g. if end of list. InOut: Scope Name Type Comment Return MoveNext BOOL TRUE : Current points to the next subobject, FALSE : MoveNext failed, e.g. if end of list.
SubObjectIterator.Object (PROP) ¶ PROPERTY Object : IODObject Object where the iterator is connected to. Iterator will be automatically resetted if object will be set.
SubObjectIterator.Reset (METH) ¶ METHOD Reset Resets the iterator. Afterwards iterator points in front of the first element (==> SubObjectIterator.Current is 0).
Range Types ¶ NODEID (Alias)
NODEID (ALIAS) ¶ TYPE NODEID : USINT (1..127) Defines a CANopen NodeID
Structs ¶ ACCESSTYPES (Struct) CANOPEN_DIAGNOSIS_INFO (Struct)
ACCESSTYPES (STRUCT) ¶ TYPE ACCESSTYPES : STRUCT Defines the access to an object. InOut: Name Type Comment READ BIT Read Access WRITE BIT Write Access