
Instructions Manual
40/50
Rev 2.0 of 02/2016
to be executed (i.e. the codes already accepted by the host) and possibly also the codes not yet
accepted by the host (i.e. unknown).
Management of the samples to be executed because accepted by the host and the samples to be
executed although ‘unknown’ to the host is based on an attribute (the terminator of the bar code)
contained in the reply message of the host (see 7.2.5).
Example 1 (WITHOUT ‘unknown’ code management):
VES-MATIC CUBE sends 10 barcodes to the host and the host sends back only 4 of the 10 codes
received, i.e. only those to be analysed by VES-MATIC CUBE 30 (the remaining 6 samples are not
processed by the instrument).
Example 2 (WITH ‘unknown’ code management):
VES-MATIC CUBE se
nds 10 barcodes to the host and the host sends back 4 codes with attribute ‘ESR
to be executed’ + 2 codes with attribute ‘unknown code’. The instrument executes the 6 samples and
at the end of the analysis sends the results of the 4 codes with ‘ESR to be executed’, while the other 2
‘unknown’ codes remain in the pending database.
Actually, VES-MATIC CUBE 30 sends one code at a time to the host, but it is useful to hypothesize
that also 10 sample codes can be sent in order to be able to use the same connection for any VES-
MATIC CUBE model.
Request: VES-MATIC CUBE sends the following frame:
STX
(0x3E)
H-BLK
(0x30)
L-BLK
(0x30)
H-LEN
L-LEN
H-ADD
(0x30)
L-ADD
(0x31)
H-COM
(0x35)
L-COM
(0x30)
Data-
1
... Data-
n
ETX
(0x0D)
H-
CHK
L-
CHK
The hexadecimal values indicated in brackets are constant values for this message. The fields in bold
type are variable and described below:
H-LEN/L-LEN: Length of the data field from Data-1 through Data-n represented in HEX-ASCII.
Maximum Value ‘F’ (0x46) / ‘F’ (0x46). This is the actual number of bytes contained in the
Data
field. In fact, the maximum number of bytes contained in the Data field is 255.
Data-1 .. Data-n: Data Field. The data field for the message code 0x50 is made up as follows:
H-NUM/
L-NUM
(2 HEX-
ASCII
bytes)
BarCode-1
(ASCII string of
max 15
characters)
Terminator
of the
Barcode-1
string
(0x10)
BarCode-2
(ASCII string of
max 15
characters)
Terminator
of the
Barcode-2
string
(0x10)
…..
BarCode-n
(ASCII string of
max 15
characters)
Terminator
of the
Barcode-n
string
(0x10)
H-NUM/L-NUM
: Number of barcodes contained in the message represented in HEX-ASCII.
BARCODE-n:
ASCII string of variable length, maximum 15 characters permissible. This is the
barcode as read by the VES-MATIC CUBE barcode reader.
Terminator:
Each string of the barcode is terminated with the byte 0x10. This is because the length
of this string is variable.
The number of bar codes contained in the data field is limited by the fact that the data field can contain
a maximum of 255 bytes; in any case, the barcodes are never truncated, but always complete with
terminator.
Summary of Contents for VES-MATIC CUBE 30
Page 50: ......