retrofit Bridgeport Prototrak Plus

More
10 years 4 months ago #76356 by new2linux
There is no vfd,full manual spindle control.


Many thanks, Andy!

Please Log in to join the conversation.

More
10 years 4 months ago #76358 by Todd Zuercher
If you do not have a VFD to connect, and Linuxcnc, is not controlling the spindle or receiving a spindle encoder signal, you should remove or comment out all that stuff.
I think the modbus stuff for the non-existent VFD would be found in your postgui_call_list.hal file.

Please Log in to join the conversation.

More
10 years 4 months ago #76363 by new2linux
When you say all, I take that as everything in that section after the:

#****************************
# it used to say spindle s here!


all the way down to here!

#****************************
# connect miscellaneous signals

Is this correct?


Many thanks

Please Log in to join the conversation.

More
10 years 4 months ago #76368 by Todd Zuercher
Uh, maybe, not all of it. That section of code isn't setting any errors, (at least not now).

Your last error is in the post gui file (or maybe your custom.hal file). Could you post those files?

Please Log in to join the conversation.

More
10 years 4 months ago #76375 by new2linux

Attachment not found



Attachment not found



Attachment not found





Andy, I have deleted the spindle area of the ini file. Attached are the files and current errors.

Many thanks!

Edit: I see the ini file still has some code about the spindle (referencing SPINDLE_9) not deleted.

Please Log in to join the conversation.

More
10 years 4 months ago #76376 by andypugh
You are still calling a HAL fie somewhere called mitsub_vfd.hal which is trying to run a GS2 VFD.

Look: It says exactly that in the error message.
Code:
failed to set register P0x0101 to 0x0064 (100): Connection timed out mitsub_vfd.hal:12: waitpid failed gs2_vfd spindle-vfd mitsub_vfd.hal:12: gs2_vfd exited without becoming ready

Please Log in to join the conversation.

More
10 years 4 months ago #76377 by new2linux
I am looking for the exact " mitsub_vfd.hal " or " gs2_vfd spindle-vfd " in the ini file correct?


thanks

Edit: there is reference to an over ride speed under the display area of ini file.

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif

and at the end

#********************
# Spindle
#********************
[SPINDLE_9]
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 2000

Edit 2nd time: it apparent to me the only place the spindle is referenced is at [SPINDLE_9]; I say edit to "0". Just a guess and nothing left to pick from.

Please Log in to join the conversation.

More
10 years 4 months ago #76378 by andypugh
I think you will find the VFD HAL file called up in the postgui call list HAL file.

Please Log in to join the conversation.

More
10 years 4 months ago #76379 by new2linux
Andy, Thank You, For your thoughts. I have found the files in question, should I delete the "source mitsub_vfd.hal" and leave the only other file "source custom_postgui.hal" alone?


EDIT: I have just deleted the 1st line of code and asis.ngc is up!! many thanks!!

many thanks!

Please Log in to join the conversation.

More
10 years 4 months ago #76381 by new2linux

Attachment not found




Many thanks for all the help, and thanks to the forum to allow this type of learning experience to happen. Please take notice the DRO works!

Please Log in to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum