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

  • 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 212
Chapter 10 Homing Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 10-7
10.2 _DMC_01_set_home_move
FORMAT
I16 PASCAL _DMC_01_set_home_move (U16 CardNo, U16 NodeID, U16 SlotID)
Purpose
Starts home motion.
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
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0; //If Slot ID is set to 0, then the Slave is a servo drive
I16 status= _DMC_01_set_home_move (CardNo, NodeID, SlotID);
NOTE
After executing _DMC_01_set_home_move, MDS0 in MC_status returned by
_DMC_01_motion_status API can be used to judge the Home status. Please set dwell
time of 30 ~ 100 ms after executing _DMC_01_set_home_move (this value can be
adjusted based on CPU performance and programming approach) before executing
_DMC_01_motion_status to ensure that the data is correct.
Vue de la page 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 527 528

Commentaires sur ces manuels

Pas de commentaire