7 OPC UA for RIO ObjectTypes

7.1 OPC UA for RIO Channel Group Types

The RIO Channel Group ObjectTypes are listed in Table 17. There are Channel Group types defined for digital and analog IO for RIOforFA and RIOforPA. There is no distinction regarding Input and Output, the Channel Group Objects aggregate Input and Output Channel Objects. All Channel Group types are derived from the RioChannelGroupType defined in chapter 7.1.1.

Table 17 – RIO Channel Group Types
Profile Channel Groups
Digital Analog
RIOforPA RioPaDigitalChannelGroupType RioPaAnalogChannelGroupType
RIOforFA RioFaDigitalChannelGroupType RioFaAnalogChannelGroupType

7.1.1 RioChannelGroupType

The RioChannelGroupType allows the aggregation of RIO Channels for diagnostic purposes and for asset relations. The RioChannelGroupType contains References to RioChannelType Objects. In addition, the server might provide configuration information common to all aggregated channels.

Table 18 – RioChannelGroupType Definition
Attribute Value
BrowseNameRioChannelGroupType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the 0:BaseObjectType defined in OPC 10000-5.
0:HasPropertyVariable NumberOfChannels0:UInt16[5]0:PropertyTypeM, RO
0:HasPropertyVariableApplicationTag0:String0:PropertyTypeO, RO
0:HasComponentMethodSetApplicationTagO
0:HasPropertyVariable LastParameterChange0:DateTime0:PropertyTypeO, RO
HasRioInputChannelObject<RioInputChannel>RioChannelTypeOP
HasRioOutputChannelObject<RioOutputChannel>RioChannelTypeOP
HasRioConfigurationObjectChannelGroupConfigRioChannelGroupConfigTypeO, RO
0:GeneratesEventObjectTypeRioChannelDiagnosisEventType
0:GeneratesEventObjectTypeRioChannelDiagnosisAlarmType
0:HasComponentObjectLock2:LockingServicesTypeO
Conformance Units
PNRIO Channel Groups

The NumberOfChannels array Variable contains the number of channels of each supported type represented by the RIO Channel Group. The following table contains the relationship of array index and the channel number information stored at the respective index:

Index Content of NumberOfChannels [Index]
0Number of digital input channels
1Number of digital output channels
2Number of analog input channels
3Number of analog output channels
4Number of universal channels.

The ApplicationTag Variable contains application specific data which can be used by Clients to obtain additional semantic information. Clients can modify the content of this Variable by invoking the SetApplicationTag Method.

If no subordinated RIO Channel Objects are provided, the Channel Group level ApplicationTag Variable is the only possibility to store Client specific semantic information. Servers can support tagging on RIO Channel level by providing Channel Objects.

The <RioInputChannel> Reference links one aggregated Input Channel Object. For each aggregated Input Channel Object, one HasRioInputChannel Reference shall be part of the RioChannelGroupType Object.

The <RioOutputChannel> Reference links one aggregated Output Channel Object. For each aggregated Output Channel Object, one HasRioOutputChannel Reference shall be part of the RioChannelGroupType Object.

If provided, the ChannelGroupConfig Object contains an arbitrary subset of read-only configuration properties of the represented RIO Channel Objects.

The Server might provide diagnosis data by sending RioChannelDiagnosisEventType Events and / or RioChannelDiagnosisAlarmType Events. The diagnosis data of the RioChannelGroup Object includes the diagnosis information of all aggregated RIO Channel Objects.

The used cross-aspect ReferenceTypes 0:RepresentsSameFunctionalityAs and 0:RepresentsSameEntityAs (see below) can only exist if the Server provides the PROFINET aspect of the Information Model.

If the PROFINET aspect is provided by the Server, the RIO Channel Group Object shall be linked to the associated PN Submodule using a 0:RepresentsSameFunctionalityAs Reference. The associated submodule addresses the same IO data as the Channel Group Object provides.

The Lock Object ensures exclusive write access and Method call for one Client. The Client locks the Channel Group Object by invoking the InitLock Method of the Lock Object. The Client invokes ExitLock to release the lock.

Before invoking a Method of the Channel Group Object, Clients must gain exclusive write access (“lock” the Channel Group Object) using the Lock Object.

7.1.1.1 SetApplicationTag Method

This Method sets the Value of the ApplicationTag Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetApplicationTag (
		[in] 0:String	 ApplicationTag
		);
	
Argument Description
ApplicationTagString containing the desired content of the ApplicationTag Variable.

The Method Result Codes (defined in Call Service) are defined in Table 19.

Table 19 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe Client has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the name. The ApplicationTag string may be too long or may contain invalid characters. The server may also reject duplicates.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the SetApplicationTag Method is invoked or if configuration data provided by the subordinated RioChannelGroupConfigType Object is changed, the value of the LastParameterChange timestamp Variable shall be changed by the Server.

7.1.2 RioChannelGroupConfigType

The RioChannelGroupConfigType contains all configuration properties which are common to all RIO Channel configuration types. A Server may support an arbitrary subset of these properties. Each supported property applies to all represented channels of the RIO Channel Group.

The Server may provide only one of the PaDigitalSubstituteValue, FaDigitalSubstituteValue bit fields, as well as the PaAnalogSubstituteValue and FaAnalogSubstituteValue arrays. But these variables shall be provided only if individual RIO Channel Objects are not provided.

Table 20 – RioChannelGroupConfigType Definition
Attribute Value
BrowseNameRioChannelGroupConfigType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the 0:BaseObjectType defined in OPC 10000-5.
0:HasPropertyVariableSignalTypeRioSignalTypeEnumeration0:PropertyTypeO, RO
0:HasPropertyVariableInversionEnabled0:Boolean0:PropertyTypeO, RO
0:HasPropertyVariableShortCircuitCheckEnabled0:Boolean0:PropertyTypeO, RO
0:HasPropertyVariableWireCheckEnabled0:Boolean0:PropertyTypeO, RO
0:HasPropertyVariableSupplyVoltageCheckEnabled0:Boolean0:PropertyTypeO, RO
0:HasPropertyVariableLoadVoltageCheckEnabled0:Boolean0:PropertyTypeO, RO
0:HasPropertyVariableSubstitutePolicyRioSubstitutePolicyEnumeration0:PropertyTypeO, RO
0:HasComponentVariablePaDigitalSubstituteValueRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
0:HasComponentVariable FaDigitalSubstituteValueRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
0:HasPropertyVariablePaAnalogSubstituteValueRioAnalogDataType[]0:PropertyTypeO, RO
0:HasPropertyVariable FaAnalogSubstituteValueRioAnalogDataType[]0:PropertyTypeO, RO
0:HasPropertyVariableSubstituteTime0:Float0:PropertyTypeO, RO
0:HasPropertyVariableDamping0:Float0:PropertyTypeO, RO
0:HasPropertyVariableHighLimitRioAnalogDataType0:PropertyTypeO, RO
0:HasPropertyVariableLowLimitRioAnalogDataType0:PropertyTypeO, RO
Conformance Units
PNRIO Configuration

The SignalType Property contains the signal type encoded as RioSignalTypeEnumeration.

The InversionEnabled Property contains True if the digital signal is inverted in the Function Block, otherwise False.

The ShortCircuitCheckEnabled Property contains True if short circuit check is active for the channel, otherwise False.

The WireCheckEnabled Property contains True if wire check is active for the channel, otherwise False.

The SupplyVoltageCheckEnabled Property contains True if supply voltage check is active for the channel, otherwise False.

The LoadVoltageCheckEnabled Property contains True if load voltage check is active for the channel, otherwise False.

The SubstitutePolicy Property contains the substitute value setting of the channel encoded as RioSubstitutePolicyEnumeration.

The PaDigitalSubstituteValue bit field Property contains the substitute values for the Process Value of the represented digital RIOforPA channels which shall be used if a failure is detected. The usage of the substitute value depends on the actual value of the SubstitutePolicy Property.

The FaDigitalSubstituteValue bit field Property contains the substitute values for the Process Value of the represented digital RIOforFA channels which shall be used if a failure is detected. The usage of the substitute value depends on the actual value of the SubstitutePolicy Property.

If the number of RIOforFA Channels the RIO Channel Group represents exceeds the capacity of the RioBitFieldVariableType (which is 32), as many RioBitFieldVariableType Variables shall be part of the RIO Channel Group Object as are needed to represent the substitute values of all RIOforFA Channels. The BrowseNames of the RioBitFieldVariableType Variable shall be extended with a suffix ensuring uniqueness and indicating the section of the bitfield the variable represents in this case, e.g. “FaDigitalSubstituteValue_0_31”, “FaDigitalSubstituteValue _32_47”, and so on.

The optional Offset Property of the RioBitFieldVariableType Variables shall be provided in this case and contain the start of the range the RioBitFieldVariableType Variable represents. Possible Values for Offset are 0, 32, 64, and so on. The Offset Value added to the bit number shall be used as the RioChannelNumber Property Value of the corresponding RIO Channel Objects if these Objects are provided.

The PaAnalogSubstituteValue array Property contains the substitute values for the Process Value of the represented analog RIOforPA channels which shall be used if a failure is detected. The usage of the substitute value depends on the actual value of the SubstitutePolicy Property.

The FaAnalogSubstituteValue array Property contains the substitute values for the Process Value of the represented analog RIOforFA channels which shall be used if a failure is detected. The usage of the substitute value depends on the actual value of the SubstitutePolicy Property.

The bit numbers and array indexes in the range 0 to <number of Input Channels minus 1> constitute the RioChannelNumbers of the represented Input Channels. The bit numbers and array indexes in the range <number of Input Channels> to <number of Input Channels + number of Output Channels minus 1> constitute the RioChannelNumbers of the represented Output Channels.

The SubstituteTime Property contains the time in seconds from the detection of a failure to a reaction (substitute value is set for the Process Value).

The Damping Property contains the damping time (T63) in seconds applied to an analog signal in the Function Block.

The HighLimit Property contains the upper limit of an analog signal.

The LowLimit Property contains the lower limit of an analog signal.

7.1.3 RioPaAnalogChannelGroupType

The RioPaAnalogChannelGroupType aggregates RioPaAnalogInputChannelType Objects and RioPaAnalogOutputChannelType Objects.

Table 21 – RioPaAnalogChannelGroupType Definition
Attribute Value
BrowseNameRioPaAnalogChannelGroupType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelGroupType.
HasRioProcessVariableVariable InputValuesRioPaAnalogValueDataType[]0:BaseDataVariableTypeO, RO
HasRioProcessVariableVariable OutputValuesRioPaAnalogValueDataType[]0:BaseDataVariableTypeO, RO
0:HasPropertyVariableSimulationValuesRioPaAnalogValueDataType[]0:PropertyTypeO, RO
0:HasComponentVariableSimulationEnabled0:Boolean[]0:BaseDataVariableTypeO, RO
0:HasComponentMethodSetSimulationO
0:HasComponentMethodSetSimulationValueO
Conformance Units
PNRIO Channel Groups

The InputValues array Variable contains the Input Process Values of the Input Channels the RIO Channel Group Object represents. The InputValues Variable is linked to the associated PnIoTelegramType Object using a 0:RepresentsSameEntityAs Reference (see Figure 20).

The array indexes must be equal to the RioChannelNumber of the represented Input Channels. The RioChannelNumbers of the Input Channels shall have the value range 0 to <size of InputValues array> minus 1.

The OutputValues array Variable contains the Output Process Values of the Output Channels the RIO Channel Group Object represents. The OutputValues Variable is linked to the associated PnIoTelegramType Object using a 0:RepresentsSameEntityAs Reference.

The array indexes must be equal to the RioChannelNumber of the represented Output Channels minus <size of the InputValues array>. The RioChannelNumbers of the Output Channels shall have the value range <size of InputValues array> to <size of InputValues array + size of OutputValues array> minus 1.

The type of each array element is RioPaAnalogValueDataType which has two members: Value contains the Process Value and QualifierValue contains the status information associated with each value.

The SimulationValues array of RioPaAnalogValueDataType structures contains the values and qualifiers used as Process Value for each represented analog channel if simulation is active for the channel.

The SimulationEnabled array Variable contains True for each array element if simulation is enabled for the corresponding RIO Channel, otherwise False.

The array indexes of the SimulationValues and the SimulationEnabled arrays must be equal to the RioChannelNumber of the referenced RIO Channels.

7.1.3.1 SetSimulation Method

