Add an OPC UA Server

Add an
OPC
UA Server
to a
FactoryTalk Linx
OPC
UA Connector to provide additional tags to
FactoryTalk
applications.
Each
FactoryTalk Linx
OPC
UA Connector supports a maximum of 20
OPC
UA Servers. For more considerations, please see
FactoryTalk Linx
OPC
UA Connector considerations
.
Prerequisites
Adding an
OPC
UA Server requires these permissions for the application or area:
  • Common > Create Children
  • Common > Write
  • Common > Read
To add an
OPC
UA Server
  1. In
    FactoryTalk Administration Console
    Explorer
    , right-click an existing connector, then select
    Properties
    .
    If a connector does not exist, then in
    Explorer
    , right-click an application or area, then select
    Add New Server >
    OPC
    UA Server (FactoryTalk Linx OPC UA Connector)
    .
  2. In
    FactoryTalk Linx
    OPC
    UA Connector
    , in the left pane, select
    OPC UA Servers
    .
  3. In
    OPC UA Servers
    , select
    Add
    , then enter the
    OPC
    UA Server properties in the right pane. The properties categories display can be expanded and contracted using the arrow next to the property category.
  4. Under
    General
    complete these items:
    • Name:
      Enter a unique name for the
      OPC
      UA Server. The server name displays in the
      FactoryTalk
      application tree and is included in the full tag path for all tags provided by the server.
    • (optional)
      Description:
      Enter a description for the
      OPC
      UA Server.
    • Endpoint URL
      :
      Enter the full network path or select browse to select the
      OPC
      UA Server. The path must be in the format
      opc.tcp://hostname_or_ip:port/Endpoint/Name
      where
      hostname_or_ip
      ,
      port
      , and
      /Endpoint/Name
      are replaced with the hostname or IP address, port number, and endpoint name of an
      OPC
      UA Server and its local discovery service. The firewall on the
      OPC
      UA Server must allow incoming connections to the selected port for the connection to succeed.
      If the
      OPC
      UA server is located on the same computer as the connector enter
      opc.tcp://localhost:port.
      If no port is specified, the
      FactoryTalk Linx
      OPC
      UA Connector will attempt to connect to port 4880.
      TIP:
      Typically an
      OPC
      UA Server identifies its Endpoint URL within the server management interface. If the server or endpoint cannot be browsed, copy this URL from the server and enter it manually.
  5. Under
    Security
    complete these items:
    For
    Security Policy
    , use either:
    • None
      - No security policy is enforced. (default)
    • Basic128RSA15
      - This algorithm has been deprecated by the OPC Foundation and is no longer considered secure. It is provided for use with older systems that require encryption but cannot update to the newer policy.
    • Basic256
      - This algorithm has been deprecated by the OPC Foundation and is no longer considered secure. It is provided for use with older systems that require encryption but cannot update to the newer policy.
    • Basic256SHA256
      - Recommended. Appropriate for environments with high security needs.
      For
      Security Mode
      , use either:
    • None
      - No security mode is enforced. (default)
    • Sign
      . Requires the communication between the connector and the server to be signed so that the sender of the data is authenticated. With this setting selected, if the signature is invalid or not present the incoming data is rejected.
    • SignAndEncrypt
      . Requires the communication between the connector and the server to be signed, so that the sender of the data is authenticated, and encrypted, so that it cannot be read by a client without the corresponding key. With this option selected, if the signature is invalid or not present or if the decryption key is not present the incoming data is rejected.
  6. Under
    Authentication Settings
    , select either:
    • Anonymous
      . To use an anonymous connection to the
      OPC
      UA Server
    • User name & Password
      . Specify the user name and password to use to log onto the
      OPC
      UA Server.
      IMPORTANT:
      Modifying the user name and password requires using
      FactoryTalk Administration Console
      on the same workstation as the
      OPC
      UA Connector (as configured in
      Connector Settings
      ).
  7. If the
    OPC
    UA Server includes array data, under
    Array Data Access
    , select either:
    • Operate on entire array at once (all elements)
      -default
      The entire array will be used each time the connector accesses data from the array.
    • Access subset of array (indexed elements)
      Use this option to access data from specific array elements. This option improves performance and is recommended for use if supported by the
      OPC
      UA Server.
  8. Write operations are performed according to the array data access option selected in the previous step.
    • If
      Operate on entire array at once (all elements)
      was selected:
      The entire array is read into memory, the elements that were modified are changed, and then the entire array is written back to the
      OPC
      UA Server. Depending on the update period of the
      OPC
      UA Server, there is a potential that the data on the
      OPC
      UA Server changed after it was read. These changes will be overwritten by the previously read data, which could lead to some data inconsistencies.
    • If
      Access subset of array (indexed elements)
      was selected:
      The array is not read into memory. The client identifies the elements in the array to which it wants to write values and the
      OPC
      UA Connector writes the values to the server. This method is more efficient because it doesn't require reading and writing of the entire array data. Using this mode is preferred because it only modifies the elements explicitly directed by the client and does not introduce the risk of data inconsistencies.
      Using this mode requires that the
      OPC
      UA Server support indexing so that values are written to the correct elements. Before using this mode in a production system, test the results to confirm that the values are updating as expected.
  9. To include events related to writing data to tag values in the diagnostic log, under
    Diagnostic Logging
    , select
    Log diagnostic message on tag write
    .
  10. When finished, select
    OK
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal