May 25, 2019, 01:25:39 AM
Robotforum | Industrial Robots Community

 Running two programs simultaneously

normal_post Author Topic:  Running two programs simultaneously  (Read 2926 times)

0 Members and 1 Guest are viewing this topic.

February 17, 2014, 08:07:51 PM
Read 2926 times

polik

Guest
Could somebody help me?

 :help:

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 ?

 :merci:

Today at 01:25:39 AM
Reply #1

Advertisement

Guest

February 27, 2014, 09:12:38 PM
Reply #1
Offline

krzych


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.

March 05, 2014, 06:51:23 AM
Reply #2

polik

Guest
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.

March 05, 2014, 07:59:29 PM
Reply #3
Offline

krzych


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?

March 07, 2014, 07:37:24 AM
Reply #4

polik

Guest
I would like to hold it, since the program B moves motors, cylinders, etc..
What do you think?

 :merci:

March 07, 2014, 08:49:15 AM
Reply #5
Offline

krzych


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.

March 07, 2014, 08:59:20 AM
Reply #6

polik

Guest
Ok,
I will follow your suggestion.
Thank you very much!

Today at 01:25:39 AM
Reply #7

Advertisement

Guest


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter