Hello Guest it is April 26, 2024, 02:06:05 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 - MojsterMiha

Pages: « 1 2 3 4 5 6 7 »
51
Sorry for a delay.
I haven't this machine at home.

We have three machine with Mach3 in company where I'm working and on all three we have the same problem.

I have attached xml file from one of machine.

Thanx

52
 I'm using  plugin SmoothStepper_Beta2_v015ogb.m3p

53
Hi,

I have read a few old posts with questions about problems with soft limits, but I didn't find an answer on my problem.

I'm using Mach3Version3.042.027 and SmoothStepper on my milling machine.
After I start Mach3 and send axis in home position, all soft limits work fine - also by maximal speed.
With manual moving isn't possible to exceed soft limit.
If now I start one of the program, soft limits are not working any more. Nor if the program was interrupted because of broken tool,
nor if program is finish normally.
Only if I press RESET button soft limits are working again.
This is in my case a very big problem, because my Z axes has only 115 mm and is very quickly on the limit.

Is there any possibility to solve this problem?




54
General Mach Discussion / Re: MPG Mode Screen load
« on: April 08, 2009, 01:44:11 PM »
It Works!

Thanx!

55
General Mach Discussion / Re: MPG Mode Screen load
« on: April 05, 2009, 09:24:42 AM »
Yes, I am.  I have got an empty screen - not MPG screen.
I have try many possibility but nothing - I can load MPG screen only with pressing TAB button.

56
General Mach Discussion / MPG Mode Screen load
« on: April 05, 2009, 05:45:39 AM »
Hi,
I have try to load  a MPG screen from a script - macro, but without success.
It works only with TAB key.

Is there any possibility to load this screen from macro?

regards!

57
Hi,

I wrote a simple macro for gear shifter.
It is working from Script editor but not from G-code  - Compile error. Syntax error in script

In this moment I havent a time to search for mistake (I am not an expert), hope that someone will help!

Regards

'Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long)

'''DoSpinCW()
rpm = GetRPM()
revolutions = GetRPM()
SetSpinSpeed( revolutions )

If rpm < 820 Then
pulleyD = 1       'desired gear
message "gear 1"
End If


If rpm > 800 And rpm < 5000 Then
pulleyD = 2         'desired gear
message "gear 2"

End If


pulley=(GetOEMDRO(56))  ' user DRO  - pulley number - added on screen


Select Case pulleyD
 
   
    Case  1 'pulleyD#1
   
    If pulley = pulleyD Then
    Message "Gear already in position 1"
    Else
   
   
    SetSpinSpeed(50)    'slow rotation for gear changing
    DoSpinCW()
    While isMoving()
    'Sleep 100
    Wend

    Code "G4 P2"
    While isMoving()
    'Sleep 100
    Wend
    DoSpinCW()
     ActivateSignal(OUTPUT1)
     DeActivateSignal(OUTPUT2)
     Code "G4 P2"
     While isMoving()
     'Sleep 100
    Wend

   
    setPulley(1)
    message "gear in position 1"
    Code "G4 P2"
     While isMoving()
     'Sleep 100
    Wend

    message "finished"
   
SetSpinSpeed(revolutions) ' set desired Spindle Speed back
DoSpinCW()

    Exit Sub
   
  End  If
 
 
  Case  2 'pulleyD#2
   
  If pulley = pulleyD Then
    Message "Gear already in position 2"
    Else
   
 
    SetSpinSpeed(50)   'slow rotation for gear changing
    DoSpinCW()
    While isMoving()
    'Sleep 100
    Wend

    Code "G4 P2"
    While isMoving()
    'Sleep 100
    Wend
    DoSpinCW()
     ActivateSignal(OUTPUT2)
     DeActivateSignal(OUTPUT1)
     Code "G4 P2"
     While isMoving()
     'Sleep 100
    Wend

   
    setPulley(2)
    message "gear in position 2"
    Code "G4 P2"
     While isMoving()
     'Sleep 100
    Wend

    message "finished"
   
SetSpinSpeed( revolutions )   ' set desired Spindle Speed back
DoSpinCW()

    Exit Sub
   
  End  If

 
  End Select   

58
Hi,

I have the same problem.
I need exactly the same thing.

If you will have any informations, please let me know.

Regards!

59
General Mach Discussion / Writing results of probing in to G-code
« on: October 25, 2008, 09:15:36 AM »
Hi,
I want to probe three positions (Z height with touch probe) on my raw piece and then mill a groove parallel to the surface (please see sketch)
Please, how can I do this?

My idea is something like this:

G00 X0 Y0 Z20
G00 Z5

G01 Z0 (+read from DRO)    ´it is possible something like this??

G01 X50 Y20  Z5 (+read from DRO)

G01 X100 Y0 Z0 (+read from DRO)

G00 Z20
G30

Please, any suggestion.

Thanx!


60
VB and the development of wizards / Re: Terminating Script
« on: January 17, 2008, 02:04:00 PM »
Hello,

I have work on first code and I find a problem.

The problem is: DooemButton(1003) ' Stop Button
This is the cause for "Terminating Script"
If I put any other OEM Button  all works fine.

If I try to stop moving with DooemButton(1001)  'Pause - Hold , moving stops but it takes too long (~ 90mm) also if I set deceleration to
very small value - 0.4 s (the speed of moving is 1500 mm/min).

I have try also  DooemButton(1002) 'Rewind   The axis stops but then takes too long before  continue with other code.

Is there any other way to stop moving when switch is triggered?
Our machines are with servos, so  quick stop (without long deceleration) isn´t  a problem.




Thanks all for your help.


Pages: « 1 2 3 4 5 6 7 »