Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

Results 1 to 14 of 14

Thread: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

  1. #1
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    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

    Similar Threads:


  2. #2
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    Part 2 has been published. It describes serial functions :
    https://planet-cnc.com/serial-commun...nc-tng-part-2/

    Part 3 has been published. It describes serial functions :
    https://planet-cnc.com/serial-communication-with-planetcnc-tng-part-3/


    If you have any questions, tips or suggestions, let us know

    Best regards, Team PlanetCNC

    Last edited by PlanetCNC; 10-21-2022 at 06:04 AM.


  3. #3
    Member memphisjed's Avatar
    Join Date
    Apr 2016
    Location
    Memphis
    Posts
    19
    Downloads
    0
    Uploads
    0

    Default re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    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.



  4. #4
    Member ScorpionTDL's Avatar
    Join Date
    Aug 2020
    Posts
    131
    Downloads
    0
    Uploads
    0

    Default re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    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.



  5. #5
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    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.

    Last edited by PlanetCNC; 10-18-2022 at 09:50 AM.


  6. #6
    Member ScorpionTDL's Avatar
    Join Date
    Aug 2020
    Posts
    131
    Downloads
    0
    Uploads
    0

    Default re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    sounds great, looking forward to it.



  7. #7
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default re: Serial communication (MODBUS) 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/



  8. #8
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default 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



  9. #9
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default 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.



  10. #10
    Member Sparkrobotic's Avatar
    Join Date
    May 2019
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by PlanetCNC View Post
    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.
    Any update on when this VFD modbus example will be shared?



  11. #11
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default 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.



  12. #12
    Member Sparkrobotic's Avatar
    Join Date
    May 2019
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by PlanetCNC View Post
    Next week for sure! I just need to test it a bit more and make more robust.
    Great thanks



  13. #13
    Member Sparkrobotic's Avatar
    Join Date
    May 2019
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Sparkrobotic View Post
    Great thanks
    Do you have sample code we could look at?



  14. #14
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default Re: Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

    Tutorial has been published.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]

Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]