Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manual do Utilizador Página 249

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 248
Chapter 16 Motion Counter Value API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 16-7
16.8 _DMC_01_get_current_speed_rpm
FORMAT
I16 PASCAL _DMC_01_get_current_speed_rpm (U16 CardNo, U16 NodeID, U16 SlotID,
I32 *rpm)
Purpose
Retrieves current RPM x 10.
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
rpm I32* Revolutions/second Actual torque is 1/10 of this variable (RPM)
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID=0;
I32 rpm;
I16 status= _DMC_01_get_current_speed_rpm (CardNo, NodeID, SlotID, &rpm);
// If you get a torque value of 1000, the actual speed is 100RPM.
Vista de página 248
1 2 ... 244 245 246 247 248 249 250 251 252 253 254 ... 527 528

Comentários a estes Manuais

Sem comentários