+-10v setup 7i97 & .ini

More
22 Feb 2025 04:58 #322252 by Sziggy_NC
Replied by Sziggy_NC on topic +-10v setup 7i97 & .ini
Sure, I'll set a reminder on my phone to post them when I'm at the pc. My files might be a little odd though. I started by using JT's config tool. Then compared the result to a 7i97t sample config to get the spindle working. Some of my "net" pin stuff is in io.hal and others are in the main config.hal

I have received a lot of help from everyone on the forum.

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

More
22 Feb 2025 18:14 #322287 by Sziggy_NC
Replied by Sziggy_NC on topic +-10v setup 7i97 & .ini
JB,
I doubt you will need more than the main.hal, the io.hal, and the .ini files. I included my most recent ones.

There is a python folder in my machine's configuration. This is for the tool changer remap. It has the remap.py, stdglue.py, and toplevel.py. I coppied this folder from "/linuxcnc/nc_files/remap_lib/python-stdglue/python/" You might be able to just direct your INI to this directory instead of copying it, and directing the INI to look for it where I put mine.

I had to add a subroutine folder into the "/linuxcnc/nc_files/" directory for my toolchange.ngc subroutine. I didn't include this file since it is still a work in progress. (it keeps putting tools in pocket #1, bad programing) Also my machine has a standard non random carousel tool changer. I am unsure of what your machine uses.

The following files in my config are empty: custom.hal, postgui.hal, & sserial.hal.

The .clp file is classic ladder stuff to turn off the servos and spindle if they alarm. It also prevents the spindle from being powered on until the machine is enabled. There is also some untested door safety stuff. If you need any of this you will be best off re-doing it with your machine in mind.

If you have any questions about anything in the files please ask. I should go through and better comment the files at some point before I forget what it all does.

Best of luck with your DMG 50.

PS: I'm also using a 7i84 you will see it in the io.hal "net atc-arm-extend motion.digital-in-02 => hm2_7i97.0.7i84.0.0.input-03" I don't believe anything I did in the [SSERIAL] section of the INI was necessary. I'll try deleting it, and testing without it at some point.
Attachments:

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

More
24 Feb 2025 06:03 #322454 by JB-Motoring
Replied by JB-Motoring on topic +-10v setup 7i97 & .ini
Thank you very much!

Looking at "arm" are you running a Chiron with that? :D

I will take a look and reply :)

BR

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

More
24 Feb 2025 16:16 #322502 by Sziggy_NC
Replied by Sziggy_NC on topic +-10v setup 7i97 & .ini
Cincinnati sabre 500. A simple 3 axis machine. The tool changer pivots on two hinges to swing the carousel under the spindle. It's resembles an arm bring a glass to a mouth.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum