Have you looked at halui to home the joint?

Have you seen this?

http://linuxcnc.org/index.php/english/component/kunena/?func=view&catid=48&id=23317&limit=6



On 8/19/2012 7:00 AM, Viesturs Lācis wrote:
> 2012/8/19 John Thornton <[email protected]>:
>> You could roll your own in GladeVCP... have you seen my tutorials on that?
>>
> Yes, I have played a little with Glade. It is really nice, but there
> is some learning curve for me to climb. I already am over deadline
> with this machine, so I am interested to spend as little time as
> possible on this.
>
> OTOH that would be nice to create my own standalone gui, since I do
> not need any g-code preview and other stuff - just few buttons and
> maybe some other widgets. All those buttons and preview in Axis would
> only distract the operator as they would not be used.
>
> Anyway, I have an issue of reproducing homing routine either in HAL or
> in Ladder. Can anyone share some advice, how to do that? I do not
> really understand, how can I reset stepgen position to 0 or whatever
> fixed value, based on the state of input from homing switch (rising
> and falling edges, to be precise). There will be some offset between
> pre-homing and post-homing stepgen positions, which I do not
> understand, how to handle.
> Has anyone already done that?
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to