Parker Hannifin acr-motion max api Bedienungsanleitung Seite 9

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 22
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 8
API Users Guide API Command Descriptions - 9
(Parameter Functions)
AX_UpdateParams
Description Force DLL to Reload All Parameters from Parameters.Cfg File
Returns (Integer) 1 on Success, 0 on Failure
Arguments None
VB Example:
Private Sub UpdateParamsBtn_Click ()
‘ Force DLL to Reload All Parameters from Parameters.Cfg File
Call AX_UpdateParams
Sleep (10)
‘Force DLL to Update Params from Parameters.Cfg file to ServoCard
Call AX_DownloadParameters2Card
Sleep (10)
Declaration: Public Declare Function AX_UpdateParams Lib _
"MotionCore.DLL" () As Integer
AX_DownloadParameters2Card
Description Force DLL to Update Params from Parameters.Cfg file to ServoCard
Returns (Integer) 1 on Success, 0 on Failure
Arguments None
VB Example:
Private Sub UpdateParamsBtn_Click ()
‘ Force DLL to Reload All Parameters from Parameters.Cfg File
Call AX_UpdateParams
Sleep (10)
‘Force DLL to Update Params from Parameters.Cfg file to ServoCard
Call AX_DownloadParameters2Card
Sleep (10)
Declaration: Declare Function AX_DownloadParameters2Card Lib _
"MotionCore.DLL" () As Integer
(Feedback & Status Functions)
AX_GetEncoderCounts
Description Extract Encoder information from DLL in array
Returns (Integer) 1 on Success, 0 on Failure
Arguments Global EncoderArray (0 To 8) As Long
VB Example:
Private Sub IOTIMER_Timer ()
Ret = AX_GetEncoderCounts(EncoderArray(0)) 'Get ABS Encoder Pos array
Seitenansicht 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 21 22

Kommentare zu diesen Handbüchern

Keine Kommentare