ICP DAS USA I-8090 3-axis encoder card user manual Pin assignment of connector CN2, Extgnd

Page 43

I-8091 User Manual

Version 1.0 06/2001

2.5Connection

2.5.1Pin assignment of connector CN2

CN2

DB25M-90

 

 

+5V

1

 

 

 

 

14

 

CW_PULSE1

2

CW_PULSE2

 

15

 

 

CCW_DIR1

3

 

CCW_DIR2

 

16

 

 

HOLD1

4

 

HOLD2

 

17

 

 

 

GND

 

5

 

 

 

EXT_VCC (12~24V)

 

18

 

 

6

 

 

 

 

19

 

ORG1

 

7

ORG2

 

20

 

 

LS11

8

 

LS21

 

21

 

 

 

 

9

 

 

 

 

 

 

22

 

 

 

10

 

 

 

23

 

LS14

11

LS24

 

24

 

 

EMG

12

 

 

25

 

EXT_GND

 

 

13

Fig.(8) CN2 connector

Table of CN2 connector’s pin assignment

pin name

pin

Description

 

number

 

+5V

1

Internal +5V power, Max. output current: 50mA

CW_PULSE1

2

X-axis CW (Pulse) output pin

CCW_DIR1

3

X-axis CCW (Direction) output pin

HOLD1

4

X-axis HOLD (servo on) output pin

GND

5

Signal ground of pin 2,3,4

EXT_VCC

6

External power(12~24V) for limit switches

/ORG1

7

X-axis original (home) limit switch

/LS11

8

X-axis limit switch

 

9,10

No used

/LS14

11

X-axis limit switch

/EMG

12

Emergency input

EXT_GND

13

External ground for limit switch

+5V

14

Internal +5V power, Max. output current: 50mA

CW_PULSE2

15

Y-axis CW (Pulse) output pin

CCW_DIR2

16

Y-axis CCW (Direction) output pin

HOLD2

17

Y-axis HOLD (servo on) output pin

GND

18

Signal ground of pin 15,16,17

http://www.icpdas.com

2-14

ICPDAS

Image 43
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