Lenze PLC Designer PLC Designer (R2-x) Manuel d'utilisateur Page 733

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 844
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 732
L-force | PLC Designer
PLC Designer Visualization
DMS 3.2 EN 02/2011 TD29 731
Example:
Create a table element visualizing the array of a structure:
Define the following structure:
TYPE strucTab :
STRUCT
iNo: INT;
bDigi : BOOL;
sText:STRING;
byDummy: BYTE;
END_STRUCT
END_TYPE
In PLC_PRG define the following array:
arr1:ARRAY [1..5] OF strucTab;
and the following variables:
selX:INT;
selY:INT;
Create a visualization object and insert a table element. Configure like follows::
Cat. Table: data array: "PLC_PRG.arr1"
Cat. Columns: Transfer the components iNo, bDigi, sText to the right window - In
the right window perform a double-click on the first entry
(PLC_PRG.arr1[INDEX].iNo) and in the dialog which will open, replace the default
title by "Number". Confirm with OK and also define new column titles for the other
two entries (e.g. "Value" and "Text").
Cat. 'Selection': Enter here at 'Variable Selection X': "PLC_PRG.selX" and at Variable
Selection "Y: PLC_PRG.selY". Activate option 'Frame around selected cells'. Press
button 'Selection color' and choose color 'yellow'. Close the configuration dialog
with OK.
Vue de la page 732
1 2 ... 728 729 730 731 732 733 734 735 736 737 738 ... 843 844

Commentaires sur ces manuels

Pas de commentaire