Delta MS300 VFD, RS485, RPI4, QTdragon, getting it to work

More
2 years 9 months ago - 2 years 9 months ago #290336 by Calysto
Yesterday I've made a teamviewer connection between my home-pc and my cnc-machine (that's in a cold space), that gave me an nice environment to test thing. And... mb2hal is working!  I've attached my mb2hal config. I'm not happy with the naming yet. I expected all names like mb2hal.spindle.[pin-name]. But only the first transaction is named that way.

But...... I have EMI problems I think, When I stop my spindle, usb-devices often stops working.
My PI is connected to my Delta MS300 via usb, using the inbuild rs485 converter of the VFD. What shell I do? Use mesa_modbus and eliminated the use of a usb-cable? Do I need another firmware to use mesa_modbus on my 7c80? I probably have to put my 7c80/PI4 in a steel box too... I'll ask this kind of things on the printnc-discord...
Attachments:
Last edit: 2 years 9 months ago by Calysto.
The following user(s) said Thank You: PHILCOAST

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago - 2 years 9 months ago #290409 by Calysto
The firmware's for the 7c80 doesn't seam to have pktUart enabled. I've asked Mesa for help. Compiling the mesa_modbus driver was the easy part :-)
 
Last edit: 2 years 9 months ago by Calysto.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #291127 by Calysto
It looks like I've solved my electrical problems, changed some cables and used some ferrite cores.

@PCW: Can you help me getting PktUART working on my 7c80? There is no firmware on the mesa-website that supports PktUART...
The following user(s) said Thank You: PHILCOAST

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296499 by PHILCOAST
Hi Calysto,I use the same components as you. RPI4 on 7c80 and MS300.
I am currently using the PWM terminal to control the spindle. Can you share the whole configs folder with me?
This will help me a lot to understand by comparing the differences.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296537 by Calysto
Here it is. I use 2.9.2. The joypad does not work correctly yet. Where you are looking for should be in the "4_QT_spindle", "9_QT_postgui" and "mb2hal_MS300" files.

Happy to hear I'm not the only one with this setup :-)

I've connected my VFD with an usb cable to my PI. I hope there will be Pktuart firmware for the 7c80, so we can use the RS422 connector.

If you have questions, let me know....
Attachments:
The following user(s) said Thank You: PHILCOAST

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296589 by PCW
 

File Attachment:

File Name: 7c80pktd.zip
File Size:83 KB
The following user(s) said Thank You: PHILCOAST

Please Log in or Create an account to join the conversation.

Time to create page: 0.340 seconds
Powered by Kunena Forum