Lenze PLC Designer ApplicationTemplate (PLC Designer R3- Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 177
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
Lenze · ApplicationTemplate · 1.3 EN - 04/2013 71
Architecture: The ApplicationTemplate in detail
Accessing structure variables of machine modules
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9 Architecture: The ApplicationTemplate in detail
9.1 Accessing structure variables of machine modules
9.1.1 Accessing module's intrinsic structure variables
The structures of the machine modules contain the input and output variables of the machine
modules for integrating data in the complete system:
•I/O data: Structure MIO
Parameters / data of the recipe manager: Structure MPar
Persistent data: Structure MPD
Visualization data: Structure MVis
The following example shows how a structure variable for an external visualization (assigned to the
MAP) within a module application is to be called (when a module with automatically matching
names is assigned, the matching entries will be added automatically):
[9-1] Extract from the MVIS_scMachine structure
[9-2] Extract from the module application (MAP)
Structures (Structs) for ...
...IOs
...parameters (recipe manager)
...persistent data
...external visualization
// MVis_scMachine
// for MAP1
diPieces : DINT;
// for MAP2
diLength : DINT;
VAR_IN_OUT
/// ------------------ START OF USER SPECIFIC BLOCK ---------------------
/// Add the needed declarations of Par, Vis, IO and PD access here
Par: MPar_scMachine;
Vis: MVis_scMachine;
IO: MIO_scMachine;
PD: MPD_scMachine;
/// ------------------- END OF USER SPECIFIC BLOCK ----------------------
END_VAR
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 176 177

Comentarios a estos manuales

Sin comentarios