Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manual de usuario Pagina 229

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 228
Chapter 13 Using PDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 13-3
13.2 _DMC_01_get_buffer_length
FORMAT
I16 PASCAL _DMC_01_get_buffer_length (U16 CardNo, U16 NodeID, U16 SlotID,
U16* bufferLength)
Purpose
Retrieves the motion command which has yet to be executed.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
bufferLength U16* Integer 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);
Vista de pagina 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 527 528

Comentarios a estos manuales

Sin comentarios