Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Instrukcja Użytkownika Strona 229

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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);
Przeglądanie stron 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag