Limits override on start up.
- tommylight
- Away
- Moderator
- Posts: 19411
- Thank you received: 6507
Yes.Does the limit-switches work in gmoccapy the same way as in axis?
By adding them in hal and ini files.How do I instruct gmoccapy to see the limit-switches?
From limit switches to parallel port or Mesa card, then in hal file and uses the values set in the ini file.Where is the limit switch signal come from?
linuxcnc.org/docs/2.8/html/config/ini-homing.html
Please Log in or Create an account to join the conversation.
- ajsinfotech
- Offline
- Senior Member
- Posts: 76
- Thank you received: 1
Yes I finally figure that. Besides, I check the limits switches and work ok.
The problem is the "auto-home" mode. I don't know how to do it automatically in gmoccapy (maybe I can do some macro).
I really like the way axis handle that. Its auto-home mode fetching all the limit switches and setting up all the zeroes is simple and "visually" confident. You have a really feedback on how the machine is homing up.
Is there a way to do the same in gmoccapy? I mean, finding the limit switches and zeroing, not only nice simulations in the gremlin box.
Thanks
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1150
- Thank you received: 184
linuxcnc.org/docs/2.8/html/gui/gmoccapy.html
And watched the proposed youtubes?
For homing you have a buttons menue (lower menues bar) and there another for setting values.
Mike
Please Log in or Create an account to join the conversation.
- ajsinfotech
- Offline
- Senior Member
- Posts: 76
- Thank you received: 1
Several times, forward and backward
Anyway gmoccapy does not behave like axis no matter how you set up your limit switches (at least my tests). I mean, finding the probe is ok going back and forth like the docs. But homing it's not the same like axis.
I insist with gmoccapy because of tool measurement.
It drives me nuts... maybe I have to leave it for a while...
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19411
- Thank you received: 6507
Tool measurement can be done in any of the modern LinuxCNC GUI's, Axis included.I insist with gmoccapy because of tool measurement.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
- Posts: 5698
- Thank you received: 2081
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
- Posts: 2075
- Thank you received: 406
Anyway gmoccapy does not behave like axis no matter how you set up your limit switches (at least my tests). I mean, finding the probe is ok going back and forth like the docs. But homing it's not the same like axis.
Can you make a short video of what axis is doing different?
I am not able to see your problem:( But I would like to help.
Norbert
Please Log in or Create an account to join the conversation.
- ajsinfotech
- Offline
- Senior Member
- Posts: 76
- Thank you received: 1
Sorry but, why a simple limit switch setting is so complicated? It is a simple switch you know?
I read this link lots of times:
linuxcnc.org/docs/devel/html/config/ini-homing.html
The drawings seem to be pretty clear but to my understanding, what says in point 4. Shared Limit/Home Switch Example Layout does not fit what says in point 5. Homing Sequence. Not even fit the numerical examples (I mean magnitude signs).
What I want: To home my machine using shared home/limit switches to automatically find my hardware limits.
But whatever configuration I tried I always get these 2 messages when I attempt to set the x axis limit:
- joint 2 on limit switch error
- joint 1 on limit switch error
It seems when the limit switch trips it drives the machine to a full stop (send the above messages) and not further actions can be done beyond this. What explains in point 5. Homing Sequence never ever happens.
I am not sure how gmoccapy works. Can I find my hardware limits automatically with my shared home/limit switches? I think this kind of limit switch homing can't be done with gmoccapy.
I remember long time ago I tested this with axis and it works fine. Now I am using gmoccapy with a RPi3 and a Mesa 7c81 so migrate to axis just to test this is a lot of work and I think I will mess all this up.
I show you one of my testings (just what I think is the important thing). I tested any kind of sign combinations, distances and speeds:
[AXIS_X]
MAX_VELOCITY = 15.0
MAX_ACCELERATION = 30.0
MIN_LIMIT = 0
MAX_LIMIT = 200.0
[JOINT_0]
TYPE = LINEAR
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 15.0
MAX_ACCELERATION = 30.0
MIN_LIMIT = 0
MAX_LIMIT = 200.0
HOME_IGNORE_LIMITS = NO
HOME_USE_INDEX = NO
HOME_OFFSET = -1.0
HOME = 3.0
HOME_SEARCH_VEL = 30.0
HOME_LATCH_VEL = -10.0
HOME_SEQUENCE = 0
I don't know what to ask. Sorry.
Thank you all!!!
Please Log in or Create an account to join the conversation.
- ajsinfotech
- Offline
- Senior Member
- Posts: 76
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
- Posts: 3947
- Thank you received: 1705
do you mean you try to home the axis in gmoccapy?when I attempt to set the x axis limit:
Can you attach your INI and HAL?
Please Log in or Create an account to join the conversation.