6/14/2019 10:29 AM | |
Joined: 6/19/2008 Last visit: 8/6/2024 Posts: 46 Rating:
|
Hi there, My question is similiar or at least related so I will ask here instead of creating new topic :) I understand concept of IPO (Input Driver - Blocks - Output Driver) and why it can be important to have proper odrer of block at CFC chart. But what about Runtimes Groups order ? Is it also critical ? In more complex installation we have plenty interconnections between chart. What in this case ? Let say we have some Analog inputs (CFC chart with one Tag Name, all blocks arranged according to IPO), some Binary inputs (CFC with same rules), some Valve (same CFC rules) and some Logic CFC chart. Let's call them: ANALOG_1 ANALOG_2 BINARY_1 VALVE_1 LOGIC After compilatiom we will get Runtimes gropus with those names (see attachement as example with different names). So based on information from Analog inputs and Binary inputs plus some calculations (timers, delays etc.) we are creating logic (LOGIC CFC) which will produce command to VALVE CFC. What should be correct order of Runtimes Groups ? Is there any "correct order" ? What if feedback from valve is also used in this logic (so we have even more "loops") ? Best regards Kargan ------------------------------------------------------------------------------------------ |
Last edited by: Kargan at: 06/14/2019 10:33:48Last edited by: The Helping Hand at: 06/14/2019 11:03:16New subject after splitting |
|
6/17/2019 9:49 AM | |
Joined: 5/3/2017 Last visit: 5/21/2024 Posts: 673 Rating:
|
Hi Kargan, the "correct order" of Runtime Groups is also like run sequence, it should be according to the data flow in order to reduce dead times to a minimum during program runtime in the CPU otherwise the CPU processing old values. For this demand you can use the function "Optimizing the run sequence". This function is used to optimize the program run sequence according to the data flow in order to reduce dead times. More Information about the optimiation of runtime groups and run sequence you can found in the manual CFC for SIMATIC S7 in section Optimizing the run sequence. With regards |
6/20/2019 3:42 AM | |
Joined: 9/9/2015 Last visit: 9/4/2024 Posts: 727 Rating:
|
Hello Kargan, I would like to share my point of view. What I think is, it can't be perfect. As you said, there might be complex logic and a lot of loops. Therefore, my priority is like below 1. The primary order should be direct shutdown from the input. When certain input received, we must make sure the output is then send out in one cycle instead of >1 cycle. 2. The second priority is, those with one cycle pulse trigger, be extra careful on the runtime group order. As it will just trigger a pulse in one cycle, hence, this should be taken care carefully. 3. Always make sure the input is at the top of the Runtime order and output is at the back of the runtime order. (rearrange it at runtime editor) These are the three things that I will focus in doing. Hope my ways do help you. |
Please give me 5 stars Rating if my post is helpful for you. :) |
|
This contribution was helpful to
1 thankful Users |
Follow us on