modbus TCP/IP ADU send problem [message #1734920] |
Mon, 13 June 2016 14:03  |
Eclipse User |
|
|
|
Hi,
I am having trouble communicating with a TCP/IP modbus device using modbusProtocolDevice.
It seems that the ..protocol.modbus package does not implement the required MBAP header for TCP/IP communication. See: Modbus_Messaging_Implementation_Guide_V1_0b.pdf page 5 at modbus.org
According to modbus.org, the MBAP header is required for TCP/IP communication, when sending a PDU. The MBAP header contains transmission ID, protocol identifier, length information and a unit identifier.
Without the header the slave device rejects the transmission when checking the header content. Other modbus master testers work with no problem as they send the MBAP not just the PDU.
Please let me know if anybody else has tried to used successfully the modbus TCP/IP (modbusProtocolDevice) provided as part of Kura with a standard device.
BR. Peter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 3.67540 seconds