Lenze PLC Designer ApplicationTemplate (PLC Designer R3- Manuel d'utilisateur Page 72

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 177
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 71
Architecture: The ApplicationTemplate in detail
Accessing structure variables of machine modules
72
Lenze · ApplicationTemplate · 1.3 EN - 04/2013
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The associated program call in the machine application has the following syntax:
[9-3] Sample program which assigns the value 4711 to the diPieces visualization variable.
9.1.2 Accessing structures of other machine modules
The global machine module structures are instanced in the A55_VarLists folder.
Like this, the structures and machine modules of the ApplicationTemplate can be reused.
The structure variables of an optional machine module can be used from another machine
module.
In order to be able to use the variables of a global structure of machine module 1 (example:
MM_Module1) in another machine application of machine module 2 (example: MM_Module2),
the following program call is required:
[9-4] Sample program: Accessing the MM_Vis structure of module 1.
Vis.diPieces := 4711;
diPiecesModul1 := MM_Vis.scModule1;
Vue de la page 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 176 177

Commentaires sur ces manuels

Pas de commentaire