Parker Hannifin acr-motion max api users guide manual Virtual Overrides, AXStopMDI, AXExecuteMDI

Page 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

Returns

Switches

 

(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

 

API Users Guide

API Command Descriptions - 15

Image 15
Contents API Parker Hannifin Corporation All Rights Reserved Technical AssistanceContents Acroloop I/O Layout Introduction Getting StartedAPI Command Groups Virtual Overrides MDI Mode CommandsError Message Jogging & HomingAXIsCardPresent API Command DescriptionsDLL Initialization AXInitializeControlAXDownloadParameters2Card AXUpdateParamsParameter Functions Feedback & Status FunctionsAXBitOn Bit FunctionsAXGetDistanceToGoCoordinates AXGetAxisVelocityAXGetOutputs Bit Group FunctionsAXBitOff AXGetInputsAXGetAdcInputs Jog and Homing FunctionsAXGetMasterFlags AXGetMcodeBitsDescription AXHomeAxisRet = AXJogPlus CurrentAxis Ret = AXJogPlusFast CurrentAxisAX GetGCodeLineNumber MDI Mode FunctionsCode Functions AXLoadGCodeFileAXSetFov AXSetRov AXSetSov Virtual OverridesAXStopMDI AXExecuteMDIViewPort Layout Graphics FunctionsAXInitializeGPH AXSetGphViewAXClearSystemErr Error Message SystemAX SetGraphics AXSystemErrThis is not an API function but how we effect Feed hold Cycle FunctionsAXCycleStart FeedHoldReset Auto/Step ModeThis is not an API function but how we effect a Reset Map Control SignalsAPI Users Guide Map Mcode Bits