Hello Guest it is March 29, 2024, 06:52:58 AM

Author Topic: Problem with my X & Y  (Read 13391 times)

0 Members and 1 Guest are viewing this topic.

Re: Problem with my X & Y
« Reply #10 on: October 12, 2015, 01:45:32 PM »
Can you post your XML file as a txt file, one that would match the photo at the top and let me load it in Mach

Running out of ideas

Rob
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Problem with my X & Y
« Reply #11 on: October 12, 2015, 02:31:29 PM »
You are trying to do TOO many things at one time. Take it ONE step at a time. Work with 1 axis at a time(X). Get it to run the SAME as you see it in the toolpath display. Then switch the homing direction to make it home to the home switch > each of these things are seperate issues and are configured seperately. When you get the ONE axis running correctly then go to the next axis (Y) and complete the setup the same way. Set teh direction of travel correctly THEN set the homing direction correctly. Same thing for Z.

Also rememeber that the home switch position  and the actual machine home CAN be two different things or it can be the same. it all depends on HOW you set them up.

(;-) TP

(;-) TP
Re: Problem with my X & Y
« Reply #12 on: October 12, 2015, 03:01:02 PM »
Right, think I've found the answer....  (basically we've been looking at the machine the wrong way around).

If you have a look at this PDF (machine parameters)

2/3rds of the way down the page it says (and has an illustration to the RHS):
reference switch at the end (X-axis) negative
reference switch at the end (Y-axis) positive
reference switch at the end (Z-axis) negative


Now if you have a look at this PDF (connection diagram)

It confirms your XML is right as far as pins and motors are concerned (one caveat... you may need to untick the change the pin direction for the "Y" axis from "Dir LowActive")



Now given you have a "positive" Y Axis homing....

You need to go into CONFIG >>> Homing / Limits and change the "Y" Axis to untick "Home Negative" .... given you have a positive homing for your machine....


Now whilst within the Homing and Limits you will note that the "Z" axis is unticked "Home Negative"..... but if you read the PDF again it says .... reference switch at the end (Z-axis) negative   .... now if you tick the "home negative" box... the machine is going to drive down to the cutting table.....

So I suspect you will need to go back into Config >>> Ports and Pins >>> Motor Outputs and change the Dir Active to "Dir Low Active".



I Would suggest that you jog the machine into the middle , then press the home button ...
The Z axis should go up (if not, change the Dir Pin "LowActive" status)
The X (short axis) should go towards to Home switch (if not change the Dir Pin "LowActive" status)
And the Y (long axis) should go towards the Home switch (if not change the Dir Pin "LowActive" status)


Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Problem with my X & Y
« Reply #13 on: October 12, 2015, 03:05:35 PM »
.... To be fair after having a look at you first photo again it does say "+Y" and "+X" on it so it should have been clear that it was a negative X homing and positive Y homing machine.....

Rob
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Problem with my X & Y
« Reply #14 on: October 12, 2015, 03:47:25 PM »
Also.... having a look at your XML file.... And Motor Tuning, you have:

X Axis 200 steps / mm // 2023.8 mm / minute //  165 mm/s/s
Y Axis 200 steps / mm // 1567.8 mm / minute //  190 mm/s/s
Z Axis 200 steps / mm // 1000.2 mm / minute //  250 mm/s/s

And, if you again have a look at this PDF Machine Parameters File (at the top) you will see:
axis resolution   ---- 400 steps / rotation
stepping mode ---- 1/2 stepping mode
distance / rotation ---- 2mm / rotation
speed (fast) ---- 30mm / sec
shortest ramp / slope ---- 200 ms  [suspect this should read ... mm/s/s]

I'd suggest  that maybe your velocity and acceleration settings are wrong....
30mm/s will give you an axis acceleration to 1800mm/min, and the acceleration should be 200 mm/s/s (although you probably want to try that as some of your axis have slower acceleration)

Also if you look at the speed (reference drive search) in that same PDF, it lists x/y/z as 15mm/sec .... hence on the CONFIG >>> Homing / Limits Page, you probably want to change the Homing Speed (on the Right hand side) to ... 25% for all 3 axis given 15mm/sec / 30mm/sec = 25%


Also if you go into the CONFIG >>> General Configuration Tab >>> 2nd Column from the Right Hand Side, I'd suggest change the "Look Ahead" to 200 lines
... there is a bit of guidance in this document as well as with other settings like "CV and angles etc".



