Application example: Safety Functions
A.3 Safety program S7 Distributed Safety
Fail-safe operation of the Mobile Panel 277F IWLAN
122
Function Manual, 08/2008, 6AV6691-1FQ01-2AB0
Symbolic name
Meaning
MP1_F_DATA_PIQ
Word 1 of the PIQ of the HMI device
MP1_F_RANGE_PIQ
Word 2 of the PIQ of the HMI device
Interface_DB
F-DB for the data transfer of user data
F_DB_States
F-DB for the transfer of data between the F_FB_MP of the HMI
device and the F_FB_RNG_n of the effective range
F-CALL (FC 1)
F-CALL (FC1) is the F-run-time group and is called from the cyclic interrupt OB (OB35).
F-CALL (FC1) calls the F-program block (in this case: FB1).
FB 1
For reasons of program modularity, all other safety-related blocks are called from this FB.
In the FB 1 you have to call the F-FBs in the sequence shown.
Network1
)B0RELOH)DLOVDIHB,2
4%$'
)B0RELOH)DLOVDIHB,2
$&.B5(4
)B)%B03
'%
03B)%B6B03B5(
03B)%B6B$&.B(55
03B)B'$7$B3,,
03B)B51*B3,,
)B'%B67$7(603BB6WDWXV
03B)B'$7$B3,4
03B)B51*B3,4
,QWHUIDFHB'%03B)%B',$*
(1
4%$'
$&.B5(4
6B03B5(6
6B$&.B
(55
03B'$7$
03B51*
03B67$7
$&.B5(,
03B'$7$B4
03B51*B4
',$*
(12
)B0RELOH)DLOVDIHB,2
$&.B5(,
In network 1 the F_FB_MP of the HMI device is called. With this block the controller monitors
the PROFIsafe communication of the Mobile Panel 277F IWLAN. The following diagnostics
information is indicated at the "DIAG" output:
● Status of the HMI device: integrated or removed
● A communication error has occurred.
● The communication error must be acknowledged.
For more information, please read FB161: Mobile Panel Status (F_FB_MP) (Page 63).