Data Commands For Sbi Protocol - Brecknell MS-1000 Mode D'emploi

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

RS-232 data commands for SBI protocol
The RS232 can be set so a bidirectional connection can be established between the indicator and the host. To
establish this connection set parameter P4 to 7, and configure setting P5 (baud) and P6 (parity) to host device.
Commands can then be sent from the host to the indicator using the following commands (ensure the letters
entered are in CAPS) (<CR> - Enter)
Command
Action
W<CR>
Takes a reading
Over capacity -
Under capacity -
Zero point error -
Reading (kg or lb)
S<CR>
Prints Status Bytes
Z<CR>
Zeros the scale
T<CR>
Sets up a tare
U<CR>
Changes the units
L<CR>
Activates the hold
function
X<CR>
Switches off the
scale
?
Unrecognised
command
Key Symbols
<LF>
Line feed
<CR> Carriage Return
<ETX> End of text character
<SP>
Space
H1H2H3 3 status bytes
<p>
Polarity character including minus sign for negative weigh and a space character for positive.
W1-W7 Weight data
<dp>
Decimal point
U1U2: Unit measure, kg, lb or oz
Output Status Bit Meaning:
Bit
Byte 1
0
0=Stable
1=Unstable
1
0=Not at zero
point
1=At zero point
2
Always 0
3
0=eprom OK
1=eprom error
4
Always 1
5
Always 1
6
Always 0
7
Parity
Response
<LF>^^^^^^^^^u1u2<CR><LF>H1H2H3<CR><ETX>
<LF>_______u1u2<CR><LF>H1H2H3<CR><ETX>
<LF>----------u1u2<CR><LF>H1H2H3<CR><ETX>
<LF><p>w1w2w3w4w5w6<dp>w7u1u2<CR><LF>H1H2H3<CR><ETX>
<LF>H1H2H3<CR><ETX>
<LF>H1H2H3<CR><ETX>
<LF>H1H2H3<CR><ETX>
<LF>u1u2<CR><LF>H1H2H3<CR><ETX>
<LF>H1H2H3<CR><ETX>
Indicator switches off.
<LF>?<CR><ETX>
Byte 2
Byte 3
0=Not Under
00=Not defined
Capacity
1=Under Capacity
01=Normal working mode
0=Not over
10=Hold working mode
capacity
1=Over capacity
11=Not defined
Always 0
0=Gross Weight
1=Net Weight
Always 0
Always 0
Always 1
Always 1
Always 1
Always 1
Always 1
Always 0
Parity
Parity

Publicité

Chapitres

Table des Matières
loading

Table des Matières