Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manuel d'utilisateur Page 229

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 528
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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);
Vue de la page 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 527 528

Commentaires sur ces manuels

Pas de commentaire