PT113
Instruction Manual
34
Following is the definition table for status bytes STA and STB;
Definition Table for Status A (STA)
Definition Table for Status B (STB)
Bits 0, 1 and 2
Bits 3 and 4
Bits
5,6
Bit 7
Bit 0
Bit 1
Bit 2
Bit 3
Bits
4,5
Bit 6
Bit 7
0 1 2 Decimal
point
3
4 Inc.
size
A
lw
ay
s 1
X
1
=
N
et
1
=
W
eig
ht
n
eg
a
tiv
e
1
=
E
rro
r
1
=
U
ns
ta
b
le
A
lw
ay
s =
1
1
=
Z
er
oe
d
w
ith
p
ow
er
o
n
X
0 0 0 XXXX00
1
0 X 1
1 0 0 XXXXX0
0
1 X 2
0 1 0 XXXXXX
1
1 X 5
1 1 0 XXXXX.X
0
=
G
ro
ss
0
=
W
eig
ht
p
os
itiv
e
0
=
N
o
E
rro
r
0
=
S
ta
ble
0
=
N
ot
z
er
o
ed
w
ith
p
ow
er
o
n
o
n
z
er
oe
d
0 0 1 XXXX.XX
1 0 1 XXX.XXX
0 1 1 XX.XXXX
Status C (STC) is always hex ‘30’.
CHK (Checksum) = 0 – (STX+STATUS A+...+LF)
Note: The weight data is represented right aligned and the following error messages (UNDER, OVER,
L-VOLT, H-VOLT and A.OUT) are represented left aligned in the Displayed Weight or Count field.
Note: Continuous data transmission starts 20 seconds after power on.
9.1.1.5 BSI Communication
BSI Communication provides conversational access over a Bidirectional Serial Interface. All PT Azure
series products support this convenient communications protocol. It is supported on RS-232C, RS-485
and Ethernet (PT113EN) interfaces.
The BSI data format gives reliable and fast interface advantages for communicating with PLCs or PCs
for process control or transactional applications. This interfacing is recommended especially for PC
interfacing as you can expand your system with additional scales from PT without having to change
your application program base.
The protocol is very simple to use, a command is sent to the PT113 and a response is transmitted
back.
Warning:
Only one interface can have BSI enabled at one time. No check sum [CHK] is used over
Ethernet.
General Rules:
1.
Commands are only in CAPITAL.
2.
CHK (2 ASCII char) can be enabled or disabled from both command and response.
3.
Weight data is 8-byte with dot and non-significant zeros on the left.
4.
The device address (2 ASCII char) will not be located in the structure when set to 00.
5.
Address bytes are by default “10” for the RS-232C and Ethernet interfaces
Command format:
A general description of the command is as follows:
[ADR][COMMAND][CHK][CR][LF]
Response format:
A general description of the response with weight / force is the following:
[ADR][COMMAND][STATUS][SIGN][WEIGHT/FORCE][CHK][CR][LF]
Response format without weight / force
[ADR][COMMAND][STATUS][CHK][CR][LF]
Command Table:
A
Read all weight data immediately
B
Read Gross weight value immediately
C
Clear the tare memory
D
Read the count value immediately
G
Read the voltage value of the DC power supply
I
Read current indicated weight value immediately
P
Print: Read the current stable weight value
S
Read Status
T
Tare
X
Read current weight value in increased resolution (Hi-res) immediately