Lenze PLC Designer ApplicationTemplate (PLC Designer R3- Uživatelský manuál Strana 166

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 177
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 165
Application example: Flying saw
State machine
166
Lenze · ApplicationTemplate · 1.3 EN - 04/2013
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5. Go to the Properties area and enter below the Color Variables of the button the following
value for toggle color:
MM_Vis.scVisuIntern.diFrame=Vis_eFrame.MVis_Infeed;
13.6 State machine
13.6.1 Controlling the state transition in the machine control module
Example: It should be possible to set all lower-level machine modules in the "Ready" or "Manual"
state via two buttons in the visualization of the Machine Control machine control module.
How to proceed:
1. Declare the elements for the buttons in the MVis_* structure.
Double-click and open:
A70_MachineModuleSources\ MM_A01_MachineControl\Structs
•Structure MVis_scA01_MachineControl
In the program part, the variables of the BOOL data type for the state change must be
declared, example: xReady and xManual.
2. Insert the buttons into the visualization.
Double-click and open:
A70_MachineModuleSources\ MM_A01_MachineControl\Visu
•Visualization MVis_A01_MachineControl
Zobrazit stránku 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 176 177

Komentáře k této Příručce

Žádné komentáře