12/10/2023 7:28 PM | |
Joined: 3/30/2020 Last visit: 11/19/2024 Posts: 4968 Rating: (1012) |
Hello. I have gone quickly through the PDF you sent me. The page numbers you reference in your description does not help -- the PDF only contains FB2 (181 pages). Are you aware that there is a forum dedicated to German speakers? One repeating theme is the repeated FB calls, each with its own instance. It is not a big problem but it is a waste of resources. The program can be restructured to only have one instance. That includes motion control calls and call to FB1 and FB3. (see picture above) You will have a trigger1 / trigger2 / trigger3 / .. that goes through an OR to combine as a single trigger. One catch: there must be a one scan break between triggers. The "Execute" pin must see a OFF -> ON and ON -> OFF transition between triggers. It is not clear to me why all the MC_MoveAbsolute is set to 0.0. I assume another process incrementally move the payload to various positions (FB1?). The fact that FB1 looses the true state on the "EN" causes problems also. The enable need to stay on. I may not be available here for a while -- how do you wish to proceed? Example sequencing concept coded in SCL: |
Last edited by: qwazee at: 12/10/2023 19:36:12Last edited by: qwazee at: 12/10/2023 19:37:18Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
12/11/2023 12:25 PM | |
Joined: 12/9/2023 Last visit: 6/4/2024 Posts: 7 Rating: (0) |
True... If you find an easy solution to the problem I would leave the code as it is. Thank you!!! |
Follow us on