Online commands
Leuze electronic GmbH + Co. KG
BCL 92
48
8.4
Online commands for the parameter set operations
Definitions
•
<BCC type>
Type of checksum calculation.
’0’
: No checksum
’3’
: XOR checksum (mode 3)
•
<PS type>
Parameter set type
’0’
: Current parameter set (data stored in the EEPROM (non-volatile))
’1’
: Reserved
’2’
: Standard parameter set (not changeable)
’3’
: Operating values (data in the RAM, will be lost after reset)
•
<Status>
Mode of parameter processing
'0'
: Does not perform a reset following the write operation; no other parameters follow.
'1'
: Does not perform a reset following the write operation; other parameters follow.
'2'
: Subsequently performs a reset, no additional parameters follow.
•
<Start address>
Relative address of the parameter within the parameter set
•
<Para0L> <Para0H>… <Para122L> <Para122H>
:
Parameter set data of the message. The sequence of the data is arranged identically to the device, i.e.
when a word is transmitted, first the low byte is sent then the high byte. The parameter set data is con-
verted for transmission from HEX format to a 2-byte-ASCII format. During the conversion, two ASCII
characters – representing the
lower nibble
and the
higher nibble
– are created for each HEX value.
Example:
Decimal
Hex
Transmission
4660
0x1234
'1' '2' '3' '4' = 31h 32h 33h 34h
• Para0H = 31h, Para0L = 32h, Para1H = 33h, Para1L = 34h
Taking into consideration the maximum message length and the remaining command parameters, a
maximum of 123 bytes on parameter data (246 bytes on message data) can be transmitted in a single
operation.
Valid values: '0' … '9', 'A' … 'F'
•
<Acknowledgment>
:
Acknowledgment of the transmitted message
'0'
: Valid transfer
'1'
: Invalid message
'2'
: Invalid message length
'3'
: Invalid block check type
'4'
: Invalid bloc checksum
'5'
: Invalid data length
'6'
: Invalid message data
'7'
: Invalid start address
'8'
: Invalid parameter set
'9'
: Invalid parameter set type