DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-224
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Text element – the following is used for “printing to V–memory” character strings. The
character strings are defined as the character (more than 0) ranged by the double quotation
marks. Two hex numbers preceded by the dollar sign means an 8-bit ASCII character code.
Also, two characters preceded by the dollar sign is interpreted according to the following table:
The following examples show various syntax conventions and the length of the output to the
printer.
In printing an ordinary line of text, you will need to include double quotation marks before and
after the text string. Error code 499 will occur in the CPU when the print instruction contains
invalid text or no quotations. It is important to test your VPRINT instruction data during the
application development.
#
Character code
Description
1
$$
Dollar sign ($)
2
$”
Double quotation (”)
3
$Lor $l
Line feed (LF)
4
$N or $n
Carriage return line feed (CRLF)
5
$P or $p
Form feed
6
$R or $r
Carriage return (CR)
7
$T or $t
Tab
” ”
Length 0 without character
”A”
Length 1 with character A
” ”
Length 1 with blank
” $” ”
Length 1 with double quotation mark
” $ R $ L ”
Length 2 with one CR and one LF
” $ 0 D $ 0 A ”
Length 2 with one CR and one LF
” $ $ ”
Length 1 with one $ mark