HAL notify Pin

More
2 years 1 month ago #309538 by Sakhalin_Cat
HAL notify Pin was created by Sakhalin_Cat
Hello.
Please tell me how to implement the output of messages in the LCNC when a signal is sent to a certain pin HAL.
I need to output messages about device and signal malfunctions when the PIN is set to TRUE. For example, I send a signal to the PIN DIN0 and the message "fan on" is displayed, I send a signal to the PIN DIN1 and the message "Pump on" is displayed.
I would like to see these messages in the standard place for outputting LCNC error messages.
Thank you for your attention and help.

Please Log in to join the conversation.

More
2 years 1 month ago #309539 by Aciera
Replied by Aciera on topic HAL notify Pin
Have a look at the 'message' component:
linuxcnc.org/docs/stable/html/man/man9/message.9.html

Please Log in to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum