Go Down

Topic: another cnc mill questionaire (Read 33331 times) previous topic - next topic

theMPloc

5 are brown black orange
1 is brown black red

mmcp42

yup quite right 10k and one 1k
odd that it doesn't work
the only downside is that it draws more current than needed
try swapping it for one of the 10k
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

just doing some cleaning up the wires - stuff. by the way - the steppers make a different sound now ;) during the movement there is a high sound getting lower - a little like a veryvery tiny turbine ;)

mmcp42

#93
Jan 11, 2011, 08:25 pm Last Edit: Jan 11, 2011, 08:26 pm by mmcp42 Reason: 1
you might try adjusting the pots on the easy drivers
remember (if you have v4.3) the max and min are the wrong way round !
what motors are you using
max current from easy driver is 750 mA
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

i replaced the 1k resistor with a 10k. so there are only 10k now. i cranked up all easydrivers to max ( i know that this is the opposite direction to what is printed on the easydrivers). but

some troubles in tyrol: the y-axis behaves as it should. x-axis and z-axis don´t. they sometimes go the distance they should but more often they stop before.

also the home button doesen´t drive the machine home. i have to press the button several times until the machine reaches home.

please help.

mmcp42

ok a small test first...

do the jog buttons (x, y, z) reliably move 1cm in each direction?
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

#96
Jan 12, 2011, 12:08 pm Last Edit: Jan 12, 2011, 12:09 pm by theMPloc Reason: 1
only on the y-axis.  by the way: the motors still make this nice turbine sound.

mmcp42

hmm
do you want to post your CNCconfig.ini settings again so I can glare at them!
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

Code: [Select]
[Main]
Top=0
Left=0
Height=612
Width=1032
FilePanelWidth=480
ReplyPanelWidth=203
JogPanelWidth=200
MainPanelHeight=225
[Options]
Top=350
Left=509
Height=448
Width=300
[Serial]
Port=COM5
BaudRate=19200
[Drawing]
PenWidth=3
PenColor=16777215
PixelsPerUnit=100
OriginX=2,5
OriginY=2,5
CursorPenWidth=1
CursorColor=65535
CursorSize=16
StepSize=64
DoStep=1
[Timer]
ShortCommandTick=10000
LongCommandTick=30000
TimerTick=50
[GCommands]
RapidMove=G0
RapidMove2=G00
FeedMove=G1
FeedMove2=G01
ClockwiseArc=G2
ClockwiseArc2=G02
AntiClockwiseArc=G3
AntiClockwiseArc2=G03
Dwell=G4
Dwell2=G04
Inches=G20
MM=G21
Absolute=G90
Relative=G91
[MCommands]
GetPosition=M114
Start=M254
RequestLast=M255
[CommandInitCommands]
Count=2
Init1=Absolute
Init2=MM
[JogCommands]
JogIncX=RapidMove X10
JogDecX=RapidMove X-10
JogIncY=RapidMove Y10
JogDecY=RapidMove Y-10
JogIncZ=RapidMove Z10
JogDecZ=RapidMove Z-10
[HomeCommands]
HomeStart=RapidMove
HomeEnd=
HomeX=X-100
HomeY=Y-100
HomeZ=Z-100

mmcp42

well the settings are correct
I have a bad feeling the prolem is in the Tyrol not the software  :)

Q1
ok x-axis works correctly - jogs both ways and homes correctly?

let's focus on the y axis first
what happens when you try to jog in each direction?
does it move at all?
does it move 1cm every time?
does it work both ways?
what happens to y when you hit home (once)

finally - (dangerous stuff now)
in CNCdriver, the big window top left
you can type commands in there - scary

try this, it will report where the Arduino thinks X, Y and Z are as well as the state of the limit switches

first jog the x and y so they are away from home
hit home once
then clear the big window and type

M114

hit the run button and tell me what you get in the middle window
(you can resize them if it helps)

cheers
Mike
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

12:55:33.55 -- N0 M254 *0
12:55:33.61 << ok 0

12:55:33.61 -- N1 M114 *6
12:55:33.68 << ok 1 C: X:0.0000 Y:0.0000 Z:0.0000 XMin: 1 XMax: 0 YMin: 1 YMax: 0 ZMin: 1 ZMax: 0

theMPloc

hmm. here´s a new funfact: i just gave the machine the following gcode and it did exactly what it should.
Code: [Select]
G91
G21
G01 Y10
G01 X10
G01 X50
G01 Y50
G01 X-50
G01 Y-50


mmcp42

you can see from the reply to M114 that it thinks all 3 MIN limit switches are closed
1 means that switch is closed, 0 means open
tis means it thinks it reached home

the home code basically says step backwards 100mm on each axis then see if we got home yet
rinse and repeat until all 3 report home
it will only step those axes that are not home
so if all 3 are in mid space it will step  all 3
if z reaches home first next iteration will only step x and y
if that makes sense

btw
glad to see your code fragment is working!

did you get to answer the long list of questions in the previous post?
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

#103
Jan 12, 2011, 01:33 pm Last Edit: Jan 12, 2011, 01:43 pm by theMPloc Reason: 1
jogging ;)


Y is travelling correctly (both directions)
X is sometimes travelling correctly (both directions), sometimes to short
Z is sometimes travelling correctly (both directions), sometimes to short

somehow i get the feeling, that if the machine is at home, the z-axis is travelling correctly but for example when i am at x10, the z-axis starts to misbehave.

by the way: the gcode is posted before is also working sometimes. y always travels as it should, but x and z dont.


oooh question: is it correct, that M114 tells me where the machine is? because if i home the machine and then for example let i move y10 and then check M114 it tells me x0 y0 z0 what really confuses me.


by the way: great that it is possible to enter gcode directly!

mmcp42

#104
Jan 12, 2011, 01:44 pm Last Edit: Jan 12, 2011, 01:45 pm by mmcp42 Reason: 1
yes and er no!

if M114 is used in the middle of a script it correctly reports position
if M114 is used by itself, the Run button first resets the interface, so it thinks it's at 0, 0, 0 already
the limit switches are, however read correctly

it would be interesting to put a volt meter on the limit switches for x (and z) as it sounds like they may still be coming on at the wrong time
(dirty joint maybe?)
there are only 10 types of people
them that understands binary
and them that doesn't

Go Up