DOKK / manpages / debian 12 / linuxcnc-uspace / message.9.en
MESSAGE(9) HAL Component MESSAGE(9)

message - Display a message

loadrt message [count=N|names=name1[,name2...]] [messages=N]

The messages to display. These should be listed, comma-delimited, inside a single set of quotes. See the "Description" section for an example. If there are more messages than "count" or "names" then the excess will be ignored. If there are fewer messages than "count" or "names" then an error will be raised and the component will not load.

Allows HAL pins to trigger a message. Example hal commands:
loadrt message names=oillow,oilpressure,inverterfail messages="Slideway oil low,No oil pressure,Spindle inverter fault"
addf oillow servo-thread
addf oilpressure servo-thread
addf inverterfail servo-thread


setp oillow.edge 0 #this pin should be active low
net no-oil classicladder.0.out-21 oillow.trigger
net no-pressure classicladder.0.out-22 oilpressure.trigger
net no-inverter classicladder.0.out-23 inverterfail.trigger

When any pin goes active, the corresponding message will be displayed.

Display a message

signal that triggers the message
A FALSE->TRUE transition forces the message to be displayed again if the trigger is active

Selects the desired edge: FALSE means falling, TRUE means rising

Les Newell

GPL v2

2023-02-10 LinuxCNC Documentation