Controlling Siemens F-DO from user program

boneless

Lifetime Supporting Member + Moderator
Join Date
Feb 2008
Location
OKC
Posts
1,628
Hi all,


I received a request from a customer, and I am doubting if this is the correct way of doing things.


We have a Siemens 1500F PLC, with full size S7 300 safety modules (ET200M).



The client would like to be able open/close a (fail-safe close) valve (connected to a F-DO) from the user program. Is that advisable?


I guess as long as we cannot open the valve when safety is not present, the safety function is warranted?


Thanks!
 
Just to rephrase it a little bit:

You want to add a control that turns the F-DO off.
For the F-DO to turn on, all safeties must be in place and reset.

It should be possible. Here is a quote from the user manual for Simatic Safety (link to chapter: https://support.industry.siemens.com/cs/mdm/54110126?c=107369942155&lc=en-DE)

Use the ---( S )---: Set output (STEP 7 Safety V15.1), ---( R )---: Reset output (STEP 7 Safety V15.1) or SR: Set/reset flip-flop (STEP 7 Safety V15.1) instructions, for example, with tags from the standard user program to allow a motor to be switched off, but not switched on.
 
Yes correct, but I also want to turn the F-DO as long as safety is okay.


I will check out the link, thank you!
 
The way that may make sense is to have the command tag in the standard logic, and then to read that tag in the safety. You can use standard bits in the safety code as long as you aren't using them to jumper your safety logic.

OK in the safety code:


Safety OK User Command F-DO
-------||-----------||------------------()----





BAD in the safety code:
Code:
Safety OK                  F-DO
-------||--------------------()----
             |
User Command |
-------||----|
 
Last edited:
Thank you both.


I was just worried about using non-safety tags in safety system. The link from Jesper clarifies a lot, it is sometimes hard to find the correct documentation from Siemens :) .
 
Thank you both.

I was just worried about using non-safety tags in safety system. The link from Jesper clarifies a lot, it is sometimes hard to find the correct documentation from Siemens :) .

Something else to keep in mind:

If you use a standard tag in the safety program, if anything changes about that standard tag, the safety program will need to recompiled, and possibly re-downloaded. This could mean that simply adding a tag to a standard DB (with another tag read from the safety) could cause you to need to stop your PLC when you download, because the safety needed to go along for the ride.

The best practice outlined in the documentation (not sure which manual Jesper linked, it won't load for me) is to have a DB where you buffer all the tags between standard and safety. That way, only the tags from that DB are used in the safety code, and no other changes will affect it.
 
Last edited:

Similar Topics

More help again please... See the picture. I want to make the rectangle visible when Mr_Zr_ToggleSwitch is 1, and make it invisible when 0...
Replies
5
Views
2,492
Hi all, I've hit a bit of a brick wall and need some help. I'm currently trying to get a Siemens S7-1200 PLC to talk to an Eaton DE1 Drive I'm...
Replies
8
Views
3,711
Hey guys! Im using step7 v5.6. I have s7-300 on my desk, connected to vacon v20 i installed the opte5 card in the v20. So now im trying to...
Replies
18
Views
4,460
Hey Guy, I would like to control the (attached) DC motor drive with my S7-1500 PLC through an HMI. when i say control i mean only the speed...
Replies
6
Views
2,246
We have a Siemens 555 Processor With a Huge Program, It has 60 pid loops,Lots Special Functions and 40 Remote bases and Drives Using Profibus...
Replies
3
Views
3,101
Back
Top Bottom