Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: hamooteh on March 19, 2010, 04:59:49 AM

Title: (5 axis ) C/B axis motors not moving pleas help
Post by: hamooteh on March 19, 2010, 04:59:49 AM
Hi all

I finally i got my system built . im working on a 5 axis cnc router. when i run my g codes mach shows all the axis moving fine on the diagnostic page. but when i run my motors i got only 3 motors spinning (the xy and z) my C B rotational axis are not moving. i have changed the pins and the other motor which was on the C and B was working ok , which means mach is not sending signals for the C and B . this is a sample copy of my g codes i set my (step per) for the rotation axis 4.4  200x8= 1600/360. im usin a DB25 brakoutboard

%
O0012
N5 G90 G40 G80 G17
N10 M6 T1
N15 M3 S1000
N20 G0 G90 G43 Z2.
N25 X-495.711 Y-826.236 C63.38 B-90.
N30 Z-133.311
N35 G1 X-488.559 Y-822.652 F200.
N40 Z-190.
N45 X-492.685 Y-814.419
N50 Z-133.311
N55 G93 F9999.9 B0.
N60 G94 X-474.299 Y-815.505 F200.


pleas help

thanks

Title: Re: (5 axis ) C/B axis motors not moving pleas help
Post by: Graham Waterworth on March 19, 2010, 08:17:22 AM
What happens if you run this code

G00 G91
X1.
Y1.
Z-.1
C10.
B10.
M30

Graham

Title: Re: (5 axis ) C/B axis motors not moving pleas help
Post by: hamooteh on March 19, 2010, 05:09:50 PM
Graham
thanks for your replay, when i tested your code, again the xyz axis moves and the c b dosen't, but ii can see their axiss numbers moving in mack and the motors are dead.

thanks
mo
Title: Re: (5 axis ) C/B axis motors not moving pleas help
Post by: hamooteh on March 22, 2010, 01:30:15 AM
hi
tha problem was solved, it was caused by a wrong parallel port number in the port and pins settings

thanks
mo