IODCallback.OnWriteObject (METH)ΒΆ

METHOD OnWriteObject : ABORT_CODE

Will be called before a write operation is performed on an object. If all IODCallback instances registered to the Object Dictionary return ABORT_CODE.SUCCESSFUL write operation will be executed and an IODCallback.OnObjectChanged event will be raised. Vice versa: If any instance returns an error write operation will be aborted and the writer will be informed.

InOut:

Scope

Name

Type

Comment

Return

OnWriteObject

ABORT_CODE

ABORT_CODE.SUCCESSFUL if writing is permitted, else corresponding abort code

Input

itfObject

IODObject

itfSubObject

IODSubObject

pbyData

POINTER TO BYTE

udiSize

UDINT