Parker Hannifin acr-motion max api users guide Manual Do Utilizador

Página de 22
API Users Guide
API Command Descriptions  -  15
Declaration:
Public Declare Function AX_StartMDI Lib "MotionCore.DLL" _
 
 () As Integer
AX_StopMDI
Description
End MDI Mode Signal to DLL
Returns
(Integer) 1 on Success, 0 on Failure
Arguments
None
VB Example:
Call AX_StopMDI: Sleep (100)
Declaration:
Public Declare Function AX_StopMDI Lib "MotionCore.DLL" _
  
() As Integer
AX_ExecuteMDI
Description
Send MDI Command String to DLL to Execute
Returns
(Integer) 1 on Success, 0 on Failure
Arguments
Global
 MDICmdStr as String
VB Example:
Call AX_ExecuteMDI (MDICmdStr): Sleep (100)
Declaration
Public Declare Function AX_ExecuteMDI Lib "MotionCore.DLL" _
  
(ByVal MDICmdStr as String) As Integer
(Virtual Overrides)
AX_SetFov
AX_SetRov
AX_SetSov
Description
Sets the Feed/Rapid/Spindle Speed Overrides for machines not using External Override POTS or
Switches
Returns
(Integer) 1 on Success, 0 on Failure
Arguments
Global OverrideVal as Double
VB Example:
Call AX_SetFov (OVRSlider (0). value * 0.01)
‘Set Feedrate OVR
Call AX_SetRov (OVRSlider (0). value * 0.01) 
‘Set Rapid OVR
Call AX_SetSov (OVRSlider (0). value * 0.01) 
‘Set Spindle Speed OVR
Declaration
Public Declare Function AX_SetFov Lib "MotionCore.DLL" _
 
(ByVal FovVal as Double) As Integer