
PakBus Networking Guide
50
BMP5 Example Packet – XTD Clock Check/Set Command and Response
09:24:40.105 T bd a0 01 6f fe 10 01 0f fe 03 2e 00 00 00 00 d2 ...o............
09:24:40.105 T 5e bd ^.
09:24:40.137 R bd af fe 10 01 1f fe 00 01 83
2e 00 27 5b 2a 99 ............'[*.
09:24:40.152 R 58 c0 00 d1 77 bd X...w.
Note: 9
th
digit and packet type are underlined
7.2.3 Packet Protocol Levels
Notice that some packet numbers are shared between protocols. To determine
which it is, locate the 9
th
hex digit after the last leading “bd”. If that digit is
zero, the packet is a PakCtrl packet (Protocol 0). If a “1”, it is a BMP5 packet
(Protocol 1).
7.2.4 Headers
The two packet protocol levels of interest are PakCtrl (network level) and
BMP5 (application level). When connected to a datalogger, the Status
Monitor’s Low Level I/O Log (COM port, View I/O) will show lots of Clock
Check/Set Command and Response packets (BMP5 packets). Other packets
appear as you perform functions in LoggerNet. Following are some example
packets from the two levels.
PakCtrl Example Packet – Hello Command and Response
09:24:39.120 T bd a0 01 7f fe 00 01 0f fe 09 2d 01 02 00 3c 19 ..........-...<.
09:24:39.120 T bc dd bd ...
09:24:39.136 R bd af fe 20 01 0f fe 00 01 89 2d 00 02 ff ff b8 ... ......-.....
09:24:39.152 R 15 bd ..
BMP5 Example Packet – XTD Clock Check/Set Command and Response
09:24:40.105 T bd a0 01 6f fe 10 01 0f fe 03 2e 00 00 00 00 d2 ...o............
09:24:40.105 T 5e bd ^.
09:24:40.137 R bd af fe 10 01 1f fe 00 01 83
2e 00 27 5b 2a 99 ............'[*.
09:24:40.152 R 58 c0 00 d1 77 bd X...w.
7.2.4.1 Link State
The 1
st
hex digit after the last leading “BD” of a packet indicates the link state.
Possible link states are:
1
st
Hex Digit Link State
8 offline
9ring
a ready
b finished
cpause
The transmitted (T) BMP5 Example Packet above has the link state of “a”
meaning that PakBus device “ffe” (LoggerNet server) is ready to talk to PakBus
device 001 (a datalogger). The packet is addressed to device 001 from device
ffe.
Comentarios a estos manuales