Hello Guest it is March 28, 2024, 07:50:06 AM

Author Topic: UC400ETH soft limit problem  (Read 3043 times)

0 Members and 1 Guest are viewing this topic.

Offline reuelt

*
  •  520 520
    • View Profile
Re: UC400ETH soft limit problem
« Reply #10 on: April 23, 2019, 02:56:10 AM »
Quote from: TPS

he is talking about SOFT LIMITS, not LIMIT SWITCHES
[/quote
You cannot even [Cycle-start] in the beginning (unless you irresponsibly answer YES) when soft-limits are exceeded isn't it?
So it is most probable due to false-triggering of limit switches, I think.
That was what I read in CNCZONE in 2017. They increased the freq to 400K and it got x and y axis to work but still had trouble with the Z axis. At 200K or 100K, they always got limit switch errors and e-stops for x and y axis.
"the gift of God is eternal life through Jesus Christ our Lord"
Re: UC400ETH soft limit problem
« Reply #11 on: April 23, 2019, 03:54:30 AM »
Hi,

Quote
Machine always gets referenced but it is done outside of mach3 within the AC servo drives.

If Mach is not referenced (homed) then soft limits are out the window. If Mach does not know exactly where
machine coordinates 0,0,0 are then how do you expect it to know where  soft limits 500,500,200 (in machine coordinates)
is?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline reuelt

*
  •  520 520
    • View Profile
Re: UC400ETH soft limit problem
« Reply #12 on: April 23, 2019, 05:41:00 AM »
Hi,

Quote
Machine always gets referenced but it is done outside of mach3 within the AC servo drives.

If Mach is not referenced (homed) then soft limits are out the window. If Mach does not know exactly where
machine coordinates 0,0,0 are then how do you expect it to know where  soft limits 500,500,200 (in machine coordinates)
is?

Craig
Craig,
Person who sold me the MC told me these:-
Router had No home switch(es) so:-
1. I must always power on and off at exactly the same point - to make that the machine x=0, y=0, z=0.
2. [Ref all zero] after powering sets the machine zero
3. Softlimits reference that Artificial machine zero.
4. Before shutdown, I must always execute
G90 (absolute units)
G53 (machine coordinates)
G28 X0 Y0 Z0 (go home)
to send the machine to the same "Artificial machine zero".
Then only I should power off the router.

When I power on the next day, machine will still ref the same "Artificial machine zero" which can be set to zero again [with ref all zero]


I found that too troublesome so I installed home and limit switches except for z--.
I could not have z-- limit switch because I always must move the spindle cylinder along it's mount to compensate for very long and very short bits.
So a block of metal is always used to set the bit height after manual tool change (moving the cylinder up and down). Then the lower soft limit will ALWAY prevent my bits from cutting the machine AL table surface.
"the gift of God is eternal life through Jesus Christ our Lord"
Re: UC400ETH soft limit problem
« Reply #13 on: April 23, 2019, 06:08:10 AM »
Hi reuelt,
all that nonsense just to avoid having home switches......I know that's what I did for a while.....and had a few crashes
when I got things wrong.

Then I fitted Home switches (not limits, JUST Home switches) and life suddenly became much easier and soft limits were now
useful and accurate and have had one crash (operator induced) in the four years since.

Not quite sure how OP was doing it prior to the UC400. To my knowledge the ESS (my own controller) handles Referencing
in exactly the same manner as the parallel port used to and I can't imagine any reason for the UC400 to be any different.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline fast89

*
  •  154 154
    • View Profile
Re: UC400ETH soft limit problem
« Reply #14 on: April 23, 2019, 06:22:16 AM »
The machine is referenced within the ac servo drives. It is much more accurate than letting mach3 do it. The drives  have an input that activates the home feature. So the machine is in the exact same spot every time, within one encoder count. This is not a limit switch problem, it is not hitting or tripping limit switches. Softlimits are working the way they should. I tried an ESS on my tormach for a while and hated it. It never handled backlash properly among other things. I've posted on the cncdrive forum so we'll see what they say.
Re: UC400ETH soft limit problem
« Reply #15 on: April 23, 2019, 06:30:37 AM »
Hi,
that is called index homing and yes it is very accurate. Once the servos have homed do Mach's machine coordinates
get reset to zero? If they do then the soft limits you have programmed should be effective.

Quote
I tried an ESS on my tormach for a while and hated it. It never handled backlash properly among other things.

To my knowledge there is no 'proper' way to handle backlash, there is no software solution that's bullet proof.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: UC400ETH soft limit problem
« Reply #16 on: April 23, 2019, 08:32:30 AM »

1. If your port 2 of UC400ETH is unconnected you need to pull up or pull down all the input pins (see attached).
It is TTL logic NECESSITY.

This is NOT NECESSARY.

If you aren't using the port, then Mach3 does not even look at the pins.


Quote
People on CNCZONE already had false triggering of limit switches with UC400ETH even in 2017. So if CNCDRIVE had fixed the problem, the updated plugin should be already there for automatic update by now in 2019.

This is not a UC400ETH issue, but a breakout board or wiring issue.
« Last Edit: April 23, 2019, 08:45:43 AM by ger21 »
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline reuelt

*
  •  520 520
    • View Profile
Re: UC400ETH soft limit problem
« Reply #17 on: April 23, 2019, 08:59:49 PM »
It is UC400ETH 5V TTL electronics that is randomly being affected by noise because of FLOATING input pins.

LOOK UP ANY ELECTRONICS BOOK.

If however the port2 is connected to another BOB that has opto-isolation ICs for the input pins, then it won't be necessary.
« Last Edit: April 23, 2019, 09:03:52 PM by reuelt »
"the gift of God is eternal life through Jesus Christ our Lord"

Offline fast89

*
  •  154 154
    • View Profile
Re: UC400ETH soft limit problem
« Reply #18 on: April 23, 2019, 09:43:09 PM »
In my case, port 2 is connected and used.