Advanced Search

Search Results (Searched for: )

  • gmouer
  • gmouer
06 Apr 2025 21:16
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

I have been hoping that BecksVill (Andrew) would return, he has the same issue as me (Tab but empty) Unfortunately he has not been in the forum for 15 days
  • Krimbles13
  • Krimbles13
06 Apr 2025 21:16

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Thanks a lot, it kinda works now or at least i can move the motors. Only weird thing is motor0 and motor1 aren't working but the other 6 do, so that's a good thing i guess.
Oh and sorry again for my stupid questions.
see ya
  • gmouer
  • gmouer
06 Apr 2025 21:07
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Thanks for all the help !

I inserted the space that you pointed out.          Same result, NativeCAM tab but it is empty.

I launched in terminal by typing Linuxcnc and then selecting the axis simulator

Below is the terminal window messages.       I see a couple issues but don't know why.

Below is the terminal window messages,  I see a couple issues but do not know how to resolve them.
I also included the ini file.

 

File Attachment:

File Name: terminal_w...4-06.txt
File Size:2 KB


 

File Attachment:

File Name: ini_file_2...4-06.txt
File Size:5 KB
  • tommylight
  • tommylight's Avatar
06 Apr 2025 20:38
Replied by tommylight on topic Spindle control not showing in Axis window...

Spindle control not showing in Axis window...

Category: Basic Configuration

Start with the HAL part, that is what most people seem to be scared of, but it was and is the main reason why i liked LinuxCNC as you can do almost anything with it, within reason.
And then there is components, plenty of those included and the ability to write your own to fit your needs, so the possibilities are nearly endless.
As for 342 pages, nah, i'we read much longer not enjoyable, while this was very, very enjoyable/interesting.
It opens a whole new world of possibilities.
Does the Z have limit/home switches?
  • tommylight
  • tommylight's Avatar
06 Apr 2025 20:30
Replied by tommylight on topic Joint1 following error

Joint1 following error

Category: General LinuxCNC Questions

Max_velocity in the ini file is in units per seconds (mm or inch), while everything in GUI is in units per minute, hence divide or multiply by 60.
The error you are getting is because you are requesting higher step rate than possible given the base period in use and timings for the software stepgens RPI uses, so you have to lower the step rate, or use less microstepping on the drives to get more velocity, but this will make more vibrations al low motor speeds. Still, do give it a try with microstepping at 4 and step scale.....
Step scale is motor steps per rotation multiplied by the microstepping value and divided by the pulley tooth/diameter/tooth pitch, in your case for a normal 1.8 degree per step motor that is 200 steps per rotation of the motor and pulley since it's directly driven, multiplied by 8 microsteping in the drives and divided by 20 tooth of the GT2 (GT2 is 2mm pitch between teeth) or 40mm
200*8=1600/40=40steps per mm for metric machine.
If you do set the drives to 4 microsteps, the scale in the ini file has to be changed to 20.
  • cakeslob
  • cakeslob
06 Apr 2025 20:24

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Alright, the only other thing that stands out is the config. Im not sure if it would make an issue thought, but try anyways I guess. Flip around the order, not sure if it matters but I havent tested the other way.

Also, try hitting the reset button after stuff it booted, see if it does something
{
	"Thread": "Base",
	"Type": "Stepgen",
		"Comment":			"X - Joint 0 step generator",
		"Joint Number":		0,
		"Step Pin": 		"PF_13",
		"Direction Pin": 	"PF_12",
		"Enable Pin": 		"PF_14"
	},
	{
	"Thread": "On load",
	"Type": "TMC2209",
		"Comment":			"X - Joint 0 TMC driver",
		"RX pin": 			"PC_4",
		"RSense":			0.11,
		"Current":			800,
		"Microsteps":		16,
		"Stealth chop":		"on",
		"Stall sensitivity":0
	},
  • Giovanni
  • Giovanni
06 Apr 2025 20:08
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

In your .ini file it seems that there is no space separator between --catalog=mill and the path:
EMBED_TAB_COMMAND = gladevcp -x (XID) -U --catalog=mill/usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

