MDI command on halcomp

More
3 years 10 months ago #259997 by JesusAlos
Hi.
Are there any way to send such instruction from hal compenent like python?

self.mdi("G0 X100")

Regars.

Please Log in to join the conversation.

More
3 years 10 months ago #260066 by andypugh
Replied by andypugh on topic MDI command on halcomp
You can do it from a Python HAL component.
linuxcnc.org/docs/stable/html/hal/halmodule.html
You can't do it from a C realtime component AFAIK, though a C component could set a pin that runs an MDI_COMMAND
linuxcnc.org/docs/stable/html/config/ini....html#_halui_section
However, given that halui runs in userspace there is no reason to prefer this over the userspace HAL component.

Please Log in to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum