Online commands
Leuze electronic GmbH + Co. KG
BCL 8
55
Manual definition of the reference code
Teach-in
Command
’RS’
Description
This command can be used to define a new reference code in the BCL 8 by
means of direct input via the serial interface. The data is saved in the param
-
eter set according to your input under reference code 1 or 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
Def. reference code no.
’1’ (Code 1)
’2’ (Code 2)
v
Storage location for reference code:
’0’ RAM+EEPROM
’3’ RAM only
xx Def. code type (see Command ’CA’)
z
Def. code information (1 … 30 characters)
Acknowledgment
’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 or 2
’-’ Ends the teach event
Acknowledgment
The BCL 8 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 format:
’RCyvxxzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
y
Def. reference code no.
’1’ (Code 1)
’2’ (Code 2)
v
Storage location for reference code
’0’ RAM+EEPROM
’3’ RAM only
xx Def. code type (see Command ’CA’)
z
Def. code information (1 … 30 characters)
NOTE
With this function, only code types are recognized that are identified using the ’autoConfig’ func
-
tion or which were set in the set-up.