. .
  1. #1
    I have a Bosch Rexroth EFC 5610 VFD which I control using the UCCNC Modbus Master plugin, which is part of the UCCNC default delivery. I am not only controlling it but also monitoring some of the parameters the VFD can deliver through Modbus. The values I am reading are presented in modified UCCNC tabs and fields. I removed some and added some others. Another major difference compared to the original UCCNC is the way I start the spindle. For example the following G-code does not cause any problems:

    S24000 // Set spindle speed to 24,000 rpm
    M3 // Start spindle
    G0 Z -1
    G1 X 100 Y 100
    ...and so on. The code works because I am checking the so called "speed arrival" signal sent from the VFD in my M3 and M4 macros, and simply don't continue unless the signal is set within a certain time. If the signal for some reason never comes then the G-code will be stopped. The advantage is that I don't have to care about the time it takes for the spindle to run up to speed, and also if one part requires slower rpm than the other, I don't have to care, I can use the same code after tool change. There is no feedback from the spindle, so of course, the VFD has no idea about the real state of the spindle except through checking the current, the voltage and the frequency it outputs, but this feature works very well.

    Anyway, I have been using these features since several years, i.e. ever since I bought the VFD for 5 years ago, and I am very happy with it, glad that I don't have to use PWM and simple control. The other day I made a video showing the modifications and how I use these. I hope some of you are interested in watching it. Ask if you have questions regarding the macros, I can share these, but unfortunately, these work only with the Bosch VFD and I have no intentions, nor do I have time, to make them generic and usable for other VFD. Nevertheless, I can answer generic questions if anyone is interested.

  2. #2
    Nice work, I would be interested in seeing the macro's if you are willing to share.
    -use common sense, if you lack it, there is no software to help that.

  3. #3
    Thanks. Anyone interested can use this link below to download the three macros.


    Follow that link, it should give you three macros, M3 and M4 replaced the original M3 and M4, and M20304 is running in a macro loop, so that one must me enabled to run all the time.

    Click image for larger version. 

Name:	Macroloop.JPG 
Views:	5 
Size:	151.7 KB 
ID:	29794

    You must also modify the screens to present the values, as well as create a LED for the Speed arrival indication. There has been made some changes in UCCNC after 1.2047, so that is the last version in which my screens are working, I still need to work on the latest 1.2111 version of UCCNC to make it work in the newer versions also. Once I am ready, I will share those as well, but right now I am still using 1.2047 and have no time to fix what's needed to be fixed. Basically, what changed in UCCNC is that they changed the screen numberings, which in turn requires my screen numberings to be changed as well, so it's no big deal, but takes some time.

    Anyway, good luck in using my macros, those can be implemented quite easily.

  4. The Following User Says Thank You to A_Camera For This Useful Post:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Uccnc and rasbery pi
    By valdis034 in forum General Discussion
    Replies: 2
    Last Post: 12-11-2020, 04:26 PM
  2. Mach3 VFD control via Modbus using brain file
    By A_Camera in forum Artsoft Mach (3 & 4)
    Replies: 20
    Last Post: 19-02-2019, 12:22 PM
  3. Toshiba modbus
    By andrewuk in forum Spindles & Drive Motors
    Replies: 0
    Last Post: 13-02-2015, 08:47 PM
  4. Anybody know about Modbus addressing?
    By m_c in forum General Electronics
    Replies: 4
    Last Post: 15-11-2013, 01:18 PM
  5. hitachi wj200 vfd and modbus
    By iamspuddy in forum Spindles & Drive Motors
    Replies: 0
    Last Post: 27-09-2013, 06:50 PM


Posting Permissions

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