Example Modbus TCP/RTU FC3/FC4 request

Modbus TCP or RTU:
Function code:
IP:
Port:
UnitID (SlaveID):
Address: (NB: does your modbus server documentation uses `0` based addressing or `1` based?)
Quantity:
Endianess:

Debug info

Using: Modbus TCP function code: 3, ip: 10.2.252.180, port: 502, address: 256, quantity: 12, endianess: 5
Modbus TCP Packet to be sent (in hex): a0290000000600030100000c
An exception occurred
stream_select interrupted by an incoming signal
#0 /var/www/html/src/Network/BinaryStreamConnection.php(67): ModbusTcpClient\Network\BinaryStreamConnection->receiveFrom()
#1 /var/www/html/src/Network/BinaryStreamConnection.php(90): ModbusTcpClient\Network\BinaryStreamConnection->receive()
#2 /var/www/html/examples/index.php(97): ModbusTcpClient\Network\BinaryStreamConnection->sendAndReceive()
#3 {main}

Result

WORD
address
Word Double word (from this address) Quad word
high byte
Hex / Dec / Ascii
low byte
Hex / Dec / Ascii
high bits low bits int16 UInt16 int32 UInt32 float double int64 UInt64
Time 1004.1120605469 ms
Page generated: 2025-12-14T11:55:33+00:00