Hello Guest it is September 25, 2023, 02:02:51 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 - ulihuber

Pages: 1
Feature Requests / Restart Modbus TCP connection
« on: November 13, 2017, 02:07:37 AM »
The Modbus TCP plugin works fine, if all devices are already up and running when Mach3 is started.
If a Modbus TCP device is powered on fter the start of Mach3, no connection is established. This leads to irregular function, in worst case to a crash (i.e. VFD does not start spindle...)

I suggest to (at least one or all)
 - reconnect to all activated Modbus devices when reset condition is released
 - automated reconnect to all activated Modbus devices if they fall off
 - automated reconnect to all activated Modbus devices in time periods
 - offer a function to initiate a Modbus reconnect by script
 - offer a function to test for established Modbus connections


Modbus / two modbus TCP devices at a time ?
« on: September 23, 2017, 01:06:32 PM »
Hi all,

I have connected my Danfoss VFD (FC302) to Mach3 by Modbus TCP.
Now I want to extend  I/Os with another Modbus TCP device. But I have only one IP address I can configure in the Mach3 Modbus TCP plugin.
Is this really this step backwards from serial Modbus RTU, wher I can configure several Modbus addresses ??
Or have I missed something?


Brains Development / Modbus input of signed integer
« on: January 15, 2016, 01:44:54 AM »

I have a VFD (Danfoss FC-102) connected to my Mach3 by ModbusRTU.
After some ostacles on my way (too short communication timeout,  address registers different from the manual), I managed to get it connected and to control start/stop, direction and speed.
Now I wanted to read out the actual speed, but this is coded as a signed interger (if bit 15 is low, bits 0-14 give the positive value, otherwise negative).
The Mach3 Modbus plugin treats the number as a unsigned integer so that a zero is represented by 2^15 (=32768).
I did not find any way to change the readout method. In addition I am missing bitwise logical operations in the formulas in the Mach3 brain.
So my solution was doing it in brain logic.

(You'll recognize that I use a fake input for being able to simulate in the warm office...)

It works, but I wonder if there is a smarter way or a trick for the conversion.


VB and the development of wizards / MPG step/velocity does not stop
« on: March 20, 2011, 10:53:27 AM »

I have a problem with my new MPG.

I wrote a macropump that does axis selection and switches between step/velocity-mode and multiple-step-mode by the press of a button.
This enables me to do fast positioning and precise positioning alternatively.
It works fine but there is a problem: If I release the button for fast moves while the axis is still moving, the mode switches to multiple-step but the axis continues to travel with the speed it had at the moment of the button release.

Any ideas about that ?


General Mach Discussion / Rotary axis zeroing problem
« on: February 15, 2010, 08:13:11 AM »

in the German CNC-Ecke we are discussing a problem with the rotary axis.

If "Ang. Short Rot on G0" is active and the DRO for the A-axis is a multiple of 360, there is no movement when executing "G0 A0".
That's exactly what it should do.
But there is also no change in the DRO value. It stays just as it was before the move and does not switch to '000'.

Any ideas about this effect ?


Pages: 1