rem em ber - in Document QTvcp Development 5.6. Dialogs

More
08 Jun 2019 17:16 - 08 Jun 2019 17:19 #136300 by partec
from MDI with macro like this e.g.

(FAVRlog erstellen - FAVRETTO Flachschleifen aktuelle Parametern)
o<_schleif_parameter> sub
#<_fav_Z_hochgestellt> = #4200
#<_fav_Z_Sicherheit> = #4199
#<_fav_Z_Start_Schruppen> = #4198
#<_fav_Z_Schrupp_Zustell_Schritt> = #4197
#<_fav_Z_Start_Schlichten> = #4196
#<_fav_Z_Schlicht_Zustell_Schritt> = #4195
#<_fav_Z_Ende_Schlichten> = #4194
#<_fav_Ausfunken> = FIX[#4190]
#<_fav_Y_hinten> = #4201
#<_fav_Y_vorne> = #4202
#<_fav_Y_Schritt_rechts> = #4203
#<_fav_Y_Schritt_links> = #4204
#<_fav_Y_Geschwindigkeit> = #4205
#<_fav_Y_Geschwindigkeit_Abrichten> = #4206
#4211 = FUP#4201 - #4202] / [2 * #4203
#<_fav_Y_Anzahl_Schritte> = #4211
#<_fav_X_Abricht_Diamant_hinten> = #4230
#<_fav_X_Abricht_Sicherheit> = #4231
#<_fav_X_Abricht_Startposition> = #4232
#<_fav_X_Abricht_Zustellung> = #4233
#<_fav_X_Abricht_Zustell_Geschwindigkeit> = #4234
#<_fav_T_nach_links> = #4207
#<_fav_T_nach_rechts> = #4208
#<_fav_T_Geschwindigkeit> = #4209
(LOGAPPEND,_FAVRlog)
(LOG, )
(LOG, FAVRETTO Flachschleifen aktuelle Parameter)
(LOG, VERTIKAL)
(LOG, Z hochgestellt mm #4200)
(LOG, Z Sicherheitshöhe mm #4199)
(LOG, Z Schruppen ab der Höhe mm #4198)
(LOG, Z Schruppen Zustell Schritt mm #4197)
(LOG, Z Schlichten ab der Höhe mm #4196)
(LOG, Z Schlichten Zustell Schritt mm #4195)
(LOG, Z Ende Schlichten mm #4194)
(LOG, Z Ausfunken #<_fav_Ausfunken> mal)
(LOG, QUER)
(LOG, Y hinten mm #4201)
(LOG, Y vorne mm #4202)
(LOG, Y Schritt rechts mm #4203)
(LOG, Y Schritt links mm #4204)
(LOG, Y Geschwindigkeit #4205 mm/min)
(LOG, Y Anzahl Schritte li + re je #4211)
(LOG, )
(LOG, ABRICHTEN)
(LOG, X Diamant in Ruheposition mm #4230)
(LOG, X Sicherheitsabstand mm #4231)
(LOG, X Startposition mm #4232)
(LOG, X Zustellung pro Vorgang bis mm #4233)
(LOG, X Zustell Geschwindigkeit #4234 mm/min)
(LOG, )
(LOGCLOSE)
(MSG, Parameter gespeichert)
o<_schleif_parameter> endsub
M2

Peter
Last edit: 08 Jun 2019 17:19 by partec.

Please Log in or Create an account to join the conversation.

More
08 Jun 2019 17:34 #136301 by partec
grinding itselfs is done with this macro

(FAVRETTO FLACHSCHLEIFEN mittels Parametern)
o<_schleifen> sub
#<_fav_Z_hochgestellt> = #4200
#<_fav_Z_Sicherheit> = #4199
#<_fav_Z_Start_Schruppen> = #4198
#<_fav_Z_Schrupp_Zustell_Schritt> = #4197
#<_fav_Z_Start_Schlichten> = #4196
#<_fav_Z_Schlicht_Zustell_Schritt> = #4195
#<_fav_Z_Ende_Schlichten> = #4194
#<_fav_Ausfunken> = FIX[#4190]
#<_fav_Y_hinten> = #4201
#<_fav_Y_vorne> = #4202
#<_fav_Y_Schritt_rechts> = #4203
#<_fav_Y_Schritt_links> = #4204
#<_fav_Y_Geschwindigkeit> = #4205
#<_fav_Y_Geschwindigkeit_Abrichten> = #4206
#4211 = FUP#4201 - #4202] / [2 * #4203
#<_fav_Y_Anzahl_Schritte> = #4211
#<_fav_X_Abricht_Diamant_hinten> = #4230
#<_fav_X_Abricht_Sicherheit> = #4231
#<_fav_X_Abricht_Startposition> = #4232
#<_fav_X_Abricht_Zustellung> = #4233
#<_fav_X_Abricht_Zustell_Geschwindigkeit> = #4234
#<_fav_T_nach_links> = #4207
#<_fav_T_nach_rechts> = #4208
#<_fav_T_Geschwindigkeit> = #4209
G54 G90 G17
G0 Z#4200 (Anfangsposition)
G0 X#4208 Y#4201
G00 Z#<_fav_Z_Sicherheit>
G01 Z#<_fav_Z_Start_Schruppen> F18
#1 = 0
#4210 = #4201
o101 while [#1 LT #4211]
G01 X#4207 F#4209
#4210 = [#4210 - #4203]
G01 Y#4210 F#4205
G01 X#4208 F#4209
#4210 = [#4210 - #4203]
G01 Y#4210 F#4205
#1 = [#1 + 1]
o101 endwhile
#1 = 0
o102 while [#1 LT #4211]
G01 X#4207 F#4209
#4210 = [#4210 + #4203]
G01 Y#4210 F#4205
G01 X#4208 F#4209
#4210 = [#4210 + #4203]
G01 Y#4210 F#4205
#1 = [#1 + 1]
o102 endwhile
G0 Z#4200 (Anfangsposition)
G0 X#4208 Y#4201
o<_schleifen> endsub
M2


Peter

Please Log in or Create an account to join the conversation.

More
08 Jun 2019 18:06 #136302 by cmorley
Would something like this make sense then (this is a lathe macro menu):



i would assume you would wish to be able to load and save preset setting too.

Chris M
Attachments:
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

More
08 Jun 2019 18:20 #136303 by partec
this looks absolutely going to a perfect direction, thank you Chris, I think I have to prepare some input pictures for flat grinding needs!

Please Log in or Create an account to join the conversation.

More
08 Jun 2019 18:50 #136304 by cmorley
Currently the macro menu uses svg image files so one file can hold all needed images and it can be resized easily. I used inkscape.
If there are many different macros, then it's nice to have a simpler icon image too.
The lathe macros you see are based on Andy's lathe macro work.
You can see more if you start sim qtdefault screen and press f5
( I have not tested them on a real machine so anyone should be real careful)

I'll have to add a way to open and save presets.
We should start a new thread if you wish to continue...

Chris M

Please Log in or Create an account to join the conversation.

More
08 Jun 2019 19:19 #136305 by partec
thank you Chris, that would be perfect to use linuxCNC for this standard surface rectifying machines or flat grinding machines

Peter

Please Log in or Create an account to join the conversation.

More
10 Jun 2019 12:12 - 10 Jun 2019 12:16 #136457 by partec
to continue I just now have started a new thread

User Interfaces
Other User Interfaces
Qtvcp use with grinder

par
Last edit: 10 Jun 2019 12:16 by partec.

Please Log in or Create an account to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum