Back to Index Page

Genesis OPC Explorer 2.0

Genesis OPC Explorer: Configuration of OFS Server over Ethernet TCP/IP



About Genesis OPC Explorer 2.0

Language: Visual C++
Version: 2.0
Size: 5.711 Kb
Installation File: 4606 Kb

The copyrights for Genesis OPC Explorer 2.0 belong to TGMDev. You are allowed to copy and distribute this software provided that it remains unaltered (No software Addition) and free (except a small fee for the software distribution)

Genesis OPC Explorer 2.0 is a freeware but you can contribute to its development by supporting TGMDev.




Visitors Counter

4523 visitors since July 2013

Credits

Thumbnail Viewer and Expander
Version 4.1.12
http://highslide.com/
  Bookmark and Share

Configuration of OFS Server over Ethernet TCP/IP

The prerequisites are:
  1. Availability of a Schneider Electric PLC (TXS 57P202 in this example)
  2. Live UNITELWAY Connection to Configure the Ethernet Connection of the Schneider PLC
  3. Live TCP/IP Ethernet Connection between the Computer running OFS and the Schneider PLC
  4. Availablity of the Programming Software (PL7 Pro V 4.5 in this example)
  5. OPC Factory Server Installed
  6. Genesis OPC Explorer 2.0 Installed
The overall configuration requires the following steps:
  1. Programmation of the PLC Application
  2. Export of Application Tags
  3. Configuration of Ethernet TCP/IP of the Schneider PLC
  4. Configuration of the XWAY Driver
  5. Configuration of OFS using OFS Configuration Tool
  6. Configuration of Genesis OPC Explorer 2.0
1. Programmation of the PLC Application

There is no specific rules for programming a PLC in sight of a connection to an OPC Server. However, it's much easier to configure tag names in the PLC application, so that configuration of Genesis OPC Explorer 2.0 is straighforward. Furthermore, some OPC Server does not allow the use of memory adresses.
So, for now, It will be take for granted that the data to be read by Genesis OPC Explorer 2.0 will be identified by a unique tag.

For this configuration, the program will be run on a PLC TSX57202 programmed with PL7Pro V 4.5. The application simply increments a counter (up to 2048) and generates random numbers. The data are stored in WORD memories using the following tag names: Counter, Rand1, Rand2 and Rand3. The random data are also limited to 2048 (to get nicer trends ...)

    Edit OPC Item
    PLC Program (Quick and Dirty)


Note: Most of the pictures on this page can be enlarged by clicking the mouse inside the picture ...

2. Export of Application

To make things really easy to configure, OFS requires the generation of a FEF file. This file is simply a Text Export of the PLC application. By the way, this is one point where PL7Pro shines as the FEF files allow the automation of PLC programming in a quite amazing way .... But this is an other story ...

To export the application,
  1.     Open the PLC7Pro application
  2.     Select the menu 'Files | Export'
  3.     Type in the name of the Export File (in this example, OFSCheck.fef)
  4.     Click on the 'Save' button
3. Configuration of Ethernet TCP/IP of the Schneider PLC

In this example, the Ethernet connection will be supported by the card ETY-110. Quite an old card but a real cart-horse as it works during years without almost no problem at all....

Configure the Ethernet Card
  1.     Open the PLC7Pro application
  2.     Select the Hardware Configuration

    Open the Hardware Configuration

  3.     Double-Click on the Communication Card ETY-100
  4.     Enter the TCI/IP adress and the Network Mask

    Enter the TCP/IP Configuration

    Note that the Ethernet 802.3 is selected. In some network, Ethernet II is required but this was rarely the case (in my experience at least)
  5.     Exit the Configuration Window with the System Button (the Red Cross on the Top Right)

    Confirm the Configuration

  6.     Confirm the Configuration Entered
  7.     Exit the Hardware Configuration Window with the System Button (the Red Cross on the Top Right)
  8.     Confirm the Global Reconfiguration
  9.     Check the Ethernet Configuration
    1.     Open an DOS Box and run the console application ipconfig.exe

      Check IP Configuration of the PC

    2.     Ping the PLC and Check the Result

      Check Ethernet Connectivity of the PLC

