Setting soft limits

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

neowalla
Posts: 51
Joined: Sun Feb 21, 2021 5:06 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F8DF80-0217212488
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Windsor, Ontario Canada
Contact:

Setting soft limits

Post by neowalla »

Hi everyone, I just finished my Acorn upgrade from a Richauto controller on my Omni 1212 CNC router. I'm having a problem with setting the soft travel limit.
My CNC's travel limits are 1200mm X and 1200mm Y (about 4 feet by 4 feet).
When I installed CNC12 I specified millimetres in the installation setup wizard.
In the CNC12 wizard I set the X and Y positive travel to 1200. The machine is set to home automatically to the limit switches.
I ran a test cut yesterday and the Y axis crashed. Today I homed the machine (all axes read 0 on the DRO) and slowly moved the Y axis to the end of its travel, but the DRO only reads +383.283. Any ideas? I'm sure it's something simple that I missed somewhere.
As a side question, I also have a rotating 4th axis. It has its own limit switch and will home to that. Do I need to set a soft limit on a rotating axis? Obviously there is nothing for it to crash into. I'm just wondering does leaving that axis blank in the soft limit section of the wizard mess up anything with the other axes?
Attachments
Screenshot 2021-04-01 092339.png
report_E415F6F8DF80-0217212488_2021-04-01_09-24-03.zip
(688.2 KiB) Downloaded 78 times
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Setting soft limits

Post by martyscncgarage »

You don't provide any details about the machine
Like what axis drives/motors are you using. What the they set to?

You show in your report you have the machine set to 3200 steps per motor revolution. Are your drives (dip switches??) set to this?
Are your motors direct driving your machine?? Or do you have belt reduction?

The motor steps per rev and the overall reduction needs to be configured correctly and THEN you verify the machine is moving the commanded distances.

Please review the two attached documents for tuning the DRO's (BUT ONLY after you have your drives configured properly, they and the motor steps per rev must match in the Wizard Axis config)

Please take the time to follow this post: viewtopic.php?f=60&t=1043

You also have some PC/MPU resends in your error log. F7 Utility, F9 Logs, F1 Errors. Could be a noise issue or PC ethernet issue...

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
neowalla
Posts: 51
Joined: Sun Feb 21, 2021 5:06 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F8DF80-0217212488
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Windsor, Ontario Canada
Contact:

Re: Setting soft limits

Post by neowalla »

Ok it sounds like I need to work on the drives.
Stepper drivers: Yako YKD2608MH
Steppers: Nema 34
Direct drive, no belts. I never made any changes to the dip switches on the Yako drivers. They are as set at the factory. I'm not able to pull up much information on the motors themselves. I googled the part number shown in the attached photo and was able to learn they are Nema 34 motors. Beyond that, not much.
Regarding the resend errors: I am going to buy a shorter shielded ethernet cable. I have my PC mounted to the back of the electrics cabinet and I only need about a 3 footer. Right now the excess is coiled up inside the cabinet. I used shielded cables to connect the VFD to the Acorn and grounded the drains to the steel backboard. The other wiring going to the drivers, limit switches, etc is the existing wiring though I did need to extend some of them with crimped on butt connectors.

https://photos.app.goo.gl/bktddYijDqCwPPFr6
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Setting soft limits

Post by martyscncgarage »

Forgot the Coarse and Fine Tuning DRO documents.
YES! You need to set your drives correctly first.
Attachments
Centroid Fine DRO Adjustment.pdf
(459.51 KiB) Downloaded 104 times
Centroid Coarse DRO Adjustment.pdf
(162.82 KiB) Downloaded 129 times
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Setting soft limits

Post by martyscncgarage »

Here is the manual. Look in the upper right corner for Microstep settings
https://5.imimg.com/data5/MY/JY/MY-6234 ... 2608mh.pdf
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
neowalla
Posts: 51
Joined: Sun Feb 21, 2021 5:06 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F8DF80-0217212488
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Windsor, Ontario Canada
Contact:

Re: Setting soft limits

Post by neowalla »

awesome! You're the best, Marty! I found the manufacturer of the stepper motors, Changzhou Fulling Motor. I can contact them if I need more information about the motors themselves. I'm going to dive into these documents you linked to.
ShawnM
Posts: 2224
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Setting soft limits

Post by ShawnM »

Marty noted that the software is set to 3200 steps per rev but the drives appear to be set to 2000 steps per as shown in your photos. You can either change the setting in the wizard to be 2000 to match the drives or as Marty stated change the DIP switches on the drive for number 5,6,7,& 8 so they match the software. If the machine ran fine before just change the wizard to 2000 steps per.
neowalla
Posts: 51
Joined: Sun Feb 21, 2021 5:06 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F8DF80-0217212488
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Windsor, Ontario Canada
Contact:

Re: Setting soft limits

Post by neowalla »

I'm a little confused by the Yako manual. The current configuration of the dip switches on my drivers are;
1 ON
2 ON
3 OFF
4 OFF
5 Off
6 ON
7 ON
8 OFF
9 OFF
According the chart in the manual this configuration yields 2000 "PU/REV" which I'm guessing means pulses per revolution? Switch 9 is not even in that chart so I guess its superfluous.
I found from experimentation that setting the motors to 1000 steps per rev gives the correct distance of travel. This doesn't seem to jive with the Yako manual, but nevertheless I get 1200mm at full travel on X & Y from home which is what it is supposed to be so I guess I will leave well enough alone.
Following the course DRO guide, the commanded distance equals the measured distance as measured by a tape measure.
For the fine adjustment, I do not have gauge blocks but I have a "One Way Multigauge" for setting jointer knives. I set it up as shown in the photo.
In running a couple test files I have another issue with the touch-off puck and Z axis zeroing but I will post it separately.
Attachments
20210401_150348.jpg
ShawnM
Posts: 2224
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Setting soft limits

Post by ShawnM »

Maybe you missed my previous post. You should leave the drives alone and just change the setting in the wizard. SW9 is "reserved" as stated in the manual that Marty posted.
Last edited by ShawnM on Sat Apr 03, 2021 11:47 am, edited 1 time in total.
neowalla
Posts: 51
Joined: Sun Feb 21, 2021 5:06 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F8DF80-0217212488
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Windsor, Ontario Canada
Contact:

Re: Setting soft limits

Post by neowalla »

I didn't touch the switches on the drives. They worked fine with the Richauto. I changed the steps to 1000 in the wizard and that gave me the correct distance of travel (1200mm) it was just trial and error. The Yako manual didn't help, unfortunately.
Post Reply