Welcome, Guest. Please login or register.
Did you miss your activation email?
December 20, 2014, 01:31:18 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Need Help with Stepper Motor Driver - New User
Pages: 1   Go Down
Print
Author Topic: Need Help with Stepper Motor Driver - New User  (Read 2112 times)
0 Members and 1 Guest are viewing this topic.
harshjaiswal
Active Member

Offline Offline

Posts: 3


View Profile
« on: December 14, 2009, 12:07:46 PM »

I am a new user. I am trying to install Mach 3 on Vertical Milling Machine which had a Heidenhain control. It was an old control(yr.1989) and so I am installing all new control and I have thought of trying out the Mach 3.

I want to use 3 phase hybrid stepper motors and drives with the Mach 3, but I am confused about the wiring. I was wondering if someone could help me with how to connect the parallel port output to the drive. The following is the wiring example given in the driver manual:-

Pulse Signal +
Pulse Signal -
Direction Signal +
Direction Signal -
Subdivision choosing Signal +
Subdivision choosing Signal -
Motor Free Signal +
Motor Free Signal -
Origin Output Signal +
Origin Output Signal -
Ready Signal +
Ready Signal -
BK+ preformed signal +
BK- preformed signal -
Dead end

I am attaching the manual. I would really appreciate someones help with this.

Also, do I really need a breakout board? The drives are insulated so I am not sure if it is really a requirement.

PLEASE HELP

* Q3HB220M.pdf (298.66 KB - downloaded 361 times.)
Logged
M250cnc
Active Member

Offline Offline

Posts: 591




View Profile
« Reply #1 on: December 14, 2009, 01:27:25 PM »

I wouldn't do any thing just yet.

I think you may need to redo a lot of wiring or even completely rewire to make the machine compatible.

I am sure its not as simple as plugging in a PC with Mach3 loaded. Grin

A guy called Hood will be along later.

Phil
Logged

The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable
harshjaiswal
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #2 on: December 14, 2009, 01:40:51 PM »

I havent done any wiring yet. I am not able to figure out how to do the wiring. I was wondering if this driver can be wired to work with Mach 3 or not?

I would really appreciate someones help on this.

Thank you

Harsh
Logged
Tweakie.CNC
Global Moderator
*
Online Online

Posts: 4,820


Super Kitty.


View Profile WWW
« Reply #3 on: December 21, 2009, 05:42:53 PM »

Hi Harsh,

It is always a wise move to use an active breakout board which opto isolates your input and output signals from the PC parallel port, just in case anything goes wrong - It can save the life of your PC.

I took a look at the manual but on one page it says DP4 should be ON for step and direction pulse input and on another page it says it should be OFF for step and direction pulse input. The whole document is quite confusing so I understand your problem.

However, I think this controller will work OK with Mach and as soon as I get time I will draw a connection diagram of how I would connect this up.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
harshjaiswal
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #4 on: December 21, 2009, 10:29:03 PM »

Thanks for the reply. I would really appreciate some help with the connections.

Also, I have looked into alot of breakout boards but I am not able to decide which one to buy. Is there any breakout board which will qualify as the best for running 3 drives and 1 VFD?

Thank you

Harsh.
Logged
Tweakie.CNC
Global Moderator
*
Online Online

Posts: 4,820


Super Kitty.


View Profile WWW
« Reply #5 on: December 22, 2009, 04:24:08 AM »

You could do a forum search to find out what others are using for their BOBís - the C10 seems to be popular and this can be found here http://www.cnc4pc.com/Store/osc/index.php?cPath=33&osCsid=2d1fd3d8ffdeb2cc6078c4da7037fc55

This is the basics of what I would do ( I donít offer any warranty on this !!).

Q3HB220M Driver:-  Pin 6 switches alternate steps per revolution which is not required. Pin 10 is an index output which is not required at this stage. Pin 12 is a driver ready output which is not required. (This assumes that you will not be using encoders with the motors).
Set the steps per (SK1) to a realistic setting, perhaps position 9 (2000). Set motor run current (runIM) and motor hold current (stopIM) to match your motors.


LPT output pins / BOB pins and Mach setup:-

PIN      DESIGNATION   MACH ports & pins
                    Input / Output signals.

1      C0/output
2      D0/output      x step   step low active
3      D1/output      x dir   active high / low will determine motor direction.
4      D2/output      y step   step low active
5      D3/output      y dir   active high / low will determine motor direction.
6      D4/output      z step   step low active
7      D5/output      z dir   active high / low will determine motor direction.
8      D6/output      a step
9      D7/output      a dir
10      S6/input      e-stop
11      S7/input      x home/limit
12      S5/input      y home/limit
13      S4/input      z home/limit
14      C1/output
15      S3/input
16      C2/output   
17      C3/output
18      gnd      )
19      gnd      )
20      gnd      )   
21      gnd      )   GND
22      gnd      )
23      gnd      )
24      gnd      )
25      gnd      )

Under motor tuning set the steps per to 2000, acceleration and velocity low (to start with) and the step and direction pulse widths to 2 uS.

Initial test:- Connect up one drive first (X axis) as diagram. At switch on the motor should lock Ė If the motor rotates, switch off and change DP4 to ON. Switch on again Ė if the motor does not lock, switch off and connect pin 8 (motor free signal) to GND  and pin7 to +5V and try again.
Always switch off before changing any settings or connecting / disconnecting wires. Observe caution and safety when dealing with the 220 Vac and motor connections.


Tweakie.


* q3hb220m.jpg (31.74 KB, 800x600 - viewed 248 times.)
« Last Edit: December 22, 2009, 04:33:48 AM by Tweakie.CNC » Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!