Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: asen59 on September 22, 2011, 12:18:08 AM

Title: first run with mach3
Post by: asen59 on September 22, 2011, 12:18:08 AM
dear seniors ,help me.

I start to install mach program for my diy cnc mill . there are every thing can run at the demo mode  at my pc (mean =can run the program sither with MDI mode ,the dro /axis can move ),

I connect my pc to my break out bord and stepper driver. but there are not running .

I check at driver test at my computer ,there is ok.(24850-25... pulse per second)

I check out put volt at break board ,there is only 0.8 v on mach tutorial this should 5 v.

on mach tutorial .on engine configuration port & pin  ,motor outputs .there is X axis =pin 2 ,dir pin =3
                                                                                                            y axis =      4,          =5
                                                                                                            z       =     6             = 7

but at my pc there is  x=2 ,y =3 z=4 dit x=6,y=7,z=8 .

how to check the output pin number  correct ?

what 'll I do for the begining with mach ?

pls advise.




Title: Re: first run with mach3
Post by: Tweakie.CNC on September 22, 2011, 03:57:38 AM
Hi Asen,

Welcome to the forum.

Do you have any details of your controller as that determines which pins are used for the step and direction of each axis. ??

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on September 23, 2011, 12:38:36 AM
Hi Asen,

Welcome to the forum.

Do you have any details of your controller as that determines which pins are used for the step and direction of each axis. ??

Tweakie.

dear tweakie

I 'm newbie  ,

how to send PDF  ?

thank you
 
Title: Re: first run with mach3
Post by: Tweakie.CNC on September 23, 2011, 02:19:38 AM
Hi Asen,

In your reply, click "Additional Options" then "Choose File" and then select your pdf document.
Hope this helps.

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on September 23, 2011, 02:29:31 AM
dear twiekie

here is I attach the file which I bought the cnc control  packet from ebay.the from china .

pls advise, how to measure the out put voltage from the pc paralel pin ?

thank you

Title: Re: first run with mach3
Post by: Tweakie.CNC on September 23, 2011, 02:54:49 AM
Hi Asen,

It appears that the;
X Axis step is pin 2 and direction is pin 3
Y Axis step is pin 4 and direction is pin 5
Z Axis step is pin 6 and direction is pin 7
And this is the way they sholuld be configured within Mach Ports and Pins / Motor Outputs.
                
With a multimeter, you will only be able to measure the voltage on the PC Parallel port Direction pins - so connecting the meter between pin 3 and GND (pins 18 to 25) jogging the X Axis in one direction should produce approx 0 volts and in the other direction approx 5 volts on the meter display.


Tweakie.
Title: Re: first run with mach3
Post by: asen59 on September 23, 2011, 03:13:03 AM
dear tweakie

I already check with multimeter, there is no 5 volt at the 5v conector at breakboard .just 0,8 volt( use note book) and 1,2 v (use desktop)

the dir conector (P3,P5,P7 ) just  0 in one dir and 0,8 V in another dir   when I measure with multimeter,
the step conector(P2,P4,P6) I try measure with digital multimeter in Hz =still 0 when I move the Axis.

can I measure the 25 pin at the pc paraller port without conect to the breakboard? is the same pin no ?. like dir no is no 3,5,7  ?should be 5 V.

how to solve if the output from the pc not 5 V?is it need set some thing at my pc to have 5V  ?

pls advise.
thank you
Title: Re: first run with mach3
Post by: Tweakie.CNC on September 23, 2011, 03:33:33 AM
Hi Asen,

Sorry, I didn't make it clear but my earlier post related to measuring the voltage at the 25 pin PC Parallel port (or input to the Breakout board), not the breakout board output side.

I would need more details on your breakout board but;

1) Some breakout boards will operate with the 3.3 volt TTL standard inputs whilst others still require the older 5 volt TTL standard for reliable operation. Measure the Direction pin outputs at your PC to find out which voltage standard you have.

2) From your diagram it would suggest that your breakout board requires it's own 5 volt supply but this is not shown in the diagram for some reason. This could well be the root cause of your problems.

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on September 23, 2011, 04:03:39 AM
dear tweakie

thank you for yr kind explanation ,

what 'll I do ,if no 5 V on the pc parallel port pin pin no 3,5,7 when I move the Axis ?
Title: Re: first run with mach3
Post by: Tweakie.CNC on September 23, 2011, 05:13:28 AM
Quote
what 'll I do ,if no 5 V on the pc parallel port pin pin no 3,5,7 when I move the Axis ?

Then you need to check your Mach configuration carefully and also check that you have the correct address set for your parallel port and that it is enabled within your computer BIOS settings etc. - Lets hope you have 5 volts between say pins 3 and 25.  ;)

Tweakie.

