All limit switches on one input

More
12 Oct 2024 21:51 #311901 by jacgri24
All limit switches on one input was created by jacgri24
Hello,

i make my first steps with linux cnc and i have a problem.
My limit switches are connected in one line to one output on a 7i96s board. In the pncconf i selected the "all referenz" option for the input.
When i start homing in cnc and the switch is reached, all axis are blocked and the machine stops.

I dont know how to set the settings, that all switches are acitvated succcessively.

I hope, that anybody can help me.

 
 
Attachments:

Please Log in or Create an account to join the conversation.

More
12 Oct 2024 22:25 #311903 by PCW
Replied by PCW on topic All limit switches on one input
Not sure about the homing sequence, but I would expect to home Z in the up (+) direction
a (-) search direction (towards the table) seems dangerous.
The following user(s) said Thank You: jacgri24

Please Log in or Create an account to join the conversation.

  • MennilTossFlykune
  • Offline
  • Junior Member
  • Junior Member
More
12 Oct 2024 22:26 #311904 by MennilTossFlykune
Replied by MennilTossFlykune on topic All limit switches on one input
Try the LUT5 component:
www.forum.linuxcnc.org/49-basic-configur...hal-config-explained
It should be configured automatically if you create a configuration with stepconf and choose shared home and limit switches
The following user(s) said Thank You: jacgri24

Please Log in or Create an account to join the conversation.

More
13 Oct 2024 07:29 - 13 Oct 2024 07:41 #311935 by wusel0464
Replied by wusel0464 on topic All limit switches on one input
Hello,

All my switches are connected in series as openers.

In the INI you have to assign a number for the pure sequence for the referencing for each axis "HOME_SEQUENCE = 0 for Z" and so on.
z-axis:
MIN_LIMIT = -202.0
MAX_LIMIT = 0.001
HOME_OFFSET = 3.000000
HOME_SEARCH_VEL = 30.000000
HOME_LATCH_VEL = 1.85
HOME_FINAL_VEL = -5.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
VOLATILE_HOME = 1


First important is Z so that the spindle doesn't scrape across the table.

And you have to make sure that the respective axis moves a little way away from the switch (move freely) otherwise the machine cannot recognize which signal is the next axis.

It gets a little more complicated with two drives per axis.

Best regards, Frank
Last edit: 13 Oct 2024 07:41 by wusel0464.
The following user(s) said Thank You: jacgri24

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum