![Matrix Vision mvBlueGEMINI Technical Manual Download Page 24](http://html1.mh-extra.com/html/matrix-vision/mvbluegemini/mvbluegemini_technical-manual_1741404024.webp)
mvBlueGEMINI Technical Manual (EN) v
1.2.2
APPENDIX
-
CONTROL
COMMANDS
23
10
Appendix
10.1
Control commands
10.1.1
Communication via UDP
It is possible to control the smart camera using so-called UDP sockets via the Ethernet interface.
For this, the port 36701 is used.
NOTE
To communicate via UDP, you have to set the
Mode
in the camera's system menu ("
System
settings -> communication
") to "
UDP
".
The smart camera expects a
Connect
message to create a connection. Afterwards, the smart
camera will start to send result data. A
Disconnect
message closes the connection and the sender
of the
Disconnect
message has to close the socket.
The smart camera supports one active UDP connection. If a UDP connection exists, it will be
closed as soon as another
Connect
message is recieved. The camera ignores invalid messages.
10.1.1.1
Message structure
A message consists of unsigned 32 bit values and byte strings. They are transmitted in Little
Endian format and the lowest value byte is sent first.
There are three different message categories:
1.
Messages from the smart camera
a. Result container
2.
Messages to the smart camera without answer
a. Disconnect
b. Set input data
c. Trigger inspection
d. Start inspection
e. Stop inspection
f. Restart camera
g. Set inspection number
h. Set date and time
3.
Messages to the smart camera with an answer after an action