There are a number of ways to do this, none of them 100% satisfactory:
* Two or more LinuxCNC instances running on different PCs and communicating via serial, gpio, network etc.
* Control one or zero sets of joints using G-code and control the others as "extrajoints" using simple_tp or some similar HAL component, with waypoints calculated by something other than the G-code interpreter.
* For a fixed, repeatable, sequence, carefully written G-code as discussed earlier.
It would definitely be nice to be able to have two LinuxCNC instances on the same machine share a HAL area.
Need to resurrect jog while paused code. It allow more then one instance of linuxcnc.