If somebody was engaged in asynchronous programming, if so, can you share information? Please ! Thanks!
Asynchronous programming or parallel processes in Karel
- Dimus
- Thread is Unresolved
-
-
This is a bit terse.
What are you trying to do?
-
MULTI-TASKING- Looks like I found what I wanted! I want several processes to run in the program "Several programs were running at the same time" . If anyone has created a similar kind of program, would love to see an example! Thank you!
-
The only way I can think of is background logic programs.
I am pretty sure you can’t run more than one program that is motion capable.
-
If you want to control another motion group, e.g. an independent axis, you can use the RUN statement. If you don't need motion I would rather use conditions or BG logic.
-
If your program has no motion or wait instructions (no blocking instructions) then you can use an infinite loop style of programming to achieve asynchronous behavior.
This is common in many scenarios:
1. Fanuc BG Logic
2. Using a Run command to start a Fanuc TP program with a jump at the bottom and label at the top.
3. PLC programming
4. Microcontrollers