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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 243
Chapter 16 Motion Counter Value API | PCI-DMC-A01 / PCI-DMC-B01
16-2 Revised March, 2012
16.1 _DMC_01_get_command
FORMAT
I16 PASCAL _DMC_01_get_command (U16 CardNo, U16 NodeID, U16 SlotID, I32* cmd)
Purpose
Retrieves the Command counter value.
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
cmd I32*
Number of
pulses
Current value of Command counter
Example
U16 CardNo=0, NodeID=1, SlotID=0; I32 cmd;
I16 status= _DMC_01_get_command (CardNo, NodeID, SlotID, &cmd);
16.2 _DMC_01_set_command
FORMAT
I16 PASCAL _DMC_01_set_command (U16 CardNo, U16 NodeID, U16 SlotID, I32 cmd)
Purpose
Sets the new Command counter value.
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
cmd I32
Number of
pulses
New Command counter value to be set
Example
U16 CardNo=0, NodeID =1, SlotID=0; I32 cmd=1000000;
I16 status= _DMC_01_set_command (CardNo, NodeID, SlotID, cmd);
Przeglądanie stron 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag