19.08.2013 Views

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FC "STANDARD" (FC 3)<br />

The FC "STANDARD" (FC 3) in the following figure sets/resets<br />

#COND whose information starts or stops the "machine" in the<br />

failsafe program.<br />

#START<br />

#STOP<br />

"P"<br />

P &<br />

#E_MAGNET<br />

"N"<br />

N<br />

"INSTANZ_<br />

FB1".<br />

RELEASE<br />

>=1<br />

"SR"<br />

SR<br />

S<br />

R Q<br />

#COND<br />

=<br />

"INSTANZ_FB1".RELEASE is a bit from the instance data block<br />

(DB 1) of the FB 1, which is processed in the safety program.<br />

The static variable "RELEASE" is set or reset. Here in FC 3 the<br />

standard user program will read this information, as the machine<br />

must only be operated with "RELEASE"="1".<br />

The failsafe program has the following program sequence:<br />

F-CALL<br />

(FC1) FB"COORDINATION"<br />

(FB1,DB1)<br />

FB"F_SFDOOR"<br />

(FB217,DB217)<br />

From the<br />

Distributed <strong>Safety</strong><br />

library<br />

FC"REINTEGRATION"<br />

(FC2)<br />

F-CALL (FC1)<br />

F-CALL (FC1) is the F runtime group and is called from the cyclic<br />

interrupt OB (OB35). F-CALL calls the F programe block<br />

(here the FB 1).<br />

FB "F_SFDOOR" (FB217, DB217)<br />

FB "COORDINATION" (FB1, DB1) is the first to call the FB<br />

"F_SFDOOR" (FB217, DB217). FB 217 is a certified block from<br />

the library of distributed safety, which from version 5.3 on is<br />

available for safety door monitoring.<br />

G_FB_XX_100<br />

G_FB_XX_102<br />

...<br />

"SEP_ACT"<br />

"HINGED_SW"<br />

"F00002<br />

4_8_F_DI_<br />

DC24V".<br />

QBAD<br />

"F00002<br />

4_8_F_DI_<br />

DC24V".<br />

QBAD<br />

#OPEN_NEC<br />

#ACK_NEC<br />

#ACK<br />

EN<br />

IN1<br />

IN2<br />

QBAD_IN1<br />

QBAD_IN2<br />

OPEN_NEC<br />

ACK_NEC<br />

ACK<br />

"INSTANZ_<br />

FB217"<br />

"F_SFDOOR"<br />

DIAG<br />

ENO<br />

Q #RELEASE<br />

ACK_REQ #ACK_REQ<br />

...<br />

The enable signal Q (#RELEASE) decides whether<br />

■ the actuator is switched on/off<br />

■ whether the safety door must be opened<br />

Enable is given at #RELEASE="1".<br />

The inputs of the safety position switch "SEP_ACT" and the<br />

hinge switch are allocated to the inputs IN1 and IN2 of the FB<br />

217. As soon as one of the two inputs IN1 and IN2 has the signal<br />

status "0", it is interpreted as opening the safety door. The<br />

enable signal is thereby reset to '0'.<br />

The enable signal can only be reset to 1 if:<br />

■ prior to closing the door both inputs IN1 and IN2 have the<br />

signal status 0 (safety door completely opened). This<br />

uncovers the error of a broken actuator still in the position<br />

switch despite of an opened door.<br />

■ subsequently both inputs IN1 and IN2 take on signal status<br />

1 (safety door closed)<br />

■ an acknowledgement is given<br />

Functional Example No. AS-FE-I-003-V10-EN 203<br />

G_FB_XX_101<br />

Ex. No.<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!