
Online commands
Leuze electronic GmbH + Co. KG
BCL 358
i
121
Requesting parameter data set from BCL 358
i
Command
’PR’
Description
The parameters of the BCL 358
i
are grouped together in a parameter set and perma
-
nently 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 parameter 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 reli
-
able 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
<Adress> Relative address of the data within the data set
’aaaa’
Four-digit, unit [dimensionless]
<Data length> Length of the parameter data to be transferred
’bbbb’
Four-digit, unit [length in bytes]
<BCC> Check sum calculated as specified under BCC type
Acknowledg
-
ment
positive
PT<BCC type><PS type><Status><Start>
<Address parameter value><1 parameter value>…
[;<Address><Address parameter value>][<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
’2’
Default values
’3’
Operating values in RAM
<Status> Mode of parameter processing, unit [dimensionless]
’0’
No further parameters
’1’
Additional parameters follow
<Start> Relative address of the data within the data set,
’aaaa’
Four-digit, unit [dimensionless]
<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 trans
-
fer.
<BCC> Check sum calculated as specified under BCC type,
Acknowledg
-
ment
negative
’PS=<aa>’
Parameter reply:
<aa>
Status acknowledgment, unit [dimensionless]
’01’
Syntax error
’02’
Impermissible command length
’03’
Impermissible value for checksum type
’04’
Invalid check sum received
’05’
Impermissible number of data requested
’06’
Requested data does not (any longer) fit in the transmission buffer
’07’
Impermissible address value
’08’
Read access after end of data set
’09’
Impermissible QPF data set type