Automationdirect.com DirectLOGIC DL205 Series User Manual page 440

Table of Contents

Advertisement

VPRINT V-memory element
The following modifiers can be used in the VPRINT ASCII string message to "print to
V–memory" register contents in integer format or real format. Use V-memory number or V-
memory number with ":" and data type. The data types are shown in the table below. The
Character code must be capital letters.
NOTE: There must be a space entered before and after the V-memory address to separate it from the text
string. Failure to do this will result in an error code 499.
#
Character Code
1 none
2 : B
3 : D
4 : D B
5 : R
6 : E
Examples:
V2000
Print binary data in V2000 for decimal number
V2000 : B
Print BCD data in V2000
V2000 : D
Print binary number in V2000 and V2001 for decimal number
V2000 : D B
Print BCD data in V2000 and V2001
V2000 : R
Print floating point number in V2000/V2001 as real number
V2000 : E
Print floating point number in V2000/V2001 as real number with exponent
The following modifiers can be added to any of the modifies above to suppress or convert
leading zeros or spaces. The character code must be capital letters.
#
1 S
2 C0
3 0
Example with V2000 = 0018 (binary format)
V-memory Register
with Modifier
V2000
V2000:B
V2000:B0
Chapter 5: Standard RLL Instructions - ASCII
16-bit binary (decimal number)
4-digit BCD
32-bit binary (decimal number)
8-digit BCD
Floating point number (real number)
Floating point number (real number with exponent)
Character Code
Suppresses leading spaces
Converts leading spaces to zeros
Suppresses leading zeros
1
0
0
1
DL205 User Manual, 4th Edition, Rev. B
Description
Description
Number of Characters
2
3
0
1
0
1
2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
4
8
B
2
C
D
5–223

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF