ICP DAS USA 3-axis encoder card, 2-axis stepping/servo user manual Software, Functions, Constants

Models: 3-axis encoder card, 2-axis stepping/servo I-8090 3-axis encoder card I-8091 2-axis stepping/servo

1 69
Download 69 pages 14.6 Kb
Page 47
Image 47

I-8091 User Manual

Version 1.0 06/2001

3. Software

_

User’s applications could be compiled under DOS Turbo/borland C/C++ environment. It should be include i8091.h and i8091.LIB to compile the target execution file. The execution files can be downloaded under I-8000 main system (execute 7188x.exe), and then run the target execution file as under PC system. About the I-8000’s resource or environment, please refer to the manual of I-8000 system or its software programming guide.

The following section will introduce the I-8091’s functions and examples.

3.1 Functions

Constants

 

#define i8091

0x0e

#define YES

1

#define NO

0

#define READY

0

#define BUSY

1

#define ON

1

#define OFF

0

#define CW_CCW

0

#define PULSE_DIR

1

#define NORMAL_DIR

0

#define REVERSE_DIR

1

#define FW

0

#define BW

1

#define CW

0

#define CCW

1

#define X_axis

1

#define Y_axis

2

#define Z_axis

3

I-8091 card is a automatic protected system.

(a)If X-aixs command is executing and moving toward CW/FW direction,

X-axis will immediately stop when LS14 is touched. To release this protection as long as X-axis move toward CCW/BW direction.

http://www.icpdas.com

2-18

ICPDAS

Page 47
Image 47
ICP DAS USA 3-axis encoder card, 2-axis stepping/servo, I-8091 2-axis stepping/servo Software, Functions, Constants