View Studio - Using RSLinx Classic and RSEmulate

2018_TAS_690x99_PVP_D

In today's article I review how to use RSLinx Classic Lite and RSEmulate 500 with FactoryTalk View Studio.

Not many users know that FactoryTalk View Machine Edition projects can be tested using the free versions of RSLinx Classic and RSEmulate 500 (for instructions on how to download both, check out my previous article here)

The only requirement is you must have a licensed copy of FactoryTalk View Studio OR a licensed copy of RSLinx Classic.

If both packages are demo versions, then the below procedure will likely fail as OPC will not be enabled.

Step 1) With RSLinx open and connected to your emulated PLC, select “Topic Configuration” from the “DDE/OPC Menu”:

Step 2) Next, select your emulated PLC from the RSWho window:

Step 3) Now click on “New”:

Step 4) And enter in a name for your new “Topic.” In this example I entered in a name of “EMU1100”:

Step 5) Then click on “Apply”:

Step 6) And select “Yes” to update your Topic:

Step 7) Now that we're done setting up our new “Topic,” we can close the configuration window by clicking on “Done”:


NOTE: You can purchase “ad free” copies of our articles, videos, and sample code for $1 each here. Or become a “Patron” for as little as $1 a month and receive at least $3 worth of articles/videos/sample code free each month! Find out more here.

Step 8) Moving over to FactoryTalk View Studio, right click on your application in the Project Explorer and select “OPC Data Server” from the “Add New Server” menu:

Step 9) In the properties window, give your OPC Server a name. In the below example “RSLinx Classic” was used:

Step 10) Then under “OPC Server Name” select “Browse”:

Step 11) Now select “RSLinx OPC Server” from the list, and click on “OK”:

Step 12) Then select “Apply” and “Close”:

Step 13) Now to see the tags available in your emulated PLC, you may need to right click in the Tag Browser and “Refresh All Folders” as shown below:

NOTE: One setting that could cause your tags not to appear would be if RSLinx Enterprise had “Shortcuts” with the same names as RSLinx Classic “Topics.” For example, if we had an RSLinx Enterprise “Shortcut” named “EMU1100,” we may not be able to browse for tags from our RSLinx Classic “Topic” of the same name.

Step 14) Once the folders refresh, you should see the available PLC addresses in your emulated PLC:

NOTE: Using RSLinx Classic and RSEmulate to test your graphics and animations can be very helpful.  However, while this works on a PC, it will not work on the PanelView Plus as has neither RSLinx Classic or RSEmulate onboard.


If you'd like to watch a video demonstration of the above, check out Episode 4 of The Automation Minute Season 4 below:


Have a question or comment? Please feel free to ask me here.

Sincerely,

Shawn Tierney
Automation Instructor and Blogger
If you enjoyed my article, you may like my courses at TheAutomationSchool.com


Click HERE to scroll down to view or leave comments

2018_TAS_690x99_PVP_D

Comments:
  1. That works well. It proves to be very helpful for documentation, training and presentations. Even testing code on an airplane is possible.
    Although the Emulate 500 does not accept 1400 programs, a quick conversion to a SLC 5/05 works. Some features have to be eliminated or changed such as ONS to OSR. Find/Replace takes care of this quickly.
    When using FT Studio, I use the tag database with HMI tags pointing to the PLC tags. They serve as relays. I prefer this instead of directly accessing the PLC tags from the graphic screens. This helps when changing to other OPC servers or between RSLogix 500 and 5000 programs. By exporting the tag database, editing the text file and importing the database back in, the transition takes only a minute. For example, you can replace all "" with "".
    Cheers!
    Great stuff Dadadadeo,
    I'm actually cover that (HMI tag export / edit / import) this week in my VieSE course - very useful feature!
    Have a great weekend,
    Shawn Tierney,
    TheAutomationSchool.com

Comments are closed.