UA gateway - ID description

Questions regarding installing, running and configuring UaGateway.

Moderator: uagateway

Post Reply
Marco.Mondini
Jr. Member
Jr. Member
Posts: 1
Joined: 20 Apr 2025, 09:17

UA gateway - ID description

Post by Marco.Mondini »

Hi Team,

We are experiencing an issue with connecting redundant DA servers using UA Gateway v.1.6.1
We have installed UA Gateway on both redundant DA servers (on different machines), but when addressing TAGs from the UA side.

• The Node Id prefix is NS=5 for the first DA server.
• The Node Id prefix is NS=6 for the second DA server.

Our client UA need to address an unique tag Id: e.g. ns=5;s=Tag or ns=6;s=Tag

Is there a way to configure UA Gateway to assign the same Node Id prefix (e.g., NS=x) to both servers?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3268
Joined: 18 Mar 2011, 15:09

Re: UA gateway - ID description

Post by Support Team »

Hi,

the UA Client (any UA Client) should be capable of replacing the NS-index on the fly, because the UA specification requires changing the namespace index and being able to deal with that.

In case of UaGateway we use the next free NS when adding the underlying server with the ConfigurationTool. The UaGateway has 6 namespaces on its own (0 to 5), hence the first free one to be used is 6. The trick to make two UaGateways identical is to configure underlying servers in exactly the same order. In case of underlying DA Servers they use one namespace each, in case of underlying UA Servers, they can have 3 or more namespaces by themselves.

You can use UaExpert connect to UaGateway and check the Objects->Server->NamespaceArray in the Attributes-Windows and see what you have.
Best regards
Unified Automation Support Team

Post Reply