Persistent variables L_TW2P_PersistentVarWinder

The technology module provides the possibility of persistently saving the parameters determined such as the winding diameter. For this purpose, the following setting has to be made in the »PLC Designer« for the technology module.

  • How to create persistent variables in the »PLC Designer«:

    Note: This procedure does not apply to the Application Template, since it already provides structures for persistent data of the machine modules.

  1. Add the global list for managing persistent variables in the context menu to Application with the Add objectWPersistent variables... command.

  2. Use the reference for the persistent variables "L_TW2P_PersistentVarWinder" in the global structure of the persistent variables.

  3. Interconect the instance of the persistent variables with the PersistentVar input/output.

L_TW2P_PersistentVarWinder

Content of the persistent variables within the L_TW2P_PersistentVarWinder structure:

Identifier

Data type

Description

IrDiam

LREAL

The diameter calculated

  • Unit: mm

IrMaterialCounter

LREAL

Counter content of the material

  • Unit: mm

liRevCounter

LINT

Number of revolutions counted for the material length counter

  • Unit: rev

IrRevCounterResidual

LREAL

The fractional part of an incomplete revolution for the material length counter

  • Unit: rev