× Forum Header

Spindle configuration

More
15 May 2026 13:06 - 15 May 2026 13:23 #346412 by Szymik
Spindle configuration was created by Szymik
Hello,

few days ago my laptop died so i have to get a new one to run LinuxCNC with my CNC
8 years ago i bought a 6040z cnc router which had a manual how to set everything up. So after this 8 years i remember nothing and i figure out everything with google. I have set up my station, connected all. My XYZ axis are working and running correctly. But i have a problem with a spindle. While i power the machine it starts to spin immediately. I cannot figure out how to set the spindle control. Tried some result posted on internet but they seem to not work with my station

CNC 6040z
JP-845 board inside
LinuxCNC 2.9.8

If someone can guide me to something or point where to check some information i would be very grateful.

Setup of pinout:
1 - Spindle ON
2 - X Step
3 - X Dir
4 - Y Step
5 - Y Dir
6 - Z Step
7 - Z Dir
8 - A Step
9 - A Dir
10 - ESTOP?
11,12,13 - should be end switched but i dont know which option to choose
14 - ?
15 - ?
16 - ?
17 - Spindle PWM


When i power on the powerunit, spindle does not start. When i open AXIS on LinuxCNC, spindle starts and then goes forever. Closing program changes nothing
Attachments:
Last edit: 15 May 2026 13:23 by Szymik. Reason: Added pinout of my machine

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
16 May 2026 14:22 #346432 by tommylight
Replied by tommylight on topic Spindle configuration

Hello,

few days ago my laptop died

Does the hard drive still work?
If yes, yank it out and put it in the new PC, it should work without installing anything and the machine should work as before.
If the install has failed, you can use a USB stick with any Live Linux to read the existing config and copy it to another USB, then to the new PC.
Or just check what pin setup you had there.

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

More
17 May 2026 15:41 #346462 by Szymik
Replied by Szymik on topic Spindle configuration
Unfortunately HDD is dead. A colegue of mine will bring a laptop he was using with simillar machine but on Windows+Mach setup, maybe i will get some info from there

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

Time to create page: 0.274 seconds
Powered by Kunena Forum