- Posts: 37
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
What PPR encoder?
7
What is the base period set at in the ini file?
setp [HMOT](CARD0).pwmgen.pwm_frequency 250
setp [HMOT](CARD0).pwmgen.pdm_frequency 6000000
setp [HMOT](CARD0).watchdog.timeout_ns 10000000
Is the encoder wired to BOB?
Yes, 5-axis Chinese BOB (ST-v2)
Are you using a VFD or a servo drive for the spindle?
Neither; using 0-10V directly to potentiometer inputs.
Please Log in or Create an account to join the conversation.
The signal spindle-vel-fb-rpm-abs is unconnected (so always 0)This is a pncconf bug, it should create that signal from the outputof the absolute function, something like:loadrt absaddf abs.0 servo-threadnet spindle-vel-fb-rpm abs.0.innet spindle-vel-fb-rpm-abs abs.0.out
That explains the open loop.
I'm not that great with HAL editing nor how the PID and spindle pins/parameters are supposed to be set up.
Can you explain how I should implement the above code?
Attached is the HAL provided by PNCConf and I added the lines you provided. I now get pid.s.feedback with some values.
Please Log in or Create an account to join the conversation.