Overview of Structured Text Programming
Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 647
Two-character combinations in character strings
No. Description Example
1 Dollar sign $$
2 Single quote $'
3 Line feed $L or $I
4 Newline $N or $n
5 Form feed (page) $P or $p
6 Carriage return $R or $r
7 Tabulator $T or $t
Tips:
• The newline character provides an implementation-independent means of defining the end of
a line of data for both physical and file I/O; for printing, the effect is that of ending a line of data
and resuming printing at the beginning of the next line.
• The $' combination is only valid inside single quoted string literals.
See also
Structured Text Components: Assignments on page
636