Advanced Search

Search Results (Searched for: )

  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
19 Jan 2025 09:31
Replied by Cant do this anymore bye all on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

As much as we had a difference of opinion our work flow seems to be on similar lines.

Now that the RPI5 has a driver suitable for the 7c81, it’s time to see if this BSPI thing works on the clone I put together.
I’ll use your thread as a reference, print out some of the man pages, 7i65 code, some data sheets and get the highlighters out. I guess a I’ll have to build the bit file as well.
  • Ehsan_R
  • Ehsan_R
19 Jan 2025 09:09
Replied by Ehsan_R on topic Modbus input for absolute encoder position?

Modbus input for absolute encoder position?

Category: General LinuxCNC Questions

Has anyone been able to get the position of the servo motor via modbus and then do the homing operation?
  • Aciera
  • Aciera's Avatar
19 Jan 2025 08:30
Replied by Aciera on topic How to call a python script in gcode

How to call a python script in gcode

Category: General LinuxCNC Questions

But I get the error


What error?
  • GoodB0Y
  • GoodB0Y
19 Jan 2025 08:29
Test was created by GoodB0Y

Test

Category: Off Topic and Test Posts

Test
  • cncforfun
  • cncforfun
19 Jan 2025 06:48
Replied by cncforfun on topic Problems to install QT Designer - Linuxcnc 2.9.3

Problems to install QT Designer - Linuxcnc 2.9.3

Category: General LinuxCNC Questions

I installed via USB:
www.linuxcnc.org/iso/linuxcnc_2.9.3-amd64.hybrid.iso
linux distribution Debian 12

Following errors:
qttools5-dev-tools not available
qttools5-dev can`t be found
libpython3-dev can`t be found
  • blazini36
  • blazini36
19 Jan 2025 06:23 - 19 Jan 2025 06:28
Replied by blazini36 on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Nice setup old chap, puts my merger efforts at PCB design to shame.

I remember there was a thread about the BSPI thing, tried searching but couldn't find it.
 

Yeah I make plenty of PCBs, I tend to make one or two revisions, get everything working, and then stuff it on the shelf because I stop working on whatever it was mean for.

That one was for a pick and place machine I made that I wanted to get working with OpenPnP on top of LinuxCNC. I did get it moving around but I was having too much trouble getting both OpenPnP and LinuxCNC to play nice......so on the shelf it went. I don't really have the attention span to try to get LinuxCNC fully integrated for a PnP by itself but I'm sure it can be done, the guy who does the Mitsubishi servo cards managed to do it.

These break out boards intended for Arduino Connector have probably been sitting around for like a year now. Had to bodge out a couple of mistakes on both the Mega and Teensy 4.1 versions but it'll be good enough to get my control panel finally working. Then I'll go back and make a (hopefully) final revision.
  • blazini36
  • blazini36
19 Jan 2025 06:17
Replied by blazini36 on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

I like the I2C IO expansion Idea. I don't have these chips here yet. As I am working on the next Version of Arduino Connector I would implement it in the newer version as it will improve on all the Issues learned from the current version, as it will also get rid of the #defines etc for the user.
Also I forgot to mention that the new Version already supports the connection to multiple Arduinos simultaneously.

If you would like to peek into it you can see it on Github in the dev branch, but keep in mind currently it doesn't work.
Here is a preview of how the new Yaml configuration looks like: github.com/AlexmagToast/LinuxCNC_Arduino...lob/dev/config2.yaml


 

Yeah I've seen the v2 but never tried it because it's mentioned in the repo that it doesn't currently work.

I got my Teensy 4.1 break out board working and that handles the encoders much better than the Arduino Mega. The Teensy doesn't have that many IO pins so I have an I2C expander right on the break out board in addition to the 4 expanders on the keypad, I've got that working too.

I'm using MCP23017 expanders on these but I've used PCF857x on other boards, they aren't pin compatible but the libraries are similar.

Right now I'm just looking at how Arduino-connector handles connection states. It seems that even the normal outputs don't reset when LinuxCNC is closed so things that were previously on (like LEDs) stay on. The same happens with the I2C outputs so I suppose it's expected.  Not sure if that's the intended behavior but I've trying to figure out how to reset all outputs (pull low) on disconnect. It's a bit hard to debug since there's only 1 serial connection referenced and it's taken over when LinuxCNC connects, but I have another serial port I can direct debug prints to.

