Online commands
Leuze electronic GmbH + Co. KG
BCL 92
49
Copying parameter set
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
Acknowledgment
’PSx’
x
Status
’0’
Valid transfer
’1’
Invalid message
’2’
Invalid message length
’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 type
Example
’PC20’ loads the default parameter set (factory setting)
Requesting parameter set from device
Command
’PR’
Description
The command requests the parameter data from the device. The <PS type>
parameter indicates from which parameter set the data are to be transferred.
Parameter
<BCC type> <PS type> <Start address> <Data length>
Acknowledgment
’PSx’
x
Status
’0’
Valid transfer
’1’
Invalid message
’2’
Invalid message length
’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 type
Example
’PR00102004’
Beginning with address 102, four (004) bytes are read out and transferred.