
42
SW-BA-e-2020
The error code occupies 4 bytes. All possible error codes are listed in the following
table See section
the meaning of the error codes
Error code
Meaning
0001H
Instruction errors
0002H
Parameter error
0003H
Not available in current status
5.2.6 Recovery after transmission errors
Various errors can occur during transmission of the command block or response block.
The following describes how the sound level meter deals with errors and restores the
initial state.
(1) Block transfer not completed
describes the four formats for block transmission. When the sound level
meter detects the beginning of a character block <STX>, it receives the following data
until the block end character <CR>, <LF> is received. When data reception is complete
and parity is correct, the sound level meter performs follow-up checks. If the character
<STX> before <CR>, <LF> is received again, the sound level meter ignores all
information received so far and starts receiving a block again.
(2) Validation errors
After receiving the data block, the sound level meter checks the data block (except
when BCC = 00H). If the validation fails, the sound level meter ignores this instruction.
(3) Instruction errors
The sound level meter may not recognize the received instruction because the
computer sends an undefined instruction or an unexpected error occurred during
transmission. If the above mentioned errors occur, the sound level meter returns a
NAK block containing error code 0001H.