Parker Hannifin acr-motion max api users guide manual Jog and Homing Functions, AXGetMasterFlags

Page 12

AX_GetMasterFlags

Description Get all 32 MASTERFLAGS bits from DLL

Returns (Integer) 1 on Success, 0 on Failure

Arguments Global MasterFlags As String: MasterFlags = Space (33)

VB Example: Ret = AX_GetMasterFlags (MasterFlags)

Declaration: Public Declare Function AX_GetMasterFlags Lib _ "MotionCore.DLL" (ByVal MasterFlags As String) As Integer

AX_GetMcodeBits

Description GET M CODE BITS [1920 TO 2047] Extracts all BITS from DLL

Returns (Integer) 1 on Success, 0 on Failure

Arguments Global MCodes As String: MCodes = Space (129)

VB Example: Ret = AX_GetMcodeBits (MCodes)

Declaration: Public Declare Function AX_GetMcodeBits Lib _ "MotionCore.DLL" (ByVal MCodeBits as String) As Integer

AX_GetAdcInputs

Description

Get All 8 Analog to Digital Channel Inputs in an Array

Returns

(Integer) 1 on Success, 0 on Failure

Arguments

Global ADCs (0 To 8) As Single

VB Example:

Ret = AX_GetAdcInputs (ADCs (0))

Declaration:

Public Declare Function AX_GetAdcInputs Lib _

 

"MotionCore.DLL" (ByRef ADCs as Single) As Integer

(Jog and Homing Functions)

AX_JogMinus

AX_JogPlus

AX_JogMinusFast

AX_JogPlusFast

AX_JogStop

Description Jogs the Selected Axis @ JogSpeed Defined in the Parameters.Cfg file

12 - API Command Descriptions

API Users Guide

Image 12
Contents API Technical Assistance Parker Hannifin Corporation All Rights ReservedContents Acroloop I/O Layout Getting Started IntroductionAPI Command Groups MDI Mode Commands Error MessageJogging & Homing Virtual OverridesAPI Command Descriptions DLL InitializationAXInitializeControl AXIsCardPresentAXUpdateParams Parameter FunctionsFeedback & Status Functions AXDownloadParameters2CardBit Functions AXGetDistanceToGoCoordinatesAXGetAxisVelocity AXBitOnBit Group Functions AXBitOffAXGetInputs AXGetOutputsJog and Homing Functions AXGetMasterFlagsAXGetMcodeBits AXGetAdcInputsAXHomeAxis Ret = AXJogPlus CurrentAxisRet = AXJogPlusFast CurrentAxis DescriptionMDI Mode Functions Code FunctionsAXLoadGCodeFile AX GetGCodeLineNumberVirtual Overrides AXStopMDIAXExecuteMDI AXSetFov AXSetRov AXSetSovGraphics Functions AXInitializeGPHAXSetGphView ViewPort LayoutError Message System AX SetGraphicsAXSystemErr AXClearSystemErrCycle Functions AXCycleStartFeedHold This is not an API function but how we effect Feed holdReset Auto/Step ModeThis is not an API function but how we effect a Reset Control Signals MapAPI Users Guide Map Mcode Bits