Chapter 4 Communication 52 USER MANUAL
Bit Number (m) Condition
0 X motion complete
1 Y motion complete
2 Z motion complete
3 W motion complete
4 E motion complete
5 F motion complete
6 G motion complete
7 H motion complete
8 All axes motion complete
9 Excess position error*
10 Limit switch
11 Watchdog timer
12 Reserved
13 Application program stopped
14 Command done
15 Inputs* (uses n for mask)
When any one of these 8 inputs generate an interrupt, the EI command must be given again to re-
enable the interrupts on other specified inputs.
Bit number (n) Input
0 Input 1
1 Input 2
2 Input 3
3 Input 4
4 Input 5
5 Input 6
6 Input 7
7 Input 8
and M = Σ 2m
N = Σ 2n
The vector chosen for the specific interrupt is entered into the third data field (o) of the EI command.
The vector is selected as a value between 8 and 255.
For example, to select an interrupt for the conditions X motion complete, Z motion complete, excess
position error and a vector of 16, you would enable bits 0, 2 and 9.
M = 29 + 22 + 20 = 512 + 4 + 1 = 517
EI 517,,16
If you want an interrupt for Input 2 only with vector of 8, you would enable bit 15 for the m parameter
and bit 1 for the n parameter.
M = 215 = 32,768