Hal configuration for BISS encoder

More
1 year 8 months ago #321226 by pmchetan
Is there any information on which pins on 7i76 board are the pwm generators mapped onto? For instance, TB2 connector on 7i76 had GND, Step0-, step0+, Dir0-, Dir0+ and +5Vp with default stepgen firmware.
I couldn't find which pin to connect.

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

More
1 year 8 months ago #321239 by PCW
sudo mesaflash --device 5i25 --dbname1 7i76 --dbname2 7i74 --readhmid

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

More
1 year 8 months ago #321333 by pmchetan
Can someone help me with HAL configuration?
I'm getting joint follow error. I tried removing all the encoder feedback lines. Either linuxcnc won't start or it will start and shows join0 follow error. Could someone give me how to make a minimal HAL for openloop testing with non standard firmware generating pwm signals on 7i76?

 

File Attachment:

File Name: 5i25_7i76PWM_7i74.hal
File Size:5.1 KB

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

More
1 year 8 months ago #321341 by PCW
I would widen the following error limits in the ini file
so you can see the behavior (be careful of runaways)

Have you verified that you can control the motor with the PWM signal?

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

More
1 year 8 months ago #321404 by pmchetan
I wanted to verify the motor controls with PWM with motor disassembled from the axis with no encoder feedback, just motor rotation and direction of the spin. Is it possible to have a minimal HAL setup where I can load the driver and check the motor in open loop also note down all the pin names and parameters names that the driver assigns so that I could build the complete HAL better?

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

More
1 year 8 months ago #321405 by PCW
If you run a normal LinuxCNC hal file (with no PWM support/connections),
you can do this from the watch dialog:

 


20KHZ PWM enabled and set to 50%

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

Time to create page: 0.060 seconds
Powered by Kunena Forum