Parker Hannifin VERSION 1.0 manual Edit the M Code Functions, Rules of operation

Page 19

ACR-MOTIONMAX Installation Guide

19

Step 12. Edit the M Code Functions

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 Program 1 Starting at Address 1000.

￿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 ***********************************

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 4

 

Line 5

 

 

 

 

 

Control

 

 

Control

 

 

 

 

 

Ready

Yes

 

Initialized

No

 

( 30000 )

 

 

Bit 143

 

Bit 145

Do Control Initialazation

 

 

 

 

 

 

 

= 1 ?

 

 

=1 ?

 

 

 

 

 

 

Yes

 

 

 

 

 

 

 

 

( Line 6

)

 

 

 

 

No

 

 

 

 

(11 to 150 )

(1000 to 7999 )

M Code

 

( 40500 )

MStrobe = 1

 

 

 

Set M Done

Yes

Parse

Do MCode

 

Process

Yes

STrobe = 0

 

Clear All M

 

 

M-Code

Functions

 

Done

 

 

 

 

 

 

Codes

 

 

 

 

 

 

?

 

 

 

 

 

 

 

 

 

Image 19
Contents ACR-MotionMax Installation Guide Europe non-German speaking Italy ACR-MOTIONMAX Installation GuideParker Hannifin Corporation All Rights Reserved North America and AsiaACR-MOTIONMAX Installation Guide Table of Contents Jogging Functions ACR-MOTIONMAX Control System Bit Signal BanksStrobe & Done Signals Table T Code SequencingHoming & HandWheel System Overview DiagramMotionMax ACR-MOTIONMAX to AcroBasic System Start upAcroBasic Template Files list ACR-MOTIONMAX AcroBasic Project Template FilesDefining Bit Variables in AcroBasic Sys.8k File listing for PCI Type ControllerExample & Format Code Sequence ExamplesReference Files ACR-MOTIONMAX System Setup DiagramACR-MOTIONMAX Directory & File Structure Start Using MotionMax Install ACR-MOTIONMAX to your PC Install the Parker-Acroloop SDK Software Development KitDownload Project to Controller Flash Test & Phase the Motor/EncodersPrint Reference Files Load ACR-MOTIONMAX AcroBasic Project Template FilesTune Axis Gains \Program Files\Parker\ACR-MOTIONMAX\Parfiles\Parameters.Cfg Function Control Signals Bit Configure Homing FunctionsFunction Called Address in Program CncInputsConfig Configure I/0 Labels for ACR-MOTIONMAX DiagnosticsCncOutputsConfig Example Edit the Control Initialization SubroutineRules of operation Edit the M Code FunctionsEditing the S Code Function Control Signals used with S CodesACR-MOTIONMAX Installation Guide RequestedToolPositon Edit the T Code FunctionREM ~ Clear Emergency Stop KeyBit = Estop Bit 129 of the Control SignalsEdit the Emergency Stop Function REM ~ Set Emergency StopSample UserDefinedError.txt for reference Configure Valid Mcodes List for ACR-MOTIONMAX Description Default Configure Key ACR-MOTIONMAX ParametersSoftwareOptions Default JogSpeeds Parameter Description Default SpindleOptions Parameter Description DefaultToolChanger Parameter Description Default Speeds Parameter Description DefaultDefault Mode Configure the OverridesStep Test Jogging Test Inputs and Outputs in DiagnosticsStarting ACR-MOTIONMAX for the First Time Running ACR-MOTIONMAX for the First TimeSoftwareOptions Appendix A. ACR-MOTIONMAX ParametersSpindleOptions 007Speeds ToolChangerHomeOffsets SoftLimitsInPositionBand SystemResolutionJogSpeeds FastJogSpeedsGains3 Gains0Gains1 Gains2AuxFunctions Spindle Axis Gains5Gains6 Gains7ScreenColors EditorFontFeaturesDESC8=FLOOD Coolant on M9=1 DESC9=ALL Coolants OFF DESC31= DESC56= DESC81= DESC126=TURN on Tapping Mode ACR-MOTIONMAX Installation Guide End of Parameters

VERSION 1.0 specifications

Parker Hannifin Corporation, founded in 1917, is a global leader in motion and control technologies. With over a century of experience, the company has established itself as a trusted provider of high-quality solutions across various industries, including aerospace, automotive, healthcare, and manufacturing.

One of Parker Hannifin's main features is its diverse product range, which encompasses a wide array of systems and components designed to enhance the efficiency and reliability of machinery and equipment. The company specializes in hydraulic, pneumatic, and electromechanical systems, demonstrating expertise in fluid and motion control. Their products include hydraulic pumps, valves, cylinders, filters, and various seals, all engineered for optimal performance under demanding conditions.

Parker Hannifin is known for its commitment to innovation and technology. The company invests significantly in research and development to stay at the forefront of technological advancements in its field. This dedication has led to the integration of smart technology in their products, enabling real-time monitoring and predictive maintenance capabilities. The incorporation of IoT (Internet of Things) technology allows customers to optimize their operations while reducing downtime and maintenance costs.

Another characteristic of Parker Hannifin is its emphasis on sustainability. The company has made it a priority to develop eco-friendly products that help reduce energy consumption and environmental impact. By leveraging advanced materials and manufacturing techniques, Parker Hannifin produces lightweight components that improve fuel efficiency in transportation applications, contributing to a lower carbon footprint.

Moreover, Parker Hannifin's global footprint allows it to serve customers in various regions while providing localized support. With manufacturing facilities, distribution centers, and sales offices strategically located worldwide, the company ensures quick response times and tailored solutions for specific market needs.

In summary, Parker Hannifin Corporation is a dynamic leader in motion and control technologies, with a commitment to innovation, sustainability, and customer satisfaction. Their extensive range of high-performance products, coupled with advanced technologies and a global presence, positions Parker Hannifin as a reliable partner for industries seeking to enhance operational efficiency and reliability.