This Method sets the Value of array elements of the SimulationEnabled array Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulation (
		[in] 0:Boolean SimulationEnabled
		[in] 0:Int16 Index
		);
	
Argument Description
SimulationEnabledValue used to set the Value of one SimulationEnabled array element.
IndexIndex of array element to set. If -1, the SimulationEnabled parameter is assigned to all array elements.

The Method Result Codes (defined in Call Service) are defined in Table 22.

Table 22 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe Client has not the right to execute the Method since the Operator Role is not granted to the Client’s Session.
Bad_InvalidArgumentThe Server is not able to assign the value. Possible reason: Invalid index.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.
7.1.3.2 SetSimulationValue Method

This Method sets the Value of array elements of the SimulationValue array Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulationValue (
		[in] RioAnalogDataType	Value
		[in] 0:Byte Qualifier
		[in] 0:Int16 Index
		);
	
Argument Description
ValueValue used to set the Value member of the array element.
QualifierValue used to set the Qualifier member of the array element.
IndexIndex of array element to set. If -1, the parameters are assigned to all array elements.

The Method Result Codes (defined in Call Service) are defined in Table 23.

Table 23 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe Client has not the right to execute the Method since the Operator Role is not granted to the Client’s Session
Bad_InvalidArgumentThe Server is not able to assign the values. Possible reasons: Invalid qualifier value, invalid index. The server might also reject invalid values outside the supported range.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

7.1.4 RioFaAnalogChannelGroupType

The RioFaAnalogChannelGroupType aggregates RioFaAnalogInputChannelType Objects and RioFaAnalogOutputChannelType Objects.

Table 24 – RioFaAnalogChannelGroupType Definition
Attribute Value
BrowseNameRioFaAnalogChannelGroupType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelGroupType.
HasRioProcessVariableVariable InputImageValuesRioAnalogDataType[]0:BaseDataVariableTypeO, RO
HasRioProcessVariableVariable InputImageQualifiersRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
HasRioProcessVariableVariable OutputImageValuesRioAnalogDataType[]0:BaseDataVariableTypeO, RO
HasRioProcessVariableVariable OutputImageQualifiersRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
Conformance Units
PNRIO Channel Groups

The InputImageValues array Variable contains the Input Process Values of the Input Channels the RIO Channel Group Object represents. The InputImageValues Variable is linked to the associated PnIoTelegramType Input Object using a 0:RepresentsSameEntityAs Reference.

The InputImageQualifiers RioBitFieldVariableType Variable contains a bit field representing the qualifier bits associated with each Input Process Value the RIO Channel Group Object represents. The InputImageQualifiers Variable is linked to the associated PnIoSignalType Input Object using a 0:RepresentsSameEntityAs Reference.

The OutputImageValues array Variable contains the Output Process Values of the Output Channels the RIO Channel Group Object represents. The OutputImageValues Variable is linked to the associated PnIoTelegramType Output Object using a 0:RepresentsSameEntityAs Reference.

The OutputImageQualifiers RioBitFieldVariableType Variable contains a bit field representing the qualifier bits associated with each Output Process Value the RIO Channel Group Object represents. The OutputImageQualifiers Variable is linked to the associated PnIoSignalType Input Object using a 0:RepresentsSameEntityAs Reference.

The array index is used as the unambiguous assignment of qualifier bit and value. The array indexes and the bit numbers of the InputImageValues array and the InputImageQualifiers bit field must be equal to the RioChannelNumber Property Values of the corresponding RIO Channel Objects. The OutputImageValues array indexes and OutputImageQualifiers bit numbers must be mapped to the value range of the RioChannelNumbers of the referenced Output Channels by adding the size of the InputImageValues array.

The RioChannelNumbers of the Input Channels shall have the value range 0 to <size of InputImageValues array> minus 1. The RioChannelNumbers of the Output Channels shall have the value range <size of InputImageValues array> to <size of InputImageValues array + size of OutputImageValues array> minus 1.

If the number of RIO Channels the RIO Channel Group represents exceeds the capacity of the RioBitFieldVariableType (which is 32), as many RioBitFieldVariableType Variables shall be part of the RIO Channel Group Object as are needed to represent the qualifiers of all RIO Channels.

The BrowseNames of the RioBitFieldVariableType Variables shall be extended with a suffix ensuring uniqueness and indicating the section of the bitfield the variable represents in this case, e.g. “_0_31”, “_32_47”, and so on.

The optional Offset Property of the RioBitFieldVariableType shall be provided in this case and contain the start of the range the RioBitFieldVariableType Variable represents. Possible Values for Offset are 0, 32, 64, and so on. The Offset Value added to the bit number is equal to the array index of the corresponding Process Value. For bit fields representing Output Channels the array index must be mapped to the value range of the RioChannelNumbers of the referenced Output Channels by adding the number of Input Channels (see above).

7.1.5 RioPaDigitalChannelGroupType

The RioPaDigitalChannelGroupType aggregates RioPaDigitalInputChannelType Objects and RioPaDigitalOutputChannelType Objects.

Table 25 – RioPaDigitalChannelGroupType Definition
Attribute Value
BrowseNameRioPaDigitalChannelGroupType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelGroupType.
HasRioProcessVariableVariable InputImageRioPaDigitalValueDataType[]0:BaseDataVariableTypeO, RO
HasRioProcessVariableVariable OutputImageRioPaDigitalValueDataType []0:BaseDataVariableTypeO, RO
0:HasPropertyVariableSimulationValuesRioPaDigitalValueDataType[]0:PropertyTypeO, RO
0:HasComponentVariableSimulationEnabled0:Boolean[]0:BaseDataVariableTypeO, RO
0:HasComponentMethodSetSimulationO
0:HasComponentMethodSetSimulationValueO
Conformance Units
PNRIO Channel Groups

The InputImage array Variable contains the Input Process Values of the Input Channels the RIO Channel Group Object represents. The InputImage Variable is linked to the associated PnIoTelegramType Input Object using a 0:RepresentsSameEntityAs Reference.

The array indexes must be equal to the RioChannelNumbers of the represented Input Channels. The RioChannelNumbers of the Input Channels shall have the value range 0 to <size of InputImage array> minus 1.

The OutputImage array Variable contains the Output Process Values of the Output Channels the RIO Channel Group Object represents. The OutputImage Variable is linked to the associated PnIoTelegramType Output Object using a 0:RepresentsSameEntityAs Reference (See Figure 21).

