Hello Guest it is April 19, 2024, 12:33:35 PM

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

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 »
231
VB and the development of wizards / Re: Help with tool change macro's
« on: June 26, 2012, 08:13:14 PM »
Hi again,
i attached a M6start macro for 6 tools. to me it looks as it works. take care when testing it.
look into it and make it suitable for your needs.
In lathe mode it is ok to code T505 for example. You dont have to code M6 T0505.
leave M6 away.

Alex

232
VB and the development of wizards / Re: Help with tool change macro's
« on: June 26, 2012, 06:16:12 PM »
Hi Dale,
like Peter said, use auto toolchange in general config.Do not use the m6 end macro in turn mode.it is ignored so far as i know.
Put everything in your M6start macro.
Alex

233
FAQs / Re: Cannot Toggle to MPG in (hit_tab) joggingscreen
« on: June 26, 2012, 05:47:56 PM »
Hi,
enable the MPG1 in Ports and Pins instead MPG3. ;)
Alex

234
General Mach Discussion / Re: Subroutine configuration, Z axis help
« on: June 26, 2012, 05:26:27 PM »
No problem, happy to be done.  ;D

Alex

235
General Mach Discussion / Re: Subroutine configuration, Z axis help
« on: June 26, 2012, 04:50:29 PM »
Hi,

I think you mean this

G0 G21 G90 G17 G50 G80 F100
G0 Z100             ( save Z )
G0 X0 Y0
G0 Z50               (Z point to start from)
M98 P1 L10         (Set L For No. of Steps)
G0 Z100             ( save Z )
M30
%
O1
G91 G1 Z-0.5 F50    (incremental Z step)
G90                       (back to absolute)   
G1 X51 F200
G1 y-2
G1 X0
G91 G1 Z-0.5 F50     (incremental Z step)
G90                       (back to absolute)
G1 X51 F200
G1 Y0
G1 X0
M99
%

Alex

236
General Mach Discussion / Re: Subroutine configuration, Z axis help
« on: June 26, 2012, 01:10:45 PM »
Sorry, little mistake!
this should be correct.

G0 G21 G90 G17 G50 G80 F100
G0 Z100             ( save Z )
G0 X0 Y0
G0 Z50               (Z point to start from)
M98 P1 L10         (Set L For No. of Steps)
G0 Z100             ( save Z )
M30
%
O1
G91 G1 Z-0.5 F50    (incremental Z step)
G90                       (back to absolute)   
G1 x51 F200
G1 X51 y-2
G1 x0 y-2
G1 x0 y0
M99
%

237
General Mach Discussion / Re: Subroutine configuration, Z axis help
« on: June 26, 2012, 01:01:00 PM »
Hello,
I would usually do it like this (just a thought)

G0 G21 G90 G17 G50 G80 F100
G0 Z100
G0 X0 Y0
G0 Z50               (Z point to start from)
M98 P1 L10         (Set L For No. of Steps)
M30
G0 Z100
M99
%
O1
G91 G1 Z-0.5 F50    (incremental Z step)
G90                       (back to absolute)   
G1 x51 F200
G1 X51 y-2
G1 x0 y-2
G1 x0 y0
M99
%


be careful using G91.


this should work too.



#1=10      (#1 = No. of Steps Down)
#2=-0.50   (Z step)
#3=20      (Z position to start from)
G0 G21 G90 G17 G50 G80 F1000
G28
G0 X0 Y0
G0 Z50
M98 P1 L#1
G0 Z 1
M30
o1
G1 Z#3 F50
G1 x51 F200
G1 X51 y-2
G1 x0 y-2
G1 x0 y0
#3= [#3+ #2]
M99
%

Alex

238
Hi tbyrd,
i found the same problem with my toolchange macro. everything is fine in mdi or autorun, but in single it does not wait for the input to be true.
what i did is at the begin in the macro switch off single block then run the macro to the end then switch single block on again.
for me that works well. Your macro may look like 

SetVar 500, getoemled(82)
If (getoemled(82) =-1)Or(getoemled(82) =-1) Then
DoOembutton(1004)
end If

while not isactive(input4)
  message("still going")
  Sleep 50
Wend
  Message("you made it")

If (GetVar(500)=-1)Or(GetVar(500)=-1) Then
DoOembutton(1004)
end If


be sure not to use Var 500 for other operations in this case.
alex

239
General Mach Discussion / Re: 4 to 20 ma
« on: June 07, 2012, 09:06:35 PM »
Hi Steve,
yes, Spindle PWM to 4 to 20ma.
you need an additional small circuit board
search google pwm to 4-20ma
what resolution do you need ?
Alex

240
General Mach Discussion / Re: PWM spindle - Circuit advice
« on: June 03, 2012, 10:58:28 AM »
Hi sweep, as you lie quite right, the voltage drop comes from the electronics.
normally, the 10 volt is provided for potis connection.
Try a externel 12 Volt power supply ( linear type, switching type may cause problems )
alex

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 »