Jacob Casillas Posted July 9, 2019 Report Share Posted July 9, 2019 I am new with Unitronics and I need a little help with the Ping function. Basically, I want to Ping the PC just to know that it is running, but for some reason can't make it work from the PLC Using the PC I can ping the PLC with no issues, and in the PLC I have set the PLC Name, Card Init and socket Init, then I have in another rung I have the Ping instruction but seems that is not working. Am I missing something? My PLC IP is 192.168.0.230 and PC is 192.168.0.100. Please advice. Thanks Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted July 10, 2019 MVP 2022 Report Share Posted July 10, 2019 There's an example for Ping in the Help. The socket you use must be set to ICMP- If this doesn't work post your program. Joe T. Quote Link to comment Share on other sites More sharing options...
Jacob Casillas Posted July 10, 2019 Author Report Share Posted July 10, 2019 Help says Protocol should be TCP With your example it is working! Thanks a lot Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted July 10, 2019 MVP 2022 Report Share Posted July 10, 2019 6 hours ago, Jacob Casillas said: Help says Protocol should be TCP It does? Perhaps you missed this one.... cheers, Aus Quote Link to comment Share on other sites More sharing options...
Jacob Casillas Posted July 11, 2019 Author Report Share Posted July 11, 2019 Nope, I saw all that. But, I got confused about this note at the end. Again, it was my mistake. Now it is good. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.