The array indexes must be equal to the RioChannelNumbers of the represented Output Channels minus <size of the InputImage array>. The RioChannelNumbers of the Output Channels shall have the value range <size of InputImage array> to <size of InputImage array + size of OutputImage array> minus 1.

The type of each array element is RioPaDigitalValueDataType which has two members: Value contains the Process Value and QualifierValue contains the status information associated with each value.

The SimulationValues array of RioPaDigitalValueDataType structures contains the values and qualifiers used as Process Value for each represented digital channel if simulation is active for the channel.

The SimulationEnabled array Variable contains True for each array element if simulation is enabled for the corresponding RIO Channel, otherwise False.

The array indexes of the SimulationValues and the SimulationEnabled arrays must be equal to the RioChannelNumber of the referenced RIO Channels.

7.1.5.1 SetSimulation Method

This Method sets the Value of array elements of the SimulationEnabled array Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulation (
		[in] 0:Boolean SimulationEnabled
		[in] 0:Int16 Index
		);
	
Argument Description
SimulationEnabledValue used to set the Value of one SimulationEnabled array element.
IndexIndex of array element to set. If -1, the SimulationEnabled parameter is assigned to all array elements.

The Method Result Codes (defined in Call Service) are defined in Table 26.

Table 26 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe Client has not the right to execute the Method since the Operator Role is not granted to the Client’s Session.
Bad_InvalidArgumentThe Server is not able to assign the value. Possible reason: Invalid index.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.
7.1.5.2 SetSimulationValue Method

This Method sets the Value of array elements of the SimulationValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulationValue (
		[in] 0:Boolean Value
		[in] 0:Byte Qualifier
		[in] 0:Int16 Index
		);
	
Argument Description
ValueValue used to set the Value member of the array element.
QualifierValue used to set the Qualifier member of the array element.
IndexIndex of array element to set. If -1, the parameters are assigned to all array elements.

The Method Result Codes (defined in Call Service) are defined in Table 27.

Table 27 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe Client has not the right to execute the Method since the Operator Role is not granted to the Client’s Session
Bad_InvalidArgumentThe Server is not able to assign the values. Possible reasons: Invalid qualifier value, invalid index.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

7.1.6 RioFaDigitalChannelGroupType

The RioFaDigitalChannelGroupType aggregates RioFaDigitalInputChannelType Objects and RioFaDigitalOutputChannelType Objects. Alternatively, the server can omit the channel objects and provide Input- and Output image Variables only.

Table 28 – RioFaDigitalChannelGroupType Definition
Attribute Value
BrowseNameRioFaDigitalChannelGroupType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelGroupType.
HasRioProcessVariableVariable InputImageRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
HasRioProcessVariableVariable InputImageQualifiersRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
HasRioProcessVariableVariable OutputImageRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
HasRioProcessVariableVariable OutputImageQualifiersRioBitFieldDataTypeRioBitFieldVariableTypeO, RO
Conformance Units
PNRIO Channel Groups

The InputImage Variable contains a bit field. The bit field contains the copy of one Input Telegram’s memory image associated with one PnIoSignalType Object. The InputImage Variable is linked to the associated PnIoSignalType Object using a 0:RepresentsSameEntityAs Reference.

The InputImageQualifiers Variable contains a bit field containing the qualifier bits for each bit in the InputImage Variable. The InputImageQualifier Variable is linked to the associated PnIoSignalType Object using a 0:RepresentsSameEntityAs Reference.

The bit numbers must be equal to the RioChannelNumber of the represented Input Channels. The RioChannelNumbers of the Input Channels shall have the value range 0 to <number of Input Channels> minus 1.

The OutputImage Variable contains a bit field. The bit field contains the copy of one Output Telegram’s memory image associated with one PnIoSignalType Object. The OutputImage Variable is linked to the associated PnIoSignalType Object using a 0:RepresentsSameEntityAs Reference.

The OutputImageQualifiers Variable contains a bit field containing the qualifier bits for each bit in the OutputImage Variable. The OutputImageQualifier Variable is linked to the associated PnIoSignalType Object using a 0:RepresentsSameEntityAs Reference.

The bit numbers must be equal to the RioChannelNumber of the represented Output Channels minus the number of Input Channels. The RioChannelNumbers of the Output Channels shall have the value range <number of Input Channels> to <number of Input Channels + number of Output Channels > minus 1.

If the number of RIO Channels the RIO Channel Group represents exceeds the capacity of the RioBitFieldVariableType (which is 32), as many RioBitFieldVariableType Variables shall be part of the RIO Channel Group Object as are needed to represent the qualifiers of all RIO Channels.

The BrowseNames of the RioBitFieldVariableType Variables shall be extended with a suffix ensuring uniqueness and indicating the section of the bitfield the variable represents in this case, e.g. “_0_31”, “_32_47”, and so on.

The optional Offset Property of the RioBitFieldVariableType Variables shall be provided in this case and contain the start of the range the RioBitFieldVariableType Variable represents. Possible Values for Offset are 0, 32, 64, and so on. The Offset Value added to the bit number shall be used as the RioChannelNumber of the corresponding RIO Channels. For bit fields representing Output Channels the number of Input Channels must be added also to obtain the RioChannelNumber of the represented Output Channel (see above).

7.2 OPC UA for RIO Channel Types

There are different RIO Channel types defined for each profile for digital and analog Input as well as for digital and analog Output. Table 29 lists the RIO Channel types defined in this specification for the Common Application Profiles RIOforPA and RIOforFA. All RIO Channel types are subtypes of the RioChannelType defined in chapter 7.2.1.

Table 29 – RIO Channel Types
Profile Input Channels
Digital Analog
RIOforPA RioPaDigitalInputChannelType RioPaAnalogInputChannelType
RIOforFA RioFaDigitalInputChannelType RioFaAnalogInputChannelType
Output Channels
Digital Analog
RIOforPA RioPaDigitalOutputChannelType RioPaAnalogOutputChannelType
RIOforFA RioFaDigitalOutputChannelType RioFaAnalogOutputChannelType

7.2.1 RioChannelType

The RioChannelType is the base type for all RIO-channel types. The type shall not be used directly. Instead, only the subtypes shall be instantiated.

