Interfaces – Communication
Leuze electronic
DCR 248i
90
Manual definition of the reference code
Command
’RS’
Description
This command can be used to define a new reference code in the code reader by
means of direct input via the serial interface or the Ethernet interface.
Parameter
’RSyvxxzzzzzzzz’
y
,
v
,
x
and
z
are placeholders (variables) for the actual input.
y
Def. reference code no.
’1’
(Code 1)
v
Storage location for reference code:
’3’
RAM only
xx
Defined code type (see command 'CA')
z
Defined code information (1 … 244 characters)
Acknowledgment
’RS=x’
x
Status
’00’
Valid
’Rx’
command
’01’
Invalid command
’02’
Insufficient memory for reference code
’03’
Reference code has not been saved
’04’
Reference code invalid
Example
Entry = ’RS133211032010’
Code 1 (1), RAM (03)+EEPROM (0), DataMatrix ECC 200 (32), code information
Teach-in
Command
’RT’
Description
This command enables a reference code to be defined quickly by reading an exam-
ple label.
Parameter
’RTy’
y
Function
’1’
Defines reference code 1
Acknowledgment
The code reader responds with command
’RS’
and corresponding status (see com-
mand ’RS’). After a 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)
v
Storage location for reference code:
’3’
RAM only
xx
Defined code type (see command 'CA')
z
Defined code information (1 … 244 characters)
NOTICE
With this function, only code types are recognized that are identified using the
Auto setup
func-
tion or which were set in the setup.