Hello Guest it is March 28, 2024, 04:50:45 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 - Student

Pages: 1 2 »
1
Mach4 Plugins / Re: Mach 4 and Pokeys MPG
« on: November 16, 2022, 10:29:07 AM »
I have the same problem. How do you solved it?

2
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: October 16, 2015, 03:21:37 PM »
I tried, but it doesn't help.
Any other suggetions?

3
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: October 16, 2015, 12:32:31 PM »
Hi Art,

every move in Mach4 behaves the same (jogging, g0, g1)...
but jugging in Darwin is much smoother!!!
How can that be?

I can't find any settings for "pulse width" in the diag menu?
Do you mean "step with" underneath the mpg settings?

4
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: October 16, 2015, 10:42:04 AM »
Hi Art,

please find attached a picture of my pulse diagnostic.
Where can i modify the pulse width in Darwin / Mach4. i can't find any settings for that!!!

greets

5
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: October 13, 2015, 07:49:06 AM »
Hi Art,

thanks for your reply.
i will check that. I will upload a picture of the pulse diag screen the next few days.

Greets

6
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: October 09, 2015, 03:29:52 AM »
i have problems with Darwin.
My motors doesn't move very smooth. Sometimes it stutters.

On the same computer with Mach3 the axes move much more smoother.
I have used the same settings in Darwin as I used in Mach3.


Some details form my computer:

Win XP SP3
Intel Core 2 Duo 6300 @ 1,86GHz
2GB RAM

any sugestions?
Is my computer too slow?

Greets

7
Thanks a lot.
Your Script works and does exactly what i wanted!

8
Thanks for your reply.

I have the latest Mach4 and Darwin installed (V1.2157).

The home switches are configured correctly - I think...
Homing with the default ref. all home button works.
Also the home offset values work -> after homing the actual machine position is set to the value I have configured as home offset.

maybe my script is wrong...
but i can't find an error.

Maybe someone else can try...

9
for me it seems that some LUA calls are not working.
I tried a different button script to ask wether x-axis is movin or not.

but the output is always the same: axis-x is moving (even if the axis stands still!!!).

Code: [Select]
local still;
local rc;

local inst = mc.mcGetInstance();
still,rc = mc.mcAxisIsStill(inst, 0);

if (still == true) then
    rc = mc.mcCntlSetLastError(inst, 'axis-x is still')
else
    rc = mc.mcCntlSetLastError(inst, 'axis-x is moving')
end

10
Hi everbody,

i'm tryining to code my own homing-script.
After homing my axes should move out of the home-switches.
But i can't get it to work - I'm very new to LUA!!!

It seems that my axes get never homed...
so i have written this script to test if axis-x is homed.
But after pressing the button RefAll-Home the axes move to the homing-switches, but the axes are never homed!

Code: [Select]
local homed_x;
local rc;
local inst;

inst= mc.mcGetInstance();
homed_x, rc = mc.mcMotorIsHomed(inst, 0)

if (homed_x == true) then
   rc = mc.mcCntlSetLastError(inst, 'homed')
else
   rc = mc.mcCntlSetLastError(inst, 'not homed')
end


Sorry for my bad english!

Pages: 1 2 »