Become:
EMBED_TAB_COMMAND = gladevcp -x (XID) -U --catalog=mill /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

Regards
Giovanni
  • Krimbles13
  • Krimbles13
06 Apr 2025 19:20 - 06 Apr 2025 19:41

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Done that already and the thing i don't understand is, there is a current on the VS(24V) and the VIO(5V) pin of each driver but it still fails on the boot.
Also tried to use some TMC2209 v1.2 instead of the v1.3 i wanted but still no change.
  • gmouer
  • gmouer
06 Apr 2025 19:03 - 06 Apr 2025 19:54
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Tried standalone NativeCAM again after installing python3-lxml.     Terminal screen info attached in file 

Noticed inifile =N/A in terminal.    I think this is because I launched linuxcnc in terminal without specifying in some way thataxis sim is to be used.

Also tried launching Linuxcnc the normal way with axis sim selected.     There is a NativeCAM tab but still remains a empty tab




File Attachment:

File Name: stdAloneErrors.txt
File Size:1 KB
  • cakeslob
  • cakeslob
06 Apr 2025 18:55

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

ok good,
the octopus you need to have power on the 2 spots in the power rail, the motor power and the main power

the jumpers so the 2209, i think there should just be the 1 jumper
  • gmouer
  • gmouer
06 Apr 2025 18:46 - 06 Apr 2025 18:54
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

not positve about python3-lxml, I know I verified python3 was there from the fresh 2.9.4 install. I am going back into my shop right now to recheck this. Answer soon

Yes, I ran NativeCAM standalone from terminal, that was the "errorfile" I posted.
I have also ran it entering LCNC the normal way.
  • Giovanni
  • Giovanni
06 Apr 2025 18:31
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

I meant run NativeCAM standalone from terminal.

Yes, in step 9 there is an error. Excuse me.
No "aux_gladevcp", but "/usr/share/linuxcnc/gladevcp/", it has to be the same path referenced in step 3.

Watchng the error file you posted, it seems LinuxCNC can't load lxml module as a python module. Have you installed python3-lxml in your system?

Regards
Giovanni
  • irwinger
  • irwinger
06 Apr 2025 18:18 - 06 Apr 2025 18:39
Replied by irwinger on topic Spindle control not showing in Axis window...

Spindle control not showing in Axis window...

Category: Basic Configuration

Thanks you @tommylight - I was somewhat fearful that my response was offensive and it was by no means intended to be. @PCW pointed me to the HAL documentation (I didn't discover that part of the documentation myself because I was 'spindle' focused and not 'general hardware') which was still 'over my head' because (I think) it is written from an integrator's context/viewpoint.

EDIT:
Opened and browsed the 'Integrator Manual' you referenced. It's 342 pages in length... I think that competes with 'War and Peace' for 'longest book'. BUT! definitely where I should have been focused. That document will be on my desktop and as I have time - I will be reading it.

Thank you everyone for your hints and help - my 'voyage of discovery' has exited the rough waters of the storm (my system is yet again working) and I will be gracefully sailing smooth waters as I figure out how to implement 'auto-zero' for Z (not sure that's the correct term) and maybe even some custom G-code sequences for startup and shutdown.

Arden
  • Krimbles13
  • Krimbles13
06 Apr 2025 17:51

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Oh my god, thank you, it worked.
So I can get out of e-stop now, but my drivers are still not responding, but one thing at a time.
  • gmouer
  • gmouer
06 Apr 2025 17:39 - 06 Apr 2025 17:44
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Yes, I tried from the terminal,  same.... empty tab.    I posted the results in the terminal window in my previous post.  (errorfile.txt)

Also, I noticed in step 3 of the instructions aux_gladevcp is referenced but there is no such file  YET the verify instructions reference gladevcp  (no aux_)   aux_gladevcp is again referenced in step 9.

One other observation... step 3,  NativeCAM filder is copied into /gladevcp but later the ini file references the path as ncam,   there does not seem to be a ncam folder.     (my very old linuxcnc with nativecam has a ncam folder)
Displaying 17086 - 17100 out of 17647 results.
Time to create page: 0.553 seconds
Powered by Kunena Forum