In today's article we'll cover how to use the new Micro800 Simulator that comes with CCW 12, including how to work around a few common issues you may run into:
First, what is the Micro800 Sim?
Below is the official description of the Micro800 Simulator from the CCW release notes :
Step 1) To get started, first open up CCW v12:
Step 2) Next, open a CCW project you'd like to download to the Micro800 Simulated PLC:
Step 3) Once your existing application is open, I suggest you save it with a new name prior to making the changes needed to use it with the Micro800 Sim:
Step 4) In your newly re-named and re-saved project, right click on the Micro in the project tree and select “Change Controller”:
Step 5) Then select the new “2080-LC50-48QWB-SIM” as the controller to change it to:
Step 6) Once the conversion is done, you'll hopefully see a success message at the bottom of CCW:
Step 7) At this point, it's important to “build” your project and fix any issues that crop up.
In my case, since I'm using the program from my Nano Basics course which uses both the 2080-IF4U and 2080-SERIALISOL modules (for use with Modbus and VFDs), I had to resolve errors related to both of those modules:
NOTE: The below excerpt from the CCW release notes shows the many differences between a physical Micro850 and the Simulated one, including the Sim's lack of support for Modbus, third party I/O modules, and communication modules:
Step 8) Once you're program builds without errors you're ready to launch the Micro800 Simulator located under the “Tools” menu:
Step 9) When it launches, it should look like this:
Step 10) If you're program uses any of the supported Digital or Analog modules, now is the time to add them to your simulated Micro by right clicking on the appropriate slot and selecting the module from the list:
* Below you can see I've added the 2080-IF2 to my system as it's also used in my Nano Basics course:
Step 11) With the simulated hardware configured, it's time to turn on the Micro800 Sim. When you do, you may get the following “Windows Defender” popup in which you want to “Allow” access:
Step 12) With the Micro800 Sim running, your next step is to set the path in your CCW project. To do so, click on “Connection Path,” then “Browse, and then select your simulated Micro850 from the Connection Browser (aka RSWho):
NOTE: You'll need to have a version of “Linx” selected and configured for Ethernet/IP. In this example I'm using the default RSLinx Classic with the Ethernet/IP driver I show how to setup in this article.
If your Micro800 Sim does not show up, check out the below information from the CCW Release Notes:
Step 13) With your connect path set, you can now proceed to download your program to the Micro800 Sim:
Step 14) At which point you'll be prompted to select “Download” or “Download with Project Values”:
Step 15) Once the download is complete, you'll see this prompt:
Step 16) And if you're using the free version of CCW, you'll also find that after 10 minutes in Run, the simulator will switch back to program:
NOTE: If you forget to add your I/O modules to your Micro800 Sim prior to downloading, you'll see an error message like shown below:
Step 17) Once downloaded, you can put your Sim into run mode and click on the Input Terminals to turn the Inputs on and off (below, CCW is shown online behind the Micro800 Sim):
Step 18) One final note: As the Micro800 Sim is a simulator, you will find some subtle differences in how it operates, which is detailed in the CCW release notes:
I hope you found today's article on how to use the Micro800 Sim helpful!
And if you're enrolled in my Nano Basics course, note than I am planning on adding additional lessons (including how to use the Micro800 Sim) completely free of charge 😉
If you have any comments or questions on this article, please don't hesitate to post it using the “comment” link found below my signature.
Click HERE to scroll down to view or leave comments