Hello Guest it is June 08, 2024, 04:22:15 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.


Topics - duritskiy

Pages: 1
1
Mach4 General Discussion / mc.mcIoSetDesc() not save in profile
« on: August 04, 2023, 09:26:41 AM »
hIo, rc = mc.mcIoGetHandle(inst, "Sim0/Input0")
ioinf, rc = mc.mcIoGetInfoStruct( hIo)
rc = mc.mcIoSetDesc(hIo, "Input0 test desc")

-- this code not saving changes to profile

rc = mc.mcProfileFlush(inst)
rc = mc.mcProfileSave(inst)

-- and this code not help

2
Mach4 General Discussion / Encoder -> Updetae Planner
« on: July 28, 2023, 12:36:43 PM »
Configure/Control/Aux Positions/  Updates Planner

What is it mean "Updates Planner" ?

I did not notice that the inclusion of this checkbox would affect anything.
Can this be used for position correction by optical linear encoders


3
Mach4 General Discussion / noticed two problems with MACH4
« on: July 15, 2023, 07:55:27 AM »
I have two computers:

Work computer with CNC machine:
Windows 10 x64, Integrated video card, Mach4 v5157, ESS v298

home laptop:
Windows 7 x64, integrated and optional graphics card, Mach4 v5157.

Settings and scripts on Mach4 are the same for both computers.

1) First problem:

In PLCScript,
this code
Code: [Select]
local ActiveWindowText , rc = scr.GetActiveWindowText()
mc.mcCntlLog(0, tostring(ActiveWindowText), "", -1 )

prints the name of the active window to the Log, and in Windows 7 this code works without problems.
But in Windows 10 it works with glitches. It looks like the scr.GetActiveWindowText function is not limiting the string length correctly, and writes after the correct text any rubbish. It would be nice if you fix this, or add a new function scr.GetActiveWindowTextLength()

2) Second problem:
On Mach4 on Windows 7, if you check the CheckBox "Use a frame to draw the tool path? (Restart required)"
then the ToolPath graphics window stops responding to the mouse wheel, that does not change the magnification.
On Windows 10, I don't remember if there is such a problem. If so, I'll write about it later.

4
Mach4 General Discussion / How to get Input0 User Description from lua?
« on: October 07, 2022, 03:42:57 AM »
How to get Input0 User Description from lua?
I couldn't find a suitable function for this.

5
Mach4 General Discussion / MODBUS issues...
« on: October 06, 2022, 07:08:04 AM »
"Write multiple registers 32bit (0x10)" - work without bit packing mode
"Write multiple registers 32bit (0x10)" - does not work in bit packing mode

"Write multiple registers 32bit (0x10)"  - working
"Write multiple registers Float (0x10)"  - not working

"Read Holding Registers 32bit (0x3)" - working
"Read Input Registers 32bit (0x4)" - working
"Read Input Registers Float (0x4)" - not working
"Read Holding Registers Float (0x3)"  - not working

6
Mach4 General Discussion / Quick way to update lua scripts in Mach4.
« on: October 04, 2022, 03:12:14 PM »
I found a way how to quickly change the lua script of Mach4.

At first I wanted to write a complete description of how to do this, but then I got too lazy and decided to just post the source code. I think you will understand.

If anyone decides to review this method on YouTube, I will only welcome.

https://disk.yandex.ru/d/jUAfp_VWt4r9jg

7
Mach4 General Discussion / Serial-rtu Modbus baudrate up to 1000000kbps!
« on: September 28, 2022, 09:32:46 AM »
Please add the ability to manually select modbus (serial-rtu rs485) baudrate . I am not satisfied with the maximum baudrate of 115200kbps and now I have to manually change the speed in Machine.ini.

USB FTDI rs485 Converter allows to increase the baudrate up to 1000000kbps

8
General Mach Discussion / macropump does not work
« on: November 30, 2010, 03:54:03 PM »
macropump does not work in new versions MACH3.
why?

Pages: 1