- Posts: 107
- Thank you received: 0
Homing and limit in one switch.
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
1 year 5 months ago #328306
by DarkPhoinix
Homing and limit in one switch. was created by DarkPhoinix
I am try homing and limits.For test i have only Y stepper driver installed.
Homing work.
but i limit stop not work. I need for safety and bad moves.
hal:
ini:
I read:
forum.linuxcnc.org/38-general-linuxcnc-q...tches-is-it-possible
forum.linuxcnc.org/38-general-linuxcnc-q...ng-on-a-single-input
www.forum.linuxcnc.org/49-basic-configur...sibly-wrong?start=60
forum.linuxcnc.org/plasmac/46160-homing-...ctive-before-backoff
linuxcnc.org/docs/devel/html/config/ini-homing.html
what do i need to do to make the limits work?
Why doesn't homing lock the stepper instantly and needs a monstrously slow motion for the initial search?
Homing work.
but i limit stop not work. I need for safety and bad moves.
hal:
Code:
#Homing and limits
net Y_HOME remora.input.09 => joint.1.home-sw-in
ini:
Code:
[AXIS_Y]
#MAX_VELOCITY = 100.0
MAX_VELOCITY = 30.0
MAX_ACCELERATION = 30.0
MIN_LIMIT = 0
MAX_LIMIT = 30000.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = 0
MAX_LIMIT = 30000.0
#MAX_VELOCITY = 100.0
MAX_VELOCITY = 30.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 30.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
#HOME_SEARCH_VEL = -10.0
#HOME_LATCH_VEL = -3.0
#HOME_FINAL_VEL = 20
#HOME_IGNORE_LIMITS = YES
#HOME_USE_INDEX = NO
#HOME_OFFSET = -20.0
#HOME = -10.0
#HOME_SEQUENCE = 2
#HOME_OFFSET = 0.0
#HOME_SEARCH_VEL = 50
#HOME_LATCH_VEL = 50
#HOME_SEQUENCE = 50
HOME = 1
HOME_OFFSET = -3
HOME_SEARCH_VEL = -10
HOME_LATCH_VEL = 30
HOME_SEQUENCE = -1
#HOME_USE_INDEX = False
#HOME_IGNORE_LIMITS = True
I read:
forum.linuxcnc.org/38-general-linuxcnc-q...tches-is-it-possible
forum.linuxcnc.org/38-general-linuxcnc-q...ng-on-a-single-input
www.forum.linuxcnc.org/49-basic-configur...sibly-wrong?start=60
forum.linuxcnc.org/plasmac/46160-homing-...ctive-before-backoff
linuxcnc.org/docs/devel/html/config/ini-homing.html
what do i need to do to make the limits work?
Why doesn't homing lock the stepper instantly and needs a monstrously slow motion for the initial search?
Attachment not found
Please Log in to join the conversation.
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 0
1 year 5 months ago #328308
by DarkPhoinix
Replied by DarkPhoinix on topic Homing and limit in one switch.
added ini:
added hal:
Work!
I still need to figure out why the home search has to be done so slowly.
Code:
HOME_IGNORE_LIMITS = True
added hal:
Code:
net Y_HOME remora.input.09 => joint.1.home-sw-in joint.1.neg-lim-sw-in
I still need to figure out why the home search has to be done so slowly.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
1 year 5 months ago #328327
by tommylight
Replied by tommylight on topic Homing and limit in one switch.
In the ini file
HOME_SEARCH_VELOCITY
HOME_LATCH_VELOCITY
HOME_FINAL_VELOCITY
Any of those you have, set to some reasonable value in machine units per second.
HOME_SEARCH_VELOCITY
HOME_LATCH_VELOCITY
HOME_FINAL_VELOCITY
Any of those you have, set to some reasonable value in machine units per second.
Please Log in to join the conversation.
Time to create page: 0.160 seconds
