EasyManua.ls Logo

BSWA 308 - Start;Stop of the Block Transfer; Device ID; ATTR Attribute Character

BSWA 308
126 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BSWA 308/309 BSWA Technology Co., Ltd
59
A typical command block or response block consists of starting character, ID, attribute
character, command or data, end character, block check character, carriage returns, line
feeds”, as shown below:
<STX>
ID
ATTR
Command or Data
<ETX>
BCC
<CR>
<LF>
5.2.1 Start/Stop of the Block Transfer
A command block or response block contains start characters, end characters and other
control character as shown below:
Name
Hex
Meaning
<STX>
02H
Start Character
<ETX>
03H
Stop Character
<CR>
0DH
Carriage Returns
<LF>
0AH
Line Feeds
5.2.2 Device ID
Each command block contains an ID. It is used to distinguish among a network of more than
one sound level meter. When the sound level meter receives a command block, it will match
the ID contained in the command block and its own ID. If matched, the corresponding
operation will be performed. If not, then ignore this command. The response block returned
from the sound level meter also contains the ID which is used to indicate that the block is sent
by which one.
Note: Please ensure that the ID of sound level meter in the same network are different
from each other, otherwise the error will occur during operation!
ID is one byte of binary. It ranges from 1~255.The corresponding hex value is 01H~FFH.
It means that the command is a broadcast command if the ID contained in command block is
00H. The sound level meter will execute the instruction without any return data, regardless of
its own ID when the command is a broadcast command.
Name
Hex
Meaning
ID
01H~FFH
Device ID
00H
Broadcast Command
5.2.3 ATTR Attribute Character
ATTR attribute characters indicate the type of command or response.

Table of Contents

Related product manuals