Chapter 5: Standard RLL Instructions - ASCII
Example with V2000 = sp sp18 (binary format) where sp = space
1
V-memory Register
with Modifier
2
V2000
V2000:B
3
V2000:BS
V2000:BC0
4
VPRINT V-memory text element
The following is used for "printing to V-memory" text stored in registers. Use the % followed
5
by the number of characters after V-memory number for representing the text. If you assign
"0" as the number of characters, the function will read the character count from the first
6
location. Then it will start at the next V-memory location and read that number of ASCII
codes for the text from memory.
7
Example:
V2000 % 16
8
V2000 % 0
9
VPRINT Bit element
The following is used for "printing to V–memory" the state of the designated bit in
10
V-memory or a control relay bit. The bit element can be assigned by the designating point (.)
and bit number preceded by the V-memory number or relay number. The output type is
described as shown in the table below.
11
12
13
Example:
14
V2000 . 15
C100
A
C100 : BOOL
C100 : ON/OFF
B
V2000.15 : BOOL
C
D
5–224
DL205 User Manual, 4th Edition, Rev. B
1
sp
sp
1
0
16 characters in V2000 to V2007 are printed.
The characters in V2001 to Vxxxx (determined by the number in
V2000) will be printed.
#
Data format
1
none
2
: BOOL
3
: ONOFF
Prints the status of bit 15 in V2000, in 1/0 format
Prints the status of C100 in 1/0 format
Prints the status of C100 in TRUE/FALSE format
Prints the status of C100 in ON/OFF format
Prints the status of bit 15 in V2000 in TRUE/FALSE format
Number of Characters
2
sp
sp
2
0
Description
Print 1 for an ON state, and 0 for an OFF state
Print "TRUE" for an ON state, and "FALSE" for an OFF
state
Print "ON" for an ON state, and "OFF" for an OFF state
3
4
1
8
1
2
1
2
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?