Back to the boards with it....

I solved it by connecting signal to my component...
> Similary I added home switch for Z axis (axis 2).
> What bothers me now is fact that homing both axes at same time somehow 
> doesn't work - axis2 homes OK, but axis0 doesn't move at all, and when I 
> press home again it says that axis 0 is homing:
> "
> 22:41:51 MT_EMC_OPERATOR_ERROR 
> 22:41:51 homing already in progress
> "
>
> Shared ini and config at my github repository as previous.
>

I'd assume that's because you're probably not recieving all the messages 
through protobuf. I'm not too familiar with Machinekit but I know from my 
current project that messages are relayed, but not as complete as a 
standard LinuxCNC install.

It's probably because according to your hal file on github, your 
home_offset is equal to your max limit. HOME in your .ini file is the 
position your axis will move to after homing it sounds like this is what 
you are trying to achieve with home offset. HOME_OFFSET is not well 
explained in the docs and I almost feel that it is explained falsely. All 
of my machines I have this set at 0.25" to 0.5" or 6-12mm either positive 
or negative depending on the homing direction. In practice it seems that 
this is the distance from the home switch that becomes your MIN or 
MAX_LIMIT depending on the direction you're homing. If your home switch is 
in the middle of the axis and you home to it, your MIN/MAX_LIMIT is however 
far away from your home switch you set HOME_OFFSET to. You are homing to a 
limit switch, not a remotely mounted home switch so the offset from the 
limit switch to your MAX_LIMIT is going to be very small.

If what you want to do is drop the axis off in a certain spot after homing 
then do what you need to do to get homing to complete, then jog to that 
spot on the axis and record it's current position. Enter that in the .ini 
as HOME. The Relative "0" that you use to coordinate with the workpiece 
will be set while you're touching off so if you're trying to set it up so 
zero is in the middle of the axis it's not really what you want to do in my 
experience.  

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/88125e72-8eea-4bd3-816e-8c843d9152d9%40googlegroups.com.

Reply via email to