Hello Guest it is April 26, 2024, 05:25:13 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 - imitheo

Pages: « 1 2 3 4 5 »
11
VB and the development of wizards / Re: Auto tool zero script problems
« on: October 28, 2017, 09:22:11 AM »
Okay, i'll try hitting the probe before it hits the presseter. But yes, it's working perfectly at the diagnostics screen.

I'll be emailing NEVEX, and yes they have a small manual, it doesn't say anything about G31.

12
VB and the development of wizards / Re: Control micro servo with Macro
« on: October 27, 2017, 03:47:36 PM »
I am using a nevex(Brazilian company) motion controller.

I said weird when referring to the not constant period. Yes 10ms.. i see, the only way to make this happen is to use
the activate signal to signal some pic or signal generator outside the motion controller ?

13
VB and the development of wizards / Re: Auto tool zero script problems
« on: October 27, 2017, 02:54:38 PM »
I am not running at 4K, relax it's running on 500mm/min

I am using from a company of my country, NEVEX.

And using 400w servos from hiwin, acc, deacc it's not a problem, the problem it moves to the coordinate in preset(2). It stops at -278.5(i think this is the coordinate),
exactly at 278.5, but when it trips it's like 3 mm before.

14
VB and the development of wizards / Control micro servo with Macro
« on: October 27, 2017, 02:07:50 PM »
Hi guys, i am trying to develop a mechanical tool changer, but i am stuck at the following point, i need to control a micro servo using an output
from my motion controller. I tried to write a code, like this, to try creating a "pulse":

Code: [Select]
Sub Advance_Servo()
Dim i As Integer
i = 0
While i<10
ActivateSignal(OUTPUT4)
Sleep(1.5)
DeactivateSignal(OUTPUT4)
Sleep(18.5)
i=i+1
Wend
End Sub

This is creating a square wave in the oscilloscope, but it's so weird, really weird.

The pulses are not in the programmed time. Is this the motion controller, or macro's just can't create a nice waveform ?

This is my servo:
http://mekanus.com.br/imagens_ML/servo-9g/s3.jpg

15
VB and the development of wizards / Auto tool zero script problems
« on: October 27, 2017, 01:55:38 PM »
Hello guys, i am working on this code, for my custom build height presseter. The hardware is good, i checked everything.

But, the macro is producing different results than i would expect, first.. i thought that with G31 the probe would stop when
it hits the copper circle i have connected with a wire, but it doesn't, it's working like a G1, nothing different.

I'll put the code below
Code: [Select]
Dim preset(2)
preset(0) = -294.4045 'X
preset(1) = -16.6935 'Y
preset(2) = -279 'Z

Dim preset_feed As Integer
preset_feed = 4000

Dim safe_z As Integer
safe_z = -150


If IsSafeZ() Then
SetSafeZ(safe_z)
Else
Call MsgBox("SafeZ desabilitado" & Chr(10) & "Programa serĂ¡ parado", 0, "Alerta")
DoOEMButton(1003)
Exit Sub
End If

Call Preset_Tool()




Function Preset_Tool()
GotoSafeZ()
Code("G53 G0 X" & preset(0) & "Y" & preset(1))
While IsMoving()
Sleep(100)
Wend
Code("G31 Z" & preset(2) & "F" & preset_feed)
While IsMoving()
Sleep(100)
Wend
Dim presseted_tool_z As Double
presseted_tool_z = GetVar(2002)
SetToolParam(1, 2, presseted_tool_z)
GotoSafeZ()
While IsMoving()
Sleep(100)
Wend
End Function

Can anyone point me what i am doing wrong ?

16
General Mach Discussion / Re: Remove BKSPACE from Hotkeys
« on: October 26, 2017, 06:59:42 PM »
The problem happens there Joeaverage.

17
General Mach Discussion / Re: Soft limits causing other problems
« on: October 26, 2017, 06:59:12 PM »
bump

18
General Mach Discussion / Soft limits causing other problems
« on: October 24, 2017, 11:19:02 PM »
Hello i am in the process of configuring my recently build machining center, that is why i am posting so often in the forum.

I was having some problems with my z height getting messed up after the program ended, as stated here:

http://www.machsupport.com/forum/index.php/topic,35811.msg245280.html#msg245280
Question 2.

So i found a user that is having a similar problem with the part being offset at an axis and also discovered my Y work coordinate was
getting messed up too after the program ending. as stated below:

https://forums.autodesk.com/t5/fusion-360-computer-aided/mach3-g43-and-g54-post-process-problems/td-p/6498480

In the message he discovers the problem:

Quote
"Update:
 
I figured it out!!!!!!   It was all my fault....go figure huh.  A bit embarrassing but anyways here is what I did and where I went wrong.
 
To begin, I was frustrated and decided to completely start over from the beginning as far as my setup on the mill and homing everything.  So as I was tearing everything apart I realized I may have  had the stock fixtured too far to the limits of my table.   I re positioned the stock, homed/zerod as you guys had advised and air tested.  No more weird offset!! I believe what was happening when the machine started, was it ran up against the soft limits and took off from there essentially resetting itself to an offset that would allow it to do its job just in a slightly different location.  When I would stop the program and push return to zero it would go to its "new zero" .   Now that I have it re-positioned I fired it up live, it has been running correctly for the last 1/2 hour and throwin chips like a dream.   What a relief.
 
So for now I would say that the Fusion Cam is good, no bugs.   I will leave the MDI alone.  How do I leave G28 in without it crashing?  It goes straight up past the limit and crashes.
Thank you again  @gearsoup and @daniel_lyall.
 
Josh"

He said something about soft limits messing up his work offset, so i decided to give a try,
i went there changed my soft limits values and suddenly my part was not being offset the program ended.
I got really surprised, but it got me curious, i was really configuring my soft limits the wrong way.

It made me realize two things:
1) I made a mistake with the values i inserted in the soft limits page.
2) I was having a problem that limit switch was being triggered when it hit home while "Ref All home"

So i thought this could be the problem, the first thought i am sure it's true, the second not so sure, because i didn't test yet.

My system home switches(zeros) are located to give my only negative coordinates.

X axis: zero at the extreme right, so to the left only negative coordinates. 400mm to the left
Y axis: zero at the extreme front, so backwards only negative coordinates. 330mm backwards
Z axis: zero on the top, so down only negative coordinates. 315mm down

I attached my problematic configuration as "softlimit.png"
And then attached what solved my problem as "softlimitsolved.png"

As you can see, i only change the soft max and it completely fixes the problem, the guy from the thread at autodesk website, tries to explain it as:

Quote
No more weird offset!! I believe what was happening when the machine started, was it ran up against the soft limits and took off from there essentially resetting itself to an offset that would allow it to do its job just in a slightly different location.

Does this check ?

19
General Mach Discussion / Re: Mach 3 China MPG problem
« on: October 24, 2017, 10:52:42 PM »
It's okay, i changed to a new one with a wheel, probably better choice.

20
General Mach Discussion / Re: Remove BKSPACE from Hotkeys
« on: October 24, 2017, 07:34:25 AM »
Yes, but sometimes it's a calculator, sometimes just inserts the value.

The first issue i solved, not entirely, because i have to finish the program(LET G28 happen), otherwise if i ESTOP, i need to reference the machine again.

Pages: « 1 2 3 4 5 »