The signalstring format is described here
Strings are expressed as a bitmask of where each letter appears, LSB on the left.
"FOOBAR" = {signal-F=1,signal-O=6,signal-B=8,signal-A=16,signal-R=32}
Add to this the trainstop signal to rename the stop, or the locomotive signal to send a train to that stop.