6/26/2009 2:22 AM | |
Posts: 73 Rating: (20) |
Hello yy1, The message you received "warning no reintegration" is generated by the compiler. If the compiler does not find a reintegration function [eg F-I/O-DB.ACK_REI] or other reintegration method the message is displayed. You will find a very good app note on the F-I/O DB reintegration for S7 Dist Safety at http://support.automation.siemens.com/WW/view/en/22304119 You mention configuring redundant I/O. I am assuming you mean a dual channel input such as CAT4 and not redundant I/O modules.S7 Distributed safety cannot be used with redundant I/O. Unless may be you create some safety logic to switch between two channels. You can use the safe input addresses in your standard program but in order to have the actual status you must also look at the QBAD bit. The easier method is to add a non safe bit [eg address M0.0] in parallel with a safety output or at the end of a rung for HMI status. The M0.0 bit can then be used in the standard program. Please be careful with using inputs Mx.x bits as inputs in the safety program. If the status of the M bit can change while the safety program is running the safety system may detect this as a RAM fault or other fault and stop the PLC. It is better to buffer the non safe data into another area just before you call the FCALL. Please see section7, 7.1 7.2http://support.automation.siemens.com/WW/view/en/22099875 See also page 124 for info on the F_GLOBDB also referred to as F Shared DB. This DB contains the safety signature which can be displayed on an HMI. Once in the HMI you can archive it or create an alarm if the value changes. May be you want to put the PLC into stop if the value changes. The system is very flexible to allow you to do just about anything. |
Last edited by: Safety1 at: 6/26/2009 2:47 AM |
|
This contribution was helpful to1 thankful Users |
6/30/2009 10:26 AM | |
Posts: 10 Rating: (0) |
Ok, then I have no problems with that. |
6/30/2009 11:12 AM | |
Joined: 10/7/2005 Last visit: 12/12/2024 Posts: 3029 Rating: (1057) |
Be careful guys as the above statement is not quite the whole truth. For example,the MB that you assigned to the CPU clock bist is updated by the OS asynchronicallyto you S7program. What this means is that these clock bitscan change during the execution of your safety program and MUST NOT directly be used in it (i.e. copy this CPU clock MB toanother MB within the OBfrom which you do your F-Call). For the same reason, if a SCADA or HMI writes tobits that you need in your safety program, you are better off to marshall them before the F-Call. The reason while one mustavoidthe possibilty of "changing bits during the execution of the Safety program" is becauseyou safety program is actually executed twice within the F-Call. First it executes the safety (LAD or FBD) logic that you programmed, followed by an execution of the (automatically generated during compile)inverted and WORD based (for diversity reasons) execution of your safety logic. At the end of these two executions, the Safety "OS" compares the result of both which must come up with exactly the opposite output state. If this is NOT the case the CPU assumes data corruption took place and does a (failsafe) shutdown. Obviously, if you have "bits" that change state between the twoexecutions you are asking for trouble. Attached is a pic which hopefully makes the above "mumbling" a bit clearer. I hope this helps |
Last edited by: fritz at: 6/30/2009 11:25 AMCheers |
|
This contribution was helpful to2 thankful Users |
6/30/2009 11:56 AM | |
Joined: 3/24/2009 Last visit: 7/9/2024 Posts: 535 Rating: (112) |
Thank you fritz, you are right. Asynchronous changes (e.g. by an OS) also have to be considered! Regards, yy1 |
2/21/2012 12:17 AM | |
Joined: 10/7/2005 Last visit: 12/12/2024 Posts: 3029 Rating: (1057)
|
Hello h2_504 there is no special "definiton" or "declaration" of the M bit area that you want topasson from the standard to the safety program. You simply decide on which M bits you want to use but must pay heed to chapter 7 of the SIMATIC Industrial Software S7 Distributed Safety - configuring and programming manualwhich will tell you the do's and don't's concenring this. I hope this helps |
Cheers |
|
Follow us on