Also .... if you go back into this Pins Configuration Document and Compare it against your CONFIG >>> Pins & Ports >>> Inputs + Outputs... you may see some differences   (note if you use the probe for tool length you may be using the wrong pin.... I'd suggest maybe spending a little time considering how you have wired it up and whether you want to set it up as they have listed .... if you have a working machine ... don't fix what is not broken  ... changing these settings may require you to make physical wiring changes.




Hope it helps

Rob

as noted elsewhere don't change too much at once.... or you'll go from a working machine to no machine ;-)
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”

Offline Herri

*
  •  19 19
    • View Profile
Re: Problem with my X & Y
« Reply #15 on: October 12, 2015, 03:54:43 PM »
Much appreciated Rob. I wish I had seen that file earlier. I got my original XML from Stoney (after having to beg for it)
I assumed all would be well.
I shall take your and BR549's advice and do one thing at a time.
I'll let you know how I get on.
Re: Problem with my X & Y
« Reply #16 on: October 12, 2015, 03:57:27 PM »
There is also this one too which may be of help (little more detailed maybe)
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Problem with my X & Y
« Reply #17 on: October 12, 2015, 07:56:03 PM »
Ohhh... Referencing the Y axis will need to be set to 598mm where as the other two axis reference to zero... Denoted at the bottom of that machine specs file linked to above ... Because your Y axis has a positive home it needs a positive home reference too

Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”

Offline Herri

*
  •  19 19
    • View Profile
Re: Problem with my X & Y
« Reply #18 on: October 13, 2015, 07:15:03 AM »
Part 1
I changed everything as you suggested and the directions were all as per diagram.
The homing was also correct.
When I came to cut, the Z-axis went the wrong way.
In the tool path window the arrow went down when it should go up.
The only way I could find to correct it, was to reverse the Z back to how it was (down is now minus)
It still homes correctly and my initial problem of things being turned is now past.

What does not seem to work anymore is the Soft Limit button, which no longer reacts to pressing.

Part2
I changed the steps to 400. It went very fast, compared to previously. I cannot find the Stepping Mode or Distance/Rotation etc. I have looked in the Mach3 file but cannot find any reference.
I have now changed it back to 200 until I know what I am doing.

Your last comment about referencing the Y axis has confused me. Where do I do this. Is this the Soft Limits on the homing page? I have these set to 422 X and 598 Y.

As you may have noticed I am a complete novice. I would love to buy “CNC/Mach3 for dummies” but Amazon do not stock it.
Thanks again.
Re: Problem with my X & Y
« Reply #19 on: October 13, 2015, 07:49:48 AM »
Your steps setting was right at 200 steps per mm, the acceleration (in my opinion) was wrong, and should be set to 200, and the maximum velocity for all three axis should be 1800 mm / min ( same for all three axis)


Referencing the Y axis...
Your Y axis has a positive home position... So when you ask it to home,
- the Z-axis should go up, trip the home switch, and change the DRO (digital read out) to zero,
- then the  X-axis should go left, until it hits the home switch and sets the DRO to zero,
- then the Y-axis will go up the table, until it trips the DRO but instead of setting it to zero, sets it to "598" mm 2nd to last row Right hand side, bottom of this page https://www.stepcraft-systems.com/images/Service/machine-parameters-20130601.pdf

These settings are done in the CONFIG >>> Homing / Limits page http://i47.servimg.com/u/f47/14/07/22/66/home_l10.jpg

The 5th column along is the default home position setting (basically when your machine trips the home switch and resets the DRO, it resets it to the number entered in these boxes.... so for X and Z, you want "0", but for Y you want "598".



Homing the Z axis... this is an optional one if you ask me.... your Z axis is up side down..... if you look at the above PDF picture, it says the X-Axis is negative homing (i.e. it goes up to the gantry, and sets the DRO to zero)... so a positive axis move is downwards (not upwards)....

Yes this is confusing for me too.... as minus / negative Z is always down for me ...   .... the logic is basically if you now touch off your workpiece to set your cutter length / zero the axis at the cutting plane.... a positive cut will be a cut into the workpiece (note changing this will affect whatever software you are using to generate your G-code....   ... hence if you have a working machine and it makes sense to you.... you probably don't want to change it, but just consider there is another way of looking at things....


« Last Edit: October 13, 2015, 08:04:14 AM by robertspark »
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”