User's Manual
Table Of Contents
- Contents
- Overview
- Controller Notation
- Servo and Stepper Motor Notation:
- Command Descriptions
- Servo Update Rates
- Commands which are not Allowed when Operating in Fast Mode:
- #
- $
- & |
- ( )
- ;
- [ ]
- + - * /
- <, >, =, <=, >=, <>
- =
- AB
- @ABS[n]
- AC
- @ACOS[n]
- AD
- AF
- AI
- AL
- AM
- @AN[n]
- AO
- AP
- AR
- AS
- @ASIN[n]
- AT
- @ATAN[n]
- #AUTO
- #AUTOERR
- AV
- BA
- BB
- BC
- BD
- BG
- BI
- BK
- BL
- BM
- BN
- BO
- BP
- BS
- BV
- BZ
- CB
- CC
- CD
- CE
- CF
- CI
- CM
- #CMDERR
- CN
- CO
- @COM[n]
- #COMINT
- @COS[n]
- CR
- CS
- CW
- DA
- DC
- DE
- DL
- DM
- DP
- DT
- DV
- EA
- EB
- EC
- ED
- EG
- EI
- ELSE
- EM
- EN
- ENDIF
- EO
- EP
- EQ
- ER
- ES
- ET
- FA
- FE
- FI
- FL
- @FRAC[n]
- FV
- GA
- GN
- GM
- GR
- HM
- HX
- IA
- IF
- IH
- II
- IL
- IN
- @IN[n]
- #ININT
- @INT[n]
- IP
- IT
- IV
- JG
- JP
- JS
- KD
- KI
- KP
- KS
- LA
- LE
- _LF*
- LI
- #LIMSWI
- LL
- LM
- _LR*
- LS
- LV
- LZ
- MB
- MC
- #MCTIME
- MF
- MG
- MO
- MR
- MT
- NB
- NF
- NO
- NZ
- OB
- OC
- OE
- OF
- OP
- @OUT[n]
- P1CD P2CD
- P1CH P2CH
- P1NM P2NM
- P1ST P2ST
- #POSERR
- PA
- PF
- PR
- QD
- QR
- QU
- QZ
- RA
- RC
- RD
- RE
- REM
- RI
- RL
- @RND[n]
- RP
- RS
-
R S -
R V - SA
- SA n
- SB
- SC
- SH
- @SIN[n]
- SL
- SP
- @SQR[n]
- ST
- @TAN[n]
- TB
- TC
- #TCPERR
- TD
- TE
- TH
- TI
- TIME*
- TL
- TM
- TP
- TR
- TS
- TT
- TV
- TW
- UI
- UL
- VA
- VD
- VE
- VF
- VM
- VP
- VR
- VS
- VT
- WC
- WH
- WT
- XQ
- ZR
- ZS
- Index

DMC-1400 Series Command Reference EI ● 77
EI
FUNCTION: Enable Interrupts
DESCRIPTION:
The EI command enables an ISA, PC/104 or PCI bus interrupt on conditions such as motion
complete or excess positional error. The conditions are selected by the parameter m
where m is the bit mask for the selected conditions as shown below. Prior to using the EI
command, one IRQ line must be jumpered on the DMC-141X. An interrupt service
routine must also be incorporated in your host program. See Chapter 4 in the product
manual for details.
ARGUMENTS: EI n where
n is interrupt condition for bits set. n = ΣBit number (2
m
) Condition
Bit Number (m) Condition
15 Reserved
14 Reserved
13 Application Program stopped
12 Reserved
11 Watchdog Timer
10 Limit switch
9 Excess Position error*
8 Motion complete
7 reserved
6 Input 7*
5 Input 6*
4 Input 5*
3 Input 4*
2 Input 3*
1 Input 2*
0 Input 1*
The * conditions must be re-enabled after each occurrence.
USAGE:
While Moving Yes Default Value 0
In a Program Yes Default Format ---
Command Line Yes
Can be Interrogated No
Used as an Operand No
Controller Usage
DMC-1410/1411/1417
RELATED COMMANDS:
UI User interrupt
EXAMPLES:
1. Specify interrupts for motion complete and limit switch.
Enable bits 8 and 10. n = 2
10
+ 2
8
= 1024 + 256 = 1280 EI 1280
2. Specify interrupts on Inputs 2 and 4.
Enable bits 1 and 3. n = 2
1
+ 2
3
= 2 + 8 = 10 EI 10