ArduinoIO HAL component

More
3 years 9 months ago #261917 by HansU
Replied by HansU on topic ArduinoIO HAL component
Do you want LinuxCNC exit by a component?

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261949 by dinodf
Replied by dinodf on topic ArduinoIO HAL component
I would like that if the component fails LinuxCNC stop, inform the user and exit because I wanna connect ArduinoIO for drive the changing tool hardware .
How can i do it?

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261986 by HansU
Replied by HansU on topic ArduinoIO HAL component
I wouldn't recommend to terminate LinuxCNC in that case. Because that will also kill your notification and it's worst if the program just terminates and you don't know why.

I would connect a pin of your component with some logic to iocontrol.0.emc-enable-in to stop LinuxCNC.
Before that you can create a message with linuxcnc.org/docs/html/man/man9/message.9.html
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #262000 by dinodf
Replied by dinodf on topic ArduinoIO HAL component
Yes I can use a workaround but in the log files I can read the reason of LinuxCNC exit so this is not a problem, I think that for security reason if a module fails the control have to stop.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #263242 by billykid
Replied by billykid on topic ArduinoIO HAL component
Thanks Dino, it will be useful for me to read the dc spindle current and pass it to linuxcnc
thanks again
Mauro
The following user(s) said Thank You: dinodf

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #268646 by rhyno440
Replied by rhyno440 on topic ArduinoIO HAL component
Hi, i am having a problem getting Linuxcnc to load with ArduinoIO.
It says - execv (arduinoIO): Permission denied.
I attached the Bug report.
I tried adding permission to the .rules file but no luck.
any help would be greatly appreciated.
Thanks
Ryan

 

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum