Chapter 27 4-Channel Pulse Interface API | PCI-DMC-A01 / PCI-DMC-B01
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
CardNo
NodeID
SlotID
bufferLength
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);
27-8
Unit
U16
Number Unit
U16*
Number Unit
U16*
Number Unit
U16*
Number
Description
CardNo is between 0~15
Node ID in use (Up to 4 axes)
Servo Slot ID in use (Up to 4 axes)
Un-executed motion command
Revised March, 2012