External Lathe Controls

More
11 Mar 2020 02:58 #159744 by Thods1222
External Lathe Controls was created by Thods1222
I have an operator panel that I have pulled together and have hooked up to my 7I76 inputs. I am having a problem with "pin does not exist" errors on startup. From reading other posts advice points to the board not having either the 5V or the 24V field power. I found that my 24V power supply wasn't working so I replaced it. I now have 24V power to the field and the 2 status LEDs are lit indicating they have power. I have commented the inputs out individually to see if it was resident to one input or another and they all seem to not be working. I wired up the Estop N/C and the rest are wired N/O(cycle start, abort). Attached are my debug file, Lathe.ini, and Lathe.hal. Any help in diagnosing this would be much appreciated. BTW, The Hal and ini file was generated via Pnconf before I commented the inputs out to test.
Attachments:

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

More
11 Mar 2020 03:40 #159747 by PCW
Replied by PCW on topic External Lathe Controls
I would check that
1. On 7I76, W1 and W3 are in the left hand position
2. The DB25 cable is securely installed at both ends
3. The firmware is correct (it looks correct but the dmesg doesn't list all pins)
to check, run
sudo mesaflash --device 5i25 --readhmid > pinout.txt
and post pinout.txt here
4. I assume you are running the 7I76 from cable power, if so that's probably
OK if you have the 5V LED, but you might check 5V on the 7I76 with a voltmeter

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

More
12 Mar 2020 02:49 #159837 by Thods1222
Replied by Thods1222 on topic External Lathe Controls
Ok, I followed your suggestions and I checked the following
1. Both jumpers are in the left hand position
2. I checked the DB25 cable for secure installation
3. I ran the pinout.txt and it is attached.
4. I checked the cable itself and it is getting 5v on pins 22, 23, 24, 25. I also probed pin 12 on the TB3, it was reading 4.17v.

Thanks for your help.
Attachments:

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

More
12 Mar 2020 03:43 #159839 by PCW
Replied by PCW on topic External Lathe Controls
OK wrong firmware, to fix, download the 5i25.zip file from mesa and extract the file
5i25_7i76x2.bit, then in the directory where 5i25_7i76x2.bit is located run this command:

sudo mesaflash --device 5i25 --write 5i25_7i76x2.bit

then

sudo mesaflash --device 5i25 --reload
The following user(s) said Thank You: Thods1222

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

More
13 Mar 2020 03:48 #159985 by Thods1222
Replied by Thods1222 on topic External Lathe Controls
Bingo!! Thanks for all your help! It is recognizing the estop, now for hooking up the cycle start and single block.
The following user(s) said Thank You: pippin88

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

More
14 Mar 2020 00:04 #160105 by Thods1222
Replied by Thods1222 on topic External Lathe Controls
So if you couldn't tell I am basically a noob teaching myself linux/linuxcnc. I have gotten the cycle start/pause/single block hooked up and it is fantastic. I have a 2 position switch that I am trying to hook up to switch between axes but the examples i have used are not working. Do you happen to have a good example for this? Also I have a 100ppr encoder wheel that I have hooked up single ended but I am unsure what code/where to put it. I followed an example to get the 7i76 into mode 2 but that is where I am stuck. Any help is much appreciated.

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

More
14 Mar 2020 02:41 - 14 Mar 2020 02:41 #160117 by PCW
Replied by PCW on topic External Lathe Controls
There are some threads on this subject and some sample files in the forum
Did you try searching the forum for "MPG" ?
Last edit: 14 Mar 2020 02:41 by PCW.
The following user(s) said Thank You: Thods1222

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

  • BeagleBrainz
  • BeagleBrainz's Avatar
  • Visitor
  • Visitor
14 Mar 2020 04:31 #160123 by BeagleBrainz
Replied by BeagleBrainz on topic External Lathe Controls

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

More
15 Mar 2020 02:13 #160249 by Thods1222
Replied by Thods1222 on topic External Lathe Controls
I did a couple searches and found some examples. I will give them a shot. Thanks!

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

More
15 Mar 2020 02:14 #160250 by Thods1222
Replied by Thods1222 on topic External Lathe Controls
Thank you, I may try that example. Tha ks

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

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