Friday, May 8, 2015

How to configure RSLogix 5000 Family Devices and InTouch Machine Edition to share a simple integrated tag database

This blog posts will walk you through the steps on configuring InTouch Machine Edition to integrate with RSLogix 5000 to have a single tag database for ControlLogix or  CompactLogix PLCs.
What is InTouch Machine Edition?
Wonderware InTouch Machine Edition is designed to run on Windows Embedded operating environments and is the perfect replacement for "Panel Views" and other proprietary panels.
Benefits for such an intergration:
  • Easy and simple integration with Rockwell ControlLogix and CompactLogix PLCs.
  • Create an integrated tag database and communicate with the PLCs.
Step 1: Export a symbol file from your RSLogix 5000 PLC program
Export a symbol file from your RSLogix 5000 PLC program in order to be able to add the PLC as a tag integration source in InTouch Machine Edition applications.
The symbol file is exported from the RSLogix 5000 development software. It contains information about all of the tags used in your PLC program, and the information can be imported into your InTouch Machine Edition project.
Note: Tag integration supports up to RSLogix 5000 V20, including Add-On Instructions (AOI).
To export the file:
  1. Run the RSLogix 5000 PLC programming software, and then open your PLC program.
  2. On the File menu, click Save As. A Save As dialog box is displayed.
  3. Use the file browser to locate where you want to save the file. In most cases, you should save it in the Config sub-folder of your InTouch Machine Edition project folder at: […]\Documents\ InTouch Machine Edition v7.1 Projects\projectname\Config\
  4. In the File name box, type a name for the file.
  5. In the Save as type list, click RSLogix 5000 Import/Export File (*.L5K).
  6. Click Save.
The file is saved at the specified location.
Step 2: Import/share the RSLogix 5000 (*.L5K) with Intouch Machine Edition:
To add an RSLogix 5000 PLC as a tag integration source:

  1. On the Project tab of the ribbon, in the Settings group, click Communication. The Project Settings dialog is displayed, with the Communication tab selected.
  2. In the Tag Integration area, click Add. The Tag Integration Source dialog box is displayed. 
  3. In the Type list, click Integrated.
  4. In the Provider list, click RSLogix 5000 Family.
  5. In the Name box, type an appropriate name for this tag integration source. Note that the name will be used as a prefix on names of the integrated tags.
  6. Click Add. The RSLogix Tag Integration dialog box is displayed.
  7. If you want to communicate directly with the PLC using the RSLogix communication driver, then do the following:
a)     In the Connection Type list, click Driver.
b)    In the PLC IP Address box, type the address of the PLC.
c)     In the CPU Slot Number box, type the number of the PLC slot in which the CPU module is installed. The default is slot 0. 
  1. If you want to communicate with the PLC through an OPC server, then do the following:
a)     In the Connection Type list, click OPC.
b)    In the OPC Server list, select the type of server. At this time, only two OPC servers support RSLogix 5000 PLCs: Software Toolbox and Rockwell Automation's own RSLinx.
c)     In the CPU Slot Number box, type the number of the PLC slot in which the CPU module is installed. The default is slot 0.
d)    In the Remote Server box, type the address of the OPC server.
  1. Select the symbol file that you exported from your PLC program.
a)     Click Browse. A standard Open dialog box is displayed.
b)    Locate and select the symbol file (*.L5K). In most cases, the file should be saved in the Config sub-folder of your ITME project folder at: […]\Documents\InTouch Machine Edition v7.1 Projects\projectname\Config\
c)     Click Open.
For more information, see InTouch Machine Edition help file: Export symbol file for RSLogix 5000 Family.
Note: Tag integration supports up to RSLogix 5000 V20, including Add-On Instructions (AOI).
The selected file is displayed in the L5K File box.
  1. Click OK to finish the configuration and add the source.
If the source is added successfully, then the RSLogix 5000 PLC tags will be immediately available in the Object Finder.

Related posts: