Home
StanDard M user guide
Contents
1. 15 241 GENERATE MACRO M3 M aasnasumusaqasauakatasqusphuqasnskasshiqaqakuquqa 16 2 2 GENERATE MACRO M1003 M1004 M1005 17 M1003 M1004 M1005 for NG35 NGIO NGMEVO NGMsX NGQuark with Analog Output 17 M1003 M1004 M1005 for NGMEVO PWM Output 19 21
2. STANDARD USER GUIDE The contained information in this handbook are only informative and they can being change without warning and they must not being understandings with some engagement from Promax srl Promax srl does not assume responsibility or obligates for errors or inaccuracies that can be found in this handbook Except how much granted from the license no part of this publication can be reproduced saved in a recording system or transmitted in whatever form or with any means electronic mechanical or recording system or otherwise without Promax srl authorization Any reference to names of society or products have only demonstrative scope and it does not allude to some real organization Rev 1 0 0 STANDARD M USER GUIDE 1 M6 Linear TOOL CHANGE All the plc cycle for M6 management is writen by IsoNs Gcode Following the Gcode MACRO LINEARTOOL CHANGE REV 2 0 0 PROMAX SRL M6 SAPP S X7 CHECK IF NORMAL RUN OR SIMULATION RUN IF SAPP lt gt 0 F THE SYSTEM IT S NOT IN RUN GOTO END DOING NOTHING END IF M5 STOP SPINLDE IF 15 0 NO SPINDLE CLOSE WITH TOOL INPUT GOTO LOAD GO DIRECTLY ON CHARGE SECTION END IF G96 OFFSET SUSPENSION G98 ZERO OFFSET SUSPENSION G87 HEAD OFFSET SUSPENSION G44 TOOL LENGHT COMPENSATION SUSPENSION GOZO MOVE Z0 IN FREE POSITION LOAD TOOLINF LOAD OLD TOOL NUMBER GET VAR SOLDUT 0 SACTUT X6 STORE THE TOOL NUMBER TO BE LOADED SVEL 1 SE
3. ISOV1 OUT3 false Reset CCv mode function Start Macro as char ISOVI m ACK 1 select 5 1 M cmd case 1003 start Spindle CW ISOVI OUT2 true set Cw mode ISOV1 OUT3 false Reset CCw mode Speed calculation Spindle Spindle ISOV1 generic 9 MAX DAC DIV MAX SPEED SPINDLE PWM Val 0 Spindle Spindle Set analog out ISOV1 OUT5 true Start Spindle 5 1 status m run 0 Free IsoNs case 1004 start Spindle CCW ISOVI OUT2 false Reset Cw mode ISOV1 OUT3 true CCw mode Speed calculation Spindle Spindle ISOV1_ generic 9 MAX DAC DIV MAX SPEED SPINDLE PWM Val 0 Spindle Spindle Set analog out ISOVI OUT5 true Start Spindle ISOV1 status m run 0 Free IsoNs case 1005 Spindle Stop ISOV1 OUT5 false Stop Spindle Spindle Spindle 0 set Speed to 0 PWM Val 0 VelSpindle Set analog out ISOV1 status m run 0 Free IsoNs case else ISOV1 m 0 endselect endfunction 20 STANDARD USER GUIDE Index JI Mo deof Linear Tool Change A 6 L2 MOTION Par 8 1 5 a a A 11 u u EE E E E E 11 Tool Table on E 12 1 6 Preset Z Axis wirh DISTZ Parameter 13 eae a Me TOO NI u uu kaysa 14 Jo Create a MO FUNCUON uu uuu
4. YOU CAN PRESET Z AXIS WITH DISTZ PARAMETER HERE See Chapr 1 6 REACTIVATES OFFSET END MACRO M6 STANDARD M USER GUIDE 13 CNC Digital Inputs The inputs are enumerated from first input is IO I4 gt Spindle closed without tool If you not use this input change the following code See red code IF SACTUT 0 WE HAVE ONLY TO LEAVE OLD TOOL GO TO END S O2 0 CLOSE CLEANING BLOW S O1 0 CLOSE THE SPINDLE G4 F0 5 LITTLE PAUSE WAIT INPUT4141 WAIT FOR THE SPINDLE CLOSED INPUT WITHOUT TOOL INPUT 4 5 PHYSICS G4F1 WAIT 1 SEC FOR SPINDLE OPEN GO ZO MOVE Z TO 0 GOTO END GO TO END END IF 15 gt Spindle Close with tool This input is Required to use 1 4 Digital Outputs The outputs are enumerated from first output is 10 O1 1 gt Spindle Open O1 0 gt Spindle Close 02 1 gt AIR ON for cleaning tools 02 0 gt AIR OFF If you not use this output change the following code See red code LOAD STARTING THE CHARGE SECTION IF NO TOOL IN SPINDLE G62 MOVE O1 1 OPEN THE SPINDLE 02 1 CLEANING BLOW ACTIVATION IF SACTUT 0 F WE HAVE ONLY TO LEAVE OLD TOOL GO TO END 02 0 CLOSE CLEANING BLOW 01 0 CLOSE THE SPINDLE END_IF G62 02 0 CLOSE CLEANING BLOW 01 0 CLOSE THE SPINDLE 11 STANDARD M USER GUIDE 15 Tool Table Parameters The tool table contains all tool parameters used for M6 tool change and for Gcode Abo
5. GUIDE 1 6 Preset Z Axis with DISTZ Parameter The M6 code can preset Z Axis with tool Len The preset value considers the following method When a value ZO is inserted G1Z0 the tool is on contact With Work Plane Machine the tool not considers the pieces heigh Piece EU Work Plane Machine For use this method is necessary the following instructions a Active the code in M6 remove the remarks READ PARMAC DISTZ SDISTZ 01572 01572 1000 SPRESETZ U1 SPRESETZ SDISTZ SPRESETZ G94 Z SPRESETZ Remove the initial Remarks b Insert the parameter DISTZ in the configuration IsoNs cfg open the IsoNs cfg see the Chapr 1 5 c Click on Machine Parameters tab General Machine Parameters System Define d Click on Button NEW New parameter General 100 e Change the name 01572 upper case 01572 New parameter General 1 NUMERICO v f Change the description Z Distance without tool Z Distance without tool General 100 g Savethe configuration 13 STANDARD M USER GUIDE 1 7 Create a file TOOL INF The M6 code uses a file var TOOL INF For create this file use the following code and run it one times only SACTUT 1 DIM VAR 1 WRITE VAR SACTUT 0 SAVE VAR TOOL INF INIT THE ACTUAL TOOL The above code writes in the file the nr 1 tool You must insert in SACTUT variable the actual tool number in the sp
6. R GUIDE 1 1 Mode of Linear Tool Change The M6 IsoNs Gcode macro manages the following linear tool change mode MODE A insert tool up Z Axis Insertion PZ TOOL Parameters Description DX 0 S U17 User 15 in Tool Table PX Abs X pos refered to tool Nr Center Hole S U14 User 12 in Tool Table DY 0 S U18 User 16 in Tool Table PY Abs Y pos refered to tool Nr Center Hole S U15 User 13 in Tool Table DZ FREE Z POSITION WITH TOOL S U19 User 17 in Tool Table PZ Abs Z pos refered to tool Nr Center Hole S U16 User 14 in Tool Table About the unit used for PX PY PZ parameters you must use the same unit defined in the RESQUOTE Parameter RESQUOTE 1000 PX PY PZ in 0 001mm RESQUOTE 10000 PX PY PZ in 0 0001mm Etc Free Z Position with tool DZ USER14 USER17 PZ USER 14 ESS Example Tool Table for 2 Tools GestConfiglsoNs exe Same position in Z and Y offset hole in X 100000 um 100 mm Z negative position in Down direction CPU Comunication Axis Compiler Interface General Machine Parameters System Define Heads Tools Code Pause intemal Allams User Allams CN Allams User 6 User7 _ 0 0 0 0 0 0 User 10 User 11 User 12 User 13 User 14 User 15 User 16 User 17 0 0 0 100000 120000 150000 0 0 50000 0 0 0 20000 120000 150000 0 0 50000 6 STANDARD M USER GUIDE MODE B insert tool From Side PX PY PZ X or Y Axis I
7. T APPROCH SPEED TO 1 MT MIN G81 X2 ENABLE OF THE SECONDARY SOFTWARE LIMIT IF NECESSARY G81 X3 IF SACTUT 0 F THE ACTUAL TOOL IS 0 ONLY LEAVE THE TOOL THAT IS IN THE SPINDLE IN THE WAREHOUSE GOTO DISCHARGE END_IF IF SOLDUT SACTUT lF THE ACTUAL AND THE OLD TOOL ARE THE SAME ONLY CALCULATION GOTO CALCULATE END_IF DISCHARGE LEAVE THE TOOL ALREADY IN THE SPINDLE IN HIS WAREHOUSE POSITION IF SOLDUT 0 ERROR 3 F THE OLD TOOL IS 0 UNKNOWN TOOL END PROGRAM END_IF T SOLDUT SET T TO TOOL IN THE SPINDLE SDELTAZ U19 LOAD FROM THE TOOL TABLE THE POSITION DELTAS FOR CHANGING SDELTAY U18 SDELTAX U17 POSZ S U16 LOAD FROM TOOL TABLE THE TOOL POSITION 015 014 STANDARD M USER GUIDE SAPPX SPOSX SDELTAX LOAD THE POSITIONS SAPPY SPOSY SDELTAY SAPPZ SPOSZ SDELTAZ GO X SAPPX Y SAPPY TO THE DISCHARGE POSITION WITH DELTA GO Z SAPPZ 1 2 5 2 F SVEL CLAMP ENTRY G62 WAIT END MOVE G1 X SPOSX F SVEL CLAMP ENTRY G62 WAIT END MOVE G1 Y SPOSY F SVEL CLAMP ENTRY LOAD STARTING THE CHARGE SECTION IF NO TOOL IN SPINDLE G62 WAIT END MOVE O1 1 OPEN THE SPINDLE O2 1 CLEANING BLOW ACTIVATION GO Z SAPPZ GO TO RELEASE POSITION ON Z AXIS END OF THE OLD TOOL LEAVING SECTION T SACTUT RELOAD ACTUAL TOOL IFSACTUT O IF WE HAVE ONLY TO LEAVE OLD TOOL GO TO END 02 0 CLOSE CLEANING BLOW 01 0 CLOSE
8. THE SPINDLE F0 5 LITTLE PAUSE WAIT INPUT4141 _ WAIT FOR THE SPINDLE CLOSED INPUT WITHOUT TOOL INPUT 4 5 PHYSICS GO ZO MOVEZ TO 0 GOTO END TO END END IF OTHERWISE LOAD THE NEW TOOL IF IT S DIFFERENT TO 0 DELTAZ U19 LOAD FROM THE TOOL TABLE THE POSITION DELTAS FOR CHANGING SDELTAY U18 SDELTAX U17 POSZ U16 SPOSY U15 SPOSX U14 SAPPX POSX SDELTAX SAPPY SPOSY SDELTAY SAPPZ SPOSZ SDELTAZ GO X SPOSX Y SPOSY TO THE CHARGE POSITION G1 Z SPOSZ F SVEL CLAMP ENTRY G62 END MOVE 02 0 CLOSE CLEANING BLOW 01 0 CLOSE THE SPINDLE WAIT INPUT5141 WAITFOR THE SPINDLE CLOSED INPUT WITH TOOL INPUT 5 6 PHYSICS G4 F0 5 G1X SAPPX Y SAPPY TO THE DISCHARGE POSITION WITH DELTA GO 20 GO UP TO SECURE QUOTA VAR 1 WRITE VAR SACTUT 0 SAVE VAR TOOL INF THE ACTUAL TOOL END OF THE NEW TOOL CHARGING STANDARD M USER GUIDE CALCULATE CALCULATION SECTION USE THE FOLLOWING SECTION FOR PRESET Z AXIS BY DIST Z PARAMETER PRESET Z AXIS WITH DISTZ PARAMETER see Chapr 1 6 READ PARMAC DISTZ SDISTZ SDISTZ SDISTZ 1000 SPRESETZ S U1 SPRESETZ SDISTZ SPRESETZ G94 Z SPRESETZ ne END G81 XO RESTORE NORMAL SOFTWARE LIMIT G81 X1 G97 REACTIVATE OFFSET G99 REACTIVATE ZERO OFFSET G88 REACTIVATE HEAD OFFSET STANDARD M USE
9. WAIT INPUT61101 G4F2 Use this if the Spindle has the VEL REACHED output In this case uses the INPUT 6 to logical state 1 with time out 10 sec Use the simple delay d Openthe Plug In M HM e Setin the Plug In M3 and Generate M f Write the M4 code and repeat the D and E points with M4 2 ae MACRO FOR SPINDLE CCW PROMAX SRL M4 l idc LE LI M1004 CALL M1004 ON CNC WAIT INPUT61101 G4F2 g Write the M5 code and repeat the D and E points with M5 MR FOR SPINDLE STOP PROMAX SRL M5 Lea SIONIS DEI M1005 CALL M1005 ON CNC 16 STANDARD M USER GUIDE 2 2 GENERATE MACRO M1003 M1004 M1005 The M1003 M1004 M1005 are written in VTB and it manage really the spindle The control type is in Voltage 0 10V These are hardware dependent and the VTB code is not the same if the analog output is different These Macro read the spindle speed from ISOV1_Generic 9 data memory It is written from Gcode when the Sval function is executed In the ISOV1_Generic 9 you can read the Sval Gcode VTB 512000 ISOV1_Generic 9 12000 58000 ISOV1_Generic 9 8000 M1003 M1004 M1005 for NG35 NGIO NGMEVO NGMsX NGQuark with Analog Output If the NGQuark board is used set the ENCODER ENABLE true in the NGQ init object Digital I O used Out3 gt 1ISOV1 0UT2 CW Direction Out4 gt 1ISOV1 0UT3 CCW Directi
10. indle ex SACTUT 2 etc You must charge manually the first tool 14 STANDARD M USER GUIDE 1 8 Create a M6 Function You can test the M6 code and when it is Ok you must create the M6 Function in the following mode a Load the M6 code m Lu b Open the Plug In M HM HM C Setinthe Plug In M6 and Generate M M HM Generate Now the M6 is ready to use 15 STANDARD USER GUIDE 2 M3 M4 M5 Spindle management Following the standard M3 M4 M5 functions for Spindle management These functions are developed in two parts 1 M3 M4 9Mb5in Gcode IsoNs 2 M1003 M1004 M1005 called by M3 M4 M5 in VTB Code on CNC The M1003 M1004 M1005 depends from the CNC type and the analog output type 2 1 GENERATE MACRO M3 M4 M5 The M3 M4 function start the spindle in the CW or CCW direction The spindle speed is set from Sval Gcode function 512000 Generally this function writes directly the spindle speed in rpm For use the Sval in the VTB application is necessary set the IsoNs parameter WR SPD9 1 i x a Open the Machines Parameters Browser 2 b Set WR_SPD9 and save the parameters WR_SPD9 Enable write speed user 9 1 c Write the M3 code K SE K K K SE K K K CK GE GE SE K GE K SE K GE K SE K MACRO FOR SPINDLE CW C PROMAX SRL M3 OK k SE SE SE GE KK GE GE KK M1003 CALL M1003 ON CNC
11. nsertion TOOL Parameters Description DX FREE X POSITION S U17 User 15 in Tool Table PX Abs X pos refered to tool Nr Center Hole S U14 User 12 in Tool Table DY FREE Z POSITION S U18 User 16 in Tool Table PY Abs Y pos refered to tool Nr Center Hole S U15 User 13 in Tool Table DZ FREE Z POSITION WITH TOOL lt above S U19 User 17 in Tool Table PZ Abs Z pos refered to tool Nr Center Hole DX USER12 USER17 DY USER13 USER16 At Example Tool Table for 2 Tools GestConfiglsoNs exe Same position in Z and Y offset hole in X 100000 um 100 mm Z negative position in Down direction CPU Comunication Axis Compiler interface General Machine Parameters System Define Heads Tools Code Pause Intemal Allams User Allams CN Allams _ User 9 UserlO Useii 2 13 Useri4 User15 Use16 User17 a 0 0 0 100000 120000 150000 0 30000 150000 0 0 0 20000 120000 150000 0 30000 50000 STANDARD M USER GUIDE 1 2 M6 Flow Chart The M6 IsoNs Gcode macro use the following method Simulation Run Normal Run Or Simluation Run The Spinlde is Closed I5 0 END MACRO NO no tool in the spindle YES tool in the spindle Disable All Axes Offset MOVE Z to Secure Position Load the tool in the Spindle Nr From TOOL INF file in SOLDUT Load the new t
12. on Out5 ISOV1 OUTA START STOP Spindle Analog Output used Analog0 Ng Dac O0 val a Declare the following DEFINE in VTB project MAX DAC DIV Number of Digital Analog Output Divisions not change MAX SPEED SPINDLE Number of Spindle Rpm set to Rpm at 10 Volt value b Declare the following INTERNAL VAR in VTB Project Internal VAR StaticvaR vsDVAR FixedVAR SSS Se Variable ype Shared Export in Class SPINDLE_SPEED Long variable 17 STANDARD M USER GUIDE c Written the following code in the TASK PLC CODE INIT TASK PLC Task PLC ISOVI1 start m start macro ISOVI Starr mesortart Macro d Written the following code in the MAIN gt PAGE FUNCTIONS function Start Macro as char ISOV1 m 1 select ISOV1 M cmd case 1003 start Spindle CN ISOV1 OUT2 true set Cv mode ISOV1 OUT3 false Reset CCv mode function Start Macro as char ISOVI m ACK 1 select 5 1 M cmd case 1003 start Spindle CW ISOV1 OUT2 true set Cw mode ISOVI OUT3 false Reset CCw mode Speed calculation Spindle Spindle ISOV1_ generic 9 MAX DAC DIV MAX SPEED SPINDLE ng dac 0 Spindle Spindle Set analog out ISOV1 OUT5 true Start Spindle ISOV1 status m run 0 Free IsoNs case 1004 start Spindle CCW ISOV1 OUT2 false Reset Cw mode ISOV1 OUT3 true set CCw mode Speed calculation Spindle Spindle ISOV1_ generic 9 MAX DAC DIV MAX SPEED SPINDLE ng dac 0 Spindle Spindle Set analog out ISOVI OUT5
13. ool Nr Tn by S X6 in SACTUT Set FEED for G1 ONLY LEAVE THE TOOL THAT IS IN THE SPINDLE SACTUT 0 TO SACTUT SOLDUT YES Same Tool STANDARD M USER GUIDE YES ERROR END PROGRAM SET TOOL TABLE SOLDUT T SOLDOUT Load Tool Parameters from Tool table SDELTAZ S U19 SDELTAY S U18 SDELTAX S U17 SPOSZ S U16 SPOSY S U15 SPOSX S U14 MOVE XY in The Discharge Position MOVE Zin The Discharge Position MODE A MOVE X in Insert Position G1 X SPOSX F SVEL CLAMP ENTRY This movment is necessary only if the tools change system is In MODE B WAIT END MOVE OPEN THE SPINDLE 5 01 1 CLEANING ACTIVATION O2 1 GO TO In Release position in Z Axis SET TOOL TABLE SACTUT T SACTUT STANDARD M USER GUIDE ONLY TO LEAVE CLOSE THE SPINDLE O1 0 CLEANING STOP O2 0 WAIT FOR SPINDLE CLOSE MOVE Z TO 0 POSITION YES Load Tool Parameters from Tool table SDELTAZ S U19 SDELTAY S U18 SDELTAX S U17 SPOSZ S U16 SPOSY S U15 5 014 MOVE Zin The Release Position MOVE X Y in The Load Position MOVE Zin The Load Position ERROR IF SPINDLE NOT CLOSE CLOSE THE SPINDLE 01 0 CLEANING STOP 02 0 WAIT FOR SPINDLE CLOSE I5 MOVE in The Leave Position MODE B MOVE Zin The Position SAVE THE NEW TOOL Nr IN TOOL INF FILE
14. true Start Spindle ISOV1 status m run 0 Free IsoNs case 1005 Spindle Stop ISOV1 OUT5 false Stop Spindle Spindle Spindle 0 set Speed to 0 ng dac 0 VelSpindle Set analog out ISOV1 status m run 0 Free case else ISOV1 m 0 endselect endfunction 18 STANDARD M USER GUIDE M1003 M1004 M1005 for NGMEVO PWM Output Insert the following object in the VTB Project General gt Cpwm vco gt PWM NGM EVO And set the following properties Project Explorer Digital I O used Out3 ISOV1 OUT2 CW Direction Out41SOV1 OUT3 CCW Direction 5 150 1 00 4 START STOP Spindle Analog Output used AnalogO gt PWM_vVal 0 val a Declare the following DEFINE in VTB project InternalvAR BitVAR StaticvaR VSDVAR Fixed VAR MAX DAC DIV 213 MAX SPEED SPINDLE 24000 MAX DAC DIV Number of Digital Analog Output Divisions not change MAX SPEED SPINDLE Number of Spindle Rpm set to Rpm at 10 Volt value b Declare the following INTERNAL VAR in VTB Project Shared Export in Class SPINDLE_SPEED Long variable 19 STANDARD M USER GUIDE c Written the following code in the TASK PLC CODE INIT TASK PLC Task PLC ISOVI1 start m start macro ISOVI Starr mesortart Macro d Written the following code in the MAIN gt PAGE FUNCTIONS function Start Macro as char ISOV1 m 1 select ISOV1 M cmd case 1003 start Spindle CN ISOV1 OUT2 true set Cv mode
15. ut M6 the parameters meaning are described in the Chapr 1 1 Mode of linear tool change These depend by Mode tool used The Parameters Table is setted by Tn Gcode function Below the standard parameter Diameter Tool Diameter used by G42 G41 ex 23 2 Len Tool Len used by G43 or Z preset Vrot rpm Rotation max speed Used by M3 M4 User 1 Generally used for 274 clone tool Reserved User 2 to User 11 Free User 12 Absolute Position X for Insertion or Extration Tool User 13 Absolute Position Y for Insertion or Extration Tool User 14 Absolute Position Z for Insertion or Extration Tool User 15 Delta Position X for Insertion or Extration Tool User 16 Delta Position Y for Insertion or Extration Tool User 17 Delta Position Z for Insertion or Extration Tool Prepare a tool table a Run GestConfiglsoNs exe in folder Utilty 2GestConfiglsoNs or Run by Utility IsoNs Configurator b Open IsoNs cfg IsoNs Folder by Load Cfg Button or if you have already IsoNs click Load default Click on Tools tab Heads Tools Code Pause d Insert the Number of tools available in your machine ex 3 tools Click on Button for 3 times w The parameters Diameters Len V Rot rpm can be changed by Utiltity 2GestTabut 2GestTabut exe or Utility Tool Table e Insert the parameters User12 User13 User14 User15 User16 User17 f Insert PassWord and save configuration 12 STANDARD USER
Download Pdf Manuals
Related Search
Related Contents
Sony SRF-18 EK Water Blocks 3831109821152 Samsung NX MINI 17MM 단렌즈 User Manual Administrations et collectivités territoriales DOL 20R Dicota Lid Cradle CASBEE戸建評価員試験 問 題 ICX Global ENT 6412 User's Manual A.O. Smith Custom Commercial Solar Water Heating Systems Technical Documents CHAPTER II: TECHNICAL SPECIFICATIONS AND TEST Copyright © All rights reserved.
Failed to retrieve file