7i96 Configuration Tool

More
6 years 5 months ago #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...
Code:
# 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...
Code:
net spindle-on motion.spindle-on => hm2_7i96.0.ssr.00.out-00

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

What am I missing?

Please Log in to join the conversation.

More
6 years 5 months ago #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

Please Log in to join the conversation.

More
6 years 4 months ago #170099 by jools
Replied by jools on topic 7i96 Configuration Tool

Project_Hopeless wrote:

BigJohnT wrote: 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 to join the conversation.

More
6 years 3 months ago #173494 by Bruedney
Replied by Bruedney on topic 7i96 Configuration Tool
Can I use this to configure a 7i76e card?

Please Log in to join the conversation.

More
6 years 3 months ago #173495 by rodw
Replied by rodw on topic 7i96 Configuration Tool
Use pncconf which is part of the official install.

Please Log in to join the conversation.

More
6 years 3 months ago #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

Please Log in to join the conversation.

More
5 years 10 months ago #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:
Code:
=== ~$ 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' ===

Please Log in to join the conversation.

More
5 years 10 months ago #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)

Please Log in to join the conversation.

More
5 years 9 months ago #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

Please Log in to join the conversation.

More
5 years 9 months ago #194523 by PCW
Replied by PCW on topic 7i96 Configuration Tool
Did you update the spindle names?

Please Log in to join the conversation.

Time to create page: 0.145 seconds
Powered by Kunena Forum