Mesa & Modbus

More
8 years 5 months ago - 8 years 5 months ago #111146 by rusmannx
Replied by rusmannx on topic Mesa & Modbus
I'll test this right away and update. Thank you.

Update: I've tried both suggestions but the VFD still isn't increasing Hz when asked. Rodw I replaced my line with your two and it does make better sense to me visually.

It's been a while since I created my original modbus config but I believe the reason I needed to enable spindle at speed is because I'm not currently reading spindle RPM. Having spindle at speed enabled allows a program to continue after an RPM when called, else the program pauses indefinitely awaiting the spindle to reach the requested speed. With my new Mesa Hardware I will have the ability to read a quadrature spindle signal and at that time I should no longer need spindle it speed.
Last edit: 8 years 5 months ago by rusmannx.

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

More
8 years 5 months ago #111168 by rodw
Replied by rodw on topic Mesa & Modbus
I'm not 100% up with Spindles because my machine is a plasma cutter but I think you will always need a spindle at speed because motion will not start without it.
linuxcnc.org/docs/2.7/html/config/core-components.html

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

More
8 years 5 months ago #111178 by DanMN
Replied by DanMN on topic Mesa & Modbus
I have a fully functioning config for a Huangyang VFD working with a Mesa 7176e via Modbus - I'll share it tomorrow when I'm back in the evil laboratory.

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

More
8 years 5 months ago #111188 by rusmannx
Replied by rusmannx on topic Mesa & Modbus
Right on. Thanks!

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

More
8 years 5 months ago #111189 by billykid
Replied by billykid on topic Mesa & Modbus
if it can help you this worked on my cnc. now I changed everything.
the type of card does not matter to me. calls to these files and an xor are sufficient.
regards
Mauro

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

More
8 years 5 months ago #111191 by DanMN
Replied by DanMN on topic Mesa & Modbus
Here is the final product that worked for me. It was all shamelessly stolen from the posts linked below. The first post is a stepwise command line walkthru of basic connection testing, the second is the configuration I copied and updated for the changes to LCNC and HY_VFD driver. You'll need to comb through it and edit the connections to match your configuration, but this should be a decent roadmap. I've stripped each file down to just the parts relevant to VFD control and display.

Note: The files define far more than basic spindle connection -- there's a glade panel that puts a very nice speed display tab in the Axis GUI. You can use it or not, but you'll have to pick it apart yourself. I barely remember what it took to get to this point, so good luck in the hunt.


Thanks to:

andypugh:
forum.linuxcnc.org/forum/24-hal-componen...c-2-7?start=40#62567


cncnoob:
forum.linuxcnc.org/24-hal-components/292...c-2-7?start=50#70093

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

Time to create page: 0.086 seconds
Powered by Kunena Forum