Hello Guest it is April 17, 2024, 09:34:01 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 - KMX

Pages: 1 2 »
1
I have just tried to do it as Macro script and there is no problem with freezing...

Denis

2
Hello!

This is the code (very simple):

Code: [Select]
--Measure
inst = mc.mcGetInstance()
local rc

function GCodeExecute(GCode)
    local rc = mc.mcCntlGcodeExecuteWait(inst, GCode)
    if rc ~= mc.MERROR_NOERROR then
        return 'Error', false
    else
        return 'OK', true
    end
end


local a, b
a, b = GCodeExecute('G0 G53 Z0 X-200 Y-300')  
  
if b == true then
    mc.mcCntlSetLastError(inst, 'test move.')
else
    mc.mcCntlSetLastError(inst, a)
end  

At this time I'm using simulation device for motion tests. The code is executed on button "LeftUp"  event.

Denis

3
Hello!

I am trying to do tool length probing button script, but have some problems with mcCntlGcodeExecuteWait function. The function executes, but in the mean time Mach4 freezes and position DROs are not updating.

How to solve it?

Regards, Denis

4
CS-Lab / Using formulas
« on: June 27, 2015, 02:30:15 PM »
Hello!

I am using CSMIO/IP-S controller with FW version 2.600 version and I am having problems when using formulas (even if formulas are very simple). I often get ePID fault message and Mach3 goes into RESET mode. When I am not using formulas it works fine.

How to solve this problem?

Regards, Denis

5
CS-Lab / Re: Servo drive as main spindle
« on: April 05, 2014, 01:36:50 PM »
Hello!

Thanks Hood. Which number is assigned to spindle? I know that positioning axes have numbers from 0 to 5.

Regards, Denis

6
CS-Lab / Re: Servo drive as main spindle
« on: April 01, 2014, 10:23:03 AM »
Hello!

I would like to use spindle on my lathe also as positioning axis, so my plan is to use a four pole relay to switch from channel 4 to channel 5 (STEP/DIR signals). Channel 4 would work as spindle axis, channel 5 would work as positioning axis.

So, the question; Can I do any harm tu CSMIO/IP controller when switching from one channel to another?

Regards, Denis

7
CS-Lab / Re: Servo drive as main spindle
« on: March 23, 2014, 03:28:38 PM »
Hello!

Do I need a threading module if I use servo motor for spindle that in driven with STEP/DIR pulses from CSMIO-IP/S controller?

Regards, Denis

8
General Mach Discussion / Re: Maintenance Statistics
« on: October 17, 2013, 04:09:28 PM »
Is it possible to get data from maintenance statistics? I would need it to set up automatic lubrication.

Regards, Denis

9
General Mach Discussion / Two toolpaht previews
« on: October 09, 2013, 07:49:05 AM »
Hello!

Is it possible to have two toolpath previews on one screen (X-Y and Y-Z)? If not then how to set it to Y-Z direction? I use Mach3Screen V1.59a.

Regards, Denis

10
General Mach Discussion / Re: Rotational axis endless rotation
« on: July 30, 2013, 02:35:42 PM »
CSMIO/IP-S has two analog outputs.

Pages: 1 2 »