(This document refers to setting up far better than I could ever explain it  http://www.machsupport.com/docs/Mach3Mill_Install_Config.pdf )
Title: Re: first run with mach3
Post by: asen59 on September 23, 2011, 08:50:35 AM
dera tweakie

i already read the mach 3 mill install config before.I also instal and config follow them,but still can't get the right seting .

if you  don't run the mach .can u get 5 V at pin 3 and 25? if yes that mean my pc error .
or do you only have 5 V if just you run mach3 .if yes ,mean my seting mach error.

pls advise.

thank you.
Title: Re: first run with mach3
Post by: Tweakie.CNC on September 23, 2011, 10:48:22 AM
Quote
if you  don't run the mach .can u get 5 V at pin 3 and 25? if yes that mean my pc error .

Hi Asen,

You need to run Mach.
On your PC, go into device manager and check the LPT parallel port address (usually 0378) then check this is the address entered in Mach.

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on October 28, 2011, 05:50:53 AM
dear Tweakie

I just try another smaller nema 11 ,yesterday the motor can run by jog with keyboard or DMG on srenn , but when I run use G0 command ,the motor run about 3/4 turn ,stop for a while ,then run again 3/4 turn ,stop ,then run again .

what is this cause from ?.

pls advise.

thank you
Title: Re: first run with mach3
Post by: asen59 on October 28, 2011, 05:53:33 AM
I also inform u ,

on the screen ,the DRO not runing fluently .(0-1,2-3-4-5 ) but this is jump ,( 0-1,1-2,7-4,3-5,9-7,5-9,1-----)
 
Title: Re: first run with mach3
Post by: asen59 on October 28, 2011, 05:55:19 AM
I try to exit the program ,then run use mach3 loader .then the DRO can run fluenly ,(0-1-2-3-4-5----)

but ,to day I run the program ,the DRO not stepp againt.

pls advise.
Title: Re: first run with mach3
Post by: Tweakie.CNC on October 28, 2011, 07:04:37 AM
dear Tweakie

I just try another smaller nema 11 ,yesterday the motor can run by jog with keyboard or DMG on srenn , but when I run use G0 command ,the motor run about 3/4 turn ,stop for a while ,then run again 3/4 turn ,stop ,then run again .

what is this cause from ?.

pls advise.

thank you


Hi Asen,

My guess is that it is your PC.
If it is running background tasks or sharing application time like multi-tasking then this may cause the issue you are having.

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on October 31, 2011, 05:23:16 AM
dear Tweakie.
thank for yr advise,
I re install my pc ,and scan with anti virus ,dellete all un neseccery program ,re install mach 3, the motor run smoothly now,

in motor tunning , I set 200 , but unly 1/3 turn for 10 mm ,should I set this stepp per  to calibrate with the 3mm pitch ballscrew become higher ?
but yesterday ,4 turn in 10 mm .
pls advise
 
Title: Re: first run with mach3
Post by: Tweakie.CNC on October 31, 2011, 07:04:08 AM
Hi Asen,

You should be able to calculate your steps per unit of movement exactly for each axis that uses different pitch screws etc. This calculator may be of assistance to you http://www.machsupport.com/forum/index.php/topic,16315.0.html

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on November 01, 2011, 09:50:03 PM
dear tweakie

my stepp motor is 1.8 - step = 200 /rev .lead screw 5mm /rev . that mean stepper motor run 1 turn ,the axis move 5mm . .but where I must set this step  at mach3?.I set at motor tunning , step per set at 200 .but now ,the motor turn 2,5 turn for 5 mm .

yesterday when I start the pc, when I push the ALL REF HOME, all axis become 0 and the axis 's LED become green ,but to day can't move , but the z axis move to + .not going to 0 .

pls advise

thank you
Title: Re: first run with mach3
Post by: Tweakie.CNC on November 02, 2011, 10:43:19 AM
Hi Asen,

You also need to know how many "microsteps" your controller is set to.

As an example - I use 1/8 microsteps so...  200 steps per rev = 8 x 200 = 1600 microsteps per rev = 1600 / 5 mm pitch = 320 steps per unit

You need to get the steps per unit right, for your installation, before you proceed. Perhaps read the manual again, use Al's calculator mentioned previously to calculate the steps.

I fully appreciate the difficulties involved here, when I started it all seemed so daunting but once you have got a grip on this then it all falls into place and then just seems so simple.  ;)

Tweakie.
Title: Re: first run with mach3
Post by: asen59 on November 02, 2011, 11:25:55 PM
dear tweakie


is it right ?,to change the step to get the corect pitch ,we just set the motor tunning # stepp per # only or we need adjust at another place at mach3?

pls advise.

thank you.
Title: Re: first run with mach3
Post by: Tweakie.CNC on November 03, 2011, 01:33:36 AM
dear tweakie


is it right ?,to change the step to get the corect pitch ,we just set the motor tunning # stepp per # only or we need adjust at another place at mach3?

pls advise.

thank you.

It is just set in motor tuning.
After changing the axis steps, save axis settings then proceed to the next axis etc.

Tweakie.