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
Summary of Contents for PCI-8136M
Page 1: ...PCI 8136M 6 Axis Motion Controller Card User s Guide ...
Page 2: ......