Spindel problems in Gmoccapy

  • tecno
  • tecno's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
01 May 2017 17:49 #92468 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
moved unused files, still no go

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

  • tecno
  • tecno's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
01 May 2017 17:57 #92469 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy


Tried to see if LED would work, error message

Commented out command, no difference.
Attachments:

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

More
01 May 2017 18:24 #92473 by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
You need "halcmd" before the HAL commands.

Close LinuxCNC, then re-start it with the "linuxcnc" command from the terminal. We should be able to see what the error is.

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

  • tecno
  • tecno's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
01 May 2017 18:32 #92474 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
oops... halcmd

Will do this tomorrow starting linuxcnc from terminal.
Now I have pain in my leg so I have to rest.

cheers
Bengt

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

  • tecno
  • tecno's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 May 2017 08:37 - 02 May 2017 08:39 #92496 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Obviously postgui.hal is not loaded at start.

File Attachment:

File Name: andy2.txt
File Size:1 KB


File Attachment:

File Name: Blomqvist_...5-02.ini
File Size:2 KB
Attachments:
Last edit: 02 May 2017 08:39 by tecno.

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

More
02 May 2017 09:37 #92498 by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
Well, that is certainly interesting...

And I think is 100% explained by the fact that your POSTGUI_HAL_FILE entry is in the [DISPLAY} section and not in the [HAL] section where it belongs.

I think moving that line will fix the problem. Sorry that it took so long to spot that.

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

  • tecno
  • tecno's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 May 2017 09:45 #92499 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy


No go still
Attachments:

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

More
02 May 2017 09:51 #92500 by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
At least the file is being called now, that's progress.

Do you have it as a HALFILE or a POSTGUI_HALFILE ?

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

  • tecno
  • tecno's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 May 2017 10:04 #92501 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
POSTGUI_HALFILE solved this problem.

Thank you very much for helping me out here.


Next problem in line is that I need to get M3 to run spindle CCW as in a normal lathe with front tooling.
Or just leave it as is and try to fix all upcoming posted G-code with M4 even if that feels very backwards for me
as I am used to M3.

Any suggestions on how to solve this?

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

More
02 May 2017 10:26 #92503 by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
Can you post your current spindle.hal file? I think we probably just need to invert one of the pins.

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

Moderators: newbynobiHansU
Time to create page: 0.111 seconds
Powered by Kunena Forum