
Chapter
9
56
ML-9011A
Chapter
9
Serial Interface Specifications
■
Write (VDW t0, tn...)
t0:
Variable data no.
tn:
Up to 10 sets of character type+string may be specified.
All data elements are comma-delimited.
(16) VCW (Variable data continuous change) NOTE: Cannot be executed during marking.
Change two or more variable data. However, there are following restrictions.
・
Only the first block can be changed.
・
The maximum transmission size supported is 2048 bytes.
■
Write (VCWnn,mm,nn,mm...)
nn: Variable data number
mm: Specified string (character type + string)
String type
0: 1st Standard
6: Code 39
1: 2nd Standard
7: ITF
2: Part
8: DataMatrix
3: Cursive Text
9: QR Code
15: Code 128
If the string type is 2, the number is returned.
When it is a number other than 2, the string is returned.
Example
When setting variable data #7 as follows: 123 in the 2nd standard font, Figure = 1
Computer ->
Marker
: VDW7, 1, 123, 2, 1
Example
・
If an error is detected in a string during a write, all strings become invalid.
・
Variable data on the memory card cannot be read/written.
・
The operation depends on the combination of character type and string when
VDW or MRW is used.
・
When variable data including a cell set number is edited with VDW or VCW
command, the cell set number is remained unchanged. However, when the
character type is changed to anything other than special characters, the cell set
number setting is deleted.
・
Commas are generally not expressed since commas are special characters used
as delimiters. To indicate a comma used as a comma, add the special character
“\” before the character.
Characters after “\” are not treated as delimiters. Use “\,”
to designate a comma. To express “\,” use “\\”.
Type
String
Sample
Operation
Not s
pecified
Specified
Type is remained and string is replaced.
Not specified
Type and string are not changed.
Specified
Specified
Type and string are replaced.
Not specified
Specified string is deleted.
(After all strings are deleted from variable data, variable
data cannot be edited.)
Wrong value
Specified
NAK
Not specified
,,ABC
,,
,0,ABC
,0,
,99,ABC
,99,