Online commands
Leuze electronic GmbH + Co. KG
BCL 308
i
93
Manual definition of the reference code
Reference code teach-in
Command
’RS’
Description
This command can be used to define a new reference code in the BCL 308
i
by means
of direct input via the serial interface. The data is saved in the parameter set according
to your input under reference code 1 through 2 and stored in the working buffer for direct
further processing.
Parameter
’RSyvxxzzzzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
y
Defined reference code no.
’1’
(Code 1)
’2’
(Code 2)
v
Storage location for reference code:
’0’
RAM+EEPROM,
’3’
RAM only
xx
Defined code type (see command ’CA’)
z
Defined code information (1 … 63 characters)
Acknowledg
-
ment
’RSx’
x
Status
’0’
Valid ’Rx’ command
’1’
Invalid command
’2’
Insufficient memory for reference code
’3’
Reference code has not been saved
’4’
Reference code invalid
Example
Entry = ’RS130678654331’ (Code 1 (1), RAM only (3), UPC (06), code information)
Command
’RT’
Description
This command enables a reference code to be defined quickly by reading an example
label.
Parameter
’RTy’
y
Function
’1’
Defines reference code 1
’2’
Defines reference code 2
’+’
Activates the definition of reference code 1 up to the value of Parameter
no_of_labels
’-’
Ends the teach event
Acknowledg
-
ment
The BCL 308
i
first responds with the command ’RS’ and corresponding status (see
command ’RS’). After a bar code has been read, it sends the result in the following for
-
mat:
’RCyvxxzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
y
Defined reference code no.
’1’
(Code 1)
’2’
(Code 2)
v
Storage location for reference code
’0’
RAM+EEPROM,
’3’
RAM only
xx
Defined code type (see command ’CA’)
z
Defined code information (1 … 63 characters)