4-8
COMMUNICATION PROTOCOLS
CHAPTER 4
DC-24 and DC-25 operation manual
4.4.
TCP/IP, UDP/IP PROTOCOL
The display only accepts frames ending with a block ending it can see. (End of clock = Carry
return = 0Dh)
Local Port = 10001.
4.4.1.
UDP protocol
To use the UDP protocol, the communication port must be programmed with the default
configuration
To use UDP/IP, the Local Port must be 10001
UDP Datagram Mode
Datagram Type must be 01.
Active Connection
Remote Host: IP address of the PC to which the display is connected.
Remote Port: Port of the PC to which the display is connected.
4.4.2.
Read values from the display
To read the current temperature and humidity the following frame must be sent:
Code
End of Block
Characters
P T
Carry return
Decimal
80d 84d
13d
Hexadecimal
50h 54h
0Dh
Response from the display
The response frame from the display is the following:
Code
Temperature
Space
Humidity
End of block
Characters
P T
TT.T
HH
Carry return
Decimal
80d 84d
32d
13d
Hexadecimal
50h 54h
20h
0Dh
Response block in protocols TCP/IP and UDP/IP. Example.
Frame returned by the display with values 24.7ºC and 63%
In protocol ModBus/TCP the characters PT are not returned
Code
Temperature
Space
Humidity
End of Block
Characters
P T
24,7
63
Carry return
Decimal
80d 84d
50d 52d 44d 55d
32d
54d 51d
13d
Hexadecimal
50h 5h4
32h 34h 2Ch 37h
20h
36h 33h
0Dh
Содержание DC-24S
Страница 1: ...1600K23B TETRALEC E I S L USER MANUAL DC 24 and DC 25 Thermometer and hygrometer...
Страница 2: ......
Страница 10: ......
Страница 14: ......
Страница 20: ......