6.2.2.3 Method ReadSafetyData
This Method is mandatory for the Facet SafetyProviderServerMapper. It is used to read SafetyData from the SafetyProvider. It is in the responsibility of the safety application that this Method is not concurrently called by multiple SafetyConsumers. Otherwise, the SafetyConsumer can receive invalid responses resulting in a safe reaction which can lead to either spurious trips or system unavailability, or both.
See Table 7 for Method ReadSafetyData’s arguments and Table 8 for its AdressSpace definition.
The Method argument OutSafetyData has an application-specific DataType derived from Structure. This DateType (including the DataTypeID) is expected to be the same in both the SafetyProvider and the SafetyConsumer. Otherwise, the SafetyConsumer will not accept the transferred data and switch to fail-safe substitute values instead (see state S16 in Table 34 as well as 7.2.3.2 and 7.2.3.5). The Method argument OutNonSafetyData has an application-specific DataType derived from Structure.
Signature
ReadSafetyData (
[in] UInt32 InSafetyConsumerID,
[in] UInt32 InMonitoringNumber,
[in] InFlagsType InFlags,
[out] Structure OutSafetyData,
[out] OutFlagsType OutFlags,
[out] UInt32 OutSPDU_ID_1,
[out] UInt32 OutSPDU_ID_2,
[out] UInt32 OutSPDU_ID_3,
[out] UInt32 OutSafetyConsumerID,
[out] UInt32 OutMonitoringNumber,
[out] UInt32 OutCRC,
[out] Structure OutNonSafetyData)
;| Argument | Description | |
|---|---|---|
| InSafetyConsumerID | “Safety Consumer Identifier”, see SafetyConsumerID in Table 23. | |
| InMonitoringNumber | “MonitoringNumber of the RequestSPDU”, see 7.2.1.3 and MonitoringNumber in Table 23. | |
| InFlags | “Octet with non-safety-related flags from SafetyConsumer”, see 6.2.3.1. | |
| OutSafetyData | “SafetyData”, see 7.2.1.5. | |
| OutFlags | “Octet with safety-related flags from SafetyProvider”, see 6.2.3.2. | |
| OutSPDU_ID_1 | “Safety PDU Identifier Part1”, see 7.2.3.2. | |
| OutSPDU_ID_2 | “Safety PDU Identifier Part2”, see 7.2.3.2. | |
| OutSPDU_ID_3 | “Safety PDU Identifier Part3”, see 7.2.3.2. | |
| OutSafetyConsumerID | “Safety Consumer Identifier”, see SafetyConsumerID in Table 23 and Table 26. | |
| OutMonitoringNumber | MonitoringNumber of the ResponseSPDU, see 7.2.1.9, 7.2.3.1, and Figure 11. | |
| OutCRC | CRC over the ResponseSPDU, see 7.2.3.6. | |
| OutNonSafetyData | “Non-safe data” see 7.2.1.11. | |
| Attribute | Value | ||||
|---|---|---|---|---|---|
| BrowseName | ReadSafetyData | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
| HasProperty | Variable | InputArguments | Argument[] | PropertyType | Mandatory |
| HasProperty | Variable | OutputArguments | Argument[] | PropertyType | Mandatory |
| Conformance units | |||||
| ReadSafetyData | |||||