19.08.2013 Views

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

Safety Integrated - Industry - Siemens

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note<br />

If the above section is not observed the F CPU may go to<br />

STOP mode.<br />

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 />

FC"REINTEGRATION"<br />

(FC2)<br />

G_FB_XX_088<br />

G_FB_XX_090<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 />

...<br />

"SEP_ACT"<br />

"HINGED_<br />

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 />

EN<br />

IN1<br />

IN2<br />

QBAD_IN1<br />

QBAD_IN2<br />

OPEN_NEC<br />

ACK_NEC<br />

"INSTANZ_<br />

FB217<br />

"F_SFDOOR"<br />

DIAG<br />

Q #RELEASE<br />

ACK_REQ #ACK_REQ<br />

From the<br />

Distributed<br />

#ACK ACK<br />

ENO<br />

<strong>Safety</strong> library G_FB_XX_089<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 />

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 />

Functional Example No. AS-FE-I-002-V10-EN 189<br />

Ex. No.<br />

2

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

Saved successfully!

Ooh no, something went wrong!