
12
Transfer protocols
84
6062-en_V2.4_02/21
12
Transfer protocols
12.1
Transfer protocol UDP ASCII
UDP (User Datagram Protocol) is a transfer protocol used in IP-based
computer networks. The transmission consists of data packet that a sender
(the measuring device) transmits to a specified IP address at certain
intervals. The transmission interval can be changed.
There is no check to confirm that the data packets arrive at the target
computer. The sender cannot accept and control commands.
Structure of a data packet
Each data packet consists of the following elements:
• Serial number of device
• Beginning character “<”
• Command “sendVal”
• Number and measured value for each data channel, separated by a
semicolon
• Ending character “>”
• “Checksum”
(calculated applying XOR sum, byte by byte over the entire string)
SN<sendVal 0=X
0
;1=X
!
; . . . 204=X
204
>Checksum
2
4
1
3
UDP ASCII – arrangement of data elements in a data packet
1 Serial number
2 Number of data channel 1
3 Measured value of data
channel 1
4 Checksum