mpiSequenceCompile

Declaration

int32_t mpiSequenceCompile(MPISequence sequence)

 

Required Header: stdmpi.h

Description

mpiSequenceCompile "compiles" a sequence object by reading its list of Command objects and then creating an equivalent list of XMP commands.

sequence a handle to the Sequence object.
Return Values
MPIMessageOK

Compiling Program Sequencer Commands

An MPICommand will "compile" into one or more controller commands each of which takes up a slot in the controller’s command buffer. In general, an MPICommand will compile into a single controller command, but an MPICommandTypeMOTION requires 5 controller commands per axis.

For example, a MPIMotionTypeTRAPEZOIDAL with 2 axes mapped to the motion supervisor requires 2 x 5 = 10 commands in the controller’s command buffer.