retrofit Bridgeport Prototrak Plus

More
21 Jun 2016 16:42 #76356 by new2linux
There is no vfd,full manual spindle control.


Many thanks, Andy!

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

More
21 Jun 2016 17:08 #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.
The following user(s) said Thank You: new2linux

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

More
21 Jun 2016 17:57 #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 or Create an account to join the conversation.

More
21 Jun 2016 20:21 - 21 Jun 2016 20:28 #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?
Last edit: 21 Jun 2016 20:28 by Todd Zuercher.
The following user(s) said Thank You: new2linux

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

More
21 Jun 2016 22:51 - 21 Jun 2016 22:56 #76375 by new2linux

File Attachment:

File Name: 02error.txt
File Size:52 KB


File Attachment:

File Name: hal.txt
File Size:9 KB


File Attachment:

File Name: ini.txt
File Size:3 KB




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.
Attachments:
Last edit: 21 Jun 2016 22:56 by new2linux.

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

More
21 Jun 2016 22:55 #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.
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
The following user(s) said Thank You: new2linux

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

More
21 Jun 2016 23:05 - 21 Jun 2016 23:19 #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.
Last edit: 21 Jun 2016 23:19 by new2linux.

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

More
21 Jun 2016 23:32 #76378 by andypugh
I think you will find the VFD HAL file called up in the postgui call list HAL file.
The following user(s) said Thank You: new2linux

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

More
21 Jun 2016 23:47 - 21 Jun 2016 23:54 #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!
Last edit: 21 Jun 2016 23:54 by new2linux.

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

More
22 Jun 2016 00:07 - 22 Jun 2016 11:59 #76381 by new2linux



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!
Attachments:
Last edit: 22 Jun 2016 11:59 by new2linux.

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

Moderators: piasdom
Time to create page: 0.159 seconds
Powered by Kunena Forum