I read through the wiki on setting up Modbus, so I understand the basics. My VFD has a modbus interface that will allow three commands that I'm interested in be set.
- Stop/Start (0=Stop/1=Run)
- FWD/REV (0=REV/1=FWD)
- Motor Freq (0-4000)
How do I setup Mach3 to drive it with this? My best guess is:
- Setup modbus to map these to virtual outputs, pin 0 = Stop/Start, pin 1 = FWD/REV, pin 2 = Spindle Speed
- Enable the spindle output in 'Motor Outputs'
- Set the Dir Pin# to 1, Port to 0
- Set the 'Spindle Relays' outputs to drive pin 0, port 0
Then there is the 'Modbus Spindle - Use Step/Dir as well' section of the Spindle Setup page. What does this do?
Guessing, I'd think that I should set the Max ADC Count to 4000 (max value my VFD accepts), choose enabled, and set the Reg to 2.
Does this all sound correct?
Is there any documentation on the Modbus Spindle section? I've checked the PDF docs and the Customization Wiki. Thanks for any help! I'll have my PC hooked up to the VFD in a few days, waiting on an RS-485 adapter to arrive.