Hello Guest it is April 16, 2024, 11:10:35 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 - PtD

Pages: 1
1
Modbus / TCP Modbus doesn't refresh holding registers?
« on: January 05, 2017, 04:58:18 PM »
Hi,

I have set up an Arduino as TCP Modbus slave, and I have programmed it to increase the value of the holding registers every 2 seconds. I can connect to it just fine, I get the registers read and all seems perfect... Except that Mach3 only reads the up-to-date value of the holding registers only when I press "Apply" in the "Setup TCP Modbus" dialog. I have a brain that writes these values in user DROs, and the DROs have the values from the moment of pressing "Apply", they never change, unless I open the setup dialog and press "Apply" again.

In the TCP Modbus test dialog the values are updated every time when I press "Read".

Is this the expected behavior, or I'm missing something?

Mach3 version is R3.043.066, I am a licensed user. Configuration screens are attached below.

Thanks in advance.

2
General Mach Discussion / G31 causes an endless loop
« on: October 30, 2014, 04:09:47 AM »
Hi all,

I am using Digitizing Wizard to extract a 3D model from an object, and I've encountered the following problem: when executing this G-Code sequence

N1 F100
N2 G0X0Y0Z1
N3 G31 Z-10
N4 G0 Z1
N5 G0X1Y0Z1
N6 G31 Z1
N7 G0 Z10
N8 G0X2Y0Z1
...

Mach3 starts looping between lines 2 and 3. It would position at (0,0,1) @ line 2 , then it would probe down to touch the object @ line 3, and then for some reason it returns to execute line 2 again, instead of moving forward to line 4.

I suspected it may have something to do with Safe Z, but it doesn't work with any setup of Safe Z I tried.

What can be the cause of this odd behavior?

(Sorry if this has been answered before).

Thanks in advance.

Pages: 1