Rockwell-automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL Uživatelský manuál Strana 80

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 93
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 79
Chapter 7
Programming
7–42
The example program is shown below. Each time a function key is pressed
on the RediPANEL, its associated message is displayed. This program also
monitors the scanners Enabled Device Fault bit (M1:1.0/0). If
communications are lost, an alarm is activated.
I:1.0
8
MOVE
Source T4:0 PRE
Dest O:1.1
MOV
14
MOV
9
MOV
MOVE
Source 2
Dest O:1.2
If the communications
attempted and Enabled
Device Fault bits are
set to 1, activate the
alarm.
MEQ
MASKED EQUAL
Source M1:1.0
Mask 003
Compare 3
(
)
0:2
2
If function key 1 is
pressed (bit 8 of input
word 0), T4:0 preset is
moved to the display.
When a new number is
entered onto the Redi-
PANEL, it is moved to
preset T4:0.
If function key 2 is
pressed (bit 9 of input
word 0), RediPANEL
message #2 is trig-
gered and displayed.
MOVE
Source I:1.1
Dest T4:0 PRE
I:1.0
I:1.0
END
Example Program
Zobrazit stránku 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 92 93

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

Žádné komentáře