(0)| 4/16/2018 7:26 AM | |
|
Joined: 4/28/2015 Last visit: 1/19/2026 Posts: 402 Rating:
|
Hello, you could use so many function blocks, but it is not necessary and it is not a very good programming for service... I would write one function block with two multiple instances "MC_MoveAbolute", one for each axis, and a state machine, using the CASE command with case-value "step". The parameter settings of the two "MC_MoveAbolute" instances are done in state machine (case-step) and the call of the two "MC_MoveAbolute" instances is done after the state machine. step = 0 step = 1 step = 2 step = 3 If you want to see, how to realize such a state machine, have a look at the following application example of S7-1500 (function block: "MoveCircle2D") |
This contribution was helpful to
|
|
| 4/16/2018 7:49 AM | |
|
Posts: 2826 Rating:
|
Hello. How about using the MC_CommandTable? BR |
This contribution was helpful to
|
|
| 5/2/2018 5:31 PM | |
|
Posts: 2826 Rating:
|
You would want to read the next topic: https://support.industry.siemens.com/tf/ww/en/posts/116307/ This links to a potentially helpful FAQ: https://support.industry.siemens.com/cs/ww/en/view/86221902 |
Follow us on