Online commands
Leuze electronic GmbH + Co. KG
BCL 358
i
122
Determining parameter set difference to default parameters
Command
’PD’
Description
This command outputs the difference between the default parameter set and the operat
-
ing parameter set or the difference between the default parameter set and the perma
-
nent parameter set.
Comment:
The reply supplied by this command can e.g. be directly used for programming a device
with factory settings, whereby this device receives the same configuration as the device
on which the PD-sequence was executed.
Parameter
’PD<P.set1><P.set2>’
<P.set1> Parameter data set which is to be copied,
unit [dimensionless]
’0’
Parameter data set in permanent memory
’2’
Default or factory parameter set
<P.set2> Parameter set to which the data is to be copied, unit [dimensionless]
’0’
Parameter data set in permanent memory
’3’
Operating parameter data set in volatile memory
Permissible combinations here include:
’20’
Output of the parameter differences between the default and the permanently
saved parameter set
’23’
Output of the parameter differences between the default parameter set and
the operating parameter set saved in volatile memory
’03’
Output of the parameter differences between the permanent parameter set
and the operating parameter set saved in volatile memory
Acknowledg
-
ment
positive
PT<BCC><PS type><Status><Adr.><P.value adr.><P.va1>…
[;<Adr.><P.value adr.>]
<BCC>
’0’
No check digit
’3’
BCC mode 3
<PS type>
’0’
Values stored in flash memory
’3’
Operating values stored in RAM
<Status>
’0’
No further parameters
’1’
Additional parameters follow
<Adr.>
Relative address of the data within the data set
’aaaa’
Four-digit, unit [dimensionless]
<P.value>Parameter value of the -bb- parameter stored at this address. The parameter
set data is converted from HEX format to a 2-byte-ASCII format for transfer.
Acknowledg
-
ment
Negative
’PS=<aa>’
<aa>
Status acknowledgment, unit [dimensionless]
’0’
No difference
’1’
Syntax error
’2’
Impermissible command length
’6’
Impermissible combination, parameter set 1 and parameter set 2
’8’
Invalid parameter set