Online commands
Leuze electronic
Technical description BCL 21/22 SB
69
TNT
35/7-2
4
V
Teach-In
Notice!
With this function, only code types are recognized that are identified using the autoConfig
function or which were set in the set-up.
After each reading via an ’RTx’ command, explicitly switch off the function again since
failure to do so will interfere with other commands as well as prevent execution of a new
’RTx’ command.
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 …
’9’
defines reference code 9
’+’
activates the definition of reference code 1 up to the value of Parameter
no_of_labels
’-’
exit the Teach-In process
Acknowledgement
The BCL first responds with the command
’RS’
and corresponding status (see com-
mand 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) …
’9’
(Code 9)
v
:
storage location for reference code
’0’
RAM+EEPROM,
’3’
RAM only
xx
def. Code type (see command ’CA’)
z
def. Code information (1 … 63 characters)