Rockwell Automation 57C422B 2 Axis Servo Module User Manual

Page 73

Advertising
background image

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

Advertising