Funny things happening after rewiring??

Post anything you want to discuss with others about the software.

Funny things happening after rewiring??

Postby deckel11668 » Fri Aug 07, 2020 5:40 pm

Have replaced the cables on my steppers with screened cables .
Then found some motions running in reverse , so switched cables at the drivers to get the machine jogging in the right direction, and then selected direction for homing to get that running in the right direction, but now non of the home switches work when homing and x home led is permanently illuminated . This despite the fact that I have continuity through all the switches
Any Ideas where I need to go now.
deckel11668
 
Posts: 35
Joined: Tue Jul 21, 2020 4:43 pm

Re: Funny things happening after rewiring??

Postby Robertspark » Fri Aug 07, 2020 7:49 pm

can you take a screenshot of the diagnotics tab showing the LED's and a screenshot of the axis settings please?

I use Greenshot to take screenshots as its easy + free + you can mark up and maskoff if you need to.
https://getgreenshot.org/
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Funny things happening after rewiring??

Postby deckel11668 » Sat Aug 08, 2020 3:42 pm

Here they are Robert,
I just know you are going to tell me I have cocked up the wiring.
Just hope you can say how to fix it without ripping out and starting again

snip x.PNG


snip y.PNG


snip z.PNG


diagnostics snip.PNG
deckel11668
 
Posts: 35
Joined: Tue Jul 21, 2020 4:43 pm

Re: Funny things happening after rewiring??

Postby Robertspark » Sat Aug 08, 2020 5:44 pm

I haven't looked at it all...

home X axis 13/1.... active high
home y axis 13/1..... active low
home z axis13/1 ..... active low

problem.... if you are sharing the same pin they must all be active high or active low, not a mixture or the machine ain't got a clue
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Funny things happening after rewiring??

Postby deckel11668 » Sat Aug 08, 2020 6:53 pm

Dooohhhh! But thankyou Robert for your input!
I make the excuse that I was so puddled by the machine behaviour that I hadn't spotted that faux pas.
However if I make then all low then I get no leds !
If I make them all high then I get 3 leds .
But in either case I press a home button and then press any switch and (as I understand things) the machine should stop and set back but it continues .
In addition the X home direction reversed when I set all to active low ?????? Checked the box to reverse it again and all heads in right directions but still no stop at the home switch.
Thinking aloud here, but homing circuit is a series of NC switches taking ?5V from pin 13 to ground so if all switches have continuity then 13 should be at ground voltage. Breaking any switch would bring 13 back to 5V
Pin 13 on monitor is illuminated green . It stays energised green as I home X and does not change if I break the switch . Could pin 13 be getting a stray supply from elsewhere?? Or am I just totally lost on the logic of this ??
deckel11668
 
Posts: 35
Joined: Tue Jul 21, 2020 4:43 pm

Re: Funny things happening after rewiring??

Postby Robertspark » Sat Aug 08, 2020 8:00 pm

If all of the switches are NC (normally closed) then they would be wired in series.

That way if any one of the home switches was tripped when the machine was homing the machine will see the change of state and stop the machine.

if all of the switches are NO (normally open) then they would be wired in parallel

that way (again) if any of the switches were tripped when the machine was homing the machine will see the change of state and stop the machine.

Image

Those switches are homing switches, so they will only stop the machine from moving when the machine is homing and they are triggered.

They are not set as limit switches so will not stop the machine if it is running and they are triggered.

You would need to set them up as BOTH homing and limit switches.

You also need to setup the homing sequence on the general settings / configuration tab.

Normally it is Z first, and then X or Y so the tool moves out of the way of anything on the table and you don't break the tool.

Z is normally homed at the top of the Z axis travel (positive direction movement.... upwards).

If you type into the MDI
Code: Select all
G28.1 Z


does the machine move the Z axis upwards towards the switch?

If you toggle the switch by hand dose the machine stop (or toggle any one of the home switches as if any one of them is triggered the machine will stop.

If you type into the MDI
Code: Select all
G28.1 Y


does the machine move forwards or backwards towards the home switch?

again, If you toggle the switch by hand dose the machine stop (or toggle any one of the home switches as if any one of them is triggered the machine will stop.

And finally, if you type into the MDI:
Code: Select all
G28.1 X


does the machine move left or right towards the home switch?

and, If you toggle the switch by hand dose the machine stop (or toggle any one of the home switches as if any one of them is triggered the machine will stop.
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Funny things happening after rewiring??

Postby deckel11668 » Sat Aug 08, 2020 9:06 pm

Hi Robert
I do not have soft limits enabled at this time and no physical limit switches either. Only home switches and I can confirm they are NC and in series .
Order of homing is indeed set for z, then y , then x

Cant see a "select all" function on my screen but typed all three G28.1 Z, ....... then Y , ....... then X, three separate and distinct instructions each followed by return .

They all have the same result and (I am not kidding here ) each causes ONLY the Z axis to head upwards (positive) toward the home switch, but breaking a home switch has no effect at all. Only hitting "esc" arrests the motion.

The x home, y home, and z home buttons , all cause the correct respective motions and directions but again these are not stopped by any switch other than "esc"

This is weird to me !
deckel11668
 
Posts: 35
Joined: Tue Jul 21, 2020 4:43 pm

Re: Funny things happening after rewiring??

Postby Robertspark » Sat Aug 08, 2020 9:28 pm

Yes, that is weird.... what version of UCCNC are you running? (About tab)

Have you tried installing the development version or the stable release?

current development: http://www.cncdrive.com/UCCNC/setup_1.2113.exe

current stable release: http://www.cncdrive.com/UCCNC/download_UCCNC.php

CNC Drive will ask for a copy of your profile (*.pro) to have a look into it (there are no other bugs like this I've seen / am aware of)
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Funny things happening after rewiring??

Postby laki » Sun Aug 09, 2020 12:52 am

You can try connecting the home switches to another input pin (10,11,12 or 15).
It is possible that the input pin 13 on the bob card is broken.
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: Funny things happening after rewiring??

Postby dezsoe » Sun Aug 09, 2020 5:56 am

G28.1 Z or any other axis will not do what you want. The name of the axis alone does nothing, so it will execute a G28.1, home all. You have to give a number for the axis to execute only that axis: G28.1 Z<number>, where the <number> is a work coordinate. The machine will go to that coordinate and then start homing the axis. If you don't want to move before homing then you have to write the current coordinate to the <number> or you can also swith to G91 and use 0.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Next

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: CQ Modder and 5 guests