IObjectDictionary.GetObjectToWrite (METH)ΒΆ
METHOD GetObjectToWrite : ABORT_CODE
Used to search for an object and checking general write permission (access rights and data size). Returns ABORT_CODE.SUCCESSFUL if writing is allowed. Only needed if writing permission should be checked without writing immediately to the object.
- InOut:
- Scope - Name - Type - Initial - Comment - Return - GetObjectToWrite- ABORT_CODE.SUCCESSFUL: Object writing permitted; ELSE: Writing not permitted - Input - wIndex- WORD- Index of object which should be written - bySubIndex- BYTE- Subindex of object - xCheckAccess- BOOL- TRUE - TRUE: Check access rights,- FALSE: do not check access rights- udiSize- UDINT- size of data to be written - Output - itfObject- requested object - itfSubObject- requested subobject