HELP difficulty setting end of travel and return home

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

Re: HELP difficulty setting end of travel and return home

Postby Robertspark » Sat Jul 18, 2020 7:05 pm

patgabatch wrote:What is
G28.1 Z
then
G28.1 X
then
G28.1 Y


g28.1 is the homing gcode, if you enter g28.1 in the MDI it will home all axis as setup on the general settings tab sequence.

if you enter g28.1 X or y or z it will home them one at a time.

when you toggle the home switches (press them on and off by hand) and look at the diagnostic screen do the LEDs on the screen change state (change colour? or go on and off)..... the input pins should go on and off too (check you are wired to the right port)
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: HELP difficulty setting end of travel and return home

Postby laki » Sat Jul 18, 2020 7:28 pm

Why do you use separate home switches at all?
You can use the limit switches you already have for home.

For example:
For X axis:
Limit pin: 13 port: 2
Limit + pin: 12 port 2
Home pin: 13 port 2
You can also connect them all to the same pin

For Y axis:
Limit pin: 10 port: 2
Limit + pin: 11 port 2
Home pin: 10 port 2
You can also connect them all to the same pin

For Z axis:
Limit pin: 15 port: 2
Limit + pin: 0 port 0
Home pin: 15 port 2 direction positive checked
You can also connect them all to the same pin
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: HELP difficulty setting end of travel and return home

Postby patgabatch » Sun Jul 19, 2020 8:46 am

hello, after testing the G codes, that hasn't changed anything, my home all limit switches are still inactive, whether high or low. whether I press home X Y or Z does not change anything. In addition,
I noticed that the limit switches also remain inactive when I run a home all or only X, Y, Z
patgabatch
 
Posts: 40
Joined: Thu Apr 23, 2020 1:42 pm

Re: HELP difficulty setting end of travel and return home

Postby patgabatch » Sun Jul 19, 2020 9:37 am

again a very big thank you for this help, I realize that we want to do too much, we put a lot of unnecessary devices and in fact we can't do it anymore.
I will remove unnecessary limit switches and have no doubt that I will have to come back to the forum, other problems will arise in the coming weeks. Thank you again and have a nice day
Patrick
patgabatch
 
Posts: 40
Joined: Thu Apr 23, 2020 1:42 pm

Re: HELP difficulty setting end of travel and return home

Postby patgabatch » Sun Jul 19, 2020 9:58 am

I was not very long to come back to ask a question, is there a possibility to increase the travel speed mainly for the X and Y axes when they go to home position
patgabatch
 
Posts: 40
Joined: Thu Apr 23, 2020 1:42 pm

Re: HELP difficulty setting end of travel and return home

Postby Robertspark » Sun Jul 19, 2020 2:02 pm

on the axis tabs there is a homing speed text box for each axis
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: HELP difficulty setting end of travel and return home

Postby ger21 » Sun Jul 19, 2020 5:40 pm

If you go to the diagnostic page, and manually operate all the switches, do the corresponding LED's light up?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: HELP difficulty setting end of travel and return home

Postby patgabatch » Mon Jul 20, 2020 11:04 am

hello, I followed all the recommendations by LAKI and everything works correctly except on the Z axis, the home limit switch and Z + are doing their job. for Z-, it is not the same,
let me explain, the latter is connected to CN2 inputs to 12 but must be read 12 or 2. on the diagnostic page it is indicated on port 1, goes out when I activate . the led corresponding to Z- is and remains on.
patgabatch
 
Posts: 40
Joined: Thu Apr 23, 2020 1:42 pm

Re: HELP difficulty setting end of travel and return home

Postby laki » Mon Jul 20, 2020 3:31 pm

I am glad that at least part of the problem has been solved.
As for the Z axis and the switches on it, I suggest you connect both switches (the upper one that should serve as the "Z home" and the "Z + limit" switch and the lower one that will serve as the "Z-limit" switch) to the same pin and port.
This connection can be made as serial or parallel.
Also for the home sequence, the direction positive field should be checked (so that the spindle moves upwards in the home sequence)
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: HELP difficulty setting end of travel and return home

Postby patgabatch » Mon Jul 20, 2020 3:58 pm

Hello again, I finally managed to find the Z- problem, in fact, it is simply a bad reading of the settings on the ucbb card, I connected my limit switch to 12- see photo, in fact it is necessary to read Input 2 or the impossibility of making it work. But thank you once again
cordially
Attachments
20200720_175035.jpg
patgabatch
 
Posts: 40
Joined: Thu Apr 23, 2020 1:42 pm

Previous

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 32 guests