MVP 2023 Joe Tauser Posted May 20, 2013 MVP 2023 Report Posted May 20, 2013 This post is not a question but rather a tale of pride and stupidity on my part. I hope to help someone in the future to not make the same mistakes I did. I recently tried to modify the Advanced Webserver to add Modbus IP communications. I decided to re-assign the sockets to my liking. I assigned Socket 0 to the webserver, Socket 1 back to PCOM, and Socket 3 to Modbus IP. After downloading the program serially I found the Webserver didn't work anymore and the PLC either rebooted or stopped completely with ladder error code 38 when i tried to go online via Ethernet. Oh, by the way, I also re-assigned the protocol for port 80 to HTTP when I made the new Socket init block. Talk about maddening. After several hours of trying every combination I sent the application to support and got Ryan's help. Final Conclusion: The Webserver app absolutely positively requires Socket 1 be initialized to protocol TCP_RAW, port 80. This exact configuration is required by the locked subroutines. To get online I initialized Socket 0 to TCP, port 20256, slave. I set Socket 3 to TCP, port 20257, Master for my Modbus IP communications. Everything works as it should now. Joe T. 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now