I have a 6040Z 4 axis machine, which has worked well for the past year or so. I decided it was time I controlled the spindle via Mach3, but am having problems.

The control box has JMC 2M542-06 drivers for the X,Y and Z axis and a small generic one for the A axis, with a JP-845 four axis control board. All four axis work great, no problems there, and a Nowforever EN100S2R2B VFD.

Click image for larger version. 

Name:	IMG-20170110-WA0008.jpg 
Views:	1282 
Size:	261.2 KB 
ID:	20352

The VFD connections I would use are X1 - Fwd control, AN1 - 0-10V for speed contol and COM

Click image for larger version. 

Name:	20170114_132816.jpg 
Views:	945 
Size:	216.7 KB 
ID:	20351

I have two different BoB's that I could use;

Click image for larger version. 

Name:	pwm out.jpg 
Views:	1679 
Size:	310.4 KB 
ID:	20353

The JP-845 (image attached) has an unused PWM out socket on the board and what appear to be two relay outputs. The PWM pins are unmarked, and with a DMM I have found two of the pins have a constant 5V across them, while the other two don't seem to do anything. The relay pins are marked No.1, COM, No.2, COM.

No matter how I connect the pins up, I cannot get this to work - the speed of the spindle is not controlled by inputs from Mach3, and the spindle is constantly energised.

I cannot find any info regarding this Bob on the net.

Click image for larger version. 

Name:	20170114_132803.jpg 
Views:	1268 
Size:	332.0 KB 
ID:	20350

The other is a generic 5 axis BoB (image attached). I have connected this up, and everything works except the spindle control. I have the AN1 0-10V connected to the + pin on the board and the COM to the GND. The X1 (FWD) pin is connected to pin 17 on the board.

Now, this is where I am stuck, and probably being really bone - I don't know if I need the relay jumper on or not and, in fact, whether this is the correct way to do it. I have read several posts where people have linked to this second board, saying they use them, but there are no connection details/

Could someone help me out with this please, I'm going nuts!