Skip to main content

FSoEMaster

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.

Using the function block instance (driver instance)

In the application the FSoEMaster function block is used to

  • Change the default values

  • Acknowledge errors manually

  • Diagnose the connection to a safety device

To do this, the corresponding instance of the FSoEMaster function block must be made visible in a program by means of VAR_EXTERNAL <device name>: FSoEMaster.

Function block: FSoEMaster

sil3_FB_FSoEMaster.png
Table 117. VAR_INPUT

Name

Data Type

Initial Value

Description, parameter values

S_ActivateOut

SAFEBOOL

TRUE

Input for controlling the outputs

TRUE: FSoEMaster sends the output data of the application to the safety device.

FALSE: FSoEMaster sends substitute values for this cycle.

S_ActivateIn

SAFEBOOL

TRUE

Input for controlling the inputs

TRUE: Valid process data of the safety device are transferred to the application and copied into the mapping of the application.

FALSE: Substitute values of the inputs are transferred to the application for this cycle.

StartReset

BOOL

TRUE

FSoE name of the <auto-acknowledge startup error> input for automatic acknowledgment of errors at startup. See Input for automatic acknowledgement of startup errors

The Input for automatic acknowledgement of startup errors safety note must be observed.

AutoReset

BOOL

FALSE

FSoE name of the <auto-acknowledge interruption> input for the automatic acknowledgment after interruptions. See Input for automatic acknowledgement after interruption

The Input for automatic acknowledgement after interruption safety note must be observed.

Reset

BOOL

FALSE

FSoE name of the <Acknowledgment edge> for manual acknowledgment. See Input for acknowledgement edge (manual acknowledgement)

The Input to the acknowledgement edge (manual acknowledgement) notes must be observed.



Table 118. VAR_OUTPUT

Name

Data Type

Initial Value

Description, parameter values

S_OutReady

SAFEBOOL

FALSE

Indicates that the output data is valid and sent to the safety device.

TRUE: The output data of the application are valid and are transmitted to the safety device.

FALSE: Substitute values are transmitted to the safety device.

Note: The output changes to FALSE either at the instruction of the driver instance or because of transmission errors to the safety device or an internal error in the safety device.

S_InReady

SAFEBOOL

FALSE

Indicates whether the input variables contain valid process data from the device (instead of substitute values)

TRUE: Valid process data were received by the safety device and copied into the image of the application.

FALSE: The input data of the application was set to the substitute values.

Error

BOOL

FALSE

Error display

DiagCode

WORD

16#0000

FSoE – Status and Diagnosis

OpAckReq

BOOL

FALSE

FSoE name of the <Acknowledgment request> output for requesting a manual acknowledgment. See Output for acknowledgement request

The Output for acknowledgement request must be observed.

tRespTimeMS

TIME

TIME#0ms

Current cycle time of the data exchange

(see below: Time measurement)

tMinRespTimeMS

TIME

TIME#0ms

Minimum value of the cycle time of the data exchange

(see below: Time measurement)

tMaxRespTimeMS

TIME

TIME#0ms

Maximum value of the cycle time of the data exchange

(see below: Time measurement)



Time measurement

The FSoEMaster function block provides three outputs for the monitoring of the telegram processing time. The outputs are used for diagnosing the FSoE communication.

The expired time of the IEC timer is taken as the measured cycle time of a telegram (Master->Safety Device->Master). In order not to falsify the measurements, only valid responses are considered. The time is measured between two telegrams received by the safety device. This means at least one bit in the complete telegram shows a change.

The function block supplies both the current (tRespTimeMS), the minimum (tMinRespTimeMS) and the maximum (tMaxRespTimeMS) cycle time of a telegram.