Parker Hannifin acr-motion max api users guide manual API Command Groups

Page 6

API Command Groups

Command Groups

DLL Initialization

AX_InitializeControl

Start DLL … this must be the first call to the DLL

AX_IsCardPresent

Checks for Servo Controller Presence

Parameters

AX_UpdateParams

Force DLL to Reload All Parameters from Parameters.Cfg File

AX_DownloadParameters2Card

Force DLL to Update Params from Parameters.Cfg file to ServoCard

Feedback & Status

AX_GetEncoderCounts

Extract Encoder information from DLL in array

AX_GetDistanceToGoCoordinates Extract DISTANCE TO GO information from DLL into array

AX_GetAxisVelocityExtract Master velocity from DLL

Bit Functions

AX_BitOn

Turns on any bit (Except Inputs)

AX_BitOff

Turns on any bit

Bit Group Functions

AX_GetInputs

Extracts all 96 Inputs

AX_GetOutputs

Extracts all 96 Outputs

AX_GetControlBits

Extracts BITS [128-255] ACR-MOTIONMAX Control Signals

AX_GetMasterFlags

Extracts BITS [512-543] Master Flags

AX_GetMcodeBits

Extracts BITS [1920-2047] ACR-MOTIONMAX MCode Bits

AX_GetAdcInputs

Extracts ADC Channels (0-7) into Array

G-Code File Functions

AX_LoadGCodeFile

Send DLL a G-Code Filename to load in the Motion List

AX_GetGCodeLineNumber

Extract Current Gcode Line Number being executed in cycle

6 - API Command Groups

API Users Guide

Image 6
Contents API Technical Assistance Parker Hannifin Corporation All Rights ReservedContents Acroloop I/O Layout Getting Started IntroductionAPI Command Groups Jogging & Homing MDI Mode CommandsError Message Virtual OverridesAXInitializeControl API Command DescriptionsDLL Initialization AXIsCardPresentFeedback & Status Functions AXUpdateParamsParameter Functions AXDownloadParameters2CardAXGetAxisVelocity Bit FunctionsAXGetDistanceToGoCoordinates AXBitOnAXGetInputs Bit Group FunctionsAXBitOff AXGetOutputsAXGetMcodeBits Jog and Homing FunctionsAXGetMasterFlags AXGetAdcInputsRet = AXJogPlusFast CurrentAxis AXHomeAxisRet = AXJogPlus CurrentAxis DescriptionAXLoadGCodeFile MDI Mode FunctionsCode Functions AX GetGCodeLineNumberAXExecuteMDI Virtual OverridesAXStopMDI AXSetFov AXSetRov AXSetSovAXSetGphView Graphics FunctionsAXInitializeGPH ViewPort LayoutAXSystemErr Error Message SystemAX SetGraphics AXClearSystemErrFeedHold Cycle FunctionsAXCycleStart 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