Vous êtes sur la page 1sur 19

PP-BOB2-v1.

0 Parallel Port Breakout kout Board

Document: Operation ation Manual Document #: T17 Document ev: 1. .00 Product: PP-BOB2 2-v1.0 Product ev: 0 !reated: 10-0"-201" 01" #pdated: ------------------------

THIS MANUAL CONTAINS INFORMATION FOR INSTALLING AND OPERATING THE FOLLOWING PRODUCTS S PP-BOB2-V1.0 PARALLEL PORT BREAKOUT BOARD TINY CONTROLS AND THE TINY CONTROLS S COMPANY LOGO ARE TRADEMARKS OF TINY CONTROLS COMPANY MPANY. OTHER TRADEMARKS, TRADE NAMES, AND SERVICE MARKS OWNED OR REGISTERED BY ANY OTHER COMPANY AND USED IN THIS S MANUA MANUAL ARE THE PROPERTY OF THEIR RESPECTIVE COMPANIES.

B-17, NISHAT PARK, KAKROLA MOR, NEW ELHI, IN IA ! 11""7# WEB: HTTP://WWW.TINYCONTROLS.COM OM PHONE: +91-11-2533-1567, +91-991 91-119-321"

CONTENTS
Item GENERAL DESCRIPTION LOCATION OF COMPONENTS and SIGNALS MOTOR OUTPUTS TERMINALS & OTHER TERMINALS JUMPER SETTING AND LED INDICATORS EXAMPLE INPUT / OUTPUT CONNECTIONS CONNECTION DIAGRAM OF CNC CONTROL BOX EXAMPLE MACH CONFIGURATION Page # 3 4 5 7 8 10 11

$n t%e &ollo'in( pa(e) PP-BOB2-v1.0 *Parallel port +reakout +oard, ma- +e called )impl- a) *Breakout +oard. or )impl- *BOB,.

