On 9/18/15 1:20 AM, Jullian wrote: > Hi, all, > Does anyone know that what's the form of the data from EMCTASK to the > EMCMOT? is it related to TCs in the trajectory planner? > > where's the code about the data?How is the data passed to EMCMOT?
Hi Jullian. Communication between Task and Motion is in the form of a shared memory queue of emcmot_command_t structures. emcmot_command_t is defined in src/emc/motion/motion.h. Task sends these to Motion using the usrmotWriteEmcmotCommand() function, which is in src/emc/motion/usrmotintf.cc. Motion receives these commands in emcmotCommandHandler(), in src/emc/motion/command.c. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
