OnInitStateChange

OnInitStateChange 1:

The method is called when the initialization state of an object changes.

Syntax

METHOD PROTECTED OnInitStateChange
VAR_INPUT
  iObject    : I_BA_Object;
  eState     : E_BA_InitState;
END_VAR

OnInitStateChange 2: Inputs

Name

Type

Description

iObject

I_BA_Object

Interface to the context object.

eState

E_BA_InitState

New state after initialization.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0