Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
27-8 Revised March, 2012
27.7 _DMC_01_rm_04PI_get_buffer FORMAT
I16 PASCAL _DMC_01_rm_04PI_get_buffer (U16 CardNo, U16 NodeID, U16 SlotID,
U16 *bufferLength)
Purpose
Retrieves the buffered motion command.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16* Number Unit Node ID in use (Up to 4 axes)
SlotID U16* Number Unit Servo Slot ID in use (Up to 4 axes)
bufferLength U16* Number Un-executed motion command
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID =0;
U16 bufferLength;
I16 status;
/* Start synchronized motion control command */
status= _DMC_01_sync_move(CardNo);
/* Get un-executed motion commands from each Node */
status= _DMC_01_get_buffer_length (CardNo, NodeID, SlotID, &bufferLength);