AC500 PM583 UDP transmit no longer working on new part
Greetings.
We have a system utilizing a PM583-ETH plugged into a TB511-ETH-XC base. Everything works good, and our code can send and receive UDP packets via the ethernet port.
Now, we tried to create a 2nd copy of the system with the exact same parts, and used the exact same Automation Builder project to program the same code. The new device cannot send UDP packets (though it can still receive them). I have the PM583 programmed with the same IP addresses, and testing with the same exact laptop as before. I looked in wireshark and it confirms: no UDP messages are transmitted by the PM583. Other than that, the code appears to be working perfectly fine, and I can use the same laptop/ethernet cable to log into the PLC in Automation Builder and Codesys.
Is there something else I need to do to enable the UDP transmit packets?
I have attached some ST code related to the how I'm calling the UDP function blocks. I'm seeing the "DONE_SEND" flag, and I'm not getting any "ERR_SEND" flags. In automation builder, everything is still setup identically to the previous (working) system. I have Ethernet -> Protocols : UDP_no_AC31_header , ETH1 checkbox is checked.
Ethernet -> Protocols -> UDP_no_AC31_header : Assigned interface, value == 1.
Ethernet -> Protocols -> UDP_no_AC31_header -> Connection: Port == 4011, Size of Receive Buffer = 4096, Size of transmit buffer = 4096, Receive broadcast = Disable, Behavior on receive buffer overflow = Overwrite
We have a system utilizing a PM583-ETH plugged into a TB511-ETH-XC base. Everything works good, and our code can send and receive UDP packets via the ethernet port.
Now, we tried to create a 2nd copy of the system with the exact same parts, and used the exact same Automation Builder project to program the same code. The new device cannot send UDP packets (though it can still receive them). I have the PM583 programmed with the same IP addresses, and testing with the same exact laptop as before. I looked in wireshark and it confirms: no UDP messages are transmitted by the PM583. Other than that, the code appears to be working perfectly fine, and I can use the same laptop/ethernet cable to log into the PLC in Automation Builder and Codesys.
Is there something else I need to do to enable the UDP transmit packets?
I have attached some ST code related to the how I'm calling the UDP function blocks. I'm seeing the "DONE_SEND" flag, and I'm not getting any "ERR_SEND" flags. In automation builder, everything is still setup identically to the previous (working) system. I have Ethernet -> Protocols : UDP_no_AC31_header , ETH1 checkbox is checked.
Ethernet -> Protocols -> UDP_no_AC31_header : Assigned interface, value == 1.
Ethernet -> Protocols -> UDP_no_AC31_header -> Connection: Port == 4011, Size of Receive Buffer = 4096, Size of transmit buffer = 4096, Receive broadcast = Disable, Behavior on receive buffer overflow = Overwrite
Answers
This question has not yet been answered.
by rossp0123 Rank: 1744 on 4/8/2019 12:59:35 PM | Like (0) | Report
I had a mistake in the above post. The Connection: Port == 5011, not 4011.
by rossp0123 Rank: 1744 on 4/8/2019 1:01:34 PM | Like (0) | Report
To be clear, the 4011 mistake was only a typo in writing this post. The value was always 5011, which should work.
Add new comment