Online commands
Leuze electronic GmbH + Co. KG
BCL 248i
120
Request parameter data set of the bar code reader
Command
’PR’
Description
The parameters of the bar code reader are grouped together in a parameter set and
permanently stored in memory. There is one parameter set in permanent memory and
one operating parameter set in volatile memory; in addition, there is a default parame-
ter set (factory parameter set) for initialization. This command can be used to edit the
first two parameter sets (in permanent and volatile memory). A check sum can be
used for reliable parameter transfer.
Parameter
’PR<BCC type><PS type><Address><Data length>[<BCC>]’
<BCC type>
Check-digit function during transmission, unit [dimensionless]
’0’
Not used
’3’
BCC mode 3
<PS type>
Memory from which the values are to be read, unit [dimensionless]
’0’
Parameter values stored in the flash memory
’1’
Reserved
’2’
Default values
’3’
Operating values in RAM
<Ad-
dress>’aaaa’
Relative address of the data within the data set, four-digit, unit [dimen-
sionless]
<Data
length>’bbbb’
Length of the parameter data to be transferred, four-digit, unit [length in
bytes]
<BCC>
Check sum calculated as specified under BCC type
Acknowledgment
positive
PT<BCC-Type><PS-Type><Status><Start><Parameter Value Address><Parameter
Value 1>…[;<Address><Parameter Value Address>][<BCC>]
<BCC type>
Check-digit function during transmission, unit [dimensionless]
’0’
Not used
’3’
BCC mode 3
<PS type>
Memory from which the values are to be read, unit [dimensionless]
’0’
Parameter values stored in flash memory
’2’
Default values
’3’
Operating values in RAM
<Status>
Mode of parameter processing, unit [dimensionless]
’0’
No further parameters
’1’
Additional parameters follow
<Start>’aaaa’ Relative address of the data within the data set, four-digit, unit [dimen-
sionless]
<P.value A.>
Parameter value of the parameter stored at this address; the parameter
set data 'bb' is converted from HEX format to a 2-byte ASCII-format for
transfer.
<BCC>
Check sum calculated as specified under BCC type,