7.3.8 Mapping of StdVariableRef and StdRecordItemRef

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_SystemCommandMethodSet/SystemCommand
V_DeviceAccessLocksDeviceAccessLocks
V_VendorNameManufacturer
V_VendorTextVendorText
V_ProductNameModel
V_ProductIDProductID
V_ProductTextProductText
V_SerialNumberSerialNumber
V_HardwareRevisionDeviceRevision
V_FirmwareRevisionSoftwareRevision

V_ApplicationSpecificTag

(V_ApplicationSpecificName for IODDs based on IODD Specification 1.01)

ParameterSet/ApplicationSpecificTag
V_ErrorCountParameterSet/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_OffsetTimeParameterSet/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_1STD_TN_MasterCycleTime-
V_DirectParameters_1STD_TN_MinCycleTimeMinCycleTime
V_DirectParameters_1STD_TN_M-SequenceCapability-
V_DirectParameters_1STD_TN_RevisionIDRevisionID
V_DirectParameters_1STD_TN_ProcessDataInParameterSet/ProcessDataInput/ProcessDataLength
V_DirectParameters_1STD_TN_ProcessDataOutParameterSet/ProcessDataOutput/ProcessDataLength
V_DirectParameters_1STD_TN_VendorID1VendorID
V_DirectParameters_1STD_TN_VendorID2VendorID
V_DirectParameters_1STD_TN_DeviceID1DeviceID
V_DirectParameters_1STD_TN_DeviceID2DeviceID
V_DirectParameters_1STD_TN_DeviceID3DeviceID
V_DirectParameters_1STD_TN_SystemCommand-
V_DirectParameters_2STD_TN_DeviceSpecific_1-
V_DirectParameters_2STD_TN_DeviceSpecific_2-
V_DirectParameters_2STD_TN_DeviceSpecific_3-
V_DirectParameters_2STD_TN_DeviceSpecific_4-
V_DirectParameters_2STD_TN_DeviceSpecific_5-
V_DirectParameters_2STD_TN_DeviceSpecific_6-
V_DirectParameters_2STD_TN_DeviceSpecific_7-
V_DirectParameters_2STD_TN_DeviceSpecific_8-
V_DirectParameters_2STD_TN_DeviceSpecific_9-
V_DirectParameters_2STD_TN_DeviceSpecific_10-
V_DirectParameters_2STD_TN_DeviceSpecific_11-
V_DirectParameters_2STD_TN_DeviceSpecific_12-
V_DirectParameters_2STD_TN_DeviceSpecific_13-
V_DirectParameters_2STD_TN_DeviceSpecific_14-
V_DirectParameters_2STD_TN_DeviceSpecific_15-
V_DirectParameters_2STD_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.