Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: antennas on July 13, 2013, 12:38:54 PM

Title: JOG works right but cuts backwards or vice versa
Post by: antennas on July 13, 2013, 12:38:54 PM
I have set zero on the CNC to the front left corner of the table. If I have it set so it's jogs manually in the right directions the text on X axis is backwards. If I have the manual jog so it goes the wrong way it cuts the text fine. What the heck?? I tried wiring the motors differently but it's not that as when the jog controls work right it cuts wrong. If I jog it and it increases the X and it goes to the rear of the table it cuts text backwards. If I change it so it goes the wrong way, such as when I hit X+ and it goes to the front of the table, but it cuts right.

I read the home should be front left and Z as high as it will go.

What is wrong please??

Andrew
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 13, 2013, 05:58:17 PM
Likely your axis need changed direction by  changing the active state of the Dir output in Ports and Pins, Motor Setup and Also you Jog keys would seem to be backwards. Presume you are meaning keyboard jogging? If so then you can change the key assignment from Config menu then System HotKeys.

Hood
Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 14, 2013, 01:18:10 AM
Thanks Hood I'll check it out when I am back home. I appreciate your input and help, Thanks! ;D

Andrew
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Jeff_Birt on July 14, 2013, 06:25:45 AM
Always judge the direction of movement as though the bit were moving. For example on a milling machine the table moves in X&Y, not the bit, so when you press the right arrow key the table should move left (same as bit moving right.) The Z axis on a mill actually moves the bit so the 'Up' key actually moves the bit up.
Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 14, 2013, 04:11:30 PM
Likely your axis need changed direction by  changing the active state of the Dir output in Ports and Pins, Motor Setup and Also you Jog keys would seem to be backwards. Presume you are meaning keyboard jogging? If so then you can change the key assignment from Config menu then System HotKeys.

Hood

If I click the X axis so it has a checkmark under reverse then it jogs fine but cuts backwards. I don't care about the jog so much it's just that right now I wanted to use the soft limits and I can't with the X going the wrong way. If I TAB and click on the X+ I want it to go X+ not X-. If I fix the one thing then the other is wrong again. It's very odd.

Andrew
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 14, 2013, 04:59:22 PM
Please attach your xml and I will have a look.
Hood
Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 15, 2013, 08:54:30 PM
xml attached
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 16, 2013, 02:21:22 PM
What type of machine do you have, ie a knee mill? Gantry Router? or?

Hood
Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 16, 2013, 07:12:57 PM
3 axis gantry router.
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 17, 2013, 01:49:07 AM
Ok so your X axis should go left to right with the right arrow key and also the X++ on the tab screen and the DRO should count up.
Y should be similar, ie move away from you when pressing the Up arrow key or Y++ on tab screen.

Is that not the case for you? If so which is wrong?
Hood
Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 17, 2013, 08:59:35 AM
When I click on the X+ it goes the wrong way and counts down instead of up. Funny thing is, it cuts correctly.
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 17, 2013, 09:42:17 AM
That is strange, tried with your xml here and both the right arrow and X+ on Tab screen move the axis in a positive count. Your DROs were quite a bit in negative values so they were showing negative while jogging but the negative value was decreasing and after a while would have reached Zero then started showing positive.
Could that be what you are seeing? If you press Zero at the side of the X DRO and then press X+ does the X still go negative?
Hood
Title: Re: JOG works right but cuts backwards or vice versa
Post by: stirling on July 17, 2013, 10:09:02 AM
If I have it set so it's jogs manually in the right directions the text on X axis is backwards. If I have the manual jog so it goes the wrong way it cuts the text fine.

What text are you referring to?

If I click the X axis so it has a checkmark under reverse then it jogs fine but cuts backwards.

AFAIK the only place where there's a column labeled "Reversed" is under "Homing" and this has nothing to do with either jogging direction or cutting direction.

I'll bet Brett's house you are using the Write Wizard and have the direction set wrongly or mirrored  ;D

Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 17, 2013, 03:08:10 PM
Ok so I checked what you are saying I zero'ed the axis and clicked on X+ and it went + in the DRO, BUT it goes towards the front of the table which should be - direction. It cuts the text I have OK so I don't know why it does what it does.

Stirling the text I mean is what I am trying to cut, some simple test text into wood. I have no idea what wizard you mean.

Andrew
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 17, 2013, 04:34:40 PM
attach your code and I will have a look.
Not sure what you mean by the front, is this the X we are talking about? X is left to right, but suppose it depends where you are standing :D
Hood
Title: Re: JOG works right but cuts backwards or vice versa
Post by: antennas on July 17, 2013, 05:23:06 PM
Which code would you like? Sorry I am not sure.

Yes I set the machine up to have 0,0,0 on the front left of the table so if you were standing in front of it looking at it then Y is left to right X is towards(-) and away(+) from you and of Z up and down.

The files I run cut fine and come out right. The JOG X+ button makes the X axis DRO go UP in numbers, BUT it goes towards me so it's actually going NEG direction. Odd.

Andrew
Title: Re: JOG works right but cuts backwards or vice versa
Post by: Hood on July 18, 2013, 01:45:14 PM
I am not sure I am following, you really need to think of the table the way it is in the Mach toolpath view.
Y bottom to top
x left to right.
Is that the way you are thinking it is or are you thinking they are swapped?

Code I was after was the code you were running that  is getting cut backwards.
Hood