OnObjectEventChange

OnObjectEventChange 1:

This method is invoked when a subordinate object’s event changes.
Users can respond to these changes.

Syntax

METHOD PROTECTED OnObjectEventChange
VAR_INPUT
  iObject           : I_BA_EventObject;
  bNotifyParents    : BOOL := TRUE;
END_VAR

OnObjectEventChange 2: Inputs

Name

Type

Description

iObject

I_BA_EventObject

Interface to the context object.

bNotifyParents

BOOL

Enable for forwarding the event to the next higher-level object.

This enable must be transferred to the basic function block.

Sample:

SUPER^.OnObjectEventChange(iObject, TRUE);