BioMax2 / KBio2-Online
Installation and Programming Manual
Page
49 of 91
‘
&b
’:
Binary format Extra-Drive indicator via UDP.
[Length]
: 2 bytes in binary format. The maximum supported length is
912 .
[Data]
: String
of
[Length]
bytes. This contains the information
directly expressed in binary format.
The KSP protocol is quite complex and it is therefore advisable to use the controller
supplied by Kimaldi,
. The programming interface of this controller is low-
level and it must be sent a chain made up by the OpCode and the instruction arguments,
[<OPC><ARG>]
, as detailed in the following sections.
9.4. KSP TCP frame format
If the
BioMax2 / KBio2-Online
electronics 6600 IP port is used, the frames should be in
the following format:
<AppID><NodeID><KSP_Opc><Len><Lbl><OPC><ARG>
That is, the frame is identical to KSP-UDP, but this time in ASCII-Hex format.
Therefore,
<AppID>
has a length of two bytes and so on. Given the complexity of the
KSP protocol and the TCP-Server functionality, it is recommended to use the
controller provided by Kimaldi, or its .NET equivalent.
9.5. Common Instructions for Online Management
We will first present the instructions that work with any electronics equipped with the
Bio-OCX protocol: BioMax,
BioMax2 / KBio2-Online
electronics, KBio, Serie-xR Card.
9.5.1. Communications Test
Instruction
OP
0x00
NA
0x0000
ARG
None.
Response
OP
0x00
NA
0x0000
ARG
None.