Rockwell-automation 1753-PCS-PAR Using RSLogix Guard PLUS! with GuardP Uživatelský manuál Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 122
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
Publication 1753-PM001A-EN-P - November 2005
Create a GuardPLC Project 3-13
4. Select the Input tab on the Connect Signals dialog.
5. Connect the Count signal you created to the Counter Value
input.
These signals can now be used in your application program logic.
Create a Function Block
Program
The following example creates code to start and stop a motor using
the two input signals we created earlier.
Counter[xx] Output Variable Description
5/24V Mode True (1) = 24V
False (0) = 5V
Auto Advance Sense True (1) = Count Up or Down Based on Direction
False (0) = Count Up Regardless of Direction
Direction If Auto Advance Sense is False (0), then count in the
indicated Direction:
True (1) = Down
False (0) = Up
Gray Code True (1) = Use Gray Code Mode
False (0) = Use Pulse Mode
Reset True (1) = No Counter Reset
False (0) = Reset Counter
Count Up regardless of Direction
Count Up based on Direction
TIP
For more information on Function Block
programming, consult the online Help and
Chapter 8, Create User-Defined Function Blocks.
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 121 122

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

Žádné komentáře