User Manual Part 1 I-8090 3-axis encoder card
Part 2 I-8091 2-axis stepping/servo control card
I-8090/I-8091 User Manual
Version 1.0 06/2001
I-8090 Contents
I-8090/I-8091 User ManualVersion 1.0 06/2001
I-8091 Contents
Copyright Copyright 2001 by ICP DAS. All right are reserved Trademark
I-8090 3-axis encoder card User Manual
Version 1.0 06/2001 Edition
Features
I-8090 3-axis encoder card
8090 Contents
I-8000, 4 slots I-8000, 8 slots
1. Hardware
1.1 I-8000 hardware address
1.2 Registers of I-8090 board
Quadrant Counting Mode
counter
Fig3 CW/CCW counting mode 10 Pulse/Direction counting mode
1.3 LED Indicator
power
1C 2A
I-8090 User Manual
1.4 Connection
Encoder
Encoder
I-8090 User Manual
Version
06/2001
I-8090 User Manual
S8091 card
Version 1.0 06/2001
S8090 card
2. Software
2.1 constants and functions
Constants
Functions
address hardware address which defined at chapter
4 void i8090RESETENCODERunsigned char cardNo, unsigned char axis
5 unsigned char i8090GETINDEXunsigned char cardNo
32 bits encoder counts command sets
7 void i8090RESETENCODER32unsigned char cardNo, unsigned char axis
6 void i8090ENCODER32ISRunsigned char cardNo
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
switch ShowAxis
case 0 ShowLedValuexvalue,Xaxis break
case 1 ShowLedValueyvalue,Yaxis break
case 2 ShowLedValuezvalue,Zaxis break
Copyright Copyright 2001 by ICP DAS. All right are reserved Trademark
I-8091 2-axis stepping/servo motor control card User Manual
Version 1.0 06/2001 Edition
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
I-8000, 4 slots I-8000, 8 slots
2 Hardware
2.1 I-8000 hardware address
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.2 Output pulse mode configuration
2.4.3 Direction configuration
2.4.4 Turn Servo ON/OFF Hold ON/OFF
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
2.5.4 Example of connection
I-8091 User Manual
Version 1.0 06/2001
2-16
I-8091 User Manual
Version 1.0 06/2001
S8090 card
2-17
Constants
3. Software
3.1 Functions
I-8091 User Manual
Version 1.0 06/2001
2-19
ICPDAS
3.1.1 Setting commands
2 i8091RESETSYSTEM unsigned char cardNo
unsigned int
LowSpeed
DDA cycle≤
Low Speed ≤
High Speed≤
LowSpeed = AccDec
5 i8091SETMODEunsigned char cardNo, unsigned char modeX
unsigned char modeY
6 i8091SETSERVOONunsigned char cardNo
unsigned char sonX, unsigned char sonY
Limit switches ORG1, LS11, LS14, ORG2, LS21, LS24, EMG
normal open default
cardNo card number 0~19
sw 0NO
3.1.2 Stop Commands
11 i8091EMGSTOPunsigned char cardNo
3.1.3 Simple motion commands
12 i8091LSPORGunsigned char cardNo
unsigned char DIR, unsigned char AXIS
14 i8091LSPPULSEMOVEunsigned char cardNo
15 i8091HSPPULSEMOVEunsigned char cardNo
16 i8091LSPMOVEunsigned char cardNo
unsigned char AXIS, long pulseN
unsigned char DIR, unsigned char AXIS
17 i8091HSPMOVEunsigned char cardNo
unsigned char DIR, unsigned char AXIS
Low speed
high speed
command i8091STOPX, i8091STOPY, i8091STOPALL, or i8091SLOWSTOP
I-8091 User Manual
Version 1.0 06/2001
2-29
ICPDAS
3.1.4 Interpolation commands
− 2047≤ # Xpulse≤ − 2047≤ #Ypulse≤
unsigned int speed unsigned char accmode
#Ypulse≤
23 i8091INTPLINE02unsigned char cardNo, long x, long y
Y X,Y CW X CCW where r adius = sqr tX2 + Y2
#≤ x 2−
#≤ y 2−
#≤ R 2−
R ≥
26 unsigned char i8091INTPSTOP
i8091INTPLINE02, i8091INTPCIRCLE02 and
3.1.5 Others
Page
i8091RESETSYSTEMCARD1
end of program i8091RESETSYSTEMCARD1
3.2 Start up and end of program
Start up program
I-8091 User Manual
Version 1.0 06/2001
2-38
ICPDAS
4. Example
4.1 Detect I-8091 card
4.2 Example DEMO.cpp
4.3 ExampleDEMO1.cpp
I-8091 User Manual
Version 1.0 06/2001