On 17/06/16 17:44, [email protected] wrote:
On 17/06/16 14:23, Mathias Giacomuzzi wrote:
Thanks for that. I already read that but for me it was not clear how
to use that. I am quite new to all that linuxcnc stuff.
Is there also a possibility to automatically switch to that mode
after homing? Because I think for a Kossel it made no sense to be in
the other mode after homing.
Off the top of my head (untested)
in your hal file
loadrt and2
addf and2 servo-thread
net is-homed halui.joint.2.is-homed => and2.0.in0
net is-homed halui.machine.is-on => and2.0.in1
Typo ^^^^
was meant to be
net is-on halui.machine.is-on => and2.0.in1
net both-ok and2.0.out => halui.mode.teleop
Would switch to teleop mode when both the machine-on and Z axis homed
were TRUE
Be careful of automatic switching, may have unwanted effects
Many thanks for that.
Mathias
--
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].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.