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
GetObjectToWriteABORT_CODE.SUCCESSFUL: Object writing permitted; ELSE: Writing not permitted
Input
wIndexWORDIndex of object which should be written
bySubIndexBYTESubindex of object
xCheckAccessBOOLTRUE
TRUE: Check access rights,FALSE: do not check access rightsudiSizeUDINTsize of data to be written
Output
itfObjectrequested object
itfSubObjectrequested subobject