/010 23 D04! $PT$O1 5ull- +u&&ered Output) T%ree On-+oard ela-) Opto-i)olated input) !%ar(e Pump 4a&etOn-+oard P6M to 0-107 circuit &or 4pindle )peed control On-+oard 87 e(ulator 'it% one 87 output $nput) compati+le to 87 to 297 :297 'it% )erie) re)i)tor; 30D indicator) &or all )i(nal) &or ea)- de+u((in( 4electa+le Pull-up<Pull-do'n on output) DB28 and 2= pin >eader &or parallel port connection

Tec%nical 4peci&ication):

3O!2T$O1 O5 !OMPO101T4 and 4$/1234

T%e &ollo'in( )ection de)cri+e) eac% connector terminal in detail. MOTO O#TP#T T0 M$1234

PP-BOB2-v1.0 %a) dedicated 4T0P <D$ 0!T$O1 output) &or &our independent a?e) named @A BA C D 2 a?i). T%e @ a?i) )i(nal) are dou+le +u&&ered and taken out to 2 individual connecter) named @1 and @2 a?i) allo'in( ea)- connection to 2 motor) on t%e )ame a?i). T%i) t-pe o& %ard'are )lavin( o& motor) i) u)ed in /antr- )t-le mac%ine de)i(n '%en t'o motor) are u)ed on t%e )ame a?i). $n total t%ere are &ive " pin terminal connector) 'it% )i(nal) !OMA 4T0P and D$ 0!T$O1. T%e)e are tied to Parallel Port )i(nal) :5rom le&t to ri(%t in ima(e )%o'n a+ove;: @1 2?i)EF !OM EF !OM @1 2?i)EF 4T0P EF )i(nal P2 @1 2?i)EF D$ EF )i(nal P" @2 2?i)EF !OM EF !OM @2 2?i)EF 4T0P EF )i(nal P2 @2 2?i)EF D$ EF )i(nal P" B 2?i)EF !OM EF !OM B 2?i)EF 4T0P EF )i(nal P9 B 2?i)EF D$ EF )i(nal P8 C 2?i)EF !OM EF !OM C 2?i)EF 4T0P EF )i(nal P= C 2?i)EF D$ EF )i(nal P7 2 2?i)EF !OM EF !OM 2 2?i)EF 4T0P EF )i(nal PG 2 2?i)EF D$ EF )i(nal PH 2lt%ou(% t%e )i(naled are a))i(ned t%e name) a) a+ove t%at doe)n.t mean t%e- cannot +e u)ed &or anot%er purpo)e t%an t%e a?i) control. $& an- o& t%e motor i) not u)ed in a )-)tem t%e output) can +e u)ed a) (eneral purpo)e output).

$1P#T T0 M$1234

The board has five opto-isolated inputs connected to signals P10, P11, P12, P13 and P15 !ll inputs are filtered for noise i""unit# and are active lo$ !ctive lo$ "eans $hen the input of opto is driven the signal goes lo$ %ignal P15 is dedicated to &"ergenc# s$itch and have corresponding '&( indicator )&%TP* to sho$ the activit# on this signal This 'ed $ill glo$ $hen the input is being driven "eaning the "achine is in +or"al state +ote, The inputs are directl# connected to the opto couplers $ith 470oh" series resistors, care "ust be ta-en to use appropriate series resistor $hile connecting the signals above 5. to the boards to avoid the da"age to the board i e /or 5. no additional resistor to be added for input signal "ore than 5. appropriate series resistor should be used %ee the e0a"ple circuits at the end of this "anual for $iring different t#pe of signals1device to the board inputs

032B T0 M$1234 D 75D O#TP#T

2ela# 3ontact ter"inals are ta-en directl# to this 3 pin connector Pin are "ar-ed as +14, 345 and +13 ./( 46TP6T $ill go directl# to ./( drive to control %pindle

I#MP0 40TT$1/ and 30D $ndicator): Iumper) are u)ed to con&i(ure rela- and c%ar(e-pump )i(nal) a) +elo': $%MPERS - $P1 & $P3:

T'()( *+,' -./0(1) /.), *( 2'345(6 ,+5(,'(1 ,+ (7,'(1 0+)7,7+4 1-2 +1 2-3 346 ,'()( 31( .)(6 ,+ 2+4,1+8 ,'( )75438 9P1: 3) *(8+;:
J1 J2 J3 J4

Bot% IP1 D IP" in po)ition 1-2 :T%i) i) de&ault )ettin(;: !%ar(e pump on P1 i) ena+led and u)ed to control t%e ena+le )i(nal) o& output +u&&er) &or all output )i(nal). $n t%i) mode -ou need to con&i(ure t%e !1! )o&t'are to output c%ar(e pump )i(nal on p1. 2l)o in t%i) mode t%e 30D *!P/D, 'ill (lo' '%en a (ood c%ar(e-pump )i(nal i) detected on P1 &rom t%e !1! )o&t'are. On a (ood !P )i(nal t%e output +u&&er) are ena+led ot%er'i)e all t%e output )i(nal) are kept di)a+led. !%ar(e pump 'ork) &or a 'ide ran(e o& &reJuencie). Bot%e IP1 D IP" in po)ition 2-": $n t%i) po)ition t%e c%ar(e-pump circuit i) di)a+led and t%e output +u&&er) are permanentl- ena+led. 2l)o t%e +u&&ered )i(nal P1 i) routed to t%e output terminal and can +e u)ed a) (eneral purpo)e output. T%e corre)pondin( 30D i) al)o di)a+led.

I#MP0 IP2 in po)ition 1-2:T%i) i) de&ault )ettin(;: 4T0P D D$ )i(nal o& MOTO O#TP#T are in pull do'n )tate). IP2 in po)ition 2-": $n t%i) po)ition t%e 4T0P D D$ )i(nal o& MOTO O#TP#T are in pull up )tate). I#MP0 IP9 in po)ition 1-2:T%i) i) de&ault )ettin(;: MOTO !OMMO1 O#TP#T 4$/1234 i) connected to (round. IP9 in po)ition 2-": $n t%i) po)ition t%e MOTO !OMMO1 O#TP#T 4$/123 i) connected to 7!!.

77

78

75

I#MP0 IP8 T%i) Kumper i) u)ed to control t%e )i(nal P19 a): Iumper Placed :T%i) i) de&ault )ettin(;: oute) t%e )i(nal P19 to control t%e on-+oard rela-A '%en in t%i) po)ition t%e )i(nal P19 i) not availa+le &or terminal. Iumper emoved: oute) t%e +u&&ered P19 )i(nal directl- to terminal and can +e u)ed a) (eneral purpo)e output )i(nal. 4i(nal P19 al)o %ave an a))ociated 30D to indicate t%e activit-A t%e 30D 'ork) irre)pective o& Kumper po)ition.

I#MP0 IP= T%i) Kumper i) u)ed to control t%e )i(nal P1= a): Iumper Placed :T%i) i) de&ault )ettin(;: oute) t%e )i(nal P1= to control t%e on-+oard rela-A '%en in t%i) po)ition t%e )i(nal P1= i) not availa+le &or terminal. Iumper emoved: oute) t%e +u&&ered P1= )i(nal directl- to terminal and can +e u)ed a) (eneral purpo)e output )i(nal. 4i(nal P1= al)o %ave an a))ociated 30D to indicate t%e activit-A t%e 30D 'ork) irre)pective o& Kumper po)ition.

I#MP0 IP7 T%i) Kumper i) u)ed to control t%e )i(nal P17 a): Po)ition 1-2:T%i) i) de&ault )ettin(;: oute) t%e )i(nal P17 to control t%e on-+oard rela- t%rou(% P6MA '%en in t%i) po)ition t%e )i(nal P17 i) not availa+le on terminal. Po)ition 2-": oute) t%e +u&&ered P17 )i(nal directl- to terminal and can +e u)ed a) (eneral purpo)e output )i(nal. 4i(nal P17 al)o %ave an a))ociated 30D to indicate t%e activit-A t%e 30D 'ork) irre)pective o& Kumper po)ition.

30D $ndicator):

STAT%S: IT HAS THREE STATES. o <AST BLINKS POWER IS CONNECTE . o LASY BLINKS WHEN =ALI PWM SI>NAL IS A=AILABLE. o CONTIO%S ON WHEN =ALI PWM IS MORE THAN 1"?. CP> : >LOWS WHEN A =ALI CHAR>E P%MP SI>NAL IS ETECTE . ESTOP: >LOWS WHEN MACHINE IS NOT IN EMER>ENCY STOP MO E.

0@2MP30 $1P#T < O#TP#T !O110!T$O14 !onnectin( a 4'itc% !onnectin( a ela-

!onnectin( multiple 4'itc%e)

!onnectin( multiple 4en)or)

1ote: T%e a+ove e?ample circuit) are Ku)t )u((e)tion) and ma- not 'ork 'it% all kind o& )'itc%e)<)en)or) volta(e) etc.