Table 30 – RioChannelType Definition
Attribute Value
BrowseNameRioChannelType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in OPC 10000-5.
0:HasPropertyVariableRioChannelNumber0:UInt160:PropertyTypeM, RO
0:HasPropertyVariableApplicationTag0:String0:PropertyTypeM, RO
0:HasComponentMethodSetApplicationTagO
0:HasPropertyVariable LastParameterChange0:DateTime0:PropertyTypeO, RO
0:HasComponentObjectLock2:LockingServicesTypeO
0:GeneratesEventObjectTypeRioChannelDiagnosisEventType
0:GeneratesEventObjectTypeRioChannelDiagnosisAlarmType
Conformance Units
PNRIO Channel Objects

The RioChannelNumber Property shall contain a unique channel number. Uniqueness shall be guaranteed for all RIO Channel Objects aggregated by a RIO Channel Group. The value range used for the RioChannelNumber Property Values shall be continuous and start with 0.

The ApplicationTag Variable contains information determined by configuration or by applications. The Client can change the content by invoking the SetApplicationTag Method.

7.2.1.1 SetApplicationTag Method

This Method sets the Value of the ApplicationTag Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetApplicationTag (
		[in] 0:String	 ApplicationTag
		);
	
Argument Description
ApplicationTagString containing the desired content of the ApplicationTag Variable.

The Method Result Codes (defined in Call Service) are defined in Table 31.

Table 31 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the name. The ApplicationTag string may be too long or may contain invalid characters. The server may also reject duplicates.
Bad_UnexpectedErrorThe server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

The Server might provide diagnosis data by sending RioChannelDiagnosisEventType Events and / or RioChannelDiagnosisAlarmType Events. The diagnosis data of the RioChannelGroup Object includes the diagnosis information of all aggregated RIO Channel Objects.

If the SetApplicationTag Method is invoked or if parameterization data provided by the subordinated RioChannelGroupConfigType Object is changed, the value of the LastParameterChange timestamp Variable shall be changed by the Server. This includes the EngineeringUnits and EURange Properties of Process Value Variables and any change of configuration data provided by the “Config” Objects.

The Lock Object ensures exclusive Method call for one Client. The Client locks the channel Object by invoking the InitLock Method of the Lock Object. The Client invokes ExitLock to release the lock.

Before invoking a Method of the channel Object, Clients must gain exclusive access (“lock” the channel Object) using the Lock Object.

7.2.2 Analog Input Channel Types

Figure 22 shows the block diagram for an analog Input Channel.

Figure 22 – Analog RIO Input Channel Block Diagram
7.2.2.1 RioPaAnalogInputChannelType

The RioPaAnalogInputChannelType provides access to the data of an analog Rio Input Channel according to RIOforPA.

Table 32 – RioPaAnalogInputChannelType
Attribute Value
BrowseNameRioPaAnalogInputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioPaAnalogProcessValueDataTypeRioPaAnalogProcessValueVariableTypeM, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableModeRioChannelModeEnumeration0:BaseDataVariableTypeM, RO
0:HasComponentVariable ManualProcessValueRioAnalogDataType0:BaseDataVariableTypeO, RO
0:HasComponentVariableSimulationEnabled0:Boolean0:BaseDataVariableTypeM, RO
0:HasComponentVariableSimulationValueRioPaAnalogValueDataType0:BaseDataVariableTypeO, RO
0:HasComponentVariableConfigRioPaAnalogInputConfigDataTypeRioPaAnalogInputConfigVariableTypeM, RO
0:HasComponentMethodSetModeO
0:HasComponentMethodSetManualProcessValueO
0:HasComponentMethodSetSimulationO
0:HasComponentMethodSetSimulationValueO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains the current analog Input value for usage by a Controller.

The SignalValue Variable contains the input signal value obtained by reading the input signal through the signal coupling in the Transducer.

The Mode Variable contains the current mode of operation encoded as RioChannelModeEnumeration. If Mode has the Value MANUAL, the Value of the ManualProcessValue Variable shall be used as Process Value.

The ManualProcessValue Variable contains the value used as Process Value if the Mode Variable of the channel contains the Value MANUAL. The optional Variable is used for Devices according to the PA V3 profile and maps to the “manual out value” property defined by this profile.

The SimulationEnabled Variable contains True if the Value of the SimulationValue Variable shall be used as Process Value, otherwise False.

The SimulationValue Variable contains the value used as Process Value if the SimulationEnabled Variable contains the Value True.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioPaAnalogInputConfigVariableType (see chapter 9.4.5).

7.2.2.2 SetMode Method

This Method sets the Value of the Mode Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetMode (
		[in] RioChannelModeEnumeration	 Mode
		);
	
Argument Description
ModeDesired content of the Mode Variable.

The Method Result Codes (defined in Call Service) are defined in Table 33.

Table 33 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is currently not able to perform the demanded mode change.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the Mode Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.2.3 SetManualProcessValue Method

This Method sets the Value of the ManualProcessValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetManualProcessValue (
		[in] RioAnalogDataType		ManualProcessValue
		);
	
Argument Description
ManualProcessValueDesired Value of the ManualProcessValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 34.

Table 34 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value. For instance, the Server might reject manual values not within the channels value bounds.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the ManualProcessValue Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.2.4 SetSimulation Method

This Method sets the Value of the SimulationEnabled Variable to the desired value. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulation (
		[in] 0:Boolean 	SimulationEnabled
	);
	
Argument Description
SimulationEnabledDesired content of the SimulationEnabled Variable.

The Method Result Codes (defined in Call Service) are defined in Table 35.

Table 35 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is not able to change into target mode.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the SimulationEnabled Variable already has the Value of the argument, the Method shall do nothing and return Good as result code.

7.2.2.5 SetSimulationValue Method

This Method sets the Value of the SimulationValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulationValue (
		[in] RioAnalogDataType		Value
		[in] 0:Byte		Qualifier
		);
	
Argument Description
ValueDesired content of the Value struct member of the SimulationValue Variable.
QualifierDesired content of the Qualifier struct member of the SimulationValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 36.

Table 36 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value. For instance, the Server might reject simulation values not within the channels value bounds.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.
7.2.2.6 RioFaAnalogInputChannelType

The RioFaAnalogInputChannelType provides access to the data of an analog RIO Input Channel according to RIOforFA.

