MODBUS TCP help

Guest #5539170
Rate this post
• ▲ useful
▼ not useful
hello dear forum,

I am trying to MODBUS TCP comunicate STM32 with Mach3

I have read the TCP documents in internet and learned
that first of all Mach3 send a TCP SYN message to the STM32

this time I send a SYN-ACK message to Mach3

after this Mach3 must send a ACK message to STM32

as you can see in the attached picture

the SYN from Mach3 and SYN-ACK from STM32 is there
(192.168.1.2) PC (192.168.1.110) STM32

however ACK from Mach3 is missing and Mach3 reports "conection timeout"

there is a warning from Wireshark yellow coloured

what does this warning say ? what shall I do next ?

thank you
Attached files:
Guest #5549665
Rate this post
• ▲ useful
▼ not useful
hello dear forum,

I finally managed to respond to Mach3 MODBUS TCP SYN message

I have sent a correct SYN ACK message back to Mach3

but this time Mach3 responds with RST message - see picture

what shall I send back to Mach3 in order to finish connection process

thank you
Attached files:

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.