10

!onnection Dia(ram o& !1! control +o? :T-pical M2!>";

11

0?ample M2!>" !on&i(uration

4tep 1: 2&ter in)tallin( M2!>" 4o&t'are run Mac%"Mill


appearL

&rom de)ktop. 2nd +elo' )creen 'ill

4tep2: T%e ne?t t%in( 'e need to do i) to )elect t%e native unit) o& c%oice. To do t%i) 'e (o to t%e !on&i(
menu and click 4elect 1ative #nit) option.

12

4tep": $& t%i) Me))a(e) 4creen appear) t%en pre)) OM.

4tep9: 4elect eit%er inc%e) or mm and click OM. 4ince no' $.m u)in( $mperial #nit. $ c%oo)e $nc%e).

13

4tep8: 1o' 'e need to do con&i(ure port and pin) in Mac%". 1o' 4elect Port) and Pin) option in !on&i(
menu.

4tep=: . $& t%e port i) on+oard -our computer) mot%er+oard t%e )tandard addre)) i) 0?"7G. But ot%er
addre))e) are )ometime) u)ed a) 'ell. 6e tell Mac%" t%i) in&ormation +- )electin( Port) and Pin) under t%e !on&i( Menu. 5or e?ample %ere $ %ave )elected t%e de&ault computer) mot%er+oard t%e )tandard addre)) 0?"7G.

