ApplicationStateChanged (FUN)ΒΆ

FUNCTION ApplicationStateChanged : DINT

    • Sets the state of the PLC application. Its up to the devices to react accordingly.

    • @param state The state of the application.

    • @return DAL_SUCCESS on success.

    • DAL_FAILURE when at least one device returned an error.

InOut:

Scope

Name

Type

Return

ApplicationStateChanged

DINT

Input

event

ApplicationStateChangedEvent