Global constants / variables

Constants for setting up the packaging machine tag structures. These cannot be changed.

VAR_GLOBAL CONSTANT
    cMaxUnitMode                : INT := 31
    cMaxMachineState            : INT := 17
END_VAR

The information about the permitted states and transitions configured with the PML_UnitModeConfig is stored in this structure.

VAR_GLOBAL
    stPMLUnitModeConfiguration  : ARRAY[0..cMaxUnitMode] OF ST_PMLUnitModeConfiguration
END_Var

Requirements

Development Environment

Target platform

PLC library to include

From TwinCAT

  • 3.1 Build 4024.63

PC (i386)

From Tc3_PackML_ V3 1.0.3