ICP DAS USA I-8091 2-axis stepping/servo, I-8090 3-axis encoder card user manual Power

Page 39

I-8091 User Manual

Version 1.0 06/2001

'/XSTOP' or '/YSTOP' signal become to '0'.

Register

Add.

R/W

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

WRFF

0x01

W

 

 

Command port

I-8091 driver will send motion command by way of this register. Please do not use this register to write any thing, or I-8091 will not operate properly.

Register

Add.

R/W

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

RSTFF

0x02

W

 

 

Reset FIFO

This register is used to reset FIFO for clear all of commands pending in the FIFO buffer.

2.3 LED Indicator

power

/ORG1 /LS11 /LS14 /ORG2 /LS21 /LS24 /EMG

Fig.(4) I-8091 LED indicator

Where

/ORG1: X-axis’s original limit switch for machine home position.

/LS11, /LS14 : X-axis’s negative and positive limit switches.

/ORG2: Y-axis’s original limit switch for machine home position.

/LS21, /LS24 : Y-axis’s negative and positive limit switches.

/EMG : system’s emergency signal input.

http://www.icpdas.com

2-10

ICPDAS

Image 39
Contents Icpdas Contents Contents Version 1.0 06/2001 Edition 8090 Axis encoder card8090 3-axis encoder card FeaturesVersion 06/2001 8000, 4 slots 8000, 8 slots I-8000 hardware addressRST INH SEL Registers of I-8090 boardFig2 Quadrant counting mode 01 CW/CCW counting mode Fig3 CW/CCW counting mode Pulse/Direction counting mode Power 1C 2A LED IndicatorEgnd ConnectionEncoder CW/PULSE CCW/DIR Index S8091 card Constants Constants and functionsIcpdas Unsigned char i8090GETINDEXunsigned char cardNo Icpdas Examples Get X, Y, Z-axis encoder counter’s value Icpdas Break default break Return value Icpdas Icpdas Icpdas \r\n Icpdas Icpdas 8091 Axis stepping/servo motor control card 8091 2-axis Stepping/Servo Motor Control Card Contents Introduction System Block DiagramDDA Technology Example Stepping Motor Example Pulse type input Servo Motor 8000 hardware address HardwareRstff Registers of I-8091 boardPower Limit switch configuration of X axis Hardware Configuration Limit switch configurationAutomatic protection Output pulse mode configurationDirection configuration Turn Servo ON/OFF Hold ON/OFFSet limit switch as normal close condition Extgnd Pin assignment of connector CN2Internal circuit of pulse output pin Internal circuit of limit switch inputFan-out type driver VEXTAs motor driver Example of connectionS8091 card Functions SoftwareIcpdas I8091RESETSYSTEM unsigned char cardNo Setting commandsRestriction Reversedir Icpdas 11 i8091EMGSTOPunsigned char cardNo Stop CommandsSimple motion commands High speed move #pulseN. cardNo board number 0~19 Icpdas Example I8091HSPMOVE1, CW, Xaxis Example I8091HSPMOVE1, CW, Yaxis getch I8091SLOWSTOP1, Yaxis Interpolation commands Example I8091INTPLINE1,2000,-3000 I8091INTPLINE1,-500,200 CCW #≤ x 2− Unsigned char i8091INTPSTOP Others Icpdas Start up and end of program = Cwccw Detect I-8091 card ExampleExampleDEMO1.cpp Example DEMO.cpp