Definitions
Define reusable value blocks in a service commissioning file and reference them with the !ref or !merge functions.
Last updated
Was this helpful?
Define reusable value blocks in a service commissioning file and reference them with the !ref or !merge functions.
Definitions allow you to reference blocks from within a service commissioning file. While they share similarities with parameters, definitions are designed for internal use only.
You can define values of any data type, including object types. These values can be referenced using the !ref or !merge functions.
In this example, we create a definition for default Modbus endpoint settings that we want to reference.
modbusEndpointDefaults:
connectionId: !ref modbusConnection
operation: subscribe
interval: 1000
address:
fc: 3
length: 2When you reference this definition using !ref modbusEndpointDefaults, you get the following value:
connectionId: !ref modbusConnection
operation: subscribe
interval: 1000
address:
fc: 3
length: 2Last updated
Was this helpful?
Was this helpful?

