Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: thebirdman on January 30, 2023, 05:03:54 PM
-
New machine build (lms3990) CNC converted.
If I fire up the ESS/C25 and load Mach4 all starts fine with the exception of I get a (Z home switch tripped) notification.
If i hit enable, than disable, I do not get the notification?
Have checked the wiring and all is fine, all 3 home switches setup the same as NC, lights on the ess pins 11-12-13 are lit, if I trip any of the home switches the corresponding ESS light will go out.
If it trip any of the home switches they will show as activated,
I can hit ref all and trip each switch all works as it should ?
Is there something I missed? Or is this a bug?
tyia
Randy
-
Hi,
it's highly probably electrical noise. Right at the moment that things like stepper drives are latching up and so on there are switching transients that
can 'jump the ditch' and end up on a limit or home switch circuit.
On the ESS Plugin configuration Pins_Config tab apply some noise filtering. On my machine, not the screen shot of an unconfigured ESS on my
regular PC, all my Home and Limit switch circuits have a noise filtering of 500 applied. The number is very approximately the same as the time
constant of the filter applied in micro seconds. A value of 500 means a 3dB frequency of about 2kHz, it has proven to be more than adequate
on my mill.
Craig
-
Tkk again Craig, will fire it up after din's and add some filtering to the Z.
Been a battle but almost there, spent 1 1/2 days trying to figure out why the motors did not work....??? Went through the wiring 10 times fold lol, even found some different schematics that stated I had it all wrong? :(
Simple solution in the end, new V3 860T drivers have a 5/24v switch, default 24v go figure :() would not have caught if I did not load the manual on the pc, pamphlet manual print is so small and the reference to it is 2 lines long...
So got all moving in the right direction and distance today, one step closer
Randy
-
Hi,
Simple solution in the end, new V3 860T drivers have a 5/24v switch, default 24v go figure :()
Been there, done that. I had a battle the first time I set up my Delta servos. The Step and Direction inputs are differential. I wired it up
but misinterpreted the direction of the photodiode in the optocoupler input of the drive. Turns out I had to swap the two wires....thereafter
no trouble. I'm surprised you didn't hear me swearing and shouting, after all I'm only 14000 kms away, and I was really shouting loud!!
I got another servo about a fortnight ago for my fourth axis. It took about an hour to solder up the input plug to the cable to the breakout board,
was able to recycle previous settings to program the drive courtesy of the setup and tuning software, plugged the servo in and it worked perfectly
right from the get go. So you do learn from experience....even if that experience is hard fought.
Craig
-
Added some filtering, no change in the Z-home-tripped message at startup.
Going to swap/run a jumper to the x-home switch tomorrow night and see what I get, possibly could be a bad switch
Tkx again for your input/thoughts/Ideas
randy
-
Well swapped the switch for a new one and same issue, Actually decided to look at the history button and all are being tripped
Xbox controller found
Home switch X Home tripped
Home switch Y Home tripped
Home switch Z Home tripped
E-Stop cleared
Home switch X Home tripped
Home switch Y Home tripped
Home switch Z Home tripped
So Has to be something I have missed in the setup?
Tried setting the switches from low to high same ending
All seams to work fine, even under ess diagnostics they show tripped when tripped, may just fly with it :)
Randy
-
I think you have a error in setup , first how is the switch wired normal open or normal closed.
it should be normal closed if it is you need to change the active state in the ESS pin state for Z limit
but test it manually before relying on it to be safe
-
Hi, Yes wired N/C, have tried setting from low to high and no change. switches do work as intended.
thinking there is a conflicting setting in mach4 over riding the ESS
-
Well have triple checked everything, gone back through 4 thousand :) setup vids and same ending.
Seams all N/C switches show tripped at mach4 boot up?
I'm just going to live with it till I hear back from Warp9 and Artsoft, everything works fine, homes fine, all limits trip fine.
Now off onto my next Issue with understanding how touch pad's work? did pickup a sienci pad back when I was reducing my bank account on this upgrade, and was playing with it today with no luck.
Doesn't one of the ends of contact need to be isolated from each other as there is continuity between the work piece and the tool through the mill itself? May just glue some thin plexiglass to the surfaces and add that to the thickness?
Oh and a good brain fart.... went through all my endmill sizes and ordered the appropriate collet's for the TTS tooling I ordered, doesn't help much when you neglect to order the shank size of the tooling but instead order the cutter size :(
More research, more reading, more video watching,
One day soon !!!! Least it moves when and where I tell it.... light at the end of the tunnel
-
Hi,
I wonder if as the machine is powering up there is a logic error.
As an example of what I mean, the MB02 breakout boards I used to use from Homann Designs in Australia, the outputs 1,14,16 and 17
all go high when the BoB is powered but the ESS is not yet in control and running. If I'd had a coolant pump or something controlled by one of those
outputs the pump would run as soon as the machine was powered.
In the event I made my own breakout board because I was running servos and wanted differential Step/Dir outputs and I want 24V tolerant Enable, Reset
and Alarm signals. I was able to ensure as part of my design that no inputs or outputs clashed while the machine is powering-up but before Mach/ESS was in control.
Maybe your limits are changing state part way through the power-up phase.
Craig
-
:o Should not be an issue as Ess/C25 boot up prior to the mach4. Unless mach4 see's the high signals and assumes they were tripped before it loads the ESS? As stated if I hit enable, never see the message again unless a switch is tripped.
-
Hi,
the ESS and the BoB will power-up prior to Mach taking control. It is not clear to me whether the ESS starts running before Mach4 runs or vice-versa.
Craig
-
I would assume the ESs is already running prior to mach4 as they request you to shutdown mach4 first so it can softly close the ESS ?
-
Hi,
if its not causing a fault I wouldn't get to hung up about it. You may well come to some conclusion or even a solution at a later date. In the mean time
you need to start making chips. Nothing but nothing teaches you faster about your machine, Gcode, Mach4....the meaning of life etc than making chips.
Craig
-
Agree, going to fly with it till I hear back from Artsoft
Tkx Again
Randy
-
Now off onto my next Issue with understanding how touch pad's work? did pickup a sienci pad back when I was reducing my bank account on this upgrade, and was playing with it today with no luck.
Doesn't one of the ends of contact need to be isolated from each other as there is continuity between the work piece and the tool through the mill itself? May just glue some thin plexiglass to the surfaces and add that to the thickness?
Came up with a thought about 3dprinting a simple collet while I was having a morning read :)
End solution...It does work for what it is intended to do. hold a steel probe and isolate it from the machine, quick testing and it work's fine, collet is not doing machining, just holding a stationary probe for measuring.
-
Hi,
Doesn't one of the ends of contact need to be isolated from each other as there is continuity between the work piece and the tool through the mill itself?
Yes, that is correct. Therefore probing metallic parts clamped in a vice which is electrically connected to earth requires that the probe tip be insulated from the body of the spindle.
You have selected a good way of doing that. I have used 3.128 mm diameter cylinder, which fits my commonly used collet with a layer of heatshrink insulation around and inside a snug fit
brass tube. the tube is very close to concentric, say within 0.05mm, and yet isolated from the spindle/machine earth.
Craig
-
is yours problem with the input solved?
if yes ,good
if not please tell me first do you need in yours card give "0" or "24v" as input signal to the card?
from long exprience its very very important isiiue
the"0" its big entrance for trouble with pokeys we have option to add isolated card that we can choose each input
this solve many many NPN sensors problems now we can use PNP like big boys
-
Hi, according to warp9 and artsoft, issue is caused by the sequence things are loaded and values at those times, Issue has no effect on how mach4 functions
-
I solved all my Limit and Homing issues and others, switched to UCCNC. All the settings you need are right there no little tricks to learn. I had one minor Me issue with Homing sequence and it was solved.