20
« on: May 26, 2008, 09:24:48 PM »
Thanks for the instructions. I was able to get it working through the GUI and M-codes.
A few comments.
The Outputs on the Motor tab only accepts port 1 and 2 pins. Luckily I have two unused pins right now, but I would like to get them back. If I didn't have to enable the step/direction section for the Spindle then I am not forced to throw these pins away.
In a previous thread I thought I was not supposed to be using the "Modbus PlugIn". It was implied that this was for the ModIO boards and it also doesn't show up in the Mach documentation. I enabled this "Modbus Plugin" and then configured using the newer spread sheet looking configuration tool.
Using your tips, I was able to find signals in the Brain editor that indicate Spindle CW and CCW. I use these to set the direction bit. I use the Spindle Enable to control the enable bit and I used the Spindle percent DRO through a formula to set the frequency in the VFD. It was pretty simple once I figured out which Modbus output serial box I needed to check in the termination tool.
I am using a Hitachi SJ200 VFD. These have modbus built-in which is awesome because it reduces the number of boards you need to zero and reduces the cost to use it.