512,283 active members
2,625 visitors online
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > PlanetCNC > TNGv2 Coolant buttons with custom scripts and simulation
Results 1 to 8 of 8
  1. #1
    Registered
    Join Date
    Jun 2017
    Posts
    60

    TNGv2 Coolant buttons with custom scripts and simulation

    Using the 29.11 version. I have all my coolant stuff working perfectly on the real machine, but when I bring that profile to another computer and change it to simulation mode, the mist and flood buttons do not highlight when clicked or the M7/M8 scripts run. Everything is functional in that I can see the Active M-Codes change on the GCode panel, just no highlight.

    I'll email the profile I am using so that you can check.

    Cheers
    Simon

  2. #2
    Moderator PlanetCNC's Avatar
    Join Date
    Mar 2017
    Posts
    443

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    Thanks for profile. I see you have some heavy customization :-)
    Simulation does not support all controller features. Certainly not I2C.

    However I will study your case in detail because on first sight it looks like it should work and update button states correctly.

  3. #3
    Registered
    Join Date
    Jun 2017
    Posts
    60

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    I certainly wasn't expect the I2C stuff to do anything, I just thought the UI should probably behave in the same way. I do have some pretty heavy customisation, both hardware and software. I was never happy with the 0-10v speed control as it was so inaccurate, so I built a board that takes I2C commands and then talks RS485 to the vfd for perfect control I added a bunch of relays to the board while I was at it as it was pretty straight forward.

    There is definitely some stuff in those scripts that still needs cleaning up, and possibly some that are just testing and seeing what is possible.

  4. #4
    Moderator PlanetCNC's Avatar
    Join Date
    Mar 2017
    Posts
    443

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    I will "reverse engineer" your profile :-)
    I'm sure I will find what is different in simulation and then I can fix it.

    Are you willing to share your I2C to RS485 project with me? Something similar is on my TODO list for my machine?

  5. #5
    Registered
    Join Date
    Apr 2013
    Posts
    56

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    I would also like to control the VFD via RS485 but I do not have the technical / IT skills to self-build an I2C-RS485 interface to be used with TNG .... if there were an add-on ready to use with the price ... right, the I would gladly buy.

  6. #6
    Moderator PlanetCNC's Avatar
    Join Date
    Mar 2017
    Posts
    443

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    I fixed problem in simulation. Now it highlights correctly

  7. #7
    Registered
    Join Date
    Jun 2017
    Posts
    60

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    Quote Originally Posted by mar_cone View Post
    I would also like to control the VFD via RS485 but I do not have the technical / IT skills to self-build an I2C-RS485 interface to be used with TNG .... if there were an add-on ready to use with the price ... right, the I would gladly buy.
    This may be possible if I were to rewrite some code. At present the MCU code is specifically written to work with a NowForever VFD. I notice that there isn't a standard for what needs to be sent so I would need to make it generalised so that you had more control using the scripts in PlanetCNC. I will look into this at some point. I also have 9 spare pcb's so I could put more together. Only problem is they are in Australia so shipping might be costly.

    - - - Updated - - -

    Nice work, as always

  8. #8
    Registered
    Join Date
    Apr 2013
    Posts
    56

    Re: TNGv2 Coolant buttons with custom scripts and simulation

    I state that I use the CNC as a hobby and not to earn my bread; thank you very much theRat for availability but reading your post I realize that it is more complicated than I thought.
    Although my thinking was more focused on PlanetCNC (with an updated Output board that integrated the RS485 port) the problem remains of interfacing RS485 with the myriad of VFDs on the market, which is quite difficult (if not impossible) for PlanetCNC.
    I use the economical VFD of the Toshiba VF-nC3 more than enough to manage the Teknomotor 2Kw spindle in my possession but even if the VF-nC3 is a fairly widespread model (as PlanetCNC's MK3 controllers are now widespread) it will be difficult to obtain the management SW. I stay at the window to watch, if something comes out of this discussion I will surely be an interested user.
    Thanks again to theRat for availability and PlanetCNC for the enormous work it is doing.

Similar Threads

  1. TNGv2 Buttons [SOLVED]
    By theRat in forum PlanetCNC
    Replies: 16
    Last Post: 11-15-2019, 11:48 AM
  2. TNGv2 Program stopping in simulation [SOLVED]
    By theRat in forum PlanetCNC
    Replies: 3
    Last Post: 11-06-2019, 09:38 AM
  3. building a custom virtual machine for machine simulation
    By Lozzy in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 0
    Last Post: 11-20-2018, 10:22 AM
  4. Rhinocam 5 Axis simulation for custom machine
    By thunderdork in forum Rhinocam
    Replies: 6
    Last Post: 01-20-2017, 02:22 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
  •