Skip to content

FORTE can't find OPC UA object #2

@AndreyPaiva

Description

@AndreyPaiva

Hello, we are currently trying to communicate with an study model via OPC UA in 4diac using Client FBs. Altough we can access the objects with UaExpert.

Image Image

The ID we are using is:

"opc_ua[READ;opc.tcp://150.165.52.237:48040/FactoryTalkLinxGateway1#;2:s=[compactlogix]Cooler_Aquecimento]"

When trying the same ID on the Client FBs, we are met with the following error:

Image Image

If we try using the ID as "opc_ua[READ;opc.tcp://150.165.52.237:48040/FactoryTalkLinxGateway1#;/Objects/FactoryTalkLinxGateway/compactlogix/Online/Cooler_Aquecimento]"

we are met with the following log message in the FORTE cmd:

INFO: T#358289633778: FORTE is up and running
INFO: T#358289788878: Using provided bootfile location set in CMake: forte.fboot
INFO: T#358289858278: Boot file forte.fboot could not be opened. Skipping...
INFO: T#358289884978: CWin32SocketInterface: Opening TCP-Server connection at: localhost:61499
INFO: T#360260207678: Connection established by client
INFO: T#360261876778: Connection closed by peer
INFO: T#360262106778: [OPC UA LOGGER] info/client       Connecting to endpoint opc.tcp://150.165.52.237:48040/FactoryTalkLinxGateway1
INFO: T#360262161378: [OPC UA LOGGER] info/client       SecurityPolicy not specified -> use default #None
WARNING: T#360262191878: [OPC UA LOGGER] warning/(null) Security policy None is used to create SecureChannel. Accepting all certificates
INFO: T#360262785178: [OPC UA LOGGER] info/client       TCP connection established
INFO: T#360264329678: [OPC UA CLIENT]: A TCP connection to the server is open
INFO: T#360265001478: [OPC UA LOGGER] info/client       Opened SecureChannel with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None
INFO: T#360265042478: [OPC UA CLIENT]: A SecureChannel to the server is open
INFO: T#360265075378: [OPC UA LOGGER] info/client       Endpoint and UserTokenPolicy unconfigured, perform GetEndpoints
INFO: T#360266120878: [OPC UA LOGGER] info/client       Found 1 endpoints
INFO: T#360266157878: [OPC UA LOGGER] info/client       Endpoint 0 has 1 user token policies
INFO: T#360266199778: [OPC UA LOGGER] info/client       Selected Endpoint opc.tcp://150.165.52.237:48040/FactoryTalkLinxGateway1 with SecurityMode None and SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None
INFO: T#360266237478: [OPC UA LOGGER] info/client       Selected UserTokenPolicy Anonymous_Policy with UserTokenType Anonymous and SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None
INFO: T#360270049578: [OPC UA CLIENT]: A session with the server is open
INFO: T#360270086978: [OPC UA CLIENT]: Client connected to endpoint opc.tcp://150.165.52.237:48040/FactoryTalkLinxGateway1
ERROR: T#360270996778: [OPC UA HELPER]: Could not translate browse paths for '/Objects/FactoryTalkLinxGateway/compactlogix/Online/Cooler_Aquecimento_AUX' to node IDs. Not all nodes exist
ERROR: T#360271046178: [OPC UA CLIENT]: The index 0 of the FB CLIENT_0_1 could not be initialized because the requested nodeId was not found. Error: BadUnexpectedError

We have tried many things, but we can't figure out how to make this work, nor understand what exactly is causing this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions