7i96 Configuration Tool

More
09 May 2020 01:29 - 09 May 2020 01:30 #167096 by Project_Hopeless
I'm trying to setup a simple output to turn the spindle (router) on/off.

I have all the PWM references commented out...
# Spindle
#setp hm2_7i96.0.pwmgen.00.output-type 0
#setp hm2_7i96.0.pwmgen.00.scale [SPINDLE]MAX_RPM
#setp hm2_7i96.0.pwmgen.pwm_frequency [SPINDLE]PWM_FREQUENCY

The 7i96 tool created an output for it..

[OUTPUTS]
# DO NOT change the output text
OUTPUT_0 = Spindle On
OUTPUT_1 = Select
OUTPUT_2 = Select
OUTPUT_3 = Select
OUTPUT_4 = Select


The io.hal setup like this...
net spindle-on motion.spindle-on => hm2_7i96.0.ssr.00.out-00

But i still get an error.
Debug file information:
Note: Using POSIX realtime
./io.hal:16: Pin 'motion.spindle-on' does not exist
5159

What am I missing?
Last edit: 09 May 2020 01:30 by Project_Hopeless.

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

More
09 May 2020 01:34 #167097 by PCW
Replied by PCW on topic 7i96 Configuration Tool
Spindle names changed at some point in the LinuxCNC 2.8 release
motion.spindle-on changed to spindle.0.on
The following user(s) said Thank You: Project_Hopeless

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

More
04 Jun 2020 15:29 #170099 by jools
Replied by jools on topic 7i96 Configuration Tool

The home/user/.bin in Debian is not in the path by default. Try $PATH and see if local/.bin is there. If not then do step 3 in the install instructions.
JT

That was part of it. I had to create the file "xsessionrc" not ".xsessionrc" :pinch: That catches me every time. But it still wouldn't work.

How I got it to work was downloading the python "setuptools" then follow the install instructions verbatim. I found online some issues with Mint and pip without having setuptools. I also had to use the sudo -H switch, something about not having permissions to my own home directory. Can't say I understand, but it does work now.

And a year from now I will have completely forgotten all this.


I have the same issue. Can you detail the steps you took to get setuptools in detail to help others and me please.

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

More
03 Jul 2020 08:53 #173494 by Bruedney
Replied by Bruedney on topic 7i96 Configuration Tool
Can I use this to configure a 7i76e card?

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

More
03 Jul 2020 08:54 #173495 by rodw
Replied by rodw on topic 7i96 Configuration Tool
Use pncconf which is part of the official install.

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

More
03 Jul 2020 09:07 #173497 by Bruedney
Replied by Bruedney on topic 7i96 Configuration Tool
Thanks Rod

I have used that but I thought that this looks easier to use.

Cheers
Bruce
The following user(s) said Thank You: rodw

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

More
18 Dec 2020 04:42 - 18 Dec 2020 04:47 #192301 by caa028
Replied by caa028 on topic 7i96 Configuration Tool
Not sure, if it's a known issue... or if I'm doing something completely wrong...

After following the install procedure (jethornton.github.io/7i96/install.html) I'm getting the "ModuleNotFoundError: No module named 'm7i96'" error message.

Any hints on how to get the 7i96 configuration tool running would be very much appreciated.

Thank you!

Here is the full error message:
===
~$ 7i96
Traceback (most recent call last):
  File "/home/caa028/.local/bin/7i96", line 6, in <module>
    from m7i96.m7i96 import main
ModuleNotFoundError: No module named 'm7i96'
===
Last edit: 18 Dec 2020 04:47 by caa028. Reason: added error message

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

More
19 Dec 2020 02:55 #192415 by rodw
Replied by rodw on topic 7i96 Configuration Tool
Try using pncconf as your board is supported now. (And pncconf is a part of linuxcnc)
The following user(s) said Thank You: caa028

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

More
08 Jan 2021 17:08 #194518 by BigJohnT
Replied by BigJohnT on topic 7i96 Configuration Tool
I have a Debian deb now so install is super easy and the deb adds a menu item for the tool.

jethornton.github.io/7i96/install.html

JT
The following user(s) said Thank You: rodw

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

More
08 Jan 2021 17:40 #194523 by PCW
Replied by PCW on topic 7i96 Configuration Tool
Did you update the spindle names?

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

Moderators: PCWjmelson
Time to create page: 0.102 seconds
Powered by Kunena Forum