Two routes: describe the access, or expose the AAS over OPC UA#
AID (IDTA 02017) holds no runtime values. It describes which data points an asset serves over which interface and how to connect. The connection is made by software the specification calls the Data Mapping Processor (DMP), whose implementation is out of scope; where the values go in the AAS is set with AIMC (IDTA 02027).
OPC 30270 (OPC UA for Asset Administration Shell) works the other way round and maps the AAS into an OPC UA address space. As of 2026-11-12 the OPC Foundation reference site lists only version 1.00 (2021-06-04), based on AAS metamodel V2.0.1, so its types still contain Asset, ConceptDictionary and View, which v3 removed.
| Aspect | AID + AIMC | OPC 30270 |
|---|---|---|
| Purpose | Describe access data of asset interfaces as a Submodel | Map the AAS structure to an OPC UA information model (AASSubmodelType, AASPropertyType ...) |
| Data flow | The DMP reads from the asset and writes into AAS Submodel elements | OPC UA clients browse the AAS nodes on the server |
| Metamodel basis | AAS v3 | AAS V2.0.1 |
AID versions and supported protocols#
AID follows the structure and vocabulary of the W3C Web of Things Thing Description (WoT TD); protocol terms come from WoT bindings (OPC 10101 for OPC UA). As of 2026-11-12 the newest version in the GitHub published folder is 1.2 (bug fix 1.2.1).
Modbus is covered for TCP only, OPC UA for client-server over TCP only. Versions 1.0 to 1.2 cover reading and monitoring. Version 1.2 made base in EndpointMetadata optional and added protocolVersion.
| Version | Bindings | Submodel semanticId |
|---|---|---|
| 1.0 | Modbus, HTTP, MQTT | https://admin-shell.io/idta/AssetInterfacesDescription/1/0/Submodel |
| 1.1 | 1.0 + OPC UA, BACnet (IO-Link in an informative annex) | …/AssetInterfacesDescription/1/1/Submodel |
| 1.2 | 1.1 + IO-Link binding section, SNMP, CAN | …/AssetInterfacesDescription/1/2/Submodel |
AID structure: Interface, EndpointMetadata, InteractionMetadata#
There is one SubmodelElementCollection (SMC) per interface (1..*). All carry the semanticId https://admin-shell.io/idta/AssetInterfacesDescription/1/0/Interface; the protocol is identified by supplementalSemanticIds, not by the idShort (Modbus http://www.w3.org/2011/modbus, OPC UA http://opcfoundation.org/UA/WoT-Binding/, plus https://www.w3.org/2019/wot/td).
EndpointMetadata holds the entry point (base), contentType and security; each data point sits under properties in InteractionMetadata. ExternalDescriptor attaches existing files such as a WoT TD or GSDML.
Copy the code, or select it to copy manually.
AssetInterfacesDescription (Submodel)
└─ InterfaceMODBUS (SMC, 1..*)
├─ title = "Power meter (Modbus)"
├─ EndpointMetadata
│ ├─ base = modbus+tcp://192.0.2.10:502/1/
│ ├─ contentType = application/octet-stream
│ ├─ modv_mostSignificantByte = true
│ ├─ security (SML) → securityDefinitions/nosec_sc
│ └─ securityDefinitions
│ └─ nosec_sc { scheme = nosec }
├─ InteractionMetadata
│ └─ properties
│ └─ Voltage_L1_N { title, type, unit, observable, forms }
└─ ExternalDescriptor (optional, File such as WoT TD or GSDML)Describing one data point: a Modbus example#
This property reads a 32-bit float from two holding registers. Element names follow the 1.2.1 template, and the snippet validates against the v3.1 and v3.2 JSON schemas. The supplementalSemanticId and the child semanticIds are omitted for space; copy them from the template.
The address is base (modbus+tcp://{address}:{port}/{unitID}/) plus href ({start address}?quantity={count}); a 32-bit value spans two 16-bit registers, hence quantity=2. type is the abstract WoT type (number etc.), modv_type the XSD type of the payload; they are separate fields. Byte and word order go into modv_mostSignificantByte and modv_mostSignificantWord.
{
"modelType": "SubmodelElementCollection",
"idShort": "Voltage_L1_N",
"semanticId": {"type": "ExternalReference", "keys": [{"type": "GlobalReference",
"value": "https://admin-shell.io/idta/AssetInterfacesDescription/1/0/PropertyDefinition"}]},
"value": [
{"modelType": "Property", "idShort": "title", "valueType": "xs:string", "value": "Voltage L1-N"},
{"modelType": "Property", "idShort": "type", "valueType": "xs:string", "value": "number"},
{"modelType": "Property", "idShort": "unit", "valueType": "xs:string", "value": "V"},
{"modelType": "Property", "idShort": "observable", "valueType": "xs:boolean", "value": "true"},
{"modelType": "SubmodelElementCollection", "idShort": "forms", "value": [
{"modelType": "Property", "idShort": "href", "valueType": "xs:string", "value": "1?quantity=2"},
{"modelType": "Property", "idShort": "modv_function", "valueType": "xs:string", "value": "readHoldingRegisters"},
{"modelType": "Property", "idShort": "modv_type", "valueType": "xs:string", "value": "xs:float"},
{"modelType": "Property", "idShort": "modv_pollingTime", "valueType": "xs:integer", "value": "500"}
]}
]
}Mapping a PLC tag list to AID#
Each row of a tag list becomes one property SMC. All property SMCs share the semanticId …/1/0/PropertyDefinition, so link the meaning of the value (an ECLASS concept, for example) through valueSemantics, a ReferenceElement.
- For OPC UA, base is opc.tcp://<address>:<port> and href is /?id=<NodeId>. A namespace index (ns=2 etc.) is a position in the server's namespace table and can change between sessions, so the nsu=<URI> form is safer, e.g. /?id=nsu=http://example.nsu.com/demo/pump;s=PumpSpeed. AID 1.2 and OPC 10101 use the ns=<index> form only when the index is stable or can be resolved. Percent-encode # as %23 and & as %26 in the NodeId.
| Tag list column | AID element | Note |
|---|---|---|
| Tag name | idShort of the property SMC | Dots, spaces, % etc. are not allowed in an idShort; rename and keep the original in key or title |
| Address | forms/href (+ base) | Register address for Modbus, NodeId for OPC UA |
| Data type | type + modv_type | e.g. REAL → number, xs:float, quantity=2 |
| Unit | unit | semanticId is schema.org/unitCode (UN/CEFACT three-character code or URL; other codes as prefix:value). The 1.2 example AASX uses V, so agree on the notation with the consumer |
| Update rate | modv_pollingTime, observable | observable=true if it can be subscribed |
AIMC: where the values go in the AAS#
In AIMC 2.0 each MappingConfiguration has Sources and Sinks plus an optional Transformation and DefaultPollingInterval. Sources and Sinks are ModelReferences: a Source can point to an AID property or any other SubmodelElement, a Sink to, say, a Property in an operational data Submodel. Without a transformation, the numbers of sources and sinks must match and pairs share the same SourceId and SinkId; a transformation is a Lua function aimc_main(sources) in a Blob.
AID usually comes from the asset provider and AIMC from the asset user; they need not live in the same AAS. The AIMC 2.0 semanticId is https://admin-shell.io/idta/AssetInterfacesMappingConfiguration/2/0/Submodel, and 2.0 is aligned with the protocols of AID 1.1.
Common pitfalls#
- Time units: modv_pollingTime and modv_timeout in AID are integer milliseconds; PollingInterval in AIMC is seconds as a double. AIMC ignores polling intervals for asynchronous sources such as MQTT.
- Data type notation: the specification tables use abstract WoT types such as number for type and give xs:float as a modv_type example, but the Modbus properties in the 1.2 example AASX put float in both. Use what your DMP reads.
- Address base: the W3C WoT Modbus binding editor's draft marks modv_zeroBasedAddressing deprecated and asks for the address to be used as is. Check manual notations such as 40001 on the device.
- Security: securityDefinitions only holds scheme definitions such as nosec_sc, basic_sc or opcua_channel_sc; there is no field for credentials such as passwords. Declare nosec_sc even without security. This is separate from access control of the AAS itself.
- Template files: the 1.1 to 1.1.2 template JSONs carry the MQTT value in the supplementalSemanticId of the OPC UA and BACnet interfaces. Correct it to the value in the PDF. The 1.2 template has the correct values.
Key points#
- AID describes where data lives and how to reach it; the DMP moves the values and AIMC says where they go.
- Keep address (base + href), type (type + modv_type) and timing (ms in AID, s in AIMC) apart.
- OPC 30270 1.00 is based on AAS V2.0.1 and does not map one to one to a v3 model.
Questions and answers#
Does an AAS server fetch PLC values by itself once AID is in place?
No. AID describes the access; a DMP makes the connection. The AID 1.0 README names AASX Package Explorer and Eclipse Thingweb (npm @thingweb/aas-aid) as supporting it.
Can I write setpoints to a PLC through AID?
Versions 1.0 to 1.2 cover reading and monitoring. AIMC 2.0 also lists data writing only as an upcoming use case.
How do I describe a protocol without a binding, such as PROFINET?
An Interface SMC may hold only an ExternalDescriptor with a file such as a GSDML, plus a supplementalSemanticId that identifies its purpose, as the specification recommends.
I already have an OPC UA server. AID or OPC 30270?
If an AAS-side application must know which node to read, put the endpoint and NodeId in an AID OPC UA interface. If OPC UA clients must browse the AAS structure, use OPC 30270, noting that 1.00 is based on AAS V2.0.1.
