Parker Hannifin acr-motion max api users guide manual Getting Started, Introduction

Page 5

Getting Started

Introduction

This Guide give basic instructions on the functionality and implementation of the MotionCore.DLL API. Only experience developers of motion control software should attempt to use this API. A working knowledge of the Parker/Acroloop AcroBasic language is also required to full implement a finished motion system.

Operating System

This 32 bit DLL is for use in MS Windows NT 4.0 (service pack 4.0 or above) , 2000 or XP Pro

Installation

Parker-Hannifin API Installation will prompt you to create a folder…C:\Program Files\Parker\ACR- MotionMax. All references in this document will assume the users accepted the default folder.

When the Installation is complete, a prompt to reboot the computer will be displayed. In order for all of the drivers to be properly activated, the computer must be rebooted before any calls to the MotionCore.DLL can be placed.

Installation Folders and Files

The Installation will generate the Axium Folder and several sub-folders. Docs – this folder contains this document and others

ParFiles – this folder cantains all of the storage files incuding the configuration files Samples – this folder contains a Visual C++ and a Visual Basic sample.

The MotionCore.DLL file was installed in the Windows\System32 folder. This is done so it is accessible from anywhere on the computer. Since the System32 folder is found in the Windows path, you do need to reference any drive and folder information to locate it.

The ACR-MOTIONMAX.INI files is alos located in the Windows folder. This file contains the location of any files you create as well as the file location of the configuration files. This file can be edited with any text editor and cahnged to accommodate you specific application. The files looks like the following…

[PATHS]

Root=C:\Program Files\Parker\ACR-MotionMax Config=C:\Program Files\ Parker\ACR-MotionMax\ParFiles

API Users Guide

Getting Started - 5

Image 5
Contents API Parker Hannifin Corporation All Rights Reserved Technical AssistanceContents Acroloop I/O Layout Introduction Getting StartedAPI Command Groups Error Message MDI Mode CommandsJogging & Homing Virtual OverridesDLL Initialization API Command DescriptionsAXInitializeControl AXIsCardPresentParameter Functions AXUpdateParamsFeedback & Status Functions AXDownloadParameters2CardAXGetDistanceToGoCoordinates Bit FunctionsAXGetAxisVelocity AXBitOnAXBitOff Bit Group FunctionsAXGetInputs AXGetOutputsAXGetMasterFlags Jog and Homing FunctionsAXGetMcodeBits AXGetAdcInputsRet = AXJogPlus CurrentAxis AXHomeAxisRet = AXJogPlusFast CurrentAxis DescriptionCode Functions MDI Mode FunctionsAXLoadGCodeFile AX GetGCodeLineNumberAXStopMDI Virtual OverridesAXExecuteMDI AXSetFov AXSetRov AXSetSovAXInitializeGPH Graphics FunctionsAXSetGphView ViewPort LayoutAX SetGraphics Error Message SystemAXSystemErr AXClearSystemErrAXCycleStart Cycle FunctionsFeedHold This is not an API function but how we effect Feed holdThis is not an API function but how we effect a Reset ResetAuto/Step Mode Map Control SignalsAPI Users Guide Map Mcode Bits