Other than that it all seems to work pretty good, I found a blocking delay in the comalive function that was creating a bit of delay. I replaced that with a timer and it works much better. That plus the tweaks mentioned in the git issues, it's pretty responsive now.

Once I get done putzing around, I'll clean up my code a bit and upload it somewhere.
  • tommylight
  • tommylight's Avatar
19 Jan 2025 03:46
Replied by tommylight on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

... and powering on the machine does not lock up the motors i am still able to slide the head along the X axis

That points to motors not wired correctly or not enough power (see if they lock and unlock and lock...), or dead drives.
  • rodw
  • rodw's Avatar
19 Jan 2025 03:22

Is it worth it to buy larger stepper drivers?

Category: General LinuxCNC Questions

I would just set all of your motors to 4.6 amps and see how it goes. A 7 amp power supply would probably be enough (should be about 8.3 amps by my 40% rule of thumb)
  • PCW
  • PCW's Avatar
19 Jan 2025 03:06
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

LinuxCNC version?
  • PCW
  • PCW's Avatar
19 Jan 2025 03:01

A Axis creeping - Bias not fixing it - axis not responding to jog buttons

Category: General LinuxCNC Questions

With a 10 mv offset and a P gain of 150 it should only take
0.0000666667 inches of following error to zero the bias.

Continuous creeping means an feedback issue of some kind.

I tried switching the Encoder direction, no change.

If feedback was working, this would cause an instant runaway.
  • notJamesLee
  • notJamesLee
19 Jan 2025 02:48
Replied by notJamesLee on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

I reattached the two files and double checked and they're all at 5000.

What do you mean by wire them single ended vs differential? None of my tb6600 have the enables wired to anything on them. and powering on the machine does not lock up the motors i am still able to slide the head along the X axis
  • tommylight
  • tommylight's Avatar
19 Jan 2025 02:41
Replied by tommylight on topic forum ERROR when i try to post

forum ERROR when i try to post

Category: General LinuxCNC Questions

It appears you can now.
  • tommylight
  • tommylight's Avatar
19 Jan 2025 02:39

A Axis creeping - Bias not fixing it - axis not responding to jog buttons

Category: General LinuxCNC Questions

Up the P value, check by hand if that stiffens the shaft after clicking on "test".
Are you using the "calibration" from the "machine" menu?
  • vre
  • vre
19 Jan 2025 02:38
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Why shows unknown pin?
hm2/hm2_7i80.0:     IO Pin 065 (P3-35): PktUART Receive Channel #0, pin RX Data (Input)
hm2/hm2_7i80.0:     IO Pin 066 (P3-37): PktUART Transmit Channel #0, pin TX Data (Output)
hm2/hm2_7i80.0:     IO Pin 067 (P3-39): PktUART Transmit Channel #0, pin unknown-pin-3 (Output)
hm2/hm2_7i80.0:     IO Pin 068 (P3-41): IOPort
hm2/hm2_7i80.0:     IO Pin 069 (P3-43): IOPort
hm2/hm2_7i80.0:     IO Pin 070 (P3-45): IOPort
hm2/hm2_7i80.0:     IO Pin 071 (P3-47): IOPort
hm2/hm2_7i80.0: registered
Found file(REL): ./custom.hal
hm2: hm2_7i80.0.pktuart.0: SCFFIFO error
hm2: hm2_7i80.0.pktuart.0: SCFFIFO error

hm2: hm2_7i80.0.pktuart.0: SCFFIFO error

hm2: hm2_7i80.0.pktuart.0: SCFFIFO error
[QTvcp.QTVCP.QT_ISTAT][WARNING]  INI Parsing Error, No USE_PROBE Entry in PROBE, Using: none (qt_istat.py:532)
hm2: hm2_7i80.0.pktuart.0: SCFFIFO error
hm2: hm2_7i80.0.pktuart.0: SCFFIFO error

hm2: hm2_7i80.0.pktuart.0: SCFFIFO error
hm2: hm2_7i80.0.pktuart.0: SCFFIFO error
Displaying 19516 - 19530 out of 21693 results.
Time to create page: 0.342 seconds
Powered by Kunena Forum