|
Tip |
|---|---|
|
The version of the function block as described here corresponds to the latest version of the function block in Version list of function blocks. |
For an explanation about the default behavior, see Fieldbuses – General Part.
The notices regarding the default behavior of the driver of the PROFIsafe host stack should be observed.
Detection of loopback errors
Loopback errors are detected and displayed with diagnostic code 16#0C101.
|
SIL monitor |
|---|---|
|
This implementation supports the variant B of the SIL monitor. Every CRC error about the received telegram leads to an error response: Error state of the PROFIsafeHost If the request for a manual operator acknowledgement caused by a diagnostic message is made more than once within 100 hours, then the responsible service technician should be consulted. For operators and service technicians: This represents a serious impairment of the data transmission within the fieldbus system. Possible reasons for these malfunctions: Changes in the installation, corrosion of bus cable screens with plug connectors and extreme electromagnetic interference. Correspondence with the respective installation guidelines should be checked, or an EMC expert should be consulted (for further instructions see appendix to the PROFIsafe Specification, Version 2.5, December 2012). |
In the application the PROFIsafeHost function block is used for
-
Changing the default values
-
Acknowledge errors manually
-
Diagnose of the connection to an F-Device
To do this, the corresponding instance of the ProfisafeHost function block must be made visible in a program by means of VAR_EXTERNAL <device name>:ProfisafeHost.
Table 114. VAR_INPUT
|
Name |
Data Type |
Initial Value |
Description, parameter values |
|---|---|---|---|
|
|
|
|
(Input according to PROFIsafe Specification, Sec 6.1: Activation of Failsafe Values)
Default value: |
|
|
|
|
Name according to the PROFIsafe Specification, Sec. 6.1 "Operator Acknowledge"; for the input ack-edge for manual acknowledgement. See Input for acknowledgement edge (manual acknowledgement) Default value: The Input to the acknowledgement edge (manual acknowledgement) notes must be observed. |
|
|
|
|
(Input according to PROFIsafe Specification, Sec. 6.1: Activation of the i-parameterization of the F-Device. If necessary,
Default value: |
|
|
|
|
PROFIsafe name of the input auto-ack-startup-error for automatic acknowledgement of errors at startup. See Input for automatic acknowledgement of startup errors Default value: The Input for automatic acknowledgement of startup errors safety note must be observed. |
|
|
|
|
PROFIsafe name of the input auto-ack-interrupt input for the automatic acknowledgement after interruptions. See Input for automatic acknowledgement after interruption The default value is The Input for automatic acknowledgement after interruption safety note must be observed. |
Table 115. VAR_OUTPUT
|
Name |
Data Type |
Initial Value |
Description, parameter values |
|---|---|---|---|
|
|
|
|
(Output according to PROFIsafe Specification, Sec 6.1: Display Activation of Failsafe Values)
(Note: The output changes to |
|
|
|
|
Name for the output according to the PROFIsafe Specification, Sec. 6.1: Display Operator Acknowledgement Request, for the output ack-req for the acknowledgement request. See Output for acknowledgement request The Output for acknowledgement request note must be observed. |
|
|
|
|
(Output according to PROFIsafe Specification, Sec. 6.1: Display End of the i-parameterization of the F-Device.
|
|
|
|
|
Error display
|
|
|
|
|
Use of the output as diagnostic code (see Diagnostic code) |
|
|
|
|
Output, which provides the current cycle time for a message. (see below: Time measurement) |
|
|
|
|
Output, which provides the minimum cycle time for a message (see below: Time measurement) since the last rising edge of |
|
|
|
|
Output, which provides the maximum cycle time for a message (see below: Time measurement) since the last rising edge of |
The PROFIsafeHost function block provides three outputs for the monitoring of the message processing time. The outputs are used for diagnosing the PROFIsafe communication.
According to the PROFIsafe specification, the expired time of the host timer is taken as the measured cycle time of a telegram (F-Host -> F-Device -> F-Host): measurement from the time a request is sent until the response is received. In order not to falsify the measurements, only valid responses are considered. (This means that only values at the transitions T6 and T16 are accepted according to PROFIsafe specification).
The function block supplies the current and minimum cycle times of a telegram.