Setup and configuration guides

Connect OPC server and OPC tags in RS Production

This instruction is to connect OPC signals. If you have counter or status signals, they also need to be created.

Connect OPC Server

  1. Go to Section menu “Hardware”

  2. Go to OPC server

  3. Click on Create

    image-20221007-063947.png

     

  4. Enter the server name.

    image-20221003-125716.png

    This field must be the exact name of the OPC-Server instance and this is used by the client to connect to the correct OPC-Server (When using OPC-UA the name is not important and is not used to find the OPC-Server)

    image-20221003-125349.png
  5. Enter server adress. Example: “opc.tcp://127.0.0.1:48100” or a local host if RS Production server is running on the same server as the OPC server.

    image-20221007-063622.png


  6. Click on Connect icon for OPCservertype

    image-20221003-125923.png

     

  7. Choose OPC UA

    image-20221003-130154.png
  8. Click Save and close

  9. Click on connect icon for RunByUser - the support team should have created a user: Example OPC user

    image-20221003-125950.png
  10. Select the “OPC user”

    image-20221007-064236.png


  11. Click “Save and close”

  12. After this it should look like this:
    (Last reading should be the current time and date. If not, Contact Support

    image-20221007-063827.png
  13. Now you have connected the OPC server.

Create and Connect OPC tags

All types of OPC tags are configurated in the same way. In this example we will set up an OPC counter.

  1. Go to Section menu “Hardware”

  2. Go to OPC server

  3. Go to OPC Counter input

    image-20221007-064509.png
  4. Click on Create

    image-20221007-064627.png
  5. A pop up window will appear.

  6. Enter a name for the OPC tag. Standard is to name it after the measure point and function of the tag.
    Example: Measurepoint1_partcounter

    image-20221003-131907.png
  7. Click on Connect icon OPC Server

    image-20221003-131952.png
  8. Select server where the tag is read from

    image-20221007-064726.png
  9. Click Save and close.

  10. Enter OPC Address.
    Template of OPC address:

    image-20221004-145228.png


    Example OPC adress provided by customer nsu=KEPServerEX;s=RGFL_CASEPACKER_HAL2.RGFL_NORREG_L13.OEE_BOX_DONE

    image-20221003-132338.png
  11. Click to connect InputMode.

    image-20221003-133212.png
  12. A pop up window will appear

  13. Mark “Subscription”.

    image-20221003-133454.png
  14. Click Save and close

  15. Click Save and close again

    image-20221007-071217.png
  16. Now it should look like this:
    (“Lastupdated”, “lastchecked” and “laststatuschanged” should be the current time and date when setting up the configurtion. If not, Contact Support . Quality should be marked as “Good”)

    image-20221007-071321.png
  17. Now you are done with connecting the OPC tags.

 

To use the tag, you now need to create the desired signals