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.
2
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.
Step 17a) Configure the Overrides ....................................................................................................... 28
Step 18. Starting ACR-MOTIONMAX for the First Time.................................................................. 29
Running ACR-MOTIONMAX for the First Time................................................................................ 29
4
Appendix A. ACR-MOTIONMAX Parameters............................................................. 30
Page 5
ACR-MOTIONMAX Installation Guide
Chapter 1Introduction and System Overview
ACR-MOTIONMAX interfaces to the Parker-Acroloop Motion Card with 32bit Signal Banks provided on
the Motion Card. The Control system communicates with AcroBasic through the Matrix of 5 signal Banks
as shown in the following Chart. The Key bank of signals is the “Control Signals” (Bits 128 to 255) these
Signals are the Main interface between ACR-MOTIONMAX and the users AcroBasic programs.
The Strategy of the ACR-MOTIONMAX Software System is, “ACR-MOTIONMAX is a Core System
that’s designed to stay the same…you simply edit the AcroBasic programs and ACR-MOTIONMAX’s
Parameters to accommodate your particular application.
ACR-MOTIONMAX Control System Bit Signal Banks
Table 1:
Signal Bank NameAcroloop Bit Address’sDescription
ControlSignals128 to 255Bit Addresses Reserved by ACR-MOTIONMAX
MCode Bits1920 to 2047MCodes … M00 to M127 Respectively
Master flags512 to 544Servo Motion State Flags
Inputs0 to 31 …256 to 287[Default … Ext. I/O Bank 1]
Outputs32 to 63 … 288 to 319[Default … Ext. I/O Bank 1]
M S & T Code Sequencing
ACR-MOTIONMAX Executes M S or T Codes by setting an M/S or T Code bit (1920-2047… M00-
M127) and an associated M/S or T Strobe Signal Bit. These bits are picked up by a looping P
and serviced.
rogram 1
5
All M S and T Codes Sent by ACR-MOTIONMAX are accompanied with a following M S or T
Strobe Signal.
The AcroBasic Program1 Intercepts M, S, T Codes and acts on them if its Strobe Signal is =1.
When the AcroBasic MS or T Code Function completes it must! set the associated Done Bit signaling
ACR-MOTIONMAX to continue.
Strobe & Done Signals Table:
Signal NameAddressFunction
M Done147Set by AcroBasic when the M-Code is Completed
S Done148Set by AcroBasic when the S-Code is Completed
T Done149Set by AcroBasic when the T-Code is Completed
M Strobe150Set By ACR-MOTIONMAX along with MCode Bit Pointer of subroutine
to Execute
S Strobe151Set by ACR-MOTIONMAX along with the new Dac value in
DAC5(P6480)
T Strobe152Set by ACR-MOTIONMAX along with the new Tool code in
Counter5(P6775)
Jogging Functions
ACR-MOTIONMAX Handles all Jogging internally and uses parameters in the Parameters.Cfg file for
Normal and Fast Jog speed settings as shown below.
[JogSpeeds]
Acceleration=1
Deceleration=1
Velocity=100
Stp=1
[FastJogSpeeds]
Acceleration=1
Deceleration=1
Velocity=200
Stp=1
Page 6
ACR-MOTIONMAX Installation Guide
Homing & HandWheel
ACR-MOTIONMAX accomplishes two special machine functions Homing / HandWheel Step Mode
Functions by calling Subroutines in Prog0.8k Directly at assigned addresses, as shown in Diagram. 1.1
The user simply edits the AcroBasic code of the subroutines to accommodate their application. These
Functions are provided to facilitate the many types of homing a user may require. ACR-MOTIONMAX
simply calls the subroutines at dedicated address of prog0 to execute.
System Overview Diagram
6
Page 7
ACR-MOTIONMAX Installation Guide
7
Direct
Called
Functions
Control Signals
Bank 1
Bits 128 - 255
"User" AcroBasic Program Template Layout
(1-30)Initialazation
(40) Setup Gearing
Configuration
End of Prog
Bank 2
Bits 1920 to 2047
M Codes
No
Bits 512 to 544
Master Flags
Progam 1Program 0
Control
Ready
Bit 143
= 1 ?
MotionMax
Bank 3
Bits 0 to 31
Inputs Bank0
Bits 256 to 287
Inputs Bank 1
Line 5Line 4
Initialized
Yes
( Line 6 )
Bank 4
Control
Bit 145
=1 ?
Bank 5
Bits 32 to 63
Outputs Bank 0
Bits 288 to 319
Outputs Bank 1
NoYes
Parker
Acroloop
Controler
( 30000 )
Do Control Initialazation
MotionMax Internal
Functions
Operator Interface
GCode File Editor
G Code Processor
Graphics Engine
Overrides
ACR-MC Core Dll
ACR-MC
Parameters
Tool/Work Offsets
Diagnostics
MDI Functions
Jog/Homing
functions
No
(50) X1 Gearing
(60) X10 Gearing
(70) X100 Gearing
(100) X Homing
(200) Y Homing
(300) Z Homing
(400) 4 Homing
(1500) Move Z to
Tool Change Pos.
(1600) Spindle Orient
Program 1 Calls these
2 Functions
fot ToolChanges
ACR-MOTIONMAX to AcroBasic System Start up
MStrobe = 1
STrobe = 0
(Line 7)
No
SStrobe = 1
(Line 8)
No
TStrobe = 1
(Line 9)
No
( 10000 )
General Handler
(11 to 150 )
Yes
Yes
Yes
EStopReset PBF-Hold PB
Parse
M-Code
( 8000-8999 )
Process
S-Code
( 9000 to 9999 )
Process
T-Code
(1000 to 7999 )
Do MCode
Functions
S Code
Process
Done ?
T Code
Process
Done ?
Over
Travels
M Code
Process
Done
?
Yes
Yes
Yes
No
Set S Done
No
Set T
Done
Error Msg. System
( 40500 )
Set M Done
Clear All M
Codes
Control Ready Bit (143) … This bit will Be Set =1 when ACR-MOTIONMAX initializes and is up
and running. This signal tells the AcroBasic program to start Looping as shown in figure 1.2.
Page 8
ACR-MOTIONMAX Installation Guide
Control Initialized bit (145)… Tells ACR-MOTIONMAX that the machine is initialized (Drives
Ready) and ready to Run. Insert your Drive Ready and any other initialization code in this function
(30000) to inform ACR-MOTIONMAX that initialization is complete and the machine is ready to run.
Program1 is the Main AcroBasic Program, all MS & T Codes are sent from ACR-MOTIONMAX and
processed in Program1 as shown.
ACR-MOTIONMAX AcroBasic Project Template Files
When ACR-MOTIONMAX is installed it will install an AcroBasic Template Project so the end user can
insert AcroBasic code into ACR-MOTIONMAX’s Predefined Structure of programs and subroutines to
form a repeatable control system. This Project is located in…
“C:\Program files\Parker\ACR-MOTIONMAX\AcroBasicFiles”
…and contains 5 files. Copy these files to your Acroview Default Project Folder.
AcroBasic Template Files list:
Prog0.8k:Sets Axis and Variable Definitions and Axis Homing and Spindle Orient Subroutines.
Prog1.8k:Contains the M S T Code Processing Code, and all other General Machine Functions.
PLC0.8k:Contains a Sample Lube System Code Ladder Program.
Sys.8kDefines System Memory Allocations on the Acroloop Card
Gains.8kDefines All initial Axis Gains.
8
Note: The Gains are overwritten when ACR-MOTIONMAX loads as ACR-MOTIONMAX uses the Gain
Settings
Defined in the Parameters.Cfg file so be sure to duplicate them in the Parameters.Cfg file.
Setting the Sys.8k file for Programs & Variable Memory Allocation
ACR-MOTIONMAX must be configured with enough memory in the SYS. 8k file, for the type of card
used.
PCI buss type cards use DPCB (Dual Port Cache Buffer), ISA buss type cards use FIFO(First in First Out)
Edit the 2 parameters of the SYS.8k file depending on the type of card your using (PCI is Default).
If using PCI CardIf using ISA Type Card
Clear DPCBClear FIFO
Dim DPCB (4096)Dim FIFO (4096)
Sys.8k File listing for PCI Type Controller
REM-----Clear out old allocations----SYS
HALT ALL
NEW ALL
CLEAR
DETACH ALL
REM-----Allocate system memory----DIM PROG0 (35000)
DIM PROG1 (35000)
DIM PROG2 (5000)
DIM PLC0 (5000)
DIM P (24)
DIM DEF (300): REM Allocate Bit Variable Space for 300 Variables
CLEAR DPCB: REM Clear PCI Buss Type Cache Buffer
DIM DPCB (4096): Rem Allocate for PCI Type Cache Buffer
REM - USER DEFINED AREA
:
Defining Bit Variables in AcroBasic
Page 9
ACR-MOTIONMAX Installation Guide
9
The Dim DEF (300) parameter in the
progo.8k to allow all bits to called with a Variable Name. No Punctuation is allowed in the variable name
and must be proceeded with #Define statement as shown. See Prog0.8k header.
Example & Format:
REM Input Bit Definitions
#DEFINE INPResetButton BIT0
#DEFINE INPFeedHoldButton BIT1
Sys.8k
should not be changed and is used in the AcroBasic file
M Code Sequence Examples:
ACR-MOTIONMAX MCodes (Bits 1920 to 2047) = M00 to M127
ACR-MOTIONMAX uses these bits to tell the AcroBasic Program which MCode Subroutine to Call.
Do not use any of these bits in your AcroBasic Programs they are reserved for ACR-MOTIONMAX
MCodes.
MCodes are triggered by Setting a MCode Bit (Bits 1920 to 2047) and an M Strobe Bit (150) signal bit.
Then the AcroBasic Program Prog1 will parse and call the appropriate MCode subroutine for execution and
return setting the MDone (Bit 147) Signal. ACR-MOTIONMAX will not execute another MCode or Gcode
if MDone = 0.See Prog1.8k line 6
M Code Sequence: M08 … Coolant On
[ACR-MOTIONMAX Sequence][AcroBasic Action]
1) Sets bit 1928M08 does nothing
2) Sets Bit 150M Strobe3) Parses the MCode bit and Calls Subroutine to be serviced
4) Returns with Mdone=1 and the Mstrobe=0 and Bit 1928=0
5) Continues
S Code Sequence: S2000
[ACR-MOTIONMAX Sequence][AcroBasic S Code Handler Action]
1) Writes Dac5 Val to P6480does nothing
2) Sets the Gear Range Bits
3) Sets the S Strobe Bit 1514) Processes gear change if required
5) Enables Axis if was running previously with new Dac Value
6) Waits for Spindle to get up to Speed
7) Returns with S Done=1 and the S Strobe=0
T Code Sequence: M6 T2
[ACR-MOTIONMAX Sequence][AcroBasic T Code Handler Action]
1) If new T Code is different Does nothing
From the Current tool then
Set 159 (ToolChangeRequest)
2)Set 1926 (M6 bit)
3) Set new Target into P6775
4) Set M Strobe ( Bit 150)
5) Set T Strobe (Bit 152)7) Service M6 Code if ToolChangeRequest = 1
8) Clear ToolChangeRequest and M/T Strobe =0
9) Return with M/T Done Bits = 0.
Chapter 2 Setting up Installing ACR-MOTIONMAX
Install ACR-MOTIONMAX with the Install Program. (Install_ACR-MOTIONMAX.exe)
Page 10
ACR-MOTIONMAX Installation Guide
Print the following 2 Files for Reference after ACR-MOTIONMAX has been installed:
10
Reference Files
Print the following 2 files for reference:
“C:\Program Files\Parker\ACR-MOTIONMAX\Docs\Default Bit Definitions.xls.”
This file contains a Complete Bit Map of the ACR-MOTIONMAX System. This file is an Excel
spreadsheet for your reference and is your best resource to understanding how ACR-MOTIONMAX
communicates with the Parker-Acroloop Controller and AcroBasic.
“C:\Program Files\Parker\ACR-MOTIONMAX\Docs\Parameter_Definitionst.xls” in the ACRMOTIONMAX/Docs Sub Folder. This file describes the functions of all Parameters in the Parameters.Cfg
file that ACR-MOTIONMAX uses at runtime
Parameters.mdb Contains Machine Parameters (Used by ACR-MOTIONMAX Only)
Parameters.CfgContains Machine Parameters
I/O.CfgContains Control I/O Map
UserDefined.Err Contains User Defined Error Strings
ToolTables.Mdb Contains Tool Tables Database (Used by ACR-MOTIONMAX Only)
Tool.tblContains Current Runtime Tool & Offset Information
ViewPorts.Cfg Used By DLL to Define Zooming and Viewport Options at runtime.
MoveLog.txt Text file listing of all moves and Mcodes that ACR-MOTIONMAX executes.
User.txtText log file of all functions that the operator does.
ACR-MOTIONMAX_Install_Guide.pdfThis Manual
Programmers Reference Manual.pdfG-Code Reference Manual
ControlSignalsDef.docControl Signals Reference Manual
Default Bit Definitions.xlsThe ACR-MOTIONMAX I/O Map Reference
MasterVectorInstructions.txtServo Firmware upgrade instructions
Parameter_Definitionst.XLSListing of all ACR-MOTIONMAX User Parameters
ACR-MOTIONMAX System Setup Diagram
Page 11
ACR-MOTIONMAX Installation Guide
Getting Started
Install AcroBasic SDK Software
Install MotionMax Software
Print Reference Manuals
Edit & Print Usert I/0 Map
Copy MotionMax AcroBasic Template Project to Acroview folder
Edit Acrobasic Program 0
Set Encoder Resolutions PPU
Set Encoder Multipliers MULT
Download to Servo Flash
Test & Phase Basic Servo Motion
Tune Servo Drives (Set Gains)
Configure Homing Functions
Configure I/0 Bit Variable Assignments
Save Setting to the Flash
Edit Acrobasic Program 1
Edit Initialzation Code
Edit MCode Functions M00 to M127
Edit S Code Function
Edit T Code Function
Edit Estop Function
Setup Error Msg System Strings
Test MCodes
Save Setting to the Flash
11
Edit MotiomMax Parameters.cfg
Configure #Encoder Resolutions
Configure #of Axis
Configure Gains
Configure Encoder Multipliers
Setup Speeds & Acceleration/
Deceleration
Setup Jog Speeds & Acceleration/
Deceleration
Configure ToolChanger
Configure Spindle Gear Ranges
Configure Inposition Bands
Configure Axis Backlash Values
Configure Axis Travel for Graphics
Display
Configure Overrides
Start Using MotionMax
Page 12
ACR-MOTIONMAX Installation Guide
Step 1. Install the Parker-Acroloop SDK (Software Development Kit)
Install the Parker-Acroloop SDK to your PC with the CD shipped with your Controller Card.
Important! When installing the SDK be sure to select the Type of Controller you’re using.
Step 2. Install ACR-MOTIONMAX to your PC
12
Install ACR-MOTIONMAX with the Install Program. (
Important!
Do not attempt to run ACR-MOTIONMAX attached to your machine until you have
Install_ACR-MotionMax.exe
)
completed the following tests in AcroBasic!
Disconnect all ServoMotors from any leadscrews or mechanism in case of axis runaway for the initial
setup phase.
Test Emergency Stop Circuitry & OverTravels
Emergency Stop Must Stop all Axis’s & (Spindle/Laser if equipped)
OverTravels Must Stop all Axis’s & (Spindle/Laser if equipped)
Set And Confirmed Encoder Resolutions and Multipliers
Phased the Motors Directionally
Set Axis Gains and can control Motors at the AcroView Command Line.
Duplicate the Encoder PPU / Gains Setting to the Parameters.Cfg file for ACR-MOTIONMAX
Important!
When handling OverTravels, most drives have 3 enables to aid in stopping an axis, Drive Enable,
Forward Enable and Reverse Enable.
Never simply cut main power to the drive in case of Emergency Stop or OverTravel.
Most Drives use Regenitive braking that is disabled if you cut power to the Drives.
If you simply cut the Power to the Drives they will just coast to zero speed and may destroy an Axis.
Instead of stopping the Machine in a Controlled Manner using the drives Internal Braking Power.
The idea here is “If your Amp can’t stop your Axis in a Controlled Manner, The Amp is to Small to
Control your Axis at Full Speed Accurately”.
Always Wire the OverTravels & Estop System into the Drive Enables as shown
Emergency Stop
Fwd. Over Travel Switch
Rev. Over Travel Switch
Servo Drive
Enable
Fwd. Enable
Rev. Enable
Signal Comm.
.
Page 13
ACR-MOTIONMAX Installation Guide
Step 3. Print Reference Files
Print the following 2 files for reference:
“
C:\Program Files\Parker\ACR-MOTIONMAX\Docs\Default Bit Definitions.xls.”
This file is a Complete I/O Bit Map of the ACR-MOTIONMAX System Signal Banks. This file is an
Excel spreadsheet for your reference and is your best resource to understanding how ACR-MOTIONMAX
communicates with the Parker-Acroloop Controller and AcroBasic.
folder to C:\Program files\Parker\Acroloop\Acroview\Projects\Default folder. If you already have
code in the AcroView default folder it will be overwritten so back it up in necessary.
Open AcroView and Edit Prog0
Don’t Download to Card when prompted by Acroview yet.
Edit Prog0 @ 6 and configure the Axis Encoder Resolutions and Multipliers
Set the PPU Values (Encoder Resolution) for your application… Units = XXXX Counts per 1” of
travel.
Example: PPU X4000 Y4000 Z4000
Mult X1 Y1 Z1
contained in the ACR-MOTIONMAX\AcroBasic sub
13
Step 5. Download Project to Controller Flash.
Download All AcroBasic Programs to the Servo Cards Flash and save it with (No Errors).
Note: to enable error checking … right click in the lower window and select “Logging”. Next
download the file to the card. AcroView writes a log file that resides in the AcroView folder.
Open this file with notepad or create a shortcut to it on your desktop, as you will probably look at
this file hundreds of time to check the program for errors.
When all Programs are Downloaded Error Free. Type the Following at the Command line.
Flash Save
ESave
Step 6. Test & Phase the Motor/Encoders
Phasing is correct when the Axis Readout Increments when moved in a positive direction on your machine.
Enable your Drives manually and type the following at the Command line:
While watching the Readouts on the Top Upper left of the AcroView Screen.
Repeat for All Attached Axes.
Prog0
X1
The X Axis Motor should move 1 inch positive, and in a direction you consider to be Forward on your
Machine. If it doesn’t the Motor is Out of Phase and the Mult Parameter/Encoder or DAC lines will need to
be changed.
To Change Motor Direction using Parameters:
Set the MULT Parameter to –1 for the AxisAxis0 MULT –1
Reverse the Dac Gain for the AxisDac0 Gain -3276.8
Page 14
ACR-MOTIONMAX Installation Guide
Down load Program0 again and test.
Step 7. Tune Axis Gains
Keys: Load Encoder Parameters in the AcroView watch window [Actual Position]
Do a Series of moves to a safe Distance and back to Zero observing the Encoder Feed back while Setting
the Gains to it finishes at +/- 1 Encoder Pulse from it Trajectory Target.
Set PGain in the AcroView Gains Parameters
PGAIN AXIS0 0.002441 (Default Value)
Set all other Gain Parameters to 0 for the axis under test.
Slowly increase PGAIN till Axis oscillates then back down till Oscillation stops and go a little extra.
Move the Axis 5 inches … Example: X/10
Observe the Actual Encoder Position it should be Short at this point.
14
Next Increase IGAIN to by factors of .1 and index in the Axis to X10 and then back to X0.
The Actual Position should start to get closer to the Target in the upper Top Left Readout Target.
Next Increase ILIMIT to by factors of .1 and index in the Axis to X10 and then back to X0.
The Actual Position should start to get to +/-1 Counts of the Target in the upper Top Left Readout Target.
Next Increase DGAIN in small increments to dampen the move if it is slamming into position.
Note:XY Systems must have the Gains Set Exactly the Same for Coordinated Motion to be precise.
The Preceding is a general format for tuning and not by any means the only way to tune an axis.
Repeat For All Attached Axes’.
Page 15
ACR-MOTIONMAX Installation Guide
Step 8. Update ACR-MOTIONMAX Parameters with the Current PPU
/ Gains Settings
ACR-MOTIONMAX uses the following text file for its parameters.
2). Edit “Gain” Values to be the same as the Gains values you have in AcroView for all Axes.
Note: Make sure you Edit the gains for all attached axes you will be using for you application.
Homing is accomplished by program0 at dedicated Address that ACR-MOTIONMAX will call
directly behind the scenes. The user simply inserts his actual homing code into the appropriate
Function as follows.
ACR-MOTIONMAX reads the Homing Status bits to disallow other functions while homing is Active.
A homing Sequence shall
1) Set the Axis Homing bit when started. Ex: Set 144 … sets the Homing Active bit to ACR-MOTIONMAX.
2) Clear the Axis Home bit when started Ex: Clr 170 … Clears the X home Done Bit to ACR-
MOTIONMAX.
3) When Homing is complete … Ex: Set 170 … Sets the Axis Homed Bit to ACR-MOTIONMAX.
Homing Direct Called Subroutine Address’s in Program0
FunctionCalled Address in Program 0
Axis0 Homing “X”100 to 199
Axis1 Homing “Y”200 to 299
Axis2 Homing “Z”300 to 399
Axis3 Homing “4
Th Axis
”400 to 499
16
Homing Status Bits of the Control Signals
FunctionControl Signals Bit
Homing Active Bit144
Axis0 Home Done “X”170
Axis1 Homing “Y”172
Axis2 Homing “Z”173
Axis3 Homing “4
Axis 0 Homing Example Code:
REM ***[ X HOMING FUNCTION ]*****************************************************
REM BIT 170 = X HOME DONE
REM BIT 15= X HOME LIMIT SWITCH (NORMALY Closed SWITCH)
100 SET 144: GEAR RES X: JOG RES X: vector 0: REM Set the Homing Active Control Bit
101 ACC 10 : REM Set Acceleration ramp value
102 DEC 10: REM Set Deceleration ramp value
103 STP 10 : REM Set stop ramp value
104 CLR 170: REM CLEAR THE X REFRENCE DONE BIT TO->CNC
105 VEL 3: CLR 2053: ROV 1: FOV 1: REM Set velocity toward home switch
106 INT -15 X (100,0): REM *START MOVING TILL LIMIT SW. GOES
107 INH -516
109 VEL .2: REM
130 INT 15 X (-12,0) : REM *GO TILL OFF LIMIT SWITCH AND STOP
131 INH -516
140 VEL .25: REM *SET VEL TO SEEK THE MARKER PULSE
141 JOG RES X
145 MSEEK X (-12,0) : REM *Initiate a marker seek operation AND ZERO CONTROLLER
151 RES X: REM *MARKER FOUND, ZERO X POS REGISTERS
153 REN X: REM *MAKE CURRENT X POS ZERO
154 VEL 1: MOV X -. 5: REM THIS ISTHE HOME OFFSET VALUE
155 INH –516: REM WAIT FOR MOTION TO STOP
156 JOG RES X: RES X: REN X: REM ZERO POSITION TO ABS 0
Th Axis
”174
Page 17
ACR-MOTIONMAX Installation Guide
157 MOV X 0: REM SET 0 AS TARGET and Zero Readout
180 SET 170: REM SET X REFRENCE DONE BIT TO->CNC (!! HOME NOW DONE !!)
185 CLR 144: SET 2053: REM Clear the Homing Active Control bit
199 GOTO 10000: REM EXIT PROGRAM 0
Step 10. Configure I/0 Labels for ACR-MOTIONMAX Diagnostics
Open the file “C:\Program Files\Parker\ACR-MOTIONMAX\Parfiles\IO.Cfg”.
This File is used for the ACR-MOTIONMAX Diagnostics Feature, it allows the user to Define their i/o for
viewing in ACR-MOTIONMAX Diagnostics.
Fill in the Values to Right of the Equals Sign Only!
Do not edit anything to the Left of the Equals Sign.
Edit these sections to Create Labels for your I/O in ACR-MOTIONMAX Diagnostics.
Out0=PC On Lamp
Out1=Cycle Start Lamp
Out2=Feed Hold Lamp
Out3=Reset Lamp
Out63= Open Output
Page 18
ACR-MOTIONMAX Installation Guide
Step 11. Edit the Control Initialization Subroutine
When Program 1 starts, it looks at the Control Signal bit 145 (Control Initialized) to see if the machine
has been initialized. If this Bit = 0 Program 0 will call the Subroutine at Line 3000 and set the bit when it
Exits.
The User should place any initialization Code in this function to tell ACR-MOTIONMAX the Machine is
Ready to Run. As the Diagram below shows the program will not start until the following 2 conditions are
met.
1). ACR-MOTIONMAX is up and running Bit 143 =1 (Control Ready).
2). The AcroBasic Has initialized Bit 145 =1 (Control Initialized)
Progam 1
No
Line 5Line 4
Control
Ready
Bit 143
= 1 ?
Control
Initialized
Bit 145
=1 ?
NoYes
( 30000 )
Do Control Initialazation
18
Yes
Example:
REM ***************************************
REM *** CONTROL INITIALIZATION FUNCTION ***
REM ***************************************
30000 SET OUTSpindleReady: PON
30001 SET OUTDrivesReady
30002 SET OUTSpindleEStop: P6480= 0: AXIS5 OFF: CLR 190
30003 SET CTLInitialization
ACR-MOTIONMAX is set up to Provide 128 User definable MCodes.
They are set By ACR-MOTIONMAX via the MCode bits Bank of Signals (Bits 1920-2047)
When ACR-MOTIONMAX encounters A MCode it Parses the Code and sets a corresponding Bit of the
MCode Signals to Tell AcroBasic which Subroutine to Call.
For Example M00 = Bit 1920 … Bit 1921 = M01 and so on.
Also ACR-MOTIONMAX will set the MStrobe Bit (Bit 150).
Program 1 will see the Strobe Signal = 1 and Parse the MCode Bit and call the proper subroutine to execute
the desired MCode Function.
Rules of operation:
All MCode functions are executed at Dedicated Address of
All MCode functions are called from the MCode Parsing function Starting at line 11.
The Template Provides 128 MCode Subroutines.
These subroutines are 50 lines long.
Do not Exceed this limit of 50 lines or the parser will call the wrong function.
For Example: M00 subroutine is at Address 1000 to 1049 as shown in the Code Below.
REM ***********************************
REM *** MCode EXECUTION SUBROUTINES ***
REM ***********************************
Program 1
Starting at Address 1000.
REM ~ M00
1000 CLR CTLInCycle: REM Set program stop
1001 GOSUB 40500 :REM CLEANUP MCODES
1049 RETURN
REM ~ M01
1050 IF (CTLOptStopActive) THEN CLR CTLInCycle: REM set optional program stop if active
1096 GOSUB 40500: REM CLEANUP MCODES
1099 RETURN
Progam 1
No
Line 5Line 4
Control
Ready
Bit 143
= 1 ?
MStrobe = 1
STrobe = 0
Yes
( Line 6 )
Yes
Control
Initialized
Bit 145
=1 ?
(11 to 150 )
Parse
M-Code
NoYes
(1000 to 7999 )
Do MCode
Functions
( 30000 )
Do Control Initialazation
M Code
Process
Done
?
Yes
No
( 40500 )
Set M Done
Clear All M
Codes
Page 20
ACR-MOTIONMAX Installation Guide
20
Step 13. Editing the S Code Function
When ACR-MOTIONMAX Encounters a SCode … Example: S2000.
It will do the following Steps.
1). Check if the Requested Spindle Speed is different from the Current Spindle Speed.
2). If it is it then checks if the Speed is within the current Gear Range as defined in the Parameters.
3). If the new Speed requires a different Gear, ACR-MOTIONMAX will set the Binary code of the Gear
Range to be in.
4). If Gear Change is Required then the AcroBasic shall stop the spindle and switch to the new Gear Range.
5). If the spindle was previously running (SpindleRunning Bit 190 =1) then the function will restart the
spindle and wait till its running at the commanded speed.
6). If the spindle wasn’t previously running (SpindleRunning Bit 190 =0) the function should write the
Dac value but not restart the spindle.
7). The function then Clears the S Strobe and sets the S Done bits to Signal ACR-MOTIONMAX to
continue.
Parameters Gear Range Section of the Parameters File
S StrobeBit 151Set by ACR-MOTIONMAX to Trigger the SCode
Handler Function
S DoneBit 148Set by AcroBasic when S function is completed
SpindleRunningBit 190Tells AcroBasic if spindle was Previously Running
GearChangeActiveBit 176Set in AcroBasic to Signal a Gear change is occurring
GearRangeBit0Bit 177LSB of 3 bit Binary code of Gear Range
GearRangeBit1Bit 178Binary code of Gear Range
GearRangeBit2Bit 179MSB of 3 bit Binary code of Gear Range
Axis5 Dac (Spindle Axis)P6480ACR-MOTIONMAX Writes this as the Spindle
Speed
REM ********************
REM *** S Strobe Sub ***
REM ********************
8000 IF (NOT CTLMDone) THEN GOTO 8990
8010 IF (NOT CTLTDone) THEN GOTO 8990
8011 IF (CTLTStrobe) THEN GOTO 8990
REM ~ STORE D/A, CLR SPINDLE ORIENTED SIGNAL, SAVE STATE OF SFWD/SREV
8013 P3 =P6480: P4= OUTSpindleForward: P5= OUTSpindleReverse: AXIS5 OFF
Insert Your S Code & Gear Change Logic Code Here
REM IF SPINDLE WAS RUNNING, RESTORE D/A AND DIRECTIONS & WAIT FOR UPTOSPEED
8351 IF (BIT 190) THEN P6480= P3: OUTSpindleForward= P4: OUTSpindleReverse= P5: INH 259:
GOTO 8420
REM ~ ELSE CLR FWD & REV ENABLES & reset D/A
8352 OUTSpindleForward: OUTSpindleReverse: P6480= P3
REM ~CLEAN UP
8420 SET CTLSDone: CLR 183: REM Set SDONE, clear spindle oriented bit
Page 21
ACR-MOTIONMAX Installation Guide
8430 CLR CTLSStrobe: REM Clear SSTROBE
8440 CLR CTLGearChgActive: REM Clear the Gear Change Request bit
8990 RETURN
21
Page 22
ACR-MOTIONMAX Installation Guide
Step 14. Edit the T Code Function
ACR-MOTIONMAX Handles Tool Codes by loading the AcroBasic Counter 7 (P6775) with the
Requested Tool number. If The Requested Tool is different From the Current then ACR-MOTIONMAX
will Set the ToolChangeRequest bit (159) to tell the ToolChange function to effect a Tool Change.
ACR-MOTIONMAX is designed to accommodate 3 types of tool Changers:
Type 1) Basic Knee Mill with no Tool Changer
Type 2) Standard Tool arm No Pre-Stage Arm
Type 3) Pre Staging with Virtual Tool Lookup
If using a Type 1 note: You must post a User Message to the system from inside the T Strobe Handler
that prompts the Machine Operator to “Please Change to Tool Number ”. See Error Message System
ACR-MOTIONMAX will see that a Tool change is in progress and will append the new Tool number
to the end of your Message, with a “Press Ok to continue”. This allows you to Change tools even
though you have no tool changer … except for the machine operator.
Type 2 & 3 are handled by ACR-MOTIONMAX, all the machine builder needs to do is write his M06
Code and T Code Handler.
22
T StrobeBit 152
T DoneBit 149
ToolChangeRequestBit 159
RequestedToolPositon
CurrentToolPosition in MagazineP6759Holds the Current Magazine Position in Pockets
TooChangeDoneBit 154Set by AcroBasic to signal Tool Change Completion
ToolChangeActiveBit 153Set by AcroBasic to Signal Tool Change in progress
Note: M06 TXX Code ACR-MOTIONMAX will Set the M6 code first then the Tcode to allow
the M6 to Be processed first. See M06 function for Details and logic.
The Main purpose of the Tcode is to Rotate the Magazine to the New Tool Pocket for Changing to the
Spindle.
Example: This example is using the Type3 ToolChanger (Virtual Pockets with Pre-Stage arm)
REM ********************
REM *** T Strobe Sub ***
REM ********************
REM TOOL POCKET HANDLER
REM USES PLC COUNTER # 7 @ ADDRESS 6775
9000 IF (NOT INPConsoleEstop OR INPResetButton) THEN GOTO 10000
9001 IF (CTLMagRefDone) THEN GOTO 9020
9010 IF (NOT CTLMagRefDone) THEN SET OUTRotateMagazine: SET 152: CLR 149
9011 IF (INPMagazineHome) THEN P6759= 1: SET CTLMagRefDone
9012 CLR OUTRotateMagazine: DWL 1
9012 GOTO 9390
P6775Loaded by ACR-MOTIONMAX with the Target in
Set by ACR-MOTIONMAX to trigger Tcode Handler
function
Cleared by AcroBasic when ToolChange is Done
Set by ACR-MOTIONMAX to Indicate a Tool
Change is Required
Pockets
9020 SET OUTRotateMagazine: SET 156: SET 152: CLR 149
9025 IF (P6759 <> P6775) THEN SET OUTRotateMagazine: GOTO 9390
9027 CLR OUTRotateMagazine
9326 CLR CTLTStrobe
9328 CLR OUTRotateMagazine
Page 23
ACR-MOTIONMAX Installation Guide
9330 SET CTLTDone: REM Set TDone
9390 RETURN
Step 15. Edit the Emergency Stop Function
23
This Subroutine is called by the
Estop Button is Pressed.
KeyBit = Estop (Bit 129) of the Control Signals
The ACR-MOTIONMAX GUI uses this signal for Emergency Stop Status display to the
Operator
If this bit = 1 then the Emergency Stop Indicator at the bottom of ACR-MOTIONMAX will
blink.
If this bit = 0 then the Emergency Stop Indicator at the bottom of ACR-MOTIONMAX will
clear.
Program1:
REM ****************************
REM ***
REM ****************************
REM ~ Set EMERGENCY STOP
10000 IF (NOT INPConsoleEstop AND NOT CTLEStop) THEN GOSUB 40000
REM ~ Clear EMERGENCY STOP
10010 IF (INPConsoleEstop AND CTLEStop) THEN CLR CTLEStop: CLR 522: DWL 1
General Control Loop
General Handler of Program 1, Line 10000 & 10012
***
when the
REM *******************************
REM *** EMERGENCY STOP FUNCTION ***
REM *******************************
40000 SET CTLEStop: AXIS5 OFF: P6480= 0: CLR 190: SET 523
Step 16. Configure the AcroBasic to ACR-MOTIONMAX User Error
Msg. System
ACR-MOTIONMAX is Capable of Posting Error Messages generated from AcroBasic using the
following bits of the Control Signals.
Error System bits of the Control Signals:
Error Message PendingBit 249
User Error RequestBit 250
User Error Bit 1Bit 251
User Error Bit 2Bit 253
User Error Bit 3Bit 254
User Error Bit 4Bit 255
User Error Bit 5Bit 256
ACR-MOTIONMAX Contains a Text File called UserDefinedError.txt that Contains Error Messages
to be sent to the Control Display. User Error System Works by Setting the Desired User Error Code
Bits, and then Setting Bit (250) User Error Request to Signal ACR-MOTIONMAX to Decode the
Message.
When ACR-MOTIONMAX Finds Bit 250 =1 it will decode the 5 User Error bits and Display the
Message on the ACR-MOTIONMAX Screen with and OK button. Next the user must acknowledge
the Error by pressing OK. When the User Presses OK, ACR-MOTIONMAX will clear the Error
Request Bit 250. If another error is pending it will be displayed.
Reserved (Used by DLL for G Code Error Messages )
Set by AcroBasic to Trigger GUI to Display ERR. MSG.
LSB of binary bit code of Error messages
LSB of binary bit code of Error messages
24
Example: To set A lube Alarm
The Lube Alarm Message is at Position 3 in our file, so we need to set the Error Bit Code to Binary 3
as shown.
Set 251: Set 252: Rem Set Error Pointer to Message 3
Set 250: Rem Trigger GUI to Display Error Message 3
User ALARM: Spindle Chiller Fault! Please check.
User ALARM: Low or No Air Pressure! CNC can’t run without 60psi min.
User Alarm: Lube Level Low!
User ALARM: Z Not @ T-Change Position for Pending M6
Page 25
ACR-MOTIONMAX Installation Guide
Step 17. Configure Valid Mcodes List for ACR-MOTIONMAX
Mcodes Are Validated in ACR-MOTIONMAX to prevent erroneous Mcodes from running in a G Code
Program.
All Valid Mcodes must be Edited/Set in the Parameters [MCodes] section of the Parameters.Cfg file.
Set to 1 to enable Mcode … Set to 0 to disable Mcode
Enter Mcode Description
Sample Parameters.Cfg file
[
MCodes
M0=1
DESC0=OPTIONAL PROGRAM STOP
M1=1
DESC1=PROGRAM STOP
M2=1
DESC2=PROGRAM STOP
M3=1
DESC3=SPINDLE FWD
M4=1
DESC4=SPINDLE REV
M5=1
DESC5=SPINDLE STOP
M6=1
DESC6=TOOL CHANGE
M7=0
DESC7=
M8=1
DESC8=COOLANT ON
M9=1
DESC9=COOLANT OFF
]
25
M126=1
DESC126=TURN ON TAPPING MODE
M127=1
DESC127=TURN OFF TAPPING MODE
Important: if ACR-MOTIONMAX encounters an invalid Mcode in a G Code
program an Error will be displayed as to which Mcode is invalid.
A Gcode program must contain all valid MCodes to be run.
Page 26
ACR-MOTIONMAX Installation Guide
26
Step 18. Configure Key ACR-MOTIONMAX Parameters
ACR-MOTIONMAX uses a File for all Machine Parameters… Filename Parameters.Cfg
For Initial Start Up several key parameters Sections need editing. The Following is a list of the key
parameters needed to initially get ACR-MOTIONMAX up and running. After completing the edits save the
file and Start ACR-MOTIONMAX for the first time.
Section Name
[CNC_CONFIG]DescriptionDefault
Mill=1Set to 1 for Mill or 0 for Lathe1
NumberOfAxis=3Sets the Number of Axis ACR-MOTIONMAX is to
Control
InchMetricMode=1Set to 1 Inch or 0 for Metric1
[SoftwareOptions]Default
AxesDisplayOn=1,1,1,0,0Set to 1 to Make Axis Visible in ACR-
AxesDisplayOn=1,1,1,0,0Set to 1 to Make Axis Visible in ACR-
MOTIONMAX
AxisDesignation0=XAxis LetterX
AxisDesignation1=YAxis LetterY
AxisDesignation2=ZAxis LetterZ
AxisDesignation3=CAxis LetterB
UseADCChanelForOverrides=0Specifies to Control System that
Overrides are Derived From the ADC
channels
RapidOverrideMax=100Sets the Max that the Override can be
set to
FeedrateOverrideMax=200200
SpindleSpeedOverrideMax=150150
RapidOverridePotVoltage=5Specifies to Control Max DC Voltage
Derived From the ADC channels
FeedrateOverridePotVoltage=55
SpindleSpeedOverridePotVoltage=55
FeedOverrideType=98Specifies the Type of Override used
0=Analog POT 1=4bit POT 98=Use
Screen Sliders Only 99=Hardcode to
Overrides Max values
RapidOverrideType=9898
SpindleOverrideType=9898
MachineXLength=60Set X Length of your Machine Travel24
MachineYLength=30Set Y Length of your Machine Travel24
MachineZLength=30Set Z Length of your Machine Travel24
1,1,1,0,0
0
100
5
98
Page 27
ACR-MOTIONMAX Installation Guide
[SpindleOptions]Parameter DescriptionDefault
SpindleEncoderInstalled=0Set to 1 if Spindle Encoder Equipped0
SpindleDAMaxVoltage=9Max Voltage for controller to Output to
spindle Drive
RigidTappingInstalled=0Set to 1 if Machine Has Spindle Encoder
for Rigid Tapping
OrientBeforeTap=1Set to 1 to Force an M19 on every Tap
Cycle
SpindleGears=2Set to The Number of Gears on the
Spindle
SpindleMaxRPMGearRange0=1050 Sets Max. Speed of Gear Range1000
SpindleMaxRPMGearRange1=4100 Sets Max. Speed of Gear Range4000
SpindleMaxRPMGearRange2=4100 Sets Max. Speed of Gear Range4000
27
9
0
1
2
SpindleMaxRPMGearRange3=4100 Sets Max. Speed of Gear Range4000
[ToolChanger]Parameter DescriptionDefault
ChangerInstalled=0Specifies that Machine is Equipped with a
ToolChanger
NumberOfToolPockets=24 Specifies Total Number of Pockets in Magazine24
BiDirectionaMagazine=0Set to 1 if Magazine is Bi-directional…. Used for
Shortest Path to Tool Lookup
VirtualPockets=0Set to 1 for Virtual Tool Pocket Lookup Strategy
Type
[Speeds]Parameter DescriptionDefault
Acceleration=10Sets Machine Acceleration10
Deceleration=10Set the Same as Acceleration10
Velocity=450Sets Machine Max Speed in inches per min.400
Stp=10Set the Same as Acceleration (For Trap Profile)10
[JogSpeeds]Parameter DescriptionDefault
Acceleration=1Sets Machine Acceleration1
Deceleration=1Set the Same as Acceleration1
Velocity=100Sets Normal Jog Speeds100
Stp=1Set the Same as Acceleration1
0
0
0
[FastJogSpeeds]Parameter DescriptionDefault
Acceleration=1Sets Machine Acceleration1
Deceleration=1Set the Same as Acceleration1
Page 28
ACR-MOTIONMAX Installation Guide
Velocity=150Sets Fast Jog Speeds150
Stp=1Set the Same as Acceleration1
Step 19) Configure the Overrides
Note: These Parameters are set from Parameters Section [SoftwareOptions]
____________________________________________________________________
To Configure for Type 0 Override (Using Analog 10k Pot’s on Control Panel)
To Configure for Type 98 Override (Using VB Screen sliders Exclusively for Overrides)
28
1.Set UseADCChanelForOverrides = 0
2.Set All 3 Override Types to = 98
3.Set Max Override Value Parameters
_____________________________________________________________________
To Configure for Type 99 Override (Hardcode Overrides to Max Values)
1.Set UseADCChanelForOverrides = 0
2.Set All 3 Override Types to = 99
3.Set Max Override Value Parameters (These Values will Be Constant for the Overrides)
Page 29
ACR-MOTIONMAX Installation Guide
Step 20. Starting ACR-MOTIONMAX for the First Time
When ACR-MOTIONMAX starts it will display several messages as follows:
29
Card not found
but motion is not possible.
Parameter Error “Parameter XXX Has Failed” … a parameter has failed its type check…. Edit the
Parameters.Cfg file to correct and try again.
Demo Version you have XX Days to register this software
MOTIONMAX is shipped as a Demo Version that the User will Call Axuim controls to Register it for
unlimited use. If you don’t Register ACR-MOTIONMAX it will disable at the end of its Term of Demo.
Demo Version has expired
must Call Axuim controls to Register it for unlimited use. If you don’t Register ACR-MOTIONMAX it
will disable at the end of its Term of Demo.
… this happens is if no Servo Controller is found in the PC, the software will still run
. …
This is normal
. … This means the Demo has expired and the software is unusable. You
, ACR-
Important
To Register the Software
option.
This will display a Dialog with a Code number. Call or email Parker-Hannifin with this Code Number to
Unlock your Demo Version or Enable new Features as you purchase them.
Goto the “Help” PullDown Menu and select the Register Software
Running ACR-MOTIONMAX for the First Time
Step 1)Test Jogging
Release Estop and select Jog Mode and Jog all Axis + and minus to confirm Machine Axis
Operation.
Step 2) Test Homing
Home each individual Axis first before selecting HomeAll. This confirms that the homing
functions are working correctly. Close the Jog Screen.
Step 3) Test Inputs and Outputs in Diagnostics
Select Diagnostics mode and Set and clear each Output to confirm outputs operation using the
On off buttons in the upper left of the Diagnostics Screen. Also watch and confirm the associated
Inputs as the Outputs are toggled for correctness.
Step 4) Select MDI Mode Test Mcodes
Enter some basic Mcodes such as M08 (Coolant On) and M09 Coolant Off. This will test your
AcroBasic Mcode functions. Correct Errors as required and try again. Remember ACR-
MOTIONMAX must be closed to Open Acroview.
Step 5) Test Basic G Code Motion from MDI Mode Screen G0 & G01
Enter the Following in the MDI Screen command line:
G01 X5 F10 … Press Enter … the axis should move to X5 at a feedrate of 10 inches per min.
G00 X0 … Press Enter the X axis should Rapid to X0 at the Feedrate specified in the Speeds Parameter
Velocity(This is the Rapid and Max Feedrate for all Axis)
Page 30
ACR-MOTIONMAX Installation Guide
Appendix A.ACR-MOTIONMAX Parameters
This is the Complete Parameter List for reference.
[CNC_CONFIG]DescriptionDefault
ParameterPassword=CNC Used for Parameter & Diagnostics PasswordCNC
Mill=1Set to 1 for Mill or 0 for Lathe1
NumberOfAxis=3Sets the Number of Axis ACR-MOTIONMAX is to
Control
InchMetricMode=1Set to 1 Inch or 0 for Metric1
HandWheelInstalled=0Set to 1 in using Remote Pendant0
UserEditorPath=notepad.exePointer to the User configurable Editor Path
30
3
ConversationalProgPath=n
otepad.exe
AbsoluteArcCenters=1Set to 1 if using ABS Arc Centers else set to 1 for
OpenProgWithLastFile=0Set to 1 to Force ACR-MOTIONMAX to Auto Load
DefaultFileExt=ALLSets the Default file extension to use in Browser
[SoftwareOptions]
AxesDisplayOn=1,1,1,0,0Set to 1 to Make Axis Visible in ACR-MOTIONMAX1,1,1,0,0
AxisDesignation0=XAxis LetterX
AxisDesignation1=YAxis LetterY
AxisDesignation2=ZAxis LetterZ
AxisDesignation3=CAxis LetterB
AxisDesignation4=BAxis Letter (not used)
AxisDesignation5=SAxis Letter (not used)
ExactStopRequired=0Forces Control to Stop Moton at End of Every Rapid
UseADCChanelForOverrid
es=0
RapidOverrideMax=100Sets the Max that the Override can be set to100
FeedrateOverrideMax=200 Sets the Max that the Override can be set to200
SpindleSpeedOverrideMax
=150
RapidOverridePotVoltage=5Specifies to Control Max DC Voltage Derived From
Pointer to the User configurable Cam Program Path notepad.exe
1
incremental
Pointer to Partfiles Folder used by ACR-
MOTIONMAX
MOTIONMAX
the last opened Program
window
Move
Specifies to Control System that Overrides are
Derived From the ADC channels
Sets the Max that the Override can be set to150
the ADC channels
C:\Program
Files\ACR-
MOTIONMA
X\Partfiles
0
ALL
0
0
5
5
5
Page 31
ACR-MOTIONMAX Installation Guide
31
RemoveRapidRotMove=0Set to Remove Rapid Rotary Moves ( Makes All
Rapids Feed moves @ max feed)
Axis4RadiusCalcMethod=1 Sets plane to Calculate 4th axis Feedrate on …
0=XZ 1=YZ 2=XY
FeedOverrideType=98Specifies the Type of Override used 0=Analog POT
1=4bit POT 98=Use Screen Sliders Only
99=Hardcode to Overrides Max values
RapidOverrideType=9898
SpindleOverrideType=9898
MachineXLength=60Set X Length of your Machine Travel30
MachineYLength=30Set Y Length of your Machine Travel30
MachineZLength=30Set Z Length of your Machine Travel30
UseMachWindow=1Set to 1 to use Machine Limits for graphics window1
CannedCycleInitialPlaneMo
de=98
OptimizeGCode=0
OptimizationDeviation=0.007
CorneringCheck=0
CorneringAngle=25.0
CorneringStopAngle=50.0
CornerStopVelocity=10.0
CornerAccelerationMult=.1
CornerAccelerationDist=0.125NOT USED
Set to G9898
Turn on Arc Optimization if =1
If Arc Optimization is on, how close does the arcs follow
the original code
Turn On Corner velocity checker. This will look for
sharp corners to apply a final velocity to the move.
If Corner checking is on, this will make the final velocity
10% of the original if over this angle
If Corner checking is on, this will make the final velocity
= CornerStopVelocity if over this angle
If Corner checking is on, this will be the final velocity if
over the CornerStopAngle
If Corner checking is on, this multiplier is given to the
default acceleration and used in its place if over
0
1
98
0
.007
0
25.0
50.0
10.0
.1
0.125
CoreCheckSWK=0Intentionally left Blank
[SpindleOptions]
SpindleEncoderInstalled=00
SpindleDAMaxVoltage=9Max Voltage for controller to Output to spindle Drive9
RigidTappingInstalled=0Set to 1 if Machine Has Spindle Encoder for Rigid
Tapping
OrientBeforeTap=1Set to 1 to Force an M19 on every Tap Cycle1
SpindleGears=2Set to The Number of Gears on the Spindle2
SpindleMaxRPMGearRang
e0=1050
SpindleMaxRPMGearRang
e1=4100
SpindleMaxRPMGearRang
e2=4100
SpindleMaxRPMGearRang
e3=4100
SpindleFwdVoltage=1Specifies to ACR-MOTIONMAX to Invert Spindle
SpindleRevVoltage=1Specifies to ACR-MOTIONMAX to Invert Spindle
Sets Max. Speed of Gear Range1000
Sets Max. Speed of Gear Range4000
Sets Max. Speed of Gear Range4000
Sets Max. Speed of Gear Range4000
voltage for M03 if = 0
voltage for M04 if = 0
0
0
1
1
Page 32
ACR-MOTIONMAX Installation Guide
32
SpindleActualSpeedMult=1 Specifies a Ratio of the Analog Spindle speed feed
back to the On screen Display
[ToolChanger]
ChangerInstalled=0Specifies that Machine is Equipped with a
ToolChanger
NumberOfToolPockets=24 Specifies Total Number of Pockets in Magazine24
BiDirectionaMagazine=0Set to 1 if Magazine is Bidirectional …. Used for
Shortest Path to Tool Lookup
VirtualPockets=0Set to 1 Virtual Tool Pocket Lookup Stategy is
Desired
CheckCurrentPocket=1tells the DLL to check a tool change to see if its
already in that tool so that it ignores the tool change
instruction.see if its already in that tool so that it
ignores the tool change instruction. Setting this to
=0 tells the system to always execute a tool change
even if it is already at that tool number.(Special
Feature for Customer)
[HomeOffsets]
0AxisHomeOffset=0.0Not Used at this Time
1AxisHomeOffset=0.0
2AxisHomeOffset=0.0
3AxisHomeOffset=0.0
4AxisHomeOffset=0.0
SpindleOrientOffset=0
1
0
0
0
1
[SoftLimits]
0PlusSoftLimit=36Not Used at this Time
0MinusSoftLimit=-.5
1PlusSoftLimit=24.5
1MinusSoftLimit=-.5
2PlusSoftLimit=12.5
2MinusSoftLimit=-.5
3PlusSoftLimit=3600
3MinusSoftLimit=-3600
4PlusSoftLimit=125.5
4MinusSoftLimit=-125.5
[Speeds]
0AxisMaxFeedrate=300Not Used at this Time
1AxisMaxFeedrate=300Not Used at this Time
2AxisMaxFeedrate=300Not Used at this Time
3AxisMaxFeedrate=400Not Used at this Time
4AxisMaxFeedrate=1000Not Used at this Time
Acceleration=10Sets Machine Acceleration & Deceleration10
Deceleration=10Not Used at this Time10
Velocity=400Sets Machine Max Speed in inches per min.400
Page 33
ACR-MOTIONMAX Installation Guide
Stp=10Don’t change this Value10
[JogSpeeds]
Acceleration=1Not Used1
Deceleration=1Not Used1
Velocity=100Sets Normal Jog Speeds100
Stp=1Don’t change this Value1
[FastJogSpeeds]
Acceleration=1Not Used1
Deceleration=1Not Used1
Velocity=200Sets Fast Jog Speeds200
Stp=1Don’t change this Value1
[SystemResolution]
0PulsesPerUnit=4000Encoder Pulses Per Inch of Travel1000
1PulsesPerUnit=4000Encoder Pulses Per Inch of Travel1000
2PulsesPerUnit=4000Encoder Pulses Per Inch of Travel1000
3PulsesPerUnit=4000Encoder Pulses Per Degree of Travel (Rotary Axis)1000
4PulsesPerUnit=4000Encoder Pulses Per Inch of Travel1000
5PulsesPerUnit=400Encoder Pulses Per Inch of Travel1000
6PulsesPerUnit=0Encoder Pulses Per Inch of Travel1000
7PulsesPerUnit=0Encoder Pulses Per Inch of Travel1000
33
[InPositionBand]
0AxisIPB=0.01Sets the tolerance(In Position Band) of a Completed
move before another starts
1AxisIPB=0.01Sets the tolerance(In Position Band) of a Completed
move before another starts
2AxisIPB=0.01Sets the tolerance(In Position Band) of a Completed
move before another starts
3AxisIPB=1Sets the tolerance(In Position Band) of a Completed
move before another starts
4AxisIPB=1Sets the tolerance(In Position Band) of a Completed
move before another starts
5AxisIPB=1Sets the tolerance(In Position Band) of a Completed
move before another starts
6AxisIPB=1000Sets the tolerance(In Position Band) of a Completed
move before another starts
7AxisIPB=1000Sets the tolerance(In Position Band) of a Completed
move before another starts
[BackLashComp]
0AxisBackLash=0.0Sets Backlash Compensation for the axis0
1AxisBackLash=0.0Sets Backlash Compensation for the axis0
2AxisBackLash=0.0Sets Backlash Compensation for the axis0
3AxisBackLash=0.0Sets Backlash Compensation for the axis0
4AxisBackLash=0Sets Backlash Compensation for the axis0
0.01
0.01
0.01
1
1
1
1
1
Page 34
ACR-MOTIONMAX Installation Guide
5AxisBackLash=0Sets Backlash Compensation for the axis0
6AxisBackLash=0Sets Backlash Compensation for the axis0
7AxisBackLash=0Sets Backlash Compensation for the axis0
EditorBackColor=16777215 Editor background Color
InCycleEditorBackColor=12
632256
ReadoutsOffsetInfo=0Tool Offsets Display Text Color
ProgReadouts=255ABS/Program Coordinates Text Color
DTGReadouts=0Distance to Go Readouts Text Color
InCycle Editor background Color
36
[EditorFontFeatures]
FontSize=9Editor Font Size
FontName=MS Sans SerifEditor Font Name