Table 37 – RioFaAnalogInputChannelType
Attribute Value
BrowseNameRioFaAnalogInputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioFaAnalogProcessValueDataTypeRioFaAnalogProcessValueVariableTypeM, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableConfigRioFaAnalogInputConfigDataTypeRioFaAnalogInputConfigVariableTypeM, RO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains the current analog Input value for usage by a Controller.

The SignalValue Variable contains the input signal value obtained by reading the input signal through the signal coupling in the Transducer.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioFaAnalogInputConfigVariableType (see chapter 9.4.6).

7.2.3 Analog Output Channel Types

Figure 23 shows the block diagram for an analog Output Channel.

Figure 23 – Analog RIO Output Channel Block Diagram
7.2.3.1 RioPaAnalogOutputChannelType

The RioPaAnalogOutputChannelType provides access to the data of an analog RIO Output Channel according to RIOforPA.

Table 38 – RioPaAnalogOutputChannelType
Attribute Value
BrowseNameRioPaAnalogOutputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioPaAnalogProcessValueDataTypeRioPaAnalogProcessValueVariableTypeM, RO
0:HasComponentVariableProcessValueReadbackRioPaAnalogProcessValueDataTypeRioPaAnalogProcessValueVariableTypeO, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableSignalValueReadback0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableModeRioChannelModeEnumeration0:BaseDataVariableTypeM, RO
0:HasComponentVariable ManualOutValueRioAnalogDataType0:BaseDataVariableTypeO, RO
0:HasComponentVariableSimulationEnabled0:Boolean0:BaseDataVariableTypeM, RO
0:HasComponentVariableSimulationValueRioPaAnalogValueDataType0:BaseDataVariableTypeO, RO
0:HasComponentVariableConfigRioPaAnalogOutputConfigDataTypeRioPaAnalogOutputConfigVariableTypeM, RO
0:HasComponentMethodSetModeO
0:HasComponentMethodSetManualOutValueO
0:HasComponentMethodSetSimulationO
0:HasComponentMethodSetSimulationValueO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains the current analog Output value for an automated process.

The ProcessValueReadback Variable contains the readback value obtained by reading the output signal back through the Transducer and the Function Block.

The SignalValue Variable contains the output signal value fed to the signal coupling in the Transducer.

The SignalValueReadback Variable contains the output signal read back through the signal coupling in the Transducer.

The Mode Variable contains the current mode of operation encoded as RioChannelModeEnumeration. If Mode has the Value MANUAL, the Value of the ManualOutValue Variable shall be used as Output value in place of the Process Value.

The ManualOutValue Variable contains the value used as Output value to an automated process in place of the Process Value if the Mode Variable of the channel contains the Value MANUAL.

The SimulationEnabled Variable contains True if the Value of the SimulationValue Variable shall be used as Output value in place of the Process Value, otherwise False.

The SimulationValue Variable contains the value used as Output value in place of the Process Value if the SimulationEnabled Variable contains True.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioPaAnalogOutputConfigVariableType (See chapter 9.4.7).

7.2.3.2 SetMode Method

This Method sets the Value of the Mode Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetMode (
		[in] RioChannelModeEnumeration	Mode	
		);
	
Argument Description
ModeDesired content of the Mode Variable.

The Method Result Codes (defined in Call Service) are defined in Table 39.

Table 39 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is currently not able to perform the demanded mode change.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the Mode Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.3.3 SetManualOutValue Method

This Method sets the Value of the ManualOutValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetManualOutValue (
		[in] RioAnalogDataType		ManualOutValue
		);
	
Argument Description
ManualOutValueDesired Value of the ManualOutValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 40.

Table 40 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value. For instance, the Server might reject manual values not within the channels value bounds.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the ManualOutValue Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.3.4 SetSimulation Method

This Method sets the Value of the SimulationEnabled Variable to the desired value. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulation (
		[in] 0:Boolean	SimulationEnabled
	);
	
Argument Description
SimulationEnabledDesired content of the SimulationEnabled Variable.

The Method Result Codes (defined in Call Service) are defined in Table 41.

Table 41 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is not able to change into target mode.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the SimulationEnabled Variable already has the value of the argument, the Method shall do nothing and return Good as result code.

7.2.3.5 SetSimulationValue Method

This Method sets the Value of the SimulationValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulationValue (
		[in] 0:RioAnalogDataType	Value
		[in] 0:Byte		Qualifier
		);
	
Argument Description
ValueDesired content of the Value member of the SimulationValue Variable.
QualifierDesired content of the Qualifier member of the SimulationValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 42.

Table 42 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value. For instance, the Server might reject simulation values not within the channels value bounds.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.
7.2.3.6 RioFaAnalogOutputChannelType

The RioFaAnalogOutputChannelType provides access to the data of an analog RIO Output Channel according to RIOforFA.

Table 43 – RioFaAnalogOutputChannelType
Attribute Value
BrowseNameRioFaAnalogOutputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioFaAnalogProcessValueDataTypeRioFaAnalogProcessValueVariableTypeM, RO
0:HasComponentVariableProcessValueReadbackRioFaAnalogProcessValueDataTypeRioFaAnalogProcessValueVariableTypeO, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableSignalValueReadback0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableConfigRioFaAnalogOutputConfigDataTypeRioFaAnalogOutputConfigVariableTypeM, RO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains the current analog Output value for an automated process.

The ProcessValueReadback Variable contains the readback value obtained by reading the output signal back through the Transducer and the Function Block.

The SignalValue Variable contains the output signal value fed to the signal coupling in the Transducer.

The SignalValueReadback Variable contains the output signal read back through the signal coupling in the Transducer.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioFaAnalogOutputConfigVariableType (see chapter 9.4.8).

7.2.4 Digital Input Channel Types

Figure 24 shows the block diagram for a digital Input Channel.

Figure 24 – Digital RIO Input Channel Block Diagram
7.2.4.1 RioPaDigitalInputChannelType

The RioPaDigitalInputChannelType provides access to the data of a discrete RIO Input Channel according to RIOforPA.

