ADLINK Technology PCI-8136M Podręcznik Użytkownika Strona 106

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 107
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 105
98 Motion Library
5.18 Motion Function
@Name
_8136_Motion_Stop Stop motion for one axis
_8136_C_Set_Gain Tuning closed loop gain for one axis
@Description
_8136_Motion_Stop:
This function is for stopping motion command immediately. The
pulse generator will stop sending any command to driver.
_8136_C_Set_Gain:
This function is for tuning two closed loop parameters for
V-command control mode. One parameter is Multiplicand gain
(Kp1) and the other is shift gain (Kp2). The total compensation
gain is Kp1*(2^(Kp2))/16.
@ Syntax
C/C++ (DOS, Windows 95/98/NT/2000)
I16 _8136_Motion_Stop(I16 CardNo,I16 AxisNo)
I16 _8136_C_Set_Gain(I16 cardNo, I16 Axis,I16 Kp1,I16 Kp2)
Visual Basic 5.0 or higher
B_8136_Motion_Stop (ByVal CardNo As Integer, ByVal AxisNo As
Integer) As Integer
B_8136_C_Set_Gain(ByVal cardNo As Integer, ByVal Axis As
Integer, ByVal Kp1 As Integer, ByVal Kp2 As Integer)
@ Argument
CardNo: card number designated to set (Range 0 ~ 3)
AxisNo: axis number designated to set (Range 0~5)
Kp1: multiplicand gain (Range: 0~127 )
Kp2: shift gain ( Range 7~ +7 )
@ Return Code
ERR_RangeError
ERR_NoError
Przeglądanie stron 105
1 2 ... 101 102 103 104 105 106 107

Komentarze do niniejszej Instrukcji

Brak uwag