KMPS-1-64 Manual
12/18
KM 8000 Rev. A
Page 12 of 40
Copyright © 2018 Kulite Semiconductor Products, Inc.
All Rights Reserved.
unicast to the sender IP UDP packet on port 65002. This can be used to find the scanner
when the configuration is unknown.
3.2.1 UDP vs TCP
Both UDP and TCP can be useful protocols for communicating with the KMPS. TCP allows
for direct connection to each KMPS individually allowing for error checking as well as data
arriving in the order received with no extra delay. Because each KMPS on a network will have
its own unique IP address for TCP connections the address portion of the command is not
useful and all KMPS can be set to the same 00 address or the address can be left off. TCP
is the most straight forward and common type of connection and can be used in most
applications where the extra functionality of UDP connections is not needed.
UDP broadcast datagrams are useful in instances where many scanners are being used
simultaneously. In this case a single broadcast message can be sent to all the scanners
simultaneously. If address FF or the address is left off then all of the scanners will respond
no matter what their actual address is. The data received from all of the scanners can then
be separated using the time and address stamps or IP address. At the same time each
individual scanner can be polled separately using their unique addresses. Also because the
UDP datagram is much less complex than a TCP datagram there is much less overhead for
the network to handle.
Another method to separate individual scanners on a UDP network would be to make them
all respond to different ports. In this way a single message could be sent to all units on the
network but each one would respond to a separate part of a program listening on different
ports.
The UDP format also allows a user to issue the Announce command on the network. Each
unit will respond to this command with vital information allowing it to be identified. In this way
a quick scan of the network can reveal all of the available pressure channels.
To stream data via TCP the IP Stream must be set to 0.0.0.0 and the Port Stream must be
set to 0. Otherwise the streamed data will be sent via UDP. A useful configuration for many
users will be to set the scanners on a network up via TCP and receive streaming data back
via UDP on a separate port. This will create less network traffic.
3.2.2 Command List
Below is a list of Ethernet only commands. Italicized parts are required for setting but not for
reading.
ANnounce
Returns the part number, serial number, IP address, subnet mask,
default gateway, and MAC address of the transducer
BRoadcast
REsponse
ON/Off
Sets or returns command response broadcasting ON or OFf
Set in programming mode only.
BRoadcast
STream ON/Off
Sets or returns streaming broadcasting ON or OFf
Set in programming mode only.
Summary of Contents for KMPS-1-64 Series
Page 1: ......