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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 252
Chapter 17 Software Limit API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 17-3
17.2 _DMC_01_enable_soft_limit
FORMAT
I16 PASCAL _DMC_01_enable_soft_limit (U16 CardNo, U16 NodeID, U16 SlotID, I16 Action)
Purpose
Enables/disables the software limit and stop method after touching the limit.
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
Action I16 Selection
1: Emergency stop after touching limit
2: Slow down stop after touching limit
Example
U16 CardNo=0, NodeID =1, SlotID=0;
I16 Action=1; // Select emergency stop after touching limit
I16 status= _DMC_01_enable_soft_limit (CardNo, NodeID, SlotID, Action);
17.3 _DMC_01_disable_soft_limit
FORMAT
I16 PASCAL _DMC_01_disable_soft_limit (U16 CardNo, U16 NodeID,U16 SlotID)
Purpose
Disables the software limit.
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, NodeID=1, SlotID=0;
I16 status = _DMC_01_disable_soft_limit(CardNo, NodeID, SlotID);
Vista de página 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 527 528

Comentários a estes Manuais

Sem comentários