Project Node IDs
When you save a project, the IDs of the project nodes that are not exposed through OPC UA may change to optimize performance. If the OPC UA server exposes nodes, the IDs of these nodes become fixed. They do not change when you save the project.
NOTE:
See Terms dictionary to learn more about the nodeID definition.
Custom Node IDs
You can define custom fixed Node IDs by editing the file.
ProjectName
\Nodes\Model\Model.yaml
IMPORTANT:
Rockwell Automation
recommends editing the Model.yaml
file only for the most advanced users as it may lead to project corruption. Ensure to back up your project before making any changes to the Model.yaml
file. See Duplicate a project, Project backup, and Restore a project.
The following example of the
Model.yaml
file shows custom IDs defined for four variables:
Name: Model Id: g=fb6543bf8c558b11ea2f5be225a426c0 Type: FolderType Children: - Name: Variable1Id: g=d457b2dd5183a536fd7e00ed1de83292Type: BaseDataVariableType DataType: String Value: "Variable with GUID" - Name: Variable2Id: "s='Custom Variable 2'"Type: BaseDataVariableType DataType: String Value: "Variable with String spaced ID" - Name: Variable3Id: s=CustomVariable3Type: BaseDataVariableType DataType: String Value: "Variable with String ID" - Name: Variable4Id: i=12345Type: BaseDataVariableType DataType: String Value: "Variable with Integer ID" - Name: Variable5Id: 's="some"."name"'Type: BaseDataVariableType DataType: Int32 Value: 2
node
node id
Provide Feedback