Hello Guest it is November 09, 2024, 09:30:32 AM

Author Topic: Need some help with C11 board and MACH...  (Read 1893 times)

0 Members and 1 Guest are viewing this topic.

Need some help with C11 board and MACH...
« on: December 27, 2018, 12:51:20 AM »
I have tried to find the answer to this but the search function won't work so here goes...
I am going to buy the C11G version 9 board which has 3 relays.
It shows that pin 14 controls the step and 16 the direction. So when 14 is on and 16 is on Relay 2 is on...
When 14 is on and 16 is off the relay 1 is on.
So has anyone wired these..  so in MACH..
I use 14 as the step which I assume is spindle on.. and Pin 16 on or off is the directon pin to turn on relays.
Can I use outputs in MACH to turn on or off 14 to control these relays.. or how have you guys been using them.
Re: Need some help with C11 board and MACH...
« Reply #1 on: January 05, 2019, 06:20:19 PM »
The c11g has jumpers that allow you to configure the relays in different ways.

How you wire it will obviously depend on what kind of spindle setup your using.

For a KB125 of VFD using the analog 0-10v setup, the wiring could be done any number of ways.

For example, with a VFD, id go with somethig like:

US mode jumper setup, when you setup your spindle with output 1=clockwise and output 2=counterclockwise, and  setup your outputs with output 1=pin 14=(clockwise) and output 2= pin=16=reverse,  thie following happens:

When, for example, you give an m3 S1000 command or set 1000rpm and push the spindle button, output 1 will be activated, voltage goes out the analog output and relay 1 will be activated.

If you were to give an m4 S1000 command, output 2 would be activated, an analog voltage would go out the analog outputs and relay 2 would activate.

So, spindle clockwise activates the analog output and relay 1. 

Spindle counterclockwise activates the analog out and relay 2.

That being the case, i would wire the relays as follows:

The signal common from your VFD splits into two wires, and each wire goes to the common terminal of each relay.

The reverse signal wire goes to the N/O terminal of relay 2

The EN (enable) wire splits into two wires, and one leg of the split  the N/O terminal of relay 1. The othe leg of the EN split goes to the N/C terminal of relay 1.

This gives you the following mode of operation:

When clockwise spindle is commanded, analog voltage goes out to the vfd, and relay 1 closes the signal common to the enable. The spindle starts and rotates clockwise.

When counterclockwise spindle is commanded, analog voltage goes out to the vfd, and relay 2 closes the signal common to the reverse wire.  The enable wire is active here because it is wired to the N/C terminal of relay 1.  So, the spindle starts and runs in reverse.


You could also jumper the signal common to the enable permanently, or wire it through an extarnal switch or estop switch.

That would work for a VFD setup that has a 0-10v analog input, and a signal common closing to a reverse wire or reverse, and closing the signal common to anenable wire to allow forward/reverse operation.   All will depend on the wiring requirements of your VFD.
Re: Need some help with C11 board and MACH...
« Reply #2 on: January 07, 2019, 11:53:59 AM »
Ok good info thanks...

just some clarification:

in MACH3 the spindle outputs, your calling them 1 and 2, these would normally go to the control side of a relay correct? The C11G has 2 on board relays, and looks like pin 16 (which is the enable pin) decides which of the 2 relays are on. So one way is pin 14 (step) and pin 16 (dir) are on, One relay is on and if 14 is on and 16 is off the other relay is on. Looks to me that pin 16 on or off controls which relay. SO with that said, does issuing a M3 S1000 for example, doe that turn on pin 16 and issuing a M4 s1000 turn pin 16 off? I do understand the spindle relays in MACH setting which output but like i said that seems to me to be if you have remote relays on the mill. Those outputs would have nothing to do with the internal relays on the C11G.

I am not even sure if i need rev on my mill. How are you guys using it?
Re: Need some help with C11 board and MACH...
« Reply #3 on: January 07, 2019, 02:48:49 PM »
The c11g doesnt have a control side input for the relays. The control side is built-in via printed circuits. No wiring necessary.

Ill assume in mach 3-ports and pins-spindle, youve set cw rotation to output 1 and ccw rotation to output 2, set it to pwm, with a base frequency of 300.

Then in mach 3-ports and pins-outputs, youve set output 1 to pin 14, port 1.  And that youve set output 2 to pin 16 port 1.

And that in mach 3-ports and pins-motor outputs youve set your spindle output step to pin 14 port 1, and dir to pin 16 port 1.


If the jumpers are set to US mode, and mach 3s spindle turned on in clockwise direction, mach 3 output 1 is activated and outputs a pwm signal to pin14. The presence of a pwm signal from mach 3 on pin 14 triggers relay 1.  Nothing happens on pin 16 or relay 2.

With the jumpers set as above, in US mode, and mach 3s spindle tured on in counterclockwise mode, output 2 is activated and pwm is still sent out pin14, but ONLY relay 2 is triggered.

So, basically, with the jumpers set to US mode,  cw spindle on triggers a pwm signal on pin 14, and relay 1 only.

Ccw spindle on in mach 3 activates a pwm signal on pin 14, and triggers relay 2 only.

So, that being the case, when you turn on cw spindle rotation, as in an m3 command, you will get output 1- a pwm signal out pin 14 which turns on your analog voltage output to drive your vfd.  You will also activate relay 1, which should be wired to close your vfd signal common to your enable (sometimes called start/stop).  

When you turn on ccw spindle rotation in mach 3, youll get the same pwm signal on pin 14 which will drive your vfd. Youll also get output 2-pin 16-relay 2 triggered, which should be wired to close your vfd signal common to the reverse/forward wire. On my vfd the reverse wire closed to sig common makes it run backwards. The reverse wire left open makes it run forward.

My vfd must have the signal common closed to the enable for cw rotation, and must have the signal common closed to both the enable AND the reverse for ccw rotation. So, i have my jumpers set to International mode.

With the jumpers set to international mode, m3 activates pwm and relay 1 only (closing my sig common to enable).  Ccw spindle (m4) activates BOTH relays ( relay 1 closes my signal common to enable ) and (relay 2 closes my signal common to reverse).

How you wire it depends on the type of vfd/controller running your spindle motor.

Tell me what kind of vfd/controller your using and ill do up a wiring diagram.

« Last Edit: January 07, 2019, 03:06:06 PM by Ken226 »