Hello together,
another question and problem with my LCNC config.
After solving installation, homing, network, latency problems with your help, I could make the next step and check my spindle output function.
I'm using a chinese 2,2kW standard spindle with a Hitachi WJ200 VFD, parameters set with Hitachi proDrive, the FWD/Stop control is working correctly, but I cannot measure any volts at the Spindle Output of my 7i76e TB4. The electronic pot gets 10V from an external voltage source, these 10V are measureable at TB4, Pin 3.
Im using Probe Basiv V.5 under Debian 12 and LCNC 2.9.3. on a Lenovo Think Centre M92p Tiny, 8 GB i5 2900 GHz.
I set the output with MDI S6000 and can see, that spindle-out goes to 100 (rps), Spindle-enable goes on, but I can not see any voltage at Pin 3.
Do you have any idea what is going wrong here?
Wiring:
8 Dir + STP (Hitachi WJ200 D2)
7 Dir - GND
6 En + STA (Hitachi WJ200 D1)
5 En - GND
4 nc
3 SPI + +10V external voltage
2 SPI OUTPUT -> Analog In O
1 SPI - -> GND, L
INI:
MAX_OUTPUT = 24000.0
OUTPUT_SCALE = 24000
OUTPUT_MIN_LIMIT = 1000
OUTPUT_MAX_LIMIT = 24000
HAL:
# SPINDLE
# ************
# ---digital potentionmeter output signals/setup---
setp hm2_7i76e.0.7i76.0.0.spinout-minlim [SPINDLE_0]OUTPUT_MIN_LIMIT
setp hm2_7i76e.0.7i76.0.0.spinout-maxlim [SPINDLE_0]OUTPUT_MAX_LIMIT
setp hm2_7i76e.0.7i76.0.0.spinout-scalemax [SPINDLE_0]OUTPUT_SCALE
setp hm2_7i76e.0.7i76.0.0.spindir-invert true
net pdnt.spindle-speed-abs => hm2_7i76e.0.7i76.0.0.spinout
net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw => hm2_7i76e.0.7i76.0.0.spindir
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout
# ---setup spindle control signals---
net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
#net spindle-vel-cmd-rpm <= spindle.0.speed-out
#net spindle-enable <= spindle.0.on
net spindle-cw <= spindle.0.forward
net spindle-ccw <= spindle.0.reverse
#net spindle-brake <= spindle.0.brake
#net spindle-revs => spindle.0.revs
net spindle-at-speed => spindle.0.at-speed
#net spindle-vel-fb-rps => spindle.0.speed-in
#net spindle-index-enable <=> spindle.0.index-enable
# ---Setup spindle at speed signals---
sets spindle-at-speed true
Thank you for any help!
Hanno