Table 44 – RioPaDigitalInputChannelType
Attribute Value
BrowseNameRioPaDigitalInputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioPaDigitalProcessValueDataTypeRioPaDigitalProcessValueVariableTypeM, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableModeRioChannelModeEnumeration0:BaseDataVariableTypeM, RO
0:HasComponentVariable ManualProcessValue0:Boolean0:BaseDataVariableTypeO, RO
0:HasComponentVariableSimulationEnabled0:Boolean0:BaseDataVariableTypeM, RO
0:HasComponentVariableSimulationValueRioPaDigitalValueDataType0:BaseDataVariableTypeO, RO
0:HasComponentVariableConfigRioPaDigitalInputConfigDataTypeRioPaDigitalInputConfigVariableTypeM, RO
0:HasComponentMethodSetModeO
0:HasComponentMethodSetManualProcessValueO
0:HasComponentMethodSetSimulationO
0:HasComponentMethodSetSimulationValueO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains the digital Input value for a Controller.

The SignalValue Variable contains the input signal value obtained by reading the input signal through the signal coupling in the Transducer.

The Mode Variable contains the current mode of operation encoded as RioChannelModeEnumeration. If Mode has the Value MANUAL, the Value of the ManualProcessValue Variable shall be used as Process Value.

The ManualProcessValue Variable contains the value used as Process Value if the Mode Variable of the channel contains the Value MANUAL. The optional Variable is used for Devices according to the PA V3 profile and maps to the “manual out value” property defined by this profile.

The SimulationEnabled Variable contains True if the Value of the SimulationValue Variable shall be used as Process Value, otherwise False.

The SimulationValue Variable contains the value used as Process Value if the SimulationEnabled Variable contains the Value True.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioPaDigitalInputConfigVariableType (See 9.4.1)

7.2.4.2 SetMode Method

This Method sets the Value of the Mode Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetMode (
		[in] RioChannelModeEnumeration	Mode	
		);
	
Argument Description
ModeDesired content of the Mode Variable.

The Method Result Codes (defined in Call Service) are defined in Table 45.

Table 45 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is currently not able to perform the demanded mode change.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the Mode Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.4.3 SetManualProcessValue Method

This Method sets the Value of the ManualProcessValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetManualProcessValue (
		[in] 0:Boolean		ManualProcessValue
		);
	
Argument Description
ManualProcessValueDesired Value of the ManualProcessValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 46.

Table 46 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the ManualProcessValue Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.4.4 SetSimulation Method

This Method sets the Value of the SimulationEnabled Variable to the desired value. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulation (
		[in] 0:Boolean	SimulationEnabled
	);
	
Argument Description
SimulationEnabledDesired content of the SimulationEnabled Variable.

The Method Result Codes (defined in Call Service) are defined in Table 47.

Table 47 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is not able to change into target mode.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the SimulationEnabled Variable already has the value of the argument, the Method shall do nothing and return Good as result code.

7.2.4.5 SetSimulationValue Method

This Method sets the Value of the SimulationValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulationValue (
		[in] 0:Boolean	Value
		[in] 0:Byte		Qualifier
		);
	
Argument Description
ValueDesired content of the Value member of the SimulationValue Variable.
QualifierDesired content of the Qualifier member of the SimulationValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 48.

Table 48 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.
7.2.4.6 RioFaDigitalInputChannelType

The RioFaDigitalInputChannelType provides access to the data of a discrete RIO Input Channel according to RIOforFA.

Table 49 – RioFaDigitalInputChannelType
Attribute Value
BrowseNameRioFaDigitalInputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioFaDigitalProcessValueDataTypeRioFaDigitalProcessValueVariableTypeM, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableConfigRioFaDigitalInputConfigDataTypeRioFaDigitalInputConfigVariableTypeM, RO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains the digital Input value for a Controller.

The SignalValue Variable contains the input signal value obtained by reading the input signal through the signal coupling in the Transducer.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioFaDigitalInputConfigVariableType (see chapter 9.4.2).

7.2.5 Digital Output Channel Types

Figure 25 shows the block diagram for a digital Output Channel.

Figure 25 – Digital RIO Output Channel Block Diagram
7.2.5.1 RioPaDigitalOutputChannelType

The RioPaDigitalOutputChannelType provides access to the data of a discrete RIO Output Channel according to RIOforPA.

Table 50 – RioPaDigitalOutputChannelType
Attribute Value
BrowseNameRioPaDigitalOutputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioPaDigitalProcessValueDataTypeRioPaDigitalProcessValueVariableTypeM, RO
0:HasComponentVariableProcessValueReadbackRioPaDigitalProcessValueDataTypeRioPaDigitalProcessValueVariableTypeO, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableSignalValueReadback0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableModeRioChannelModeEnumeration0:BaseDataVariableTypeM, RO
0:HasComponentVariable ManualOutValue0:Boolean0:BaseDataVariableTypeO, RO
0:HasComponentVariableSimulationEnabled0:Boolean0:BaseDataVariableTypeM, RO
0:HasComponentVariableSimulationValueRioPaDigitalValueDataType0:BaseDataVariableTypeO, RO
0:HasComponentVariableConfigRioPaDigitalOutputConfigDataTypeRioPaDigitalOutputConfigVariableTypeM, RO
0:HasComponentMethodSetModeO
0:HasComponentMethodSetManualOutValueO
0:HasComponentMethodSetSimulationO
0:HasComponentMethodSetSimulationValueO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains a Controller’s output data to an automated process.

The ProcessValueReadback Variable contains the readback value obtained by reading the output signal back through the Transducer and the Function Block.

The SignalValue Variable contains the output signal value fed to the signal coupling in the Transducer.

The SignalValueReadback Variable contains the output signal read back through the signal coupling in the Transducer.

The Mode Variable contains the current mode of operation encoded as RioChannelModeEnumeration. If Mode has the Value MANUAL, the Value of the ManualOutValue Variable shall be used as Output value in place of the Process Value.

The ManualOutValue Variable contains the value used as Output value to an automated process in place of the Process Value if the Mode Variable of the channel contains the Value MANUAL.

The SimulationEnabled Variable contains True if the Value of the SimulationValue Variable shall be used as Process Value, otherwise False.

The SimulationValue Variable contains the value used as Output value in place of the Process Value if the SimulationEnabled Variable contains True.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioPaDigitalOutputConfigVariableType (see chapter 9.4.3)

7.2.5.2 SetMode Method

This Method sets the Value of the Mode Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetMode (
		[in] RioChannelModeEnumeration	Mode	
		);
	
Argument Description
ModeDesired content of the Mode Variable.

