4/5/2016 7:35 AM | |
Joined: 3/14/2008 Last visit: 11/11/2024 Posts: 2126 Rating: (951) |
|
Last edited by: Oreca at: 4/5/2016 7:44:14 AMLast edited by: Oreca at: 4/5/2016 7:47:54 AMIf I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to3 thankful Users |
4/7/2016 12:20 PM | |
Joined: 3/14/2008 Last visit: 11/11/2024 Posts: 2126 Rating: (951) |
You have to create a sequencer which is started when abort is pressed. And you can make one if stop is pressed. But you can also make one sequencer which is started when abort or stop is activated. For this you have to set the start condition of the sequencer. And in the sequencer you can create the logic to stop everything. If you press stop or abort, the SFC goes from Run to Aborting (stopping) and then to Aborted (Stopped). In order to restart the SFC again, you have to set the SFC to Idle before you can start the SFC again. Please find enclosed the SFC OSL-> Operating State Logic. This is how a SFC responds to actions and you can see which states are possible. This is how the SFC operates.... |
If I could help you, you can use the RATE button. Thank you. |
|
4/7/2016 2:01 PM | |
Joined: 3/14/2008 Last visit: 11/11/2024 Posts: 2126 Rating: (951) |
AgrS, Please find enclosed (and in my next post) attachments. I think your start condition is not set correct. AttachmentSFC(1)1.pdf (569 Downloads) |
If I could help you, you can use the RATE button. Thank you. |
|
4/7/2016 2:01 PM | |
Joined: 3/14/2008 Last visit: 11/11/2024 Posts: 2126 Rating: (951) |
Second attachment |
If I could help you, you can use the RATE button. Thank you. |
|
4/7/2016 2:59 PM | |
Joined: 3/14/2008 Last visit: 11/11/2024 Posts: 2126 Rating: (951) |
Hi Sorry for the confusion... In my example, the correct syntax should be: SFC(1).ABORTING = ABORTING, where SFC(1) is the SFC name and ABORTING is the output status of the SFC. You can even use input "ABORT" as well...numerous ways... This way, the SFC is set to ABORTING state, and then the sequencer is started and executes the logic. After that the SFC is automatically ended to aborted state. Hope this is clear? |
If I could help you, you can use the RATE button. Thank you. |
|
Follow us on