Thread: PWM output on CNC BOB
Hybrid View
-
08-05-2021 #1
I'm probably being stupid here, but - I assume the relay is for switching the spindle on and off. At the moment I'm just getting my steppers to work, and testing with Linuxcnc and the stepconf wizard. All the steppers are working, but every time I click on "test this axis" the relay comes on, even before I jog the axis. Why is this? When using the machine for real, I would only want the relay to come on when I want the spindle on, not when moving an axis. I don't have the 24V supply connected atm, if that is relevant
-
08-05-2021 #2
Can you post your hal and ini files
Also what Bob are you using and version of Linux..Clive
The more you know, The better you know, How little you know
-
08-05-2021 #3
Pin17 is the relay.
If you have seperate on/off & direction controls on the vfd:
Ports and pins I would suggest:
Spindle assign- step=pin 1, Dir=pin 16
Output #1 = pin17
Assign M3/M4 to output #1 (for on/off spindle)
Use pin16 for forward/reverse (I'd use a relay set up as NO=fwd / NC=rev)
Pin1 is the 0-10v/GND pins connected below where you plug in the 12-24v supply
Pin1 and all the other limit/estop inputs only work with this supply connected.
If you find that the ouput pin1 is 10v when stopped, change the active low/high level.
The relay also has a jumper next to it so you can change the output from the relay to screw terminal 17 instead.
Something like this anyway
-
09-05-2021 #4
Change Enable to pin 14 and move any enable wiring there.
Then assign Enable1 as pin14 in Mach.
That should solve relay issue.
Looks like you have enable on pin17.
Then.
Pin17 is the spindle relay.
If you have seperate on/off & direction controls on the vfd:
Ports and pins I would suggest:
Spindle assign- step=pin 1, Dir=pin 16
Output #1 = pin17
Assign M3/M4 to output #1 (for on/off spindle)
Use pin16 for forward/reverse (I'd use a relay set up as NO=fwd / NC=rev)
Pin1 is the 0-10v/GND pins connected below where you plug in the 12-24v supply
Pin1 and all the other limit/estop inputs only work with this supply connected.
If you find that the ouput pin1 is 10v when stopped, change the active low/high level.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Question on Servo power output.
By Zadig in forum General DiscussionReplies: 6Last Post: 24-08-2017, 01:13 PM -
Output voltage from mains driver?
By JW1977 in forum Motor Drivers & ControllersReplies: 8Last Post: 24-03-2017, 01:33 PM -
Output direct to machine
By picyman in forum VectricReplies: 4Last Post: 16-02-2014, 11:04 PM -
HPGL driver output
By 2006Nobull in forum Computer SoftwareReplies: 6Last Post: 07-10-2012, 08:49 PM -
2 Machines 1 Switch for the output - Connections
By Ian Hart in forum General ElectronicsReplies: 7Last Post: 02-04-2010, 02:33 PM
Bookmarks