The Method Result Codes (defined in Call Service) are defined in Table 51.

Table 51 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is currently not able to perform the demanded mode change.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the Mode Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.5.3 SetManualOutValue Method

This Method sets the Value of the ManualOutValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetManualOutValue (
		[in] 0:Boolean	ManualOutValue
		);
	
Argument Description
ManualOutValueDesired Value of the ManualOutValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 52.

Table 52 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the ManualOutValue Variable has already the same Value as the argument, the Method shall do nothing and return Good as result code.

7.2.5.4 SetSimulation Method

This Method sets the Value of the SimulationEnabled Variable to the desired value. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulation (
		[in] 0:Boolean	SimulationEnabled
	);
	
Argument Description
SimulationEnabledDesired content of the SimulationEnabled Variable.

The Method Result Codes (defined in Call Service) are defined in Table 53.

Table 53 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_NotSupportedThe Server is not able to change into target mode.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

If the SimulationEnabled Variable already has the Value of the argument, the Method shall do nothing and return Good as result code.

7.2.5.5 SetSimulationValue Method

This Method sets the Value of the SimulationValue Variable. The security constraints defined in chapter 6.7 apply.

Signature

	SetSimulationValue (
		[in] 0:Boolean	Value
		[in] 0:Byte		Qualifier
		);
	
Argument Description
ValueDesired content of the Value member of the SimulationValue Variable.
QualifierDesired content of the Qualifier member of the SimulationValue Variable.

The Method Result Codes (defined in Call Service) are defined in Table 54.

Table 54 – Possible Method result codes
Result Code Description
GoodThe Method execution was successful.
Bad_UserAccessDeniedThe user has not the right to execute the Method.
Bad_InvalidArgumentThe Server is not able to apply the argument value.
Bad_UnexpectedErrorThe Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.
7.2.5.6 RioFaDigitalOutputChannelType

The RioFaDigitalOutputChannelType provides access to the data of a discrete RIO Output Channel according to RIOforFA.

Table 55 – RioFaDigitalOutputChannelType
Attribute Value
BrowseNameRioFaDigitalOutputChannelType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the RioChannelType.
0:HasComponentVariableProcessValueRioFaDigitalProcessValueDataTypeRioFaDigitalProcessValueVariableTypeM, RO
0:HasComponentVariableProcessValueReadbackRioFaDigitalProcessValueDataTypeRioFaDigitalProcessValueVariableTypeO, RO
0:HasComponentVariableSignalValue0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableSignalValueReadback0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableConfigRioFaDigitalOutputConfigDataTypeRioFaDigitalOutputConfigVariableTypeM, RO
Conformance Units
PNRIO Channel Objects

The ProcessValue Variable contains a Controller’s output data to an automated process.

The ProcessValueReadback Variable contains the readback value obtained by reading the output signal back through the Transducer and the Function Block.

The SignalValue Variable contains the output signal value fed to the signal coupling in the Transducer.

The SignalValueReadback Variable contains the output signal read back through the signal coupling in the Transducer.

The Config Variable contains the configuration properties available for the RIO Channel. See the definition of the RioFaDigitalOutputConfigVariableType (see chapter 9.4.4)

7.3 OPC UA for RIO Cyclic IO Types

7.3.1 PnTelegramType

The PnTelegramType represents a Telegram. The PnTelegramType can at least have one Input Telegram, one Output Telegram or both.

Table 56 – PnTelegramType Definition
Attribute Value
BrowseNamePnTelegramType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in OPC 10000-5.
0:HasComponentObjectInputPnIoTelegramTypeO
0:HasComponentObjectOutputPnIoTelegramTypeO
Conformance Units
PNRIO Cyclic Telegrams

.

The Input Object shall contain the Input component of the Telegram.

The Output Object shall contain the Output component of the Telegram.

7.3.2 PnIoTelegramType

The PnIoTelegramType represents an Input Telegram as well as an Output Telegram and associated status information.

Table 57 – PnIoTelegramType Definition
Attribute Value
BrowseNamePnIoTelegramType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in OPC 10000-5.
0:HasComponentObject<Nr_SignalName>PnIoSignalTypeMP
0:HasPropertyVariable IoTelegramImage0:ByteString0:PropertyTypeO, RO
0:HasPropertyVariableLength0:UInt160:PropertyTypeM, RO
0:HasPropertyVariableProviderStatusPnIoTelegramStatusEnumeration0:PropertyTypeM, RO
0:HasPropertyVariableConsumerStatusPnIoTelegramStatusEnumeration0:PropertyTypeO, RO
Conformance Units
PNRIO Cyclic Telegrams

The <Nr_SignalName> Object references one Signal associated with an Input- or an Output Telegram (IO Telegram). <Nr> shall reflect the order of the Signal in the IO Telegram, consistent with the Offset property of the PnIoSignalType Object.

There shall exist as many References to as many Signal Objects as are needed to map the content of the IO Telegram.

The IoTelegramImage Property shall contain an octet string representation of the IO Telegram. If consistency of the content cannot be guaranteed, the IoTelegramImage Property shall not be provided.

The Length Variable contains the length (the number of bytes) of the IO Telegram.

The ProviderStatus Variable contains the data provider’s Qualifier for the IO Telegram (IOPS according to [PN Service]) encoded as PnIoTelegramStatusEnumeration.

The ConsumerStatus Variable contains the data consumer’s Qualifier for the IO Telegram (IOCS according to [PN Service] is not relevant for RIOforFA, therefore ConsumerStatus is optional) encoded as PnIoTelegramStatusEnumeration.

7.3.3 PnIoSignalType

The PnIoSignalType gives access to the Variables containing the data of one Signal.

Table 58 – PnIoSignalType Definition
Attribute Value
BrowseNamePnIoSignalType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the 0:BaseObjectType defined in OPC 10000-5.
0:HasPropertyVariableSignalId0:UInt160:PropertyTypeO, RO
0:HasPropertyVariableOffset0:UInt160:PropertyTypeM, RO
Conformance Units
PNRIO Cyclic Telegrams

The SignalId Variable contains an optional unique identifier for the IO signal.

The Offset Variable contains the number of the first byte of the IO data in the IO Telegram. The numbering shall start with 0.

A Signal Object shall only be provided if it relates to the functional aspect using a 0:RepresentsSameEntityAs Reference.