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

Page 12
Image 12
Parker Hannifin acr-motion max api users guide Jog and Homing Functions, AXGetMasterFlags, AXGetMcodeBits, AXGetAdcInputs