Online commands
70
Technical description BCL 21/22 SB
Leuze electronic
Reading a reference code
Copy parameter set
Command
’RR’
Description
The command reads out the reference code defined in the BCL. If no parameters are
specified, all defined codes are output.
Parameter
<Reference code number>
’1’ ... ’9’
value range of reference codes 1 to 9
Acknowledgement
If no reference codes are defined, the BCL responds with the
’RS’
command and
corresponding status (see command RS)
.
For valid codes, the output corresponds to
the following format:
RCyvxxzzzzzz
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)
Command
’PC’
Description
The command copies complete parameter sets.
Parameter
’03’
copy parameters from the EEPROM into the RAM and initialize all associated
functions
'20'
copy standard parameters from the FLASH into the EEPROM
and
RAM and initialize
all relevant functions
’30’
copy parameters from the RAM into the EEPROM
Acknowledgement
’PSx’
x
: status
'0'
valid transmission
'1'
invalid message
'2'
invalid length of message
'3'
invalid block check type
'4'
invalid block check checksum
'5'
invalid data length
'6'
invalid message data
'7'
invalid start address
'8'
invalid parameter set
'9'
invalid parameter set type
Example
Input:
PC20
–> all parameters are reset to default values.