7 OPC UA ObjectTypes ToC Previous Next

7.3 ObjectTypes generated based on IODDs ToC Previous Next

7.3.8 Mapping of StdVariableRef and StdRecordItemRef ToC Previous Next

The StdVariableRefs (standard variable references) reference to standardized information, that is already defined in the IOLinkDeviceType. In Table 21, an overview of the mapping is given.

Table 21 – Mapping of StdVariableRefs to IOLinkDeviceType Instance Declarations

StdVariableRef InstanceDeclaration
V_SystemCommand MethodSet/SystemCommand
V_DeviceAccessLocks DeviceAccessLocks
V_VendorName Manufacturer
V_VendorText VendorText
V_ProductName Model
V_ProductID ProductID
V_ProductText ProductText
V_SerialNumber SerialNumber
V_HardwareRevision DeviceRevision
V_FirmwareRevision SoftwareRevision
V_ApplicationSpecificTag
(V_ApplicationSpecificName for IODDs based on IODD Specification 1.01)
ParameterSet/ApplicationSpecificTag
V_ErrorCount ParameterSet/ErrorCount
V_DeviceStatus
(not defined in IODD Specification 1.01)
ParameterSet/DeviceHealth
V_DetailedDeviceStatus
(not defined in IODD Specification 1.01)
ParameterSet/DetailedDeviceStatus
V_ProcessDataInput
(V_ProcessDataIn for IODDs based on IODD Specification 1.01)
ParameterSet/ProcessDataInput
V_ProcessDataOutput
(V_PrcoessDataOut for IODDs based on IODD Specification 1.01)
ParameterSet/ProcessDataOutput
V_OffsetTime ParameterSet/OffsetTime

The StdRecordItemRefs (standard record item references) reference to standardized information, that is already defined in the IOLinkDeviceType. In Table 22, an overview of the mapping is given.

Table 22 – Mapping of StdRecordItemRefs to IOLinkDeviceType Instance Declarations

StdRecordItemRef InstanceDeclaration  
V_DirectParameters_1 STD_TN_MasterCycleTime -
V_DirectParameters_1 STD_TN_MinCycleTime MinCycleTime
V_DirectParameters_1 STD_TN_M-SequenceCapability -
V_DirectParameters_1 STD_TN_RevisionID RevisionID
V_DirectParameters_1 STD_TN_ProcessDataIn ParameterSet/ProcessDataInput/ProcessDataLength
V_DirectParameters_1 STD_TN_ProcessDataOut ParameterSet/ProcessDataOutput/ProcessDataLength
V_DirectParameters_1 STD_TN_VendorID1 VendorID
V_DirectParameters_1 STD_TN_VendorID2 VendorID
V_DirectParameters_1 STD_TN_DeviceID1 DeviceID
V_DirectParameters_1 STD_TN_DeviceID2 DeviceID
V_DirectParameters_1 STD_TN_DeviceID3 DeviceID
V_DirectParameters_1 STD_TN_SystemCommand -
V_DirectParameters_2 STD_TN_DeviceSpecific_1 -
V_DirectParameters_2 STD_TN_DeviceSpecific_2 -
V_DirectParameters_2 STD_TN_DeviceSpecific_3 -
V_DirectParameters_2 STD_TN_DeviceSpecific_4 -
V_DirectParameters_2 STD_TN_DeviceSpecific_5 -
V_DirectParameters_2 STD_TN_DeviceSpecific_6 -
V_DirectParameters_2 STD_TN_DeviceSpecific_7 -
V_DirectParameters_2 STD_TN_DeviceSpecific_8 -
V_DirectParameters_2 STD_TN_DeviceSpecific_9 -
V_DirectParameters_2 STD_TN_DeviceSpecific_10 -
V_DirectParameters_2 STD_TN_DeviceSpecific_11 -
V_DirectParameters_2 STD_TN_DeviceSpecific_12 -
V_DirectParameters_2 STD_TN_DeviceSpecific_13 -
V_DirectParameters_2 STD_TN_DeviceSpecific_14 -
V_DirectParameters_2 STD_TN_DeviceSpecific_15 -
V_DirectParameters_2 STD_TN_DeviceSpecific_16 -

In both cases, the following rule applies.

If there is an InstanceDeclaration on the IOLinkDeviceType:

  • If the StdVariableRef or StdRecordItemRef is not defining a Button and the InstanceDeclaration is a Variable, the InstanceDeclaration shall be overridden in the new created type and referenced from all Objects representing IODD Menus having such a reference. If a default value is defined, the OPC UA Server shall use this as Value of the Variable, if several different default values are defined, the first one defined in the IODD shall be used. Other characteristics defined on the StdVariableRef of StdRecordItemRef are ignored. For VendorID and DeviceID there are two resp. three StdRecordItemRefs used. In the mapping, whenever an IODD Menu references at least one of them, the whole Variable (VendorID or DeviceID) is referenced.

  • If the StdVariableRef or StdRecordItemRef is defining a Button, the rules defined in 7.3.7 apply. If there is no InstanceDeclaration on the IOLinkDeviceType defined, the same rules as for VariableRef and RecordItemRef defined in 7.3.6 and 7.3.7 apply.

Note that for V_SystemCommand the mapping described in this section applies, although there is a representation in the IOLinkDeviceType (SystemCommand Method), because the IODD provides useful new information about the supported system commands.

Previous Next