6/8/2010 11:08 PM | |
Joined: 3/25/2008 Last visit: 1/28/2022 Posts: 232 Rating:
|
Hello dear Colleagues. I'm working with SFC12, i have to be able to enable/disable one or more DP Slaves; until now i have tested the SFC12 and it works pretty good but now i'm facing a problem; i have to build a FB in wich i have to use SFC12 several times, one to readthe status of a DP slave, the second call is to disable the same DP Slave, and the last call is for enable this DP slave, please refer to the attachedfile in wichi show 2 direrent configurations forthe "Multiple Call" of SFC12 (FB2 and FB3). FB1 is my "Prototype". My big question is:Can i call SFC12 unconditionally several times and justtake careabout not make the "REQ"parameter true at the same time? Or should i put some conditions to the "EN" parameter to avoid the SFC12 get excecuted several times at the same time? Thanks all you for your kind help, and have a nice day. AttachmentFB_DP_En_Dis.zip (522 Downloads) |
Last edited by: TEBANCH at: 6/8/2010 11:22 PMCorrections in the attached program, oops! Keep working! |
|
6/8/2010 11:26 PM | |
Joined: 9/27/2006 Last visit: 4/19/2025 Posts: 12346 Rating:
|
Hello Tebanch; Before we start discussing your partculars, have you read the following FAQ: Notes on the use of SFC 12? http://support.automation.siemens.com/WW/view/en/17624225 It shows you how to use the signals REQ and Busy to sequence the calls of SFC 12, and it mentions that there is a limit on the number of simultaneous calls of SFC 12 (4 per Profibus line). Hope this helps, Daniel Chartier |
This contribution was helpful to
2 thankful Users |
6/10/2010 4:49 PM | |
Joined: 9/27/2006 Last visit: 4/19/2025 Posts: 12346 Rating:
|
Hello Tebanch; In programs where I have used SFC12, I have always noticed a delay in re-activating a DP-slave (that was de-activated earlier), but I never experienced anything that required a reset of the PLC. The FAQ I proposed earlier does mention "Activating a DP-Slave might be costly in time", without any more specifications. Does the slave CPU ever come back online, after any kind of delay? Do any error codes appear in the RET-VAL output of the SFC while you are re-activating your slave? If there are, please check them as per the codes described in the System and Standard Functions manual (also available in your Step 7 computer, under Simatic/Documentation): http://support.automation.siemens.com/WW/view/en/1214574 Siemens also provides this sample program for using SFC 12: http://support.automation.siemens.com/WW/view/en/5608020 I know it is a very simple function to use, basically, but please just check if anything is missing in your implementation, compared to theirs. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
4/13/2016 8:18 AM | |
Posts: 9 Rating:
|
hello E1, ------------------------------------------------------------------------------------------ |
Last edited by: Blue Moderator at: 4/13/2016 9:43:51 AMNew subject after splitting |
|
4/13/2016 9:51 AM | |
Joined: 4/21/2006 Last visit: 1/27/2025 Posts: 510 Rating:
|
Closed, cause question posted twice. The second thread with the subject how to enable or disable third party SMC module is published within the conference Communication / Networks. Best regards |
Follow us on