Hello Guest it is April 26, 2024, 09:13:16 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.


Topics - hancock

Pages: 1
1
Hello fellow Mach4ers,

I recently switched from Mach3 to Mach4 and try build my Mach3 functions now in LUA.

1. I'm building a script to probe a reference height tool and write the G31 probe value to a dro.
2. Next, I'm probing the actual tool during the Gcode and write probe height from the first step the Z-DRO.

My questions:
- How can I check if the Z axis is at a specific G53 position? Whats the handle (like " if selectedtool")?
- What would be the correct way to write/read/transfer the variables and DRO values?


Thanks a lot!!

2
General Mach Discussion / Advanced probing with laser
« on: December 11, 2017, 08:13:45 PM »
Hello again,

I've been working to use a Blum measurement laser for some time now & the probing routine itself is running.
Due to thermal expansion I can't use a "static" reference value from the Y-coordinates but rather need to probe "through" the laser.

My question is: Can Mach3 read out (and save to userDRO) the coordinate when a switch goes back to "normal" state after being triggered??

The routine has to be like this:

- Laser signal without contact is LOW
- Spindle with milling cutter moves in Y-axis towards the laser
- Laser has contact and the signal goes HIGH
- The milling cutter continues the move in Y through the laser and as long as the laser is blocked by the milling cutter the signal output is constantly HIGH
- The milling cutter has moved out of the laser and the laser switches the signal to LOW --> This coordinate needs to be read out (HOW?)

- I calculate the diameter from the first value at the switch to HIGH and the second signal switch to LOW.

Really appreciate the help because this is keeping me already busy for weeks...

Cheers,
Hancock

3
General Mach Discussion / Teknic Clearpath Servo setting for Mach3
« on: December 05, 2017, 04:56:34 PM »
Hello,

I'm a bit confused regarding the "Steps per mm" setting. I replaced my Nema32 steppers with Clearpath Servo motors and tried to apply the calculation for steppers to the servo steps per mm but can not get the results that should be there with servos.

- Servos are tuned, no backlash

-> Stepper calculation was: 360 degree / 1.8 degree = 200 steps per revolution * 10 micro stepping = 2000 / 5mm leadscrew pitch = 400 steps per 1 mm

Values for the Clearpath servos:
Achievable Resolution 0.057 degrees
Repeatability 0.03 degrees

-> 360 degree / 0.057 degree = 6.315,7894736842 steps per revolution / 5mm leadscrew pitch = 1.263,1578947368 steps per 1 mm

So far my calculation ;)

Thankful for every pointer in the right direction!
Cheers,
J.

4
Bargain Basement / Paid help with ModBus and Brain
« on: September 21, 2017, 02:21:24 PM »
I'm looking for a "Mach3-Pro" with ModBus experience to connect the following setup:

- Serial Port COM1 (9 pins ) connected with DSub25-adapter to relay-card
- Relay-card pins 2-9 need to be addressed via Button in Mach3 (on/off via Mach3 brain)

It would be possible to work directly on the connected PC via Remote-access.
Your help will be of course be paid.

Looking forward to hear from any of you Pros out there  ;)

5
Hello,

I'm currently building a new screen and I stumbled upon a problem that I, for the love of god, can't get rid off. I tried for 3 hours and so here I am ;)

Basically, I want to display a LED next to the menu item (Programm, MDI, Settings..) depending on which site is currently active. Does anyone has the OEM code number for that? I tried index/826 but all LEDs are on.

But the real problem is that I can't load a custom LED image (png). It get's resized everytime. It's like the program crops a part of it and when I enter the correct size in the fields the cropped image is resized but of course therefore not correctly.

Any help is HIGHLY appreciated!!
Cheers,
Hancock

6
General Mach Discussion / Axis calibration precise but inconsistent
« on: September 08, 2016, 09:20:25 AM »
Hello,

I'm pretty new to Mach3 but coming from LinuxCNC, so there's "some" knowledge of the CNC stuff.
I set up my machine which is a pretty rigid construction and it is constructed for precise milling of soft materials (brass, etc.).

First I calibrated my motors via "Motor Tuning" with the following specs:

- NEMA 23 with TRIPLE BEAST board
- Microstepping 1/10 = 200*10 steps per rev = 2000 steps per rev = 400 steps per mm
- Ballcrew spindle (d=16mm) with 5mm pitch

Steps per: 400
Velocity: 850
Acceleration: 350

2us / 2us

Motors sound good with these specs. Backlash is set to 0.008mm but no difference to 0mm.

Axis problem No.1
I started the Axis Calibration. I told Mach3 to go for 1mm and adjusted the steps until precisely 1mm was reached. I tested this several times and Mach3 always reached the 1.000mm.
I then tried the same for 5mm. Surprisingly, the Axis would go 5.015mm. When I adjusted the Axis with these values and tried 1mm again, the 1mm would be off 0.018mm.
Any ideas where to problem might be?

Axis problem No.2
For my other axis I was able to get stable precise results for 1mm, 5mm, 7mm and so on. I then restarted, homed again and tested the axis at the same position with the same distances again and were off by almost 0.01mm. Any ideas on that miracle?

Thank you guys in advance!
Best regards,
Hancock

Pages: 1