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

  • 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 223
Chapter 12 Torque Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
12-4 Revised March, 2012
12.3 _DMC_01_set_torque_stop
FORMAT
I16 PASCAL _DMC_01_set_torque_stop (U16 CardNo, U16 NodeID, U16 SlotID, U16 stop)
Purpose
Stops torque 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
stop U16 Selection
0: Current motion status.
1: Stop torque motion
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 stop=1;
I16 ratio=100; // If value of ratio is 100, then 100 divided by 1000 means rated torque is 10%
and motor is running clockwise.
/* Set ratio and begin torque motion */
I16 status=_DMC_01_set_torque(CardNo, NodeID, SlotID, ratio);
/* Stop torque motion */
status= _DMC_01_set_torque_stop(CardNo, NodeID, SlotID, stop);
Vue de la page 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 527 528

Commentaires sur ces manuels

Pas de commentaire