Hello Guest it is March 28, 2024, 05:00:10 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - daniba73

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
151
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 17, 2020, 08:20:12 AM »
if it were possible, I would do something similar in the image

152
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 16, 2020, 11:51:02 AM »
Is it possible to associate an output to the macro to activate a light bulb?

153
I solved the problem of the G83 empty thanks to this link:

https://www-cncsteuerung.gitbook.io/docs/mach4-software/bekannte-meldungen/parameter-fehler/1801


super Mach4!!!!!! GO!! GO!!! GO!!!!

154
I uploaded version 4369.
in device mode it works perfectly.
the problem is when I use it with the CSMIO.
does not perform any processing.
I read a message from Mach4 respective to a parameter 1801 which is equivalent to zero.
I think it's a plugin problem.
I honestly have not yet figured out who should control, the plugin or Mach4 ??

155
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 16, 2020, 04:38:31 AM »
I found and solved the problem, it was a writing error in the m40 macro that you had loaded.
this is correct:

function m40()
   local inst = mc.mcGetInstance("Spindle range 0")
   local rc
   local currentRange
   currentRange, rc = mc.mcSpindleGetCurrentRange(inst)
   if (currentRange == 0) then
      return -- nothing to do!
   end
   -- Do the machine dependent range change control.
   --
   -- End machine dependent range change control

   -- Next, tell Mach what rage we are now in IF the above is successful.
   mc.mcSpindleSetRange(inst, 0)
end

if (mc.mcInEditor() == 1) then
    m40()
end




P.S in gdode and MDI it is recognized and applied whether you use uppercase or lowercase letters.
thank you so much!! you are great!!

156
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 15, 2020, 06:18:49 PM »
ok, this is the gcode:
%
M5
M40
G97 S1000 M3
T101
G0 X100 Z10
G1 Z-20 G98 F100
G0 X150 Z10
M5
M42
G97 S1000 M3
T202
G0 X98 Z10
G1 Z-20 G98 F100
G0 X150 Z10
M5
M30
;

157
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 15, 2020, 03:29:53 AM »
not to misunderstand, I would like to change this.
look at the picture.

158
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 14, 2020, 03:51:54 PM »
I forgot something?
or did I make a mistake?

159
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 14, 2020, 02:22:02 AM »
yes, I forgot to write that I tried both ways.
I put the m40.mcs macros in the folder:
C: \ Mach4Hobby \ Profiles \ Mach4Lathe \ Macros

then I wrote this little gcode test.

%
M5
M40
T101
M30
;

M40 is ignored, does not change the scale.

160
Mach4 General Discussion / Re: Mechanical speed ranges in Mach4
« on: January 13, 2020, 06:19:41 PM »
I just created a macro that I called "m50"
inside I copied what you wrote.
then I tried to write the m50 macro inside a gcode, but it was ignored.

later I tried to replace the internal macro m50 with the second example, but nothing changes.

I underline that I was testing it on the laptop in demo version, I didn't have time to go to the laboratory to try the lathe where I activated mach4 hobby with license.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »