S4C and S4C+ robots.
How can I add a carriage return to the end of a string, that I'm writing to a serial channel?
If I do the following, it sends a Line Feed after EG500, but I need a Carriage Return or the stepper driver won't execute the command:
VAR iodev Table;
Open "COM2",Table;
Write Table,"EG500";
Close Table;
STP-DRV-4850 needs SCL commands in the form XX#<cr>, where XX is the two-letter command, and <cr> is of course the carriage return.
All I can find is the \NoNewLine parameter, which doesn't help me here.