Native Linuxcnc PID Speed Control

More
10 Apr 2017 03:05 #91107 by cromaglious
I have a working Linuxcnc PID setup.

Linux Linuxcnc 4.9.13-rt12 #2 SMP PREEMPT RT Fri Mar 10 03:54:44 PST 2017 x86_64 GNU/Linux

LINUXCNC - 2.8.0-pre1-2905-gf1172c0

gmoccapy as setup by stepconf

using 52mm Ebay ER-11 400w dc spindle 50v10A pwm speed control Ebay BOB 1 relay, with the 5 jst plugs for axis, using pin 1 PWM, Hall effect sensor reading 3 magnets in the fan driving a 2n2222 transistor to bring pin 10 low to ground. Sensor and pin 10 are using common ground. Mini-box ITX atom 1.4ghz machine with real lpt port. I also have just upgraded my steppers on my ebay cnc3040 to jmc-motor.com 2nm (283ozin) integrated closed loop steppers. Well worth the money. At 800 steps rev, I'm getting 120mm/s on a 1204 Acme thread lead screw. I have alarmed the motors pushing them too hard 2000G, keeping it to 500G and 80mm/s I haven't caused a motor to alarm, so I have lost a step. Took a 13mm and tightened the Y axis tension nut... moved the stepper... it went right back to where it was supposed to be.

gmoccapy signals are a bit tricky! You have to net them AFTER the gui loads.

Tail end of this video is 120mm/s rapids


Cheers Robi. With PID and the new steppers... I can finally step building the new gantry sides to get more height!

Attachments:

Please Log in or Create an account to join the conversation.

More
10 Apr 2017 12:15 #91115 by tommylight
Well it looks like you are messier than i am when working ! :)
Nice job.
Question: how does the spindle do?
Been thinking of getting one to play with but they look well weak.
Regrads

Please Log in or Create an account to join the conversation.

More
11 Apr 2017 07:05 #91169 by cromaglious
it's a fleabay 400w DC 48v er11 spindle. S1000 is usable in plastic with slower feed rates, S2000 is what I use in AL. I just found some 50-65mm thick T6 AL, I'm going to be able to make a spindle mount out of, so I'm be able to switch to a VFD soon as I can afford it. Yeah, I'm not the neat nic when brain storming. I have to make a circuit board for the home sensors, build the enclosure, make the wiring pretty., I have to fill the hole 1/2 the table is in with concrete. Run wiring above the Alumawood cover, get some AL strip bent, to make covers for the roof sections where wiring is. to the left of the table I have a 10'x14' area behind the blank wall of the kitchen, I want to pour a slab, and build a shop there and return the patio to Chillaxing.

Please Log in or Create an account to join the conversation.

Time to create page: 0.124 seconds
Powered by Kunena Forum