Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos

More
1 year 7 months ago - 1 year 7 months ago #324657 by Boogie
More screen shots:
I don't understand where is the proper place in MesaCT to set XYZ axes PWM mode, assign pins for it, assign pins for respective encoders. Curious why in CT, under "Firmware' tab -> 'Mesaflash' tab: there is no options available - not possible to pick firmware file, not possible to verify existing one, 'Add firmware' not working (no reaction at all).

I know PID tuning will be from LinuxCNC but it's not starting at this stage.
Last edit: 1 year 7 months ago by Boogie.

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

More
1 year 7 months ago #324658 by Boogie
Configuration files created attached.Please poke me in good direction.

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

More
1 year 7 months ago #324659 by tommylight
Attached is a config used for testing those drives exactly, with Mesa 5i25 or 6i25 so should be easy enough to edit to 7i95T, i think, i had no time to play with 7i95 as it went on to full daily duty soon after i got it.
-
I am glad you are very happy like a kid, it is a great feeling when you have things working as you like them, but do not expect MesaCT to make a working config after changing the basic functionality of the board, it can not account for all our requested features, but it does crate something you can edit easily, just replace stepgens with PWM's and mind the naming and order of lines.
While you're at it, here is that config driving a motor

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

More
1 year 7 months ago #324674 by PCW
Strangely enough, it may be easier to start with a mesact configuration
for a 7I97T since that uses PWM out and encoder feedback.

You would need to at minimum set the PWM output mode to up/down (2)
and disable offset mode. Also of course, change the card name.
The following user(s) said Thank You: tommylight

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

More
1 year 7 months ago - 1 year 7 months ago #324872 by Boogie
Thank you for pointing things out.I did my best and studied the files. I wrote INI and HAL based on initial CT output and config from you Tommy.My linuxcnc is crashing with debug info:
hm2_7i95: dlopen: /usr/lib/linuxcnc/modules/hm2_7i95.so: cannot open shared object file: No such file or directory./main.hal:17: waitpid failed /usr/bin/rtapi_app hm2_7i95./main.hal:17: /usr/bin/rtapi_app exited without becoming ready./main.hal:17: insmod for hm2_7i95 failed, returned -15142Stopping realtime threadsUnloading hal componentsNote: Usid POSIX realtime
Attached HAL, INI and crash report. 
Last edit: 1 year 7 months ago by Boogie.

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

More
1 year 7 months ago #324873 by Boogie
My setup i pretty rude, as in photos. Currently no h-bridges connected (have no wires available...) but checking encoders and limit/home switches would be great for me. Actually, even starting without crash would be great:)

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

Time to create page: 0.458 seconds
Powered by Kunena Forum