MESSAGE(9)
β¨ MESSAGE(9) β¨ β bestie, it's a HAL component π
okay so real talk, this is message from the HAL Component section of the manual (section 9, iykyk). It's literally just... a component that shows a message. That's the whole vibe. π
πΈ NAME πΈ
message β Display a message π
π¦ SYNOPSIS π¦
loadrt message [count=N|names=name1[,name2...]] [messages=N]
messagesβ the actual messages you wanna display. Here's the thing bestie: they go in a single set of quotes, comma-delimited, all together like a little friend group. There's an example in the Description section below, go look π. Now listen: if you give more messages thancountornames, the extras just get ignored, no drama, they're not invited. But if you give fewer messages thancountornames?? π¨ error raised, component will not load. Not even a little bit. It just refuses. periodt.
π DESCRIPTION π
So the whole point: it lets HAL pins trigger a message. Iconic behaviour honestly. Here's the example hal commands fr fr:
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
And the moment any pin goes active β the matching message pops up on screen. β¨ like magic but it's just HAL β¨
π₯ FUNCTIONS π₯
message.Nβ Display a message, that's it, that's the function π«Ά
π PINS π
message.N.triggerβbit in(default:FALSE) β the signal that triggers the message. like the little "hey!! look at me!!" pin π£message.N.forceβbit in(default:FALSE) β aFALSE->TRUEtransition forces the message to be displayed again if the trigger is active. retraumatize the message. show it twice. π
π PARAMETERS π
message.N.edgeβbit rw(default:TRUE) β picks which edge you want:FALSEmeans falling,TRUEmeans rising. choose your fighter β¬οΈβ¬οΈ
π AUTHOR π
Les Newell π (the icon, the legend, the main character)
β LICENSE β
GPL v2 β slay, free software, we love to see it π§
ngl bestie this one's short but it ATE. no cap. π
β with love from the LinuxCNC Documentation, dated 2026-03-17, filed under MESSAGE(9) π¦β¨
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms