Could somebody help me?
I need to run two programs simultaneously in a C4G controller:
- Program A that moves the robot to perform its task
- Program B that operate only with inputs/outputs
Do you have some example ?
Could somebody help me?
I need to run two programs simultaneously in a C4G controller:
- Program A that moves the robot to perform its task
- Program B that operate only with inputs/outputs
Do you have some example ?
Program A should be normal robot program
PROGRAM A
....
END a
Program B should be nohold program
PROGRAM b NOHOLD
...
END b
I hope this helps. This is how i do it on C5G.
Thank you for your suggestion.
I need to run two holdable programs.
I think that I should use the SysCall command from program A (to call the program B) and the Detach command in program B (to detach the program from robot arm), but I have not yet tried it.
Yes if you want two holdable programs you must do exactly as you described.
In question you said that Program B operates only with i/o's. So why making it holdable?
I would like to hold it, since the program B moves motors, cylinders, etc..
What do you think?
I think that you should stop motors, cylinders, etc with logic in nohold program.
Hold will not affect stopping motor, when it is not external axis.
Ok,
I will follow your suggestion.
Thank you very much!