Create a true “supply” device (names the net automatically)
Open (or create) a library → Symbol editor → New Symbol (e.g. call it L or N).
Place one PIN:
Draw whatever graphic you like (sine wave, triangle, etc.). Place a text field >VALUE where you want the label to appear.
Create a Device (still in the library):
No package (supply symbols are package-less).
Add your symbol as a gate.
Device NAME must match the pin name exactly (e.g. device name L if the pin is L). This is what makes the symbol auto-name the connected net. Electrical Engineering Stack Exchange
Save the library, make sure it’s in use, then ADD the new supply symbol in your schematic.
When you place that symbol, the connected net is automatically named after the supply pin/device name (L, N, PE, +24V, etc.). Renaming the displayed value later does not rename the net — the net name comes from the supply device/pin name. If you need different nets, make separate supply devices for each name.
For 230 VAC specifically (L/N/PE)
Create two (or three) separate supply devices as above:
Place them wherever needed; each instance ties those points to the same named net across the schematic, just like stock rails.
If you want “230 VAC” to show next to the rail
Supply symbols normally show the net name. If you also want “230 VAC”:
Simplest: add normal schematic TEXT “230 VAC” near the symbol.
Cleaner: add a custom attribute (e.g. VOLTAGE) to your device and put >VOLTAGE text in the symbol. Then set VOLTAGE=230 VAC in Properties when you place it. (The net name still comes from the pin/device name, not from >VALUE or other attributes.)
That’s it — you now have proper custom rails in your library that behave exactly like the built-ins.