The purpose of this document is to explain how to configure the OX BlackBox (BB) to work with a Huanyang (HY) VFD. There are a few items with regards to the BB which need to be worked around as it seems there maybe a firmware issue with how BB operates.
Part 1: Configure the jumper switches.
This is done while assembling the BB. Move the jumper from the M3/M5 position to the M8/M9 position.
While inside here if you plan to use inductive sensors for limit switches move the jumper for limit switch voltage to 24v from 5v.
That should be it for jumper configurations within the BB. You may now complete the build of the BB.
Part 2: Wiring the BlackBox.
There are two connectors needed for the successful wiring of the BB to the HY VFD. First with the 4 pin TOOLHEAD connector, wire the 0-10V and GND wires. Once wired, connect the PSU and USB and turn everything on. Go to the Opebuilds Control Software and connect to the BB. On a 2.2KW spindle the minimum RPM when configured is 8k RPM, keep note of that for CAM use. In the console once connected type the following into the console: $30=24000 and $31=0. This will give the proper voltage range for the spindle, when using the command M3 SXXXX where XXXX is less than 8000, it will still go to 8000 RPMs. For this we will be checking the top voltage. So attach a multimeter to the BB with the 0-10V and GND connectors. Type M3 S24000. If the meter says 10v even you are good to go, if it is high or low, you will need to turn the small white screw to adjust the voltage to reach 10v. Once this is done type M5 to stop the voltage output. Shutdown the PSU and BB.
Next connect the 0-10v wire to the VI header of the HY VFD. The GND wire is connected to the ACM header. Take the connector for the RELAY and wire both wires, one wire connected to the FOR header, the other wired to the DCM header on the HY VFD.
Part 3: VFD Programming.
In the programming menu of the HY VFD under PD001 and PD002 change the setting to 1 from 0. Under PD070 ensure that the setting is set to 0.
Part 4: Testing.
Reconnect and power on the BB and HY VFD, make sure the spindle is plugged in as well. Connect via Openbuilds Control Software. Once the computer connection to the BB is confirmed and the area around the spindle is secured. Type the following: M8 M3 S8000. The spindle should turn on and reading the speed on the VFD panel should read around 8000 RPMs. Next Type M9 M5, this should turn the relay and kill the voltage to the TOOLHEAD 0-10v line.
Part 5: Final Remarks.
In your CAM software you will have to verify that M3/M5 turns the spindle speed controller on and off and that M8/M9 turns coolant on and off. This is how this work around works. The M8/M9 commanded relay is used to open or close the connect between DCM and FOR on the VFD. I use Fusion 360 and the GRBL post processor is already setup for both of these tool codes. I just made sure that all of my stored tooling has flood coolant checked to turn on the relay whenever I start a tool. It will also turn off the relay when the operation is complete.