Allen Bradley 5069-L32 port 4 issue.

44 views
Skip to first unread message

dwayne walls

unread,
Nov 21, 2025, 3:23:07 PMNov 21
to libplctag
I needed to use port 4 in the path string which comes out to be 20 in decimal like port 2 = 18 and port 3 = 19. The issue is the match_dhp_addr_segment in cip.c line 431 where the switch case finds 2 and then expects a : next.

Screenshot 2025-11-21 102848.pngScreenshot 2025-11-21 102945.png

Kyle

unread,
Nov 21, 2025, 3:24:34 PMNov 21
to libplctag
What is the tag attribute string you are trying to use?   Are you intentionally trying to bridge across DH+?

Best,
Kyle

dwayne walls

unread,
Dec 1, 2025, 8:14:33 PMDec 1
to libplctag
Gateway = ""10.176.13.39"
path =  "20,192.168.0.107,1,0"
The 5069-L320ER plc is in dual ip mode with A1 IP: 10.176.13.39 and A2 IP: 192.168.0.200.
The wireshark capture is when I was online with PLC at 192.168.0.107.
I commented out "case '2': *port = 1; break;" in cip.c and rebuilt project and was able to talk to 192.168.0.107. Before then, I was getting bad gateway error.

Kyle

unread,
Dec 1, 2025, 8:19:33 PMDec 1
to libplctag
Sorry for the delay.  I will look into this and see how to support this in the code so that it is easier to do this.

Best,
Kyle

Kyle

unread,
Dec 1, 2025, 8:21:51 PMDec 1
to libplctag
I have opened issue #600 to track this.
Reply all
Reply to author
Forward
0 new messages