PLCs of all shapes and sizes now come with Ethernet communications built-in.
And one of the easiest ways to insure you have network connectivity between your PC and PLC (or other device) is to “Ping” it.
In today's article I'll walk you through the simple steps needed to quickly “Ping” your PLC to see if you do indeed have network connectivity to it.
Preface: The “Ping” command is used to test the reach-ability from one device to another on an Ethernet network using Internet Protocol, and is derived from the Naval term.
For more details about the “Ping” command check out Wikipedia here.
Step 1) The first step is to open a “Command Prompt,” which is found in the Windows Start Menu under Accessories:
Step 2) You can also open a “Command Prompt” by clicking on “Start,” then entering “cmd” and pressing Enter as shown below:
Step 3) Once the command prompt opens, type in the word “ping” followed by a space, and then the Ethernet IP address of your PLC. In the below example I plan on pinging my Micro820 with an IP address of 192.168.1.120:
Step 4) If you have connectivity from your PC to your PLC, you should see a reply from your ping as shown below:
Step 5) After the ping is finished, your screen should look similar to the one below:
Step 6) If you don't have connectivity to your PLC, you may see a “Request timed out,” “Destination host unreachable,” or similar message as shown below:
Step 7) If you're not able to ping your PLC then you very likely won't be able to program it over Ethernet.
Some reasons you may not be able to connect to and ping your PLC include:
- Loose or bad Ethernet cables, or lack of continuity between the two devices (i.e. the two networks never physically or wirelessly connect to each other)
- Your PC and PLC are assigned to different subnets with no router bridging the two subnets
- Your PC and PLC are assigned to bridged subnets, but your PC or PLC has a missing or incorrect “default gateway” setting
Question) Did you Find this article helpful? If so, please share it with co-workers and colleagues! You can also keep our site online with regular updates with a $1 monthly pledge at Patreon.com/Automation
And to learn everything you need to know to setup and start programming the Micro800 line of programmable controllers, check out my Micro800 course at Nano Basics Course
Below you can watch a video of the above procedure:
I hope you found this article helpful. If you have any questions please feel free to post them at Forums.TheAutomationBlog.com which I visit each weekday to reply to reader's questions.
Enjoy the benefits of membership! Patreon.com/automation
Check out my affordable courses: TheAutomationSchool.com
Ask me questions by clicking here to go to the comments link
Have an industrial automation news tip? Share it with us here
- Insider News for May and June (Patron Only) - June 3, 2020
- Get A TIA Portal License For $35! (Limited Time Offer) - May 20, 2020
- How To Find Your Local Siemens Automation Distributor - May 20, 2020
Click HERE to scroll down to view or leave comments
- Good morning ,
I've never run into that error myself, but Rockwell does have a tech not on it (and you can contact them directly for free Micr0800 support)
Instructor at TheAutomationSchool.comThank you! The error occurred when moving the project from the root directory to another location. Error fixed.Thanks for letting us know !