14

4tep7: 1e?t in line i) t%e Motor Output) ta+. T%i) i) '%ere 'e tell Mac%" %o' man- motor) 'e 'ant to
control and to '%ic% pin) in our printer port t%e eac% motor driver i) connected. 4o con&i(ure it )tep +)tep e?plain +elo'.
1 2 9n this case its a0is, X! "! #! A : S$%nd&e so enable those four b# "a-ing sure that there is a green chec-"arin the first colu"n of those a0is The second colu"n sets the pin to $hich the step input on our "otor drive is connected 9n this case the X a0is drive step input is connected to pin 2, " to pin 4, # to pin 8, A to pin 8 and S$%nd&e A to pin 17 The third colu"n is ;ust li-e the second but for the drives direction inputs, $ired to 3, 5, 7, < and17

+4T&= 1 2 9t>s not necessar# to enable all the four !?&% if not re@uired, for e0a"ple in case of 'athe 5achine onl# ? and A a0es are needed to be enabling 9f one of the a0is "oves in the reverse direction it can be corrected b# tic-ing )A't%(e L)** on the corresponding )D%+ L)* A't%(e*

15

4tepG: 2n- decent mac%ine tool )%ould %ave an 0mer(enc- 4top +utton t%atA in t%e )a&e)t po))i+le 'a-A
%alt) all mac%ine movement and prevent) dama(e to t%e operator in t%e &ir)t place and<or t%e mac%ine )o 'ill t%i) one. T%i) tutorial 'ill not (o into t%e actual %ard'are de)i(n o& a proper 0-)top )-)tem +ut 'ill &ocu) on (ettin( Mac%" to under)tand t%at t%e +i( red +utton %a) +een pu)%ed. T%e variou) input )i(nal) to Mac%" are )etup on t%e $nput 4i(nal) ta+ under Port) and Pin) in t%e !on&i( menu: con&i(ure it a) mentioned +elo'
1 2 3 B# chec-ing "a-e &stop &nable 9n Pin +u"ber colu"n "a-e it 15 /or testing purpose CDhen ph#sical s$itches not attachedE &"ulated can be tic-ed

16

4tepH: 1e?t con&i(ure t%e Output 4i(nal '%ic% i) in t%e ne?t ta+ Output 4i(nal. !on&i(ure it a) (iven
+elo' " )tep
1 2 To enable 2ela# given on board 5a-e O,t$,t #- and O,t$,t #. enable b# chec-ing enable and change pin no to 14 and 15 2espectivel# !s sho$n belo$ in the screen To enable 3F!2G& P65P "a-e C/a+ge P,m$ enable b# chec-ing enable and change pin no to 1 !s sho$n belo$ in the screen

17

+o$ go to %pindle %etup and note that on M and M0 ca""and spindle "oves in cloc-$ise and anticloc-$ise direction CTic- on DISABLED SPINDLE RELA"S in 2ela# 3ontrol %ection %ince $e are controlling it throug PD5E

4tep10: 2nd no' )ave all a+ove con&i(uration +- clickin( on 2ppl- and t%en OM. Ste$--1

18

4tep12: 1o' con&i(ure -our motor tunnin( parameter &or eac% a?i)

222IMPORTANT press )%ave a0is settings* button ever# ti"e an# para"eter value is changed other$ise changes $on>t be saved

19