martyscncgarage wrote: ↑Fri Jul 31, 2020 10:57 pm
Not terribly, it will select the DB25 or the Acorn header, signals go out both, one is inverted. If you are working you can leave it.
I am running, so I guess I will leave it if its ok this way.
martyscncgarage wrote: ↑Fri Jul 31, 2020 10:57 pm
Either change them in the Wizard to 1600 to match the drive or change the dipswitches on the drive to 2000 to match the steps per motor rev in Wizard axis config.
I have my dip switches set to 2000 on the drivers. I would like to use 2000. I have my axis configuration set to 2000.
it is confusing me becuase the wizard has two screens:
1: Primary system ->axis drive type
and
2: Axis -> configuration
that have conflicting data. When I bench tested, the wizard was different. I cant change any of the settings on Primary system ->axis drive type in the wizard.
Axis configuration is what matters for the 2000. Leave drive type alone, make sure 2000 is in axis config steps/motor rev.
THEN check that your axis movement is correct. FINE tune. DO NOT CHANGE the 2000 value. Change the OVERALL TURNS RATIO
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Ok so my confusion is now over.
Basically I just went through all the wizard settings as normal.
Then I created a custom axis drive type. Now all my settings match. I didnt realize the "create new" axis drive type was creating from settings you entered in the wizard.
I did have to make a few changes in the wizard after a new custom axis drive was set which was kind of weird, but its all operational now.
I dont know why I had such a hard time with that.
I was able to program the VFD tonight and get the spindle working. Looks like I am pretty much good to go. All I have left is my overall revs/inch ratio.
Marty, thank you kindly for the replies sir!
Attachments
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Glad to hear you are heading in the right direction.
Keep us posted with your progress.
Be sure to post overview, pictures and video of the machine doing its thing in the Success Stories Forum. Serves as inspiration to others!
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
I am trying to set my spindle speed gear ranges, or at least getting one range. I do not have a 1:1 ratio on my lathe (motor rpm to spindle rpm). So I need to set up a gear range.
I have changed parameter 65 and 66. Nothing happened. Is the current PLC already set up to accept a parameter and function without writing a macro as well? I looked at the macro m41, m42 and m43 and they are empty. Is there a sample macro written I can look at for m41, m42 m43??
EDIT:
I see in acorn_lathe_plc.src on lines 3513-3572 seems to handle this gear range selection. It seems comment delimited out? As in it wont function until I take the comment delimiter out??
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
You set them in the Wizard, Spindle sub-section.
You have high, medium and low range. Each selectable on VCP. Did you end up with a VFD? Is Acorn controlling it correctly?
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
I am using a VFD, yes.
I have set the med range in the wizard.
At first I was just using arbitrary numbers to see if it was working. I never got it controlling the rpm correctly.
Today I took apart the head stock and counted up all the gears for every gear range the lathe has.
As an example:
my motor turns at 1720rpm
The spindle turns at 460rpm
The gears for this range are: 21T->51T->53T->37T
How I put the ratio in acorn wizard mid range:
51/21 x 37/53 =
2.4285714286 x .6981132075=
1.6954177897....CNC12 wants the inverse of this?? 1/1.6954177897=
.5899 is what I put in the wizard for my mid range gear.
Is this the correct way to set up the gear range?
At this point my understanding is I select mid range on the VCP and in MDI I command m3 s200 I would get 200rpm at the spindle? (or very close to that rpm)...But I dont.
Im not really sure how to proceed here. Either I dont have the correct understanding on how to calculate the gear range, or something is not correct with my VFD. But my vfd seems to be functioning correctly when I command m3 sxxx in MDI.
I have searched this forum for gear range, parameter 65, 66, 67, spindle speed etc. A few threads do show up, but do not contain any information useful to my case.
I believe each range is a percentage of the high speed.
For example, if your spindle speed in high was 1000rpm
and your mid range was 500rpm, then the value would be .5
If your low speed was 250, then the value for low speed would be .25
So you have to calculate the percentage of the 3 speeds you want to use, with Spindle HIGH speed defaults to 1 and no change necessary(nor is there a place for 1) in Wizard spindle subsection.
I hope this helps. Try it and let us know how it goes.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
I couldnt get any m3sxxx command to get even close to actual spindle rpm.
So I got out a photo-tach and put it on the spindle motor....found my problem.
My VFD max analog freq was 200, I set it to 60 and things started looking much better.
I could not get a percentage to work for my mid or low range input values. However dividing motor rpm by spindle rpm was almost spot on. (im talking 3 decimal places)
Thank you again for any help, it is very nice to be able to come to this forum and get help or a second set of eyes when needed!!
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
I've started getting glitches, sometimes bad!
I think I need to move my stepper controls to the db25 header.
Can someone explain the connection to me plz?
the db25 connection has:
output
input
step
direction
Here is my current setup:
On H2 of acorn board:
H2->step1 to stepper driver pulse -
H2->Direction1 to stepper driver direction -
H2->Enable1 to stepper driver Enable-
H2->common to common terminal in control box
How to move the above setup to a db25 breakout board?
Thanks for the help.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)