sauter KERN SW 1000 Instruction Manual page 41

Sound level meter
Hide thumbs Also See for KERN SW 1000:
Table of Contents

Advertisement

Name
'C'
'A'
<ACK>
<NAK>
5.2.4 BCC (block check character)
The block check character bit in the block is calculated by the sender. The receiver
then calculates the BCC value of the block and compares it to the BCC value in the
sender block. If both are identical, it follows that the received block is correct. The BCC
value is calculated from bytes between <STX> and <ETX> using the XOR operation.
When BCC = 00H, the sound level meter does not check the input and directly
executes an authorized instruction. In this way, you can simplify the sending of the
instruction block; however, this procedure is not recommended for long distance
transmissions because BCC is the only way to guarantee the reliability of the data
transmission.
Name
BCC
5.2.5 Block transmission format
Block transmission of data is possible with four types: as command block, as response
block, as normal response block and as error response block. The four instruction
format types are described below.
(1) Command block: sent by the computer.
<STX>
ID
1
1
Where: ATTR='C'.
All instructions occupy 3 bytes. If more than one parameter is contained, all parameters
must be separated by spaces.
(2) Response block: Sent by the sound level meter.
<STX>
1
Where: ATTR='A'.
If there is more than one response data, the data must be separated by ",".
(3) Normal response: Sent by the sound level meter.
<STX>
1
Where: ATTR=<ACK>。
(4) Error response: Transmitted by the sound level meter.
<STX>
1
Where: ATTR=<NAK>.
SW-BA-e-2020
ATTR
Instruction Parameters
1
3
ID
ATTR
Answer
1
1
ID
ATTR
1
1
ID
ATTR
Error code
1
1
Hex
43H
41H
06H
15H
Hex
01H to FFH
00H
<ETX>
N
<ETX>
N
1
<ETX>
BCC
1
<ETX>
4
1
Meaning
Command block
Answer block
Normal response
Error response
Meaning
XOR checksum
Ignore checksum
BCC
<CR>
1
1
1
BCC
<CR>
1
1
<CR>
1
1
BCC
<CR>
1
1
<LF>
Byt
1
e
<LF>
Byt
1
e
<LF>
Byt
1
e
<LF>
Byt
1
e
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 2000

Table of Contents