No for the moment motor is not attached, but encoder is attached.

Sorry i think i have understand but have try PID only for testing where 
goes the min and max limit.

Yes without tunned PID or with testing "net spindle-vel-cmd-rps => offset.
pwmgen.in"
at full reverse (-55 on "motion.spindle-speed-out-rps") the 
"offset.pwmgen.out" pin is at 0, and your PWM is at ~0%,  or~1.1v    output 
-10.2v
at 0 speed (0 on "motion.spindle-speed-out-rps") the "offset.pwmgen.out" 
pin is at 55, and your PWM is at ~50% or~14.9v   output +1.8v
at full forward(55 on "motion.spindle-speed-out-rps") the 
"offset.pwmgen.out" pin is at 110, and your PWM is at ~100% or~23.9v  
 output 9.7v

measured with 2 different multimeters, one old style metrix with needle and 
one cheapest modern style numerical

for motion.spindle-inhibit and
for relay this is already doing with the "net spindle-enable => fur.do-6"


For now i think all is in the good way and ready for PID except the 0rpm 
PWM output value that is not 100% linear and is more than 12v

For the second post for now i don't have any DAC connected this test are 
doing only from cape Do-0 to chinese isolator 0/24v to +-10v.


You can be sure i hear you for any better material setting for this motor 
180vdc + shunt 1Hp (like to have both direction + some braking) managed by 
Digital out from furaday cape, i have already lost a lot of time and money 
for this spindle but i really like to finish this retrofit correctly.

For now i have :
2x burned KBMG-212D
2x burned ebay controler
2x opto isolator board 24v to 5v link 
<https://www.aliexpress.com/item/24V-to-5V-4-Channel-Optocoupler-Isolation-Board-Isolated-Module-PLC-Signal-Level-Voltage-Converter-Board/32647062218.html?spm=a2g0s.9042311.0.0.27426c37LJLvgF>
1x chinese isolator 24v to +-10v link 
<https://fr.aliexpress.com/item/32957301191.html?spm=a2g0s.9042311.0.0.58bf6c37CNQLmj>
1x chinese isolator 10v to +-10v link 
<https://fr.aliexpress.com/item/32957301191.html?spm=a2g0s.9042311.0.0.58bf6c37CNQLmj>
2x chinese DAC 24v to 0/10v link 
<https://fr.aliexpress.com/item/32917007734.html?spm=a2g0o.productlist.0.0.4c613394ZYCtjq&algo_pvid=27daa05a-b272-4504-bea1-0730a3de8fe6&algo_expid=27daa05a-b272-4504-bea1-0730a3de8fe6-2&btsid=9d40f820-14c6-4be3-ac6a-7d226a75a053&ws_ab_test=searchweb0_0,searchweb201602_9,searchweb201603_53>
some LM358 for diy use
i wait delivery for 
https://www.aliexpress.com/item/2-in-1-8W-Boost-Buck-Dual-Voltage-Board-3-24V-to-5V-6V-9V-10V/32982073765.html?spm=a2g0s.9042311.0.0.27426c37UAFL8E
https://fr.aliexpress.com/item/1921198462.html?spm=a2g0s.9042311.0.0.27426c37FCzVC4


Another time many thanks

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/67e32eb9-1f0f-4fec-9b2d-2a16f6bedb39%40googlegroups.com.

Reply via email to