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.
-
Add the global list for managing persistent variables in the context menu to Application with the Add objectWPersistent variables... command.
-
Use the reference for the persistent variables "L_TW2P_PersistentVarWinder" in the global structure of the persistent variables.
-
Interconect the instance of the persistent variables with the PersistentVar input/output.
Content of the persistent variables within the L_TW2P_PersistentVarWinder structure:
|
Identifier Data type |
Description |
|---|---|
|
IrDiam LREAL |
The diameter calculated
|
|
IrMaterialCounter LREAL |
Counter content of the material
|
|
liRevCounter LINT |
Number of revolutions counted for the material length counter
|
|
IrRevCounterResidual LREAL |
The fractional part of an incomplete revolution for the material length counter
|