Hello Guest it is September 22, 2023, 02:56:26 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.


Pages: 1
Mach4 General Discussion / Mach4 + ESS CV tuning wizard problem
« on: November 26, 2018, 05:08:01 AM »
Search in the forum does not work, write to the old forum messages, an error appears.
I again had a problem with cv.
I made a new car, Mach4_3835+ESS+Servo HIWIN.
The maximum speed of 55,000 mm / min, acceleration of 20,000 mm / s / s.
Now installed 40,000 mm / min, acceleration 1500 mm / min (test and tuning ...).
To configure CV I use mcCvTuningWizardBeta3 . This version is recommended as the latest and there are no errors. (I can not find the topic on the forum, the search does not work.)
I have been looking for the cause of the problem for a long time and it seems that I have found it.
If the circle consists of two halves, Mach4 distorts the trajectory (Mach3 does not distort).
If the circle consists of one circle, Mach4 does not distort the trajectory (Mach3 also does not distort).
How to set up Mach4 for it to work?
Photo cut, files Gcode, settings added.

Mach4 General Discussion / Mach4 problems when moving.
« on: July 09, 2018, 02:53:54 AM »
I use Mach4 on a laser cutting machine and ran into several problems when moving. The machine has high speed and acceleration. Servo Drives 400W.
1. CycleStop. During operation, if I need to stop the GCode execution, I press CycleStop, the machine stops very quickly and the servo drives issue an overload error. Is it possible to increase the braking from 0 to 1 second, 2 seconds ... ???
2. Jogging. I use the keyboard of the computer for manual movements. If you move one axis, then everything works well. If you move two axes at once, then smooth braking does not work, the axes stop abruptly as with CycleStop and servodrivers issue an overload error. Everything works fine on Mach 3.
3. RunFromHere. If you press this button, the correct position window pops up, select the axes, click Move Select. If you need to move along one axis - then everything works. If two of them - it's moving along a strange trajectory and when one of the axes reaches the required position of the first one, it stops very quickly, as in the case of Jogging, with instantaneous braking and an error of servo overload can appear.

Sorry for my English.

I use Mach4 3713, the computer is connected to an Ethernet network, IPG Laser also connected to it. The laser accepts text commands in one line.
For example: "ABN" - turn on Beam Guide (return response "ABN"), "ABF" - turn off Beam Guide (return response "ABF"). If the command is accepted by the laser, but is not implemented, it returns "BCMD"
I made a module IPGEthernet.lua , put it in a folder "Modules".
Code: [Select]
local IPGEthernet = {}
local inst = mc.mcGetInstance()

package.path = package.path .. ";./Modules/?.lua;"
package.cpath = package.cpath .. ";./Modules/?.dll;"
--package.cpath = "C:/src/Mach4/Modules/?.dll;"
rs232 = require("luars232")
socket = require("socket")

-- IPG -- Ethernet -- TCP/IP
function IPGEthernet.Ethernet(IP, message, len)
local port = 10001
local tcp = assert(socket.tcp())
local data
tcp:connect(IP, port)
tcp:send(message .. "\n")
data = tcp:receive(len)
data = tostring(data)
if data == message then
wx.wxMessageBox("Command "..message.." executed!")
wx.wxMessageBox("Command "..message.." unfulfilled!")
--return data
return IPGEthernet
I made a button on the screen:
Code: [Select]
local A, B, C
A = scr.GetProperty('txtIp', 'Value')
A = tostring(A)

B = "ABN"

C = string.len(B)

IPGEthernet.Ethernet(A, B, C)
The script works.
Problem: If I specify the wrong length in "data = tcp:receive(len)", then the script hangs.
Command "STA" (Read Device Status) returns "STA: 4100" (32-bit word), can return "STA: 4294967295", can return "STA: 1".
Question: how to write the script correctly to calculate any length (without knowing it)?
Thanks for the help. Sorry for my English.

Mach4 General Discussion / Mach4 PCID to get for LUA.
« on: December 28, 2017, 03:15:28 AM »
Can I get a PCID for LUA?
I want my module to be used only on a specific copy of Mach4.
How is this best done?

Mach4 General Discussion / Mach4 - Laser cutting machine & "FlyCut"
« on: November 23, 2017, 05:21:06 AM »
Hello to the whole forum!
Use Mach4 on the laser cutting machine. Want to cut the metal "FluCut" method.
Here's the video:
but I can't.
The picture shows a test GCode.
M3 - lowered the torch and turned on the laser.
M5 - turn off the light and raise the cutter.
M203 - includes only the laser cutter remains in the gap.
M205 - turns off only the laser cutter remains in the gap.
From the code M3 to M203 cutter moves smoothly, without jerks. Starting with the code M203 further, the cutter begins to stop completely. I use high acceleration and speed of the motors, the machine starts to twitch.
Is it possible to get Mach4 to cut through the metal as in the video above??

Mach4 General Discussion / Mach4 - Constant Velocity & Exast Stop.
« on: June 14, 2017, 07:50:20 AM »
Hi guys!
Sorry for my English!
I use Mach4 (Hobby), ESS with the plugin 202, Laser source IPG Photonics.
It is not possible to adjust the cut at high speed and acceleration at a constant speed. The exact stop mode does not suit me, because on a thick metal the corners melt, on a thin metal on complex trajectories the machine jerks violently. After reading the forum, I learned about Wizard CV_Feedrate, but it does not work. At high speed and acceleration the machine starts to twitch. In Mach3 there is a tuning of the CV Dist Tolerance and Stop CV on angles, which work as it should. But, I did not find such settings in Mach 4. The G64 code has additional parameters G64P()Q(), where P is the rounding tolerance, Q is the simplification tolerance. On LinuxCNC this is working, on Mach4 it does not work.
I would like to use a new Mach4 and its capabilities on my machine, but I can not. Forgive help.

Pages: 1