Parker Hannifin VERSION 1.0 manual Editing the S Code Function, Control Signals used with S 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 [SpindleOptions]

SpindleGears=3

SpindleMaxRPMGearRange0=1000

SpindleMaxRPMGearRange1=2000

SpindleMaxRPMGearRange2=4000

SpindleMaxRPMGearRange3=4000

Control Signals used with S Codes:

S Strobe

Bit 151

Set by ACR-MOTIONMAX to Trigger the SCode

 

 

Handler Function

S Done

Bit 148

Set by AcroBasic when S function is completed

SpindleRunning

Bit 190

Tells AcroBasic if spindle was Previously Running

GearChangeActive

Bit 176

Set in AcroBasic to Signal a Gear change is occurring

GearRangeBit0

Bit 177

LSB of 3 bit Binary code of Gear Range

GearRangeBit1

Bit 178

Binary code of Gear Range

GearRangeBit2

Bit 179

MSB of 3 bit Binary code of Gear Range

Axis5 Dac (Spindle Axis)

P6480

ACR-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

Image 20
Contents ACR-MotionMax Installation Guide ACR-MOTIONMAX Installation Guide Parker Hannifin Corporation All Rights ReservedNorth America and Asia Europe non-German speaking ItalyACR-MOTIONMAX Installation Guide Table of Contents ACR-MOTIONMAX Control System Bit Signal Banks Strobe & Done Signals TableT Code Sequencing Jogging FunctionsSystem Overview Diagram Homing & HandWheelACR-MOTIONMAX to AcroBasic System Start up MotionMaxACR-MOTIONMAX AcroBasic Project Template Files Defining Bit Variables in AcroBasicSys.8k File listing for PCI Type Controller AcroBasic Template Files listCode Sequence Examples Example & FormatACR-MOTIONMAX Directory & File Structure ACR-MOTIONMAX System Setup DiagramReference Files Start Using MotionMax Install the Parker-Acroloop SDK Software Development Kit Install ACR-MOTIONMAX to your PCTest & Phase the Motor/Encoders Print Reference FilesLoad ACR-MOTIONMAX AcroBasic Project Template Files Download Project to Controller FlashTune Axis Gains \Program Files\Parker\ACR-MOTIONMAX\Parfiles\Parameters.Cfg Function Called Address in Program Configure Homing FunctionsFunction Control Signals Bit CncOutputsConfig Configure I/0 Labels for ACR-MOTIONMAX DiagnosticsCncInputsConfig Edit the Control Initialization Subroutine ExampleEdit the M Code Functions Rules of operationControl Signals used with S Codes Editing the S Code FunctionACR-MOTIONMAX Installation Guide Edit the T Code Function RequestedToolPositonKeyBit = Estop Bit 129 of the Control Signals Edit the Emergency Stop FunctionREM ~ Set Emergency Stop REM ~ Clear Emergency StopSample UserDefinedError.txt for reference Configure Valid Mcodes List for ACR-MOTIONMAX SoftwareOptions Default Configure Key ACR-MOTIONMAX ParametersDescription Default SpindleOptions Parameter Description Default ToolChanger Parameter Description DefaultSpeeds Parameter Description Default JogSpeeds Parameter Description DefaultConfigure the Overrides Default ModeTest Inputs and Outputs in Diagnostics Starting ACR-MOTIONMAX for the First TimeRunning ACR-MOTIONMAX for the First Time Step Test JoggingAppendix A. ACR-MOTIONMAX Parameters SoftwareOptions007 SpindleOptionsToolChanger HomeOffsetsSoftLimits SpeedsSystemResolution JogSpeedsFastJogSpeeds InPositionBandGains0 Gains1Gains2 Gains3Spindle Axis Gains5 Gains6Gains7 AuxFunctionsEditorFontFeatures ScreenColorsDESC8=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.