Modbus TCP Remote DRO

Here is where you can drop off Examples of WORKING macros,plugins,Gcode programs , macro Wizards etc.
Please give a brief description of what it is and how it works.

Modbus TCP Remote DRO

Postby nm156 » Wed May 03, 2017 3:41 am

Hi All!

New to the forum, been around CNC for almost 20 years. I'm building a new machine and while waiting for parts to arrive I decided to do a little programming.

remote.jpg


You can use an old Windows laptop, desktop or tablet as a remote DRO. (Or even a wallboard with an LCD screen)


This is more of a proof of concept, but it is functional.

Paul

Sorry, had to break up the files due to upload size limitations.
Attachments
TCPModbusRemote.zip
(217.54 KiB) Downloaded 74 times
README.pdf
(137.01 KiB) Downloaded 92 times
nm156
 
Posts: 2
Joined: Tue May 02, 2017 8:25 pm

Re: Modbus TCP Remote DRO

Postby cncdrive » Wed May 03, 2017 9:35 am

This is a really nice work.
Thank you for sharing!!!
cncdrive
Site Admin
 
Posts: 1230
Joined: Tue Aug 12, 2014 11:17 pm

Re: Modbus TCP Remote DRO

Postby nm156 » Wed May 03, 2017 8:28 pm

Hello again!

I refined the program somewhat and made it prettier! (I think)

DRORemote2.png


It is now a stand-alone executable without a need for the DLL or font install. It also now runs under the .NET 2.0 framework (same as UCCNC)
README is included in new package. As usual, full source code and example included.

I think the Modbus addition to UCCNC was a great idea. I'm now working on an Arduino Modbus TCP project. :D

Paul
Attachments
TCPModbusRemote.zip
(186.84 KiB) Downloaded 79 times
nm156
 
Posts: 2
Joined: Tue May 02, 2017 8:25 pm

Re: Modbus TCP Remote DRO

Postby A_Camera » Thu May 25, 2017 8:13 pm

This is really very nice, and I agree that the built in Modbus is a great thing, easy to use and is extremely flexible. I have full control over my VFD through those three wires, very good and useful. I am not only controlling the RPM and the CW/CCW/ON/OFF but also reading a lot of parameters back and update the necessary UCCNC fields with what I want to see, like temperature, current, voltage, real RPM, spindle speed reached and so on. I have also abandoned the spindle start dwell delay and checking the "spindle speed reached" LED to see if the spindle is up and running with the right speed before the M3 or M4 macros are exited. A very simple modification of the macros, and is even compatible with the traditional dwell use if I'd not want to use the VFD flag, just normal delay.

Actually, the built-in Modbus support was a major reason why I bought this software. It is miles ahead of Mach3 Brains... :lol:
A_Camera
 
Posts: 396
Joined: Tue Sep 20, 2016 11:37 am

Re: Modbus TCP Remote DRO

Postby A_Camera » Thu May 25, 2017 8:19 pm

nm156 wrote:I'm now working on an Arduino Modbus TCP project. :D

...and I am working on a PIC Modbus project (just started yesterday).
A_Camera
 
Posts: 396
Joined: Tue Sep 20, 2016 11:37 am


Return to UCCNC TOOL BOX

Who is online

Users browsing this forum: No registered users and 1 guest