Serial communication with PlanetCNC TNG - tutorial series
Hi,
We published first part of the tutorials about serial communication.
As a final goal, we intend to control external relay board using MODBUS.
If you have any questions, tips or suggestions, let us know
https://planet-cnc.com/serial-commun...nc-tng-part-1/
Best regards, Team PlanetCNC
Re: Serial communication with PlanetCNC TNG - tutorial series
Part 2 has been published. It describes serial functions :
https://planet-cnc.com/serial-commun...nc-tng-part-2/
If you have any questions, tips or suggestions, let us know
Best regards, Team PlanetCNC
Re: Serial communication with PlanetCNC TNG - tutorial series
Getting modbus is a big deal. I am no software person, but I know multiple motors, pre-positioning conveyors, and wego i/0 systems all work well on modbus. Ethercat, meh. Heavy bus (one control for everything) is good for simple stuff like a mill, a router, a drill.
The wego i/o would be big. especially if we can get Planet to respond to real(ish) time feed back.
Re: Serial communication with PlanetCNC TNG - tutorial series
Any Plans to support VFD Control via modbus for starting/stopping the Spindle and controlling the spindle speed?
And maybe to get some informations back from the vfd?
Especially the spindle Speed is something that can't be easily controlled with own gcode as its requires changes to the S word.
Re: Serial communication with PlanetCNC TNG - tutorial series
Hi,
Yes, this is on my TO/DO list, I plan to write tutorial for such application.
I will use a Chinese VFD for an example.
Everything needed to this is already implemented. All that is missing is tutorial.
Re: Serial communication with PlanetCNC TNG - tutorial series
sounds great, looking forward to it.
Re: Serial communication with PlanetCNC TNG - tutorial series [UPDATED]
Part 3 has been updated. It demonstrates actual process on how to communicate with modbus relay board:
https://planet-cnc.com/serial-commun...nc-tng-part-3/
Re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]
Part 4 has been published. It demonstrates advanced expression function use and more structured code design:
https://planet-cnc.com/serial-commun...nc-tng-part-4/
If you have any questions, tips or suggestions, let us know
Best regards, Team PlanetCNC
Re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]
Little update:
(pseudo)MODBUS communication control of Chinese HuangYang VFD is already in testing phase and indeed it looks promising.
We will post tutorial article and all necessary code in order to control VFD, using MODBUS and TNG software.
Re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]
Next week for sure! I just need to test it a bit more and make more robust.
Re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]
Tutorial has been published.