OnObjectEventChange

OnObjectEventChange 1:

The method is called when the event of a subordinate object changes.

The user can respond to the changes in this method.

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);

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0