ACR Series products are used to control electrical and mechanical
components of motion control systems. You should test your motion system
for safety under all potential conditions. Failure to do so can result in damage
to equipment and/or serious injury to personnel.
ACR series products and the information in this guide are the proprietary property of Parker Hannifin
Corporation or its licensers, and may not be copied, disclosed, or used for any purpose not expressly authorized
by the owner thereof.
Since Parker Hannifin constantly strives to improve all of its products, we reserve the right to change this guide,
and software and hardware mentioned therein, at any time without notice.
In no event will the provider of the equipment be liable for any incidental, consequential, or special damages of
any kind or nature whatsoever, including but not limited to lost profits arising from or in any way connected
with the use of the equipment or this guide.
Getting Started ..................................................................................................................................... 5
Installation Folders and Files........................................................................................................................5
API Command Groups ........................................................................................................................ 6
Feedback & Status ........................................................................................................................................................6
Bit Functions................................................................................................................................................................. 6
Bit Group Functions .....................................................................................................................................................6
(Bit Group Functions).................................................................................................................................................11
(Jog and Homing Functions).......................................................................................................................................12
Place VB Code in a button ......................................................................................................................................14
Control Signals ...........................................................................................................................................................20
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\ACRMotionMax. 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…
AX_InitializeControlStart DLL … this must be the first call to the DLL
AX_IsCardPresentChecks for Servo Controller Presence
Parameters
AX_UpdateParamsForce DLL to Reload All Parameters from Parameters.Cfg File
AX_DownloadParameters2CardForce DLL to Update Params from Parameters.Cfg file to ServoCard
Feedback & Status
AX_GetEncoderCountsExtract 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_BitOnTurns on any bit (Except Inputs)
AX_BitOffTurns on any bit
Bit Group Functions
AX_GetInputsExtracts all 96 Inputs
AX_GetOutputsExtracts all 96 Outputs
AX_GetControlBitsExtracts BITS [128-255] ACR-MOTIONMAX Control Signals
AX_GetMasterFlagsExtracts BITS [512-543] Master Flags
AX_GetMcodeBitsExtracts BITS [1920-2047] ACR-MOTIONMAX MCode Bits
AX_GetAdcInputsExtracts ADC Channels (0-7) into Array
G-Code File Functions
AX_LoadGCodeFileSend DLL a G-Code Filename to load in the Motion List
AX_GetGCodeLineNumberExtract Current Gcode Line Number being executed in cycle
6 - API Command GroupsAPI Users Guide
Jogging & Homing
AX_JogMinusJOG SELECTED AXIS MINUS DIRECTION
AX_JogPlusJOG SELECTED AXIS PLUS DIRECTION
AX_JogMinusFastJOG SELECTED AXIS MINUS DIRECTION at Fast Rate
AX_JogPlusFastJOG SELECTED AXIS PLUS DIRECTION at Fast Rate
AX_JogStopSTOP ALL JOGGING
AX_HomeAxisHOME THE SELECTED AXIS
MDI Mode Commands
AX_StartMDIStart MDI Mode Signal to DLL
AX_StopMDIStop MDI Mode Signal to DLL
AX_ExecuteMDIExecute MDI command String to DLL
Virtual Overrides
AX_SetFovSet Feedrate override manually with sliders
AX_SetRovSet Rapid rate override manually with sliders
AX_SetSovSet Spindle override manually with sliders
Graphics
AX_InitializeGPHInitialize Graphics Engine & pass handle of the control area
AX_SetGphViewTell Graphics which ViewPort to plot
AX_ZoomWindowPass Zoom Coordinates (in Pixies) to the Graphics Engine
AX_SetGraphics Turn Graphics Generator on/off
Error Message
AX_SystemErrGet the System errors from the DLL if any
AX_ClearSystemErrAcknowledges & Clears the Error from the DLL
Cycle Functions
AX_CycleStartStarts Loaded G Code File Running
FeedholdStop the Program running until Cleared
ResetStop Current programs and effects a M30
Auto/StepSet this bit (133) to tell DLL to Cycle in Auto
Clear this bit to run in Step
API Users GuideAPI Command Groups - 7
API Command Descriptions
(DLL Initialization)
AX_InitializeControl
DescriptionSends Handle (. hwnd) of the Applications Main Form to the DLL to spawn its threads.
Returns (Integer) 1 on Success, 0 on Failure
Arguments(Long) handle of the Applications Main Form
VB Example:
Private Sub frmForm_Initialize ()
Call AX_InitializeControl (frmMain.hwnd)
End sub
Declaration: Public Declare Function AX_InitializeControl Lib "MotionCore.DLL" (ByVal ProcHwnd As Long) As
Integer
AX_IsCardPresent
Description Checks if Servo Controller Card is present
Returns 1 if Motion card exists, 0 if not.
ArgumentsNone
Declaration
Public Declare Function AX_IsCardPresent Lib "MotionCore.DLL" () As Integer
VB Example:
Private Sub frmMain_Initialize ()
RetVal = Call AX_IsCardPresent ()
If RetVal = 0 then
Offline = True ‘MotionCard not found
Else
Offline = False ‘ MotionCard Found
End if
End Sub
8 - API Command DescriptionsAPI Users Guide
(Parameter Functions)
AX_UpdateParams
DescriptionForce DLL to Reload All Parameters from Parameters.Cfg File
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsNone
VB Example:
Private Sub UpdateParamsBtn_Click ()
‘ Force DLL to Reload All Parameters from Parameters.Cfg File
Call AX_UpdateParams
Sleep (10)
‘Force DLL to Update Params from Parameters.Cfg file to ServoCard
Call AX_DownloadParameters2Card
Sleep (10)
Declaration: Public Declare Function AX_UpdateParams Lib _
"MotionCore.DLL" () As Integer
AX_DownloadParameters2Card
DescriptionForce DLL to Update Params from Parameters.Cfg file to ServoCard
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsNone
VB Example:
Private Sub UpdateParamsBtn_Click ()
‘ Force DLL to Reload All Parameters from Parameters.Cfg File
Call AX_UpdateParams
Sleep (10)
‘Force DLL to Update Params from Parameters.Cfg file to ServoCard
Call AX_DownloadParameters2Card
Sleep (10)
Declaration:Declare Function AX_DownloadParameters2Card Lib _
"MotionCore.DLL" () As Integer
(Feedback & Status Functions)
AX_GetEncoderCounts
DescriptionExtract Encoder information from DLL in array
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsGlobal EncoderArray (0 To 8) As Long
VB Example:
Private Sub IOTIMER_Timer ()
Ret = AX_GetEncoderCounts(EncoderArray(0)) 'Get ABS Encoder Pos array
Declaration:Public Declare Function AX_GetEncoderCounts Lib "MotionCore.DLL" _
(ByRef EncoderArray as Long) As Integer
AX_GetDistanceToGoCoordinates
DescriptionExtract Distance to Go information from DLL in array
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsGlobal DTGArray (0 To 8) As Long
VB Example: Ret = AX_GetDistanceToGoCoordinates (DTGArray(0))
Declaration:Public Declare Function AX_GetDistanceToGoCoordinates Lib _
"MotionCore.DLL" (ByRef lDTGArray As Long) As Integer
AX_GetAxisVelocity
DescriptionExtract Master velocity from DLL
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsGlobal MasterVel (0 To 8) As Double
VB Example:
Ret = AX_GetAxisVelocity(mastervel(0)) 'Get Master velocity
‘ Display Current Profile Feedrate
FeedsReadout (3). Caption = Format (mastervel (0), "0000.00")
Declaration:Public Declare Function AX_GetAxisVelocity Lib _
"MotionCore.DLL" (ByRef DMasterVel as Double) As Integer
(Bit Functions)
AX_BitOn
DescriptionTurns on any bit except the Inputs
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsGlobal BitNum as Integer
VB Example:Call Ax_BitOn (512) ‘set Kill Moves to Card
Declaration:Public Declare Function AX_BitOn Lib _
"MotionCore.DLL" (ByVal BitNum as Integer) As Integer
10 - API Command DescriptionsAPI Users Guide
AX_BitOff
DescriptionTurns off any bit except the Inputs
Returns (Integer) 1 on Success, 0 on Failure
ArgumentsGlobal BitNum as Integer
VB Example:Call Ax_BitOff (512) ‘Clear Kill Moves to Card
Declaration:Public Declare Function AX_BitOff Lib _
"MotionCore.DLL" (ByVal BitNum as Integer) As Integer
(Bit Group Functions)
AX_GetInputs
DescriptionExtract all 96 Inputs as 0’s or 1’s to a 1 based string (See Control signals Map)
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal Inputs As String: Inputs = Space (97)
VB Example:Ret = AX_GetInputs (Inputs)
If Mid (Inputs, 2, 1) = 1 Then Estop = True
Declaration:Public Declare Function AX_GetInputs Lib _
“MotionCore.DLL" (ByVal Inputs as String) As Integer
AX_GetOutputs
DescriptionExtract all 96 Outputs as 0’s or 1’s to a 1 based string (See Control signals Map)
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal Outputs As String: Outputs = Space (97)
VB Example:Ret = AX_GetOutputs (Outputs)
If Mid (Outputs, 2, 1) = 1 Then Output 2 is on
Declaration:Public Declare Function AX_GetInputs Lib _
“MotionCore.DLL" (ByVal Outputs as String) As Integer
AX_GetControlBits
DescriptionGET INTERNAL CONTROL BITS [128 - 255] extracts all 128 BITS from DLL
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal ControlSignals As String: ControlSignals = Space (129)
Declaration:Public Declare Function AX_GetControlBits Lib _
"MotionCore.DLL" (ByVal ControlSignals As String) As Integer
API Users GuideAPI Command Descriptions - 11
AX_GetMasterFlags
DescriptionGet all 32 MASTERFLAGS bits from DLL
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal 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
DescriptionGET M CODE BITS [1920 TO 2047] Extracts all BITS from DLL
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal 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
DescriptionGet All 8 Analog to Digital Channel Inputs in an Array
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal 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
DescriptionJogs the Selected Axis @ JogSpeed Defined in the Parameters.Cfg file
12 - API Command DescriptionsAPI Users Guide
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal CurrentAxis as Integer
0 = Axis0 1=Axis12=Axis2
VB Example:
‘ To Jog an Axis Place Code in “MouseDown” Event
Private Sub JogPB_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
Ret = AX_JogMinus (CurrentAxis) ‘ Jog Axis Minus @ Normal Speed
End Sub
‘ To Stop Jogging Place Code in “MouseUP” Event
Private Sub JogPB_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
Ret = AX_JogStop‘ Stops All Jogging/All Axis
End Sub
Ret = AX_JogMinus (CurrentAxis) ‘ Jog Axis Minus @ Normal Speed
Ret = AX_JogPlus (CurrentAxis)‘ Jog Axis Minus @ Normal Speed
Ret = AX_JogMinusFast (CurrentAxis)‘ Jog Axis Minus @ Fast Speed
Ret = AX_JogPlusFast (CurrentAxis) ‘ Jog Axis Minus @ Fast Speed
Ret = AX_JogStop‘ Stops All Jogging
Declaration:Public Declare Function AX_JogMinus Lib _
"MotionCore.DLL" (ByVal CurrentAxis as Integer) As Integer
Public Declare Function AX_JogPlus Lib _
"MotionCore.DLL" (ByVal CurrentAxis as Integer) As Integer
Public Declare Function AX_JogMinusFast Lib _
"MotionCore.DLL" (ByVal CurrentAxis as Integer) As Integer
Public Declare Function AX_JogPlusFast Lib _
"MotionCore.DLL" (ByVal CurrentAxis as Integer) As Integer
AX_HomeAxis
DescriptionCalls the Homing Subroutines located in Prog0 of our AcroBasic Template
Axis0 is at prog0 line 100
Axis1 is at Prog0 line 200
Axis2 is at Prog0 line 300
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal CurrentAxis as Integer
0 = Axis0 1=Axis12=Axis2
DeclarationPublic Declare Function AX_HomeAxis Lib _
"MotionCore.DLL" (ByVal CurrentAxis as Integer) As Integer"
VB Example:ret = AX_HomeAxis (CurrentAxis)‘Home the Selected Axis
API Users GuideAPI Command Descriptions - 13
Place VB Code in a button
'Home X Axis
Ret = AX_HomeAxis (0)
HomingActiveLblTXT.Caption = " Homing ... " & Axis0Letter
Sleep (500)
WaitForX: DoEvents
If Mid (ControlSignals, 2, 1) = 1 Or Mid (ControlSignals, 3, 1) = 1 Then Goto HomeErr 'if Estop exit
'If X not home yet done yet loop
If Mid (ControlSignals, 43, 1) = 0 Then Goto WaitForX
(G Code Functions)
AX_LoadGCodeFile
DescriptionSend DLL a G-Code Filename to load in the Motion List
Returns(Integer) 1 on File Load Success, 0 on Failure
ArgumentsGlobal GCodeFilename as String
VB Example:Ret = AX_LoadGCodeFile (GCodeFilename) 'send file to DLL
DeclarationPublic Declare Function AX_LoadGCodeFile Lib _
"MotionCore.DLL" (ByVal filename As String) As Integer
Note: If File has Error the Error message System will pick it up to allow you to see what line caused the Error
AX_ GetGCodeLineNumber
DescriptionExtract Current Gcode Line Number being executed in cycle
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobal gCodeLineNumber As Long
VB Example:Ret = AX_GetGCodeLineNumber (gCodeLineNumber) 'Get cur Line from DLL
Declaration Public Declare Function AX_GetGCodeLineNumber Lib _
"MotionCore.DLL" (ByRef gCodeLineNumber As Long) As Integer
(MDI Mode Functions)
AX_StartMDI
DescriptionStart MDI Mode Signal to DLL
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsNone
VB Example:Call AX_StartMDI: Sleep (100)
14 - API Command DescriptionsAPI Users Guide
Declaration:Public Declare Function AX_StartMDI Lib "MotionCore.DLL" _ () As Integer
AX_StopMDI
DescriptionEnd MDI Mode Signal to DLL
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsNone
VB Example:Call AX_StopMDI: Sleep (100)
Declaration:Public Declare Function AX_StopMDI Lib "MotionCore.DLL" _
() As Integer
AX_ExecuteMDI
DescriptionSend MDI Command String to DLL to Execute
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsGlobalMDICmdStr as String
DeclarationPublic Declare Function AX_SetFov Lib "MotionCore.DLL" _
(ByVal FovVal as Double) As Integer
API Users GuideAPI Command Descriptions - 15
Public Declare Function AX_SetRov Lib "MotionCore.DLL" _
(ByVal RovVal as Double) As Integer
Public Declare Function AX_SetSov Lib "MotionCore.DLL" _
(ByVal SovVal as Double) As Integer
(Graphics Functions)
AX_InitializeGPH
DescriptionInitialize Graphics Engine and give it the handle of the Control to plot to, this is typically a PictureBox
control in VB. The DLL will extract the coordinates of the window in pixels, and use these coordinates
form then on. It is important to not move the window once it has been initialized as incorrect display of
graphics could occur.
Returns(Integer) 1 on Success, 0 on Failure
ArgumentsLong … Handle (. hwnd) of the Graphics control
VB Example:Ret = AX_InitializeGPH
Declaration:Declare Function AX_InitializeGPH Lib _
"MotionCore.DLL" (ByVal ProcHwnd As Long) As Integer
AX_SetGphView
DescriptionInforms the Graphics Engine which View Port to Use.
ViewPort Layout:
0=Top4=NE
1=Front 5=NW
2=Side6=SE
3=NW7=SW
ZoomAll -> Tells Engine to refresh ViewPort to outer boundaries. Depending on if Parameter
“UseMachWindow=1” if not it uses the Saved ViewPort coordinates.
Returns(Integer) 1 on Success, 0 on Failure
Argumentsviewpoint as Integer, ZoomAll As integer
VB Example:Ret = AX_SetGphView (0)‘set to top view
Declaration:Public Declare Function AX_SetGphView Lib _
"MotionCore.DLL" (ByVal viewpoint As Integer, ByVal ZoomAll as Integer) As Integer
16 - API Command DescriptionsAPI Users Guide
AX_ SetGraphics
DescriptionPass Screen Coordinates (in Pixels) of the ZoomBox to the API for Zoom operations
Returns(Integer) 1 on Success, 0 on Failure
Arguments:ByVal iGraphicsOn As Integer
VB Example:'Turn Graphics On
Call AX_SetGraphics (1)
'Turn Graphics Off
Call AX_SetGraphics (0)
Declaration:Public Declare Function AX_SetGraphics Lib "MotionCore.DLL" _
(ByVal iGraphicsOn As Integer) As Integer
(Error Message System)
AX_SystemErr
Description'Get the System errors from the DLL if any
Returns(Integer) 1 on Success, 0 on Failure
Arguments:ByVal ErrMsg as String, ByVal ErrSource as String, ByRef ErrLineNum As Long
VB Example:ErrMsg = Space (255) : ErrSource = Space(128)
Declaration:Public Declare Function AX_SystemErr Lib _
"MotionCore.DLL" (ByVal ErrMsg As String, ByVal ErrSource As String, ByRef ErrLineNum As
Long) As Integer
AX_ClearSystemErr
DescriptionAcknowledgement from Vb to DLL side from user that he got the error MSG.
This function also Clear the Error in the DLL Handler.If more errors are in the message
Handler the Above Call will be Valid again.
Returns(Integer) 1 on Success, 0 on Failure
Arguments:None
VB Example:Call AX_ClearSystemErr
Declaration:Public Declare Function AX_SystemErr Lib _
"MotionCore.DLL" (ByVal ErrMsg as String, ByVal ErrSource As String, ByRef ErrLineNum As
Long) As Integer
API Users GuideAPI Command Descriptions - 17
(Cycle Functions)
AX_CycleStart
DescriptionCause DLL to Start running the current Loaded G code file from the Specified Line
Returns(Integer) 1 on Success, 0 on Failure
Arguments:Global Linenum as Long
VB Example:Call AX_CycleStart (0) ‘ Start Program from first Line
Declaration:Public Declare Function AX_CycleStart Lib _
"MotionCore.DLL" (ByVal Linenum as Long) As Integer
Note:DLL Motion List is zero based.
The System can run in 2 modes Auto/Step
To Set control System in Auto Mode
Call AX_BitOn (133) 'Set Auto/Step Mode Bit=1
Call AX_BitOn (134) ' RunMode bit on
To Set control System in Step Mode
Call AX_BitOff (133) 'Set Auto/Step Mode Bit=0
Call AX_BitOn (134) ' RunMode bit on
FeedHold
DescriptionSetting these bits in an Option Button will effect a feed hold to the Card
This is not an API function but how we effect Feed hold
ReturnsNothing
Arguments:None
VB Example:Private Sub FHoldBtn_Click ()
If FHoldBtn.value = 1 Then
Call AX_BitOn (520) 'set feed hold to card
Call AX_BitOn (131) 'set feed hold Control Signal bit
CmdStart.Enabled = False 'Cycle Start Button
INCYCLE = False
Else
Call AX_BitOff (518) 'Clear Feed hold to card
Call AX_BitOff (519) 'Clear Feed hold to card
Call AX_BitOff (520) 'Clear Feed hold to card
Call AX_BitOff (131) 'Clear Feed hold Control Signal bit
' program running bit
If Mid (ControlSignals, 75, 1) = 1 Then
CmdStart.Enabled = True 'Cycle Start Button
End If
End If
End Sub
18 - API Command DescriptionsAPI Users Guide
Reset
DescriptionSetting these bits in an Option Button will effect a feed hold to the Card
This is not an API function but how we effect a Reset
ReturnsNothing
Arguments:None
VB Example:Private Sub ResetBtn_Click ()
Call AX_BitOn (130) 'set reset bit …Stop Program and reset to line 0
Auto/Step Mode
DescriptionSetting these bits in an Option Button will place control in Auto/Step mode
This is not an API function but how we effect a Reset
ReturnsNothing
Arguments:None
VB Example:To Set control System in Auto Mode
Call AX_BitOn (133) 'Set Auto/Step Mode Bit=1
Call AX_BitOn (134) ' RunMode bit on
To Set control System in Step Mode
Call AX_BitOff (133) 'Set Auto/Step Mode Bit=0
Call AX_BitOn (134) ' RunMode bit on
API Users GuideAPI Command Descriptions - 19
I/O Map
Acroloop I/O Layout
Control Signals
These bits [128-255] used by the DLL for communication with the VB and AcroBasic.
The MotionCore.DLL depends on these bits so don’t use them in your Vb programs for any other purpose than
as defined below. If you need to use some bits for your program logic, we have set aside some User Scratch Pad
bits at bit locations (224-248) that you may use as desired.
Bit Description
128Cycle StartSet by AcroBasic to Signal that Cycle Start has been pressed.
129EstopSignals that Estop is On or Off.
130ResetSignals ACR-MOTIONMAX System to Do a Reset.
131FeedholdSignals ACR-MOTIONMAX that Feedhold is on.
132Dry RunSignals ACR-MOTIONMAX to run in Dry Run Mode
133Auto/StepSignals control to Run in Auto or Step mode Auto=1 Step =0
134OK to RunIf Not in Feed Hold, Estop, MDI Mode or Jog Mode (This Signal Is Set by ACRMOTIONMAX)
135Jog ModeSet by ACR-MOTIONMAX when In Jog Mode
136MDI ModeSet by ACR-MOTIONMAX when in MDI Mode
137Offsets ModeSet By ACR-MOTIONMAX when Control is in Offsets Screen
138In CycleSet by ACR-MOTIONMAX when Control Goes in Cycle
139Edit ModeSet by ACR-MOTIONMAX when Control Goes in edit Mode
140JoggedInCycleSet by ACR-MOTIONMAX when the Control has jogged in cycle
141ReturnToPreJogPos Used by Mill max after a InCycle jog
142OptionalStopActive When=1 Optional Stop will be acted on else they will be ignored
143Control ReadySet In ACR-MOTIONMAX when Software Starts and cleared When Program End
144Homing ActiveSet In AcroBasic to Signal that a Homing operation is in progress
145Control InitializedSignal set by AcroBasic that Initialization succeeded to ACR-MOTIONMAX
146Spindle Encoder Installed Used by ACR-MOTIONMAX for Rigid Tapping
147M DoneSet by AcroBasic to Signal that a M code has finished successfully
148S DoneSet By AcroBasic to Signal that a S code has finished successfully
149T DoneSet By AcroBasic to Signal that a T code has finished successfully
150M StrobeSet By ACR-MOTIONMAX when a M Code has been Sent to be serviced by
AcroBasic
151S StrobeSet By ACR-MOTIONMAX when a S Code has been Sent to be serviced by
AcroBasic
20 - I/O MapAPI Users Guide
152T StrobeSet By ACR-MOTIONMAX when a T Code has been Sent to be serviced by
AcroBasic
153Tool Change ActiveSet by ACR-MOTIONMAX DLL to Signal M6 Sub needs to do a change
154Tool Change DoneSet By AcroBasic in M6 Code to signal a tool change has finished ok
155Z @ T change PositionSet By AcroBasic to Signal that Z is at the Tool change Position
156Tool Seek ActiveSet in AcroBasic T Strobe Code to Signal that Magazine is Moving
157Tool Seek DoneSet by AcroBasic to Signal that the seek operation is complete
158Tool Seek DirectionSet By ACR-MOTIONMAX to Signal bi-directional Magazine direction to Move
159Tool Seek SpeedSet By AcroBasic for Magazines that have Slow Down Capabilities
160MPG EnabledSet By AcroBasic to Signal ACR-MOTIONMAX that Pendant is Enabled
161MPG X SelectSet by AcroBasic to Signal ACR-MOTIONMAX that Axis is under Pendant Control
162MPG Y SelectSet by AcroBasic to Signal ACR-MOTIONMAX that Axis is under Pendant Control
163MPG Z SelectSet by AcroBasic to Signal ACR-MOTIONMAX that Axis is under Pendant Control
164MPG 4 SelectSet by AcroBasic to Signal ACR-MOTIONMAX that Axis is under Pendant Control
165MPG 5 SelectSet by AcroBasic to Signal ACR-MOTIONMAX that Axis is under Pendant Control
166X.1 Mode SelectSet by AcroBasic to Signal ACR-MOTIONMAX that X.1 Mode is selected for
Pendant Moves
167X1 Mode SelectSet by AcroBasic to Signal ACR-MOTIONMAX that X1 Mode is selected for
Pendant Moves
168X10 Mode SelectSet by AcroBasic to Signal ACR-MOTIONMAX that X10 Mode is selected for
Pendant Moves
169X100 Mode SelectSet by AcroBasic to Signal ACR-MOTIONMAX that X100 Mode is selected for
Pendant Moves
170X Home DoneSet by AcroBasic to Signal ACR-MOTIONMAX that Axis has been Referenced
171Y Home DoneSet by AcroBasic to Signal ACR-MOTIONMAX that Axis has been Referenced
172Z Home DoneSet by AcroBasic to Signal ACR-MOTIONMAX that Axis has been Referenced
1734 Axis Home DoneSet by AcroBasic to Signal ACR-MOTIONMAX that Axis has been Referenced
1745th Axis Home DoneSet by AcroBasic to Signal ACR-MOTIONMAX that Axis has been Referenced
175Magazine Ref DoneSet by AcroBasic M18 to Signal ACR-MOTIONMAX that Magazine has been
Referenced
176Gear Change ActiveSet by AcroBasic when effecting a Gear change
177Gear Change bit 0Set by ACR-MOTIONMAX to signal which Gear has been Requested (is a binary
code)
178Gear Change bit 1Set by ACR-MOTIONMAX to signal which Gear has been Requested (is a binary
code)
179Gear Change bit 2Set by ACR-MOTIONMAX to signal which Gear has been Requested (is a binary
code)
180Spindle Direction BitSet by AcroBasic to signal Spindle direction is for M3/M4 outputs 1 fwd 0 rev
1810 Speed Arrival bitSet by AcroBasic to Signal that Spindle is at rest
182Speed Arrival bitSet by AcroBasic to signal that spindle is running at the commanded speed
183Orient CompleteSet By AcroBasic to signal that Spindle is at the orient Position
184Spindle EnableSet by ACR-MOTIONMAX to signal that the spindle is Enabled
185Rigid Tapping ActiveSignal will be 1 when the ACR-MOTIONMAX Control is Rigid Tapping
186Tapping ActiveSignal will be 1 when ACR-MOTIONMAX is running a Tapping cycle
1874th Axis PresentSet by AcroBasic to ACR-MOTIONMAX informing control of 4th axis presence
1884th Axis ClampedSet by AcroBasic to ACR-MOTIONMAX signaling that 4th Axis is locked
189ContouringSet by ACR-MOTIONMAX to signal that a contouring mode is active
190SpindleRunningSet in AcroBasic to form logic to turn Spindle back on if paused
191Reserved
192Over Travel ActiveSet by AcroBasic to ACR-MOTIONMAX of an existing OverTravel
193 EnableVirtualEstopSet to Allow Virtual Estop Button on GUI
194V Estop StatusStatus Signal used by ACR-MOTIONMAX of VEstop
195 Reserved for future use
196Reserved for future use
197Reserved for future use
198Reserved for future use
API Users GuideI/O Map - 21
199Reserved for future use
200Reserved for future use
202Program RunningSet by ACR-MOTIONMAX signals that a G Code program is running InCycle
203Program ModifiedSet by ACR-MOTIONMAX when the current program has been altered
204 to 212Reserved for future use(Don’t Use)
213Digital FOV Bit04 bit Code for External Feedrate Override Switches to
214Digital FOV Bit1Create logic 0 – 100 %
215 Digital FOV Bit2
216 Digital FOV Bit3
217 Digital ROV Bit04 bit Code for External Rapid Override Switches
218 Digital ROV Bit1
219Digital ROV Bit2
220Digital ROV Bit3
221Digital SOV Bit04 bit Code for External Rapid Override Switches
222Digital SOV Bit1
223Digital ROV Bit2
224 Digital ROV Bit3
225 to 248 Scratch Pad bits (Bits for the User to use as status bits)
249ReservedUsed by ACR-MOTIONMAX for internal Error Messages display
250User Error bit 0Bits 250 to 255 form a binary code for Error Messages to send to ACRMOTIONMAX
251User Error bit 1
252User Error bit 2
253User Error bit 3
254User Error bit 4
255User Error Bit 5 See: Setting Up User Defined Error Messages
Mcode Bits
These bits (1920-2047) these bits are reserved and should not be used other than to set an Mcode Function
M0-M126 that the Mcode Processor will process.
22 - I/O MapAPI Users Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.