584,862 active members*
5,363 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > PlanetCNC > Serial communication (MODBUS) with PlanetCNC TNG - tutorial series [UPDATED]
Results 1 to 14 of 14
  1. #1
    Join Date
    Mar 2017
    Posts
    1295

    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

  2. #2
    Join Date
    Mar 2017
    Posts
    1295

    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

  3. #3
    Join Date
    Apr 2016
    Posts
    18

    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.

  4. #4
    Join Date
    Aug 2020
    Posts
    131

    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.

  5. #5
    Join Date
    Mar 2017
    Posts
    1295

    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.

  6. #6
    Join Date
    Aug 2020
    Posts
    131

    Re: Serial communication with PlanetCNC TNG - tutorial series

    sounds great, looking forward to it.

  7. #7
    Join Date
    Mar 2017
    Posts
    1295

    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/

  8. #8
    Join Date
    Mar 2017
    Posts
    1295

    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
    Join Date
    Mar 2017
    Posts
    1295

    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
    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
    Join Date
    Mar 2017
    Posts
    1295

    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
    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
    Quote Originally Posted by Sparkrobotic View Post
    Great thanks
    Do you have sample code we could look at?

  14. #14
    Join Date
    Mar 2017
    Posts
    1295

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

    Tutorial has been published.

Similar Threads

  1. Replies: 3
    Last Post: 02-04-2023, 06:14 PM
  2. PlanetCNC TNG - License issue, PLEASE READ!
    By PlanetCNC in forum PlanetCNC
    Replies: 0
    Last Post: 08-09-2022, 07:18 AM
  3. Gantry square procedure tutorial with PlanetCNC TNG
    By PlanetCNC in forum PlanetCNC
    Replies: 2
    Last Post: 07-08-2022, 12:01 PM
  4. Replies: 0
    Last Post: 07-06-2022, 04:17 PM
  5. Issues with PlanetCNC TNG
    By nucutza in forum PlanetCNC
    Replies: 5
    Last Post: 11-19-2017, 10:23 AM

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
  •