
Publication 2098-PM001E-EN-P — July 2002
2-14 Referencing the Motion Library
long SequencerAddNode(long frame, void* fptr, void* dptr);
Inserts a user function into a sequencer frame.
The frame argument indicates which frame of the sequencer the
function is to be inserted. Valid frames arguments are 1 - 4.
The ftpr argument is a pointer to the user function to be inserted.
The dptr argument is a pointer to the user data.
Returns 0 if successful, or -1 on an error.
long SequencerRemoveNodes(void* dptr);
Removes all functions that access the specified data.
The dptr argument is a pointer to the user data.
Returns 0 if successful, or -1 on an error.
IMPORTANT
Sequencer Nodes are removed only on drive
power-up and with the use of the
SequencerRemoveNodes function.
Killing a program after calling SequencerAddNode
will put the control into an unstable state.
If nodes are added to the sequencer, they must be
removed before the program ends.
Kommentare zu diesen Handbüchern