4. Configuration of the XWAY Driver

  1.     Start the Schneider Utility 'XWAY Driver Manager'
  2.     Select the Tab 'XIP' and Click on the Button 'Configuration'

    Start XIP Configuration

  3.     Configure the XIP Connection
    1.     Enter the XWAY address of the Local Host as Network.Host (in the example, 1.4)
    2.     Enter the Name of the Station (in the example, 'OFSCheck')
    3.     Enter the XWAY address of the PLC with the same Network address (in the example, 1.1)
    4.     Enter the TCP/IP adress og the ETY-100 Card as entered previously (in the example, 192.168.1.60)


    Configure XIP Connection

  4. Click on the Button 'Add'
  5. Click on 'Save'
  6. Select the Menu 'XIP | Reset' to Reset the XWAY Driver
  • Check the XWAY Configuration
    1.     Open the PLC7Pro application
    2.     Select the menu 'PLC | Define PLC Address'
    3.     Select the Driver 'XIP' (May be shown as XIP01, XIP02, ...)
    4.     Enter the XIP address using the Schneider Format: {Net.Host}SYS

      Define PLC XIP Address

    5.     Connect to the PLC
    5. Configuration of OFS using OFS Configuration Tool

    1. Launch the Schneider Utility called 'OFS Configuration Tool'

    2. Edit OPC Item
      Launch OFS Config Tool


    3. Click on the Button with a Green Page Icon to Create a New Alias

    4. Edit OPC Item
      Create a New Alias and Enter Alias Name


    5. Click on the Cell Driver PLC Address
    6. Configure the Alias

    7.     A. Type in the Name of the Alias ('OFS Check IP' in this example)
          B. Select the Protocol 'TCP IP'
          C. Select the PLCs Type 'Pl7' (for this example) or any that fits your needs
          D. Enter the Network and Station Addresses (as defined in XIP Driver Manager)
          E. Confirm with 'Ok'

      Edit OPC Item
      Configure the Alias


    8. Click on the Cell Symbols Table File and Select the FEF File previously Created

    9. Edit OPC Item
      Select the Symbols File


    10. Activate the Alias

    11. Select the menu 'Server | Apply' Note that the OFS Configuration Tool warns about the requirement to Restart the OFS Server to take the New Configuration in Account ....

      Activate OFS Configuration

    12. Exit the OFS Configuration Tool

    13. Select the menu 'Server | Exit'
    6. Configuration of Genesis OPC Explorer 2.0

    From this point, the configuration is a standard Genesis OPC Explorer 2.0 configuration.
    1. Start Genesis OPC Explorer 2.0
    2. Select the OPC Server

    3. Select the OPC Server 'Schneider-Aut OPC factory Server (Schneider-Aut. OFS.2)

      Schneider OPC Server Selection

      Note that, once selected, the OFS Server will be automaticallt started (if it not already done)

      Schneider OPC Factory Server

    4. Add an OPC Group as usual
    5. Add the OPC Item from the Schneider OPC Server (OFS Check IP)

    6.     A. Expand the item 'Schneider-Aut OFS.2'
          B. Select the Item 'OFS Check IP'
          C. Add the Tags 'Counter', 'Rand1', 'Rand2 and 'Rand3' to the OPC Group
          D. Confirm with the 'Ok Button

      Add OPC Items from Schneider OPC Server

    7. Verify the Overall Genesis OPC Explorer 2.0 Configuration

    8. Edit OPC Item
      Verify the Genesis Configuration


    9. Start the Data Acquisition as usual
    10. Check the Data on the Trends

    11. Edit OPC Item
      Check Data Acquisition Graphically



    7. Feedback about Genesis OPC Explorer 2.0       Back to Top

    Was this page Helpful? Share your experience for this kind of configuration with Genesis OPC Explorer 2.0 by opening new topic to the Genesis Board (powered by the phpBB Forum Software © phpBB Group)


  •  



    2000-2017 TGMDev
     
    Date of Last Modification: 22-09-2017
    Thanks for Your Visit
     Contact:Thierry.Marneffe@skynet.be