Rockwell-automation 57C422B 2 Axis Servo Module Uživatelský manuál Strana 73

  • 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 72
PROGRAMMING
4-45
Bits in 68/69 can be set in one of two ways. All bits in the
registers can be defined separately in configuration and set
to 1 in application tasks. You can also define only the
registers in configuration and “mask”, the variables in
application tasks with BASIC statements AND or OR.
4.49.2 Registers 104/105: Interrupt Source
Registers 104/105 are the interrupt source registers and
correspond to registers 72/73 in the same manner as do
registers 68/69. A user application program should read
registers 104/105 to see which bit(s) were set after an
interrupt occurs, i.e. after the EVENT has been set. The
source of the interrupt is the corresponding bit(s) in registers
72/73. For example, to continue the example above in
4.49.1, if bit 5 in register 105 is set, the interrupt was caused
Figure 4.49 – Interrupt Enable Masking Register 69
Zobrazit stránku 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 121 122

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

Žádné komentáře