I-8090/I-8091 User Manual
User Manual Part 1 I-8090 3-axis encoder card
Part 2 I-8091 2-axis stepping/servo control card
Version 1.0 06/2001
I-8090 Contents
I-8090/I-8091 User ManualVersion 1.0 06/2001
I-8091 Contents
I-8090 3-axis encoder card User Manual
Version 1.0 06/2001 Edition
Copyright Copyright 2001 by ICP DAS. All right are reserved Trademark
Features
I-8090 3-axis encoder card
8090 Contents
1. Hardware
1.1 I-8000 hardware address
I-8000, 4 slots I-8000, 8 slots
1.2 Registers of I-8090 board
Quadrant Counting Mode
counter
Fig3 CW/CCW counting mode 10 Pulse/Direction counting mode
1C 2A
1.3 LED Indicator
power
I-8090 User Manual
1.4 Connection
Encoder
Version
Encoder
I-8090 User Manual
06/2001
Version 1.0 06/2001
I-8090 User Manual
S8091 card
S8090 card
Constants
2. Software
2.1 constants and functions
Functions
address hardware address which defined at chapter
4 void i8090RESETENCODERunsigned char cardNo, unsigned char axis
5 unsigned char i8090GETINDEXunsigned char cardNo
6 void i8090ENCODER32ISRunsigned char cardNo
32 bits encoder counts command sets
7 void i8090RESETENCODER32unsigned char cardNo, unsigned char axis
8 long i8090GETENCODER32unsigned char cardNo, unsigned char axis
2.2 examples
2.2.3 Get X, Y, Z-axis encoder counter’s value
case Yaxis
2.2.4 Software 32 bits encoder counter programming
#define CARD1 1 #define CARD2 2 #define MAXSLOTNO
Show5DigitLed0x04, j value=value/10 j=value-10*value/10
break default
int key,ShowAxis i8090Slot=99 for j=0 jMAXSLOTNO j++
Delay5 //delay 5ms
case 1 ShowLedValueyvalue,Yaxis break
switch ShowAxis
case 0 ShowLedValuexvalue,Xaxis break
case 2 ShowLedValuezvalue,Zaxis break
I-8091 2-axis stepping/servo motor control card User Manual
Version 1.0 06/2001 Edition
Copyright Copyright 2001 by ICP DAS. All right are reserved Trademark
I-8091 2-axis Stepping/Servo Motor Control Card
Features
I-8091 Contents
1.1 System Block Diagram
1. Introduction
1.2 DDA Technology
Example Stepping Motor
Example Pulse type input Servo Motor
2 Hardware
2.1 I-8000 hardware address
I-8000, 4 slots I-8000, 8 slots
2.2 Registers of I-8091 board
2.3 LED Indicator
2.4 Hardware Configuration 2.4.1 Limit switch configuration
Y axis
2.4.4 Turn Servo ON/OFF Hold ON/OFF
2.4.2 Output pulse mode configuration
2.4.3 Direction configuration
2.4.5 Automatic protection
2.4.6 Set limit switch as normal close condition
2.5.1 Pin assignment of connector CN2
2.5 Connection
2.5.3 The internal circuit of limit switch input
Version 1.0 06/2001
2.5.4 Example of connection
I-8091 User Manual
2-16
S8090 card
I-8091 User Manual
Version 1.0 06/2001
2-17
3. Software
3.1 Functions
Constants
2-19
I-8091 User Manual
Version 1.0 06/2001
ICPDAS
unsigned int
3.1.1 Setting commands
2 i8091RESETSYSTEM unsigned char cardNo
LowSpeed
High Speed≤
DDA cycle≤
Low Speed ≤
LowSpeed = AccDec
6 i8091SETSERVOONunsigned char cardNo
5 i8091SETMODEunsigned char cardNo, unsigned char modeX
unsigned char modeY
unsigned char sonX, unsigned char sonY
cardNo card number 0~19
Limit switches ORG1, LS11, LS14, ORG2, LS21, LS24, EMG
normal open default
sw 0NO
3.1.2 Stop Commands
11 i8091EMGSTOPunsigned char cardNo
unsigned char DIR, unsigned char AXIS
3.1.3 Simple motion commands
12 i8091LSPORGunsigned char cardNo
14 i8091LSPPULSEMOVEunsigned char cardNo
unsigned char AXIS, long pulseN
15 i8091HSPPULSEMOVEunsigned char cardNo
16 i8091LSPMOVEunsigned char cardNo
unsigned char DIR, unsigned char AXIS
Low speed
17 i8091HSPMOVEunsigned char cardNo
unsigned char DIR, unsigned char AXIS
high speed
command i8091STOPX, i8091STOPY, i8091STOPALL, or i8091SLOWSTOP
2-29
I-8091 User Manual
Version 1.0 06/2001
ICPDAS
3.1.4 Interpolation commands
− 2047≤ # Xpulse≤ − 2047≤ #Ypulse≤
#Ypulse≤
23 i8091INTPLINE02unsigned char cardNo, long x, long y
unsigned int speed unsigned char accmode
Y X,Y CW X CCW where r adius = sqr tX2 + Y2
#≤ R 2−
#≤ x 2−
#≤ y 2−
R ≥
26 unsigned char i8091INTPSTOP
i8091INTPLINE02, i8091INTPCIRCLE02 and
3.1.5 Others
Page
3.2 Start up and end of program
i8091RESETSYSTEMCARD1
end of program i8091RESETSYSTEMCARD1
Start up program
2-38
I-8091 User Manual
Version 1.0 06/2001
ICPDAS
4. Example
4.1 Detect I-8091 card
I-8091 User Manual
4.2 Example DEMO.cpp
4.3 ExampleDEMO1.cpp
Version 1.0 06/2001