Table 21– ResponseSPDUDataType Structure
Name |
Type |
Description |
ResponseSPDUDataType |
structure |
|
OutFlags |
OutFlagsType |
See corresponding method argument in Table 8. |
OutSPDU_ID_1 |
UInt32 |
See corresponding method argument in Table 8. |
OutSPDU_ID_2 |
UInt32 |
See corresponding method argument in Table 8. |
OutSPDU_ID_3 |
UInt32 |
See corresponding method argument in Table 8. |
OutSafetyConsumerID |
UInt32 |
See corresponding method argument in Table 8. |
OutMonitoringNumber |
UInt32 |
See corresponding method argument in Table 8. |
OutCRC |
UInt32 |
See corresponding method argument in Table 8. |
NOTE: The Prefix “Out” should be interpreted from the SafetyProvider’s point of view and is used in a consistent manner to the parameters of the method ReadSafetyData (see 6.1.3).
[RQ6.12] To define the concrete data type for the ResponseSPDU (which specifies the concrete data types for SafetyData and NonSafetyData, respectively), proceed as follows: (1) Derive a concrete data type from the abstract ResponseSPDUDataType. (2) In doing so, add the following fields to the structure in the given order: (a) First, field OutSafetyDatawith the concrete structure data type for the SafetyData (which has to be a concrete structure data type, see clause 8.2.1.4). (b) Second, field NonSafetyDatawith the concrete structure data type for the NonSafetyData (or a placeholder data type, see requirement RQ6.8).
[RQ6.8] To avoid possible problems with empty structures, the dummy structure NonSafetyDataPlaceholder shall be used as DataType for OutNonSafetyData when no non-safety data is used. The datatype-node defining this structure has a fixed node-ID and contains a single Boolean.
The representation in the AddressSpaceof the ResponseSPDUDataTypeDataTypeis defined in Table 22.
Table 22– ResponseSPDUDataType definition
Attributes |
Value |
||||
BrowseName |
ResponseSPDUDataType |
||||
IsAbstract |
True |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
Subtype of Structure defined in OPC 10000-5 |
|||||
Conformance Units |
|||||
SafetyPDUs |