Clear DROs and force operator to re-home after EStop

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Jimbo
Posts: 8
Joined: Sat Mar 30, 2019 4:28 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Clear DROs and force operator to re-home after EStop

Post by Jimbo »

Is there any way to request the CNC software to clear the DRO's (display dashes) and force the user to re-home the machine when an EStop condition has occurred. Like return to a state similar to the state the control is in on initial power up of the PC.
Since its open loop, if there is ever any reason for a drive hiccup, I think it would be nice to have the operator be required to re-home. My M15's retain the encoders with servos free, but with the Acorn, I'm concerned about drive faults, miscommunications or other drive issues that would cause the machine to be not in sync with the control.
I read a lot of posts, watched several videos, and poked around in the PLC but want able to discover a clear path, or if it was even possible without power cycling the PC which just seemed like a brute force solution to a simple idea.
Am I missing the obvious? Any thoughts, pointers, or constructive criticism would be appreciated.
Thank you
Jim
Attachments
report_0479B7EC5E7A-1204192713_2020-01-20_08-36-31.zip
(304.52 KiB) Downloaded 73 times
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Clear DROs and force operator to re-home after EStop

Post by cnckeith »

hello.
some easy options for you.

- Use the Reset Home button on the VCP to re run the home program therefore resetting the machine home position.

- or load the cncm.home program using F2 Load and run the program with cycle start.

- power cycle method... you don't have to power cycle the PC, just close CNC12, and power cycle Acorn then restart CNC12..CNC12 then asks for user to home the machine on startup of cnc12
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
Jimbo
Posts: 8
Joined: Sat Mar 30, 2019 4:28 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Clear DROs and force operator to re-home after EStop

Post by Jimbo »

Great, Thank you for the response.
So no way to get it to clear the DRO's and return to the CNC app entry point (or at least simulate that) programmatically with out power cycling something? Id like to create a fail-safe condition. You have some great recommendations. I believe all of them require the operator being responsible enough to know that if an EStop happened, they have to go thru the re-home procedure. I was hoping to force them/me to do it somehow.
Drivefault seems to force an EStop toggle but no mention of homing. I would like to squeeze in a home required step after clearing the EStop. Otherwise how do I know the drives didn't move on their own without some sort of feedback if resetting EStop just picks up where it left off?
--If drivefault then must rehome.
On a closed loop not rehoming seems ok after a drive fault cleared but on an open loop to me it seems like it should be a requirement...
Is my thinking wrong?
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Clear DROs and force operator to re-home after EStop

Post by cnckeith »

with open loop system it is common to rehome much more often than a closed loop system, that is why the button "Reset Home" is on the VCP for open loop systems and not for closed loop systems.
running Acorn in a hybrid closed loop configuration drastically reduces the amount that a user has to re home the machine and goes a long way in eliminating lost steps so that is the number one recommended method of using an Acorn CNC controller. (with AC brushless motors and drives or will closed loop stepper motors and drives)
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
Jimbo
Posts: 8
Joined: Sat Mar 30, 2019 4:28 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Clear DROs and force operator to re-home after EStop

Post by Jimbo »

I agree, and my goal is not to eliminate lost steps in the typical sense of the words. I am using a hybrid closed loop system and its highly effective. But when the drive faults or EStop is pressed the motors can free wheel so home is essentially lost. I was simply looking for a way to prevent running a program or setting a zero until it had been re-homed. Just seems like if the software knows a drive has faulted and knowing its running is an open loop system, that it should call for a re-home at that point and I was trying to emulate that (create a comfort zone). But I understand that's just my thinking. Not trying to be critical or confrontational, just curious if there was some way I could do it.
Thanks for your feedback!
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Clear DROs and force operator to re-home after EStop

Post by cnckeith »

alot of AC drives can continue to read the axis motor encoder position in an Estop condition then when drive power is returned and drive fault cleared the drive will correct the motor position if needed. it all depends on the make/model and how you have the axis drive wired and configured.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
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: Clear DROs and force operator to re-home after EStop

Post by martyscncgarage »

Jimbo wrote: Mon Jan 20, 2020 5:26 pm I agree, and my goal is not to eliminate lost steps in the typical sense of the words. I am using a hybrid closed loop system and its highly effective. But when the drive faults or EStop is pressed the motors can free wheel so home is essentially lost. I was simply looking for a way to prevent running a program or setting a zero until it had been re-homed. Just seems like if the software knows a drive has faulted and knowing its running is an open loop system, that it should call for a re-home at that point and I was trying to emulate that (create a comfort zone). But I understand that's just my thinking. Not trying to be critical or confrontational, just curious if there was some way I could do it.
Thanks for your feedback!
Describe the make and model of your drives please....
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Jimbo
Posts: 8
Joined: Sat Mar 30, 2019 4:28 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Clear DROs and force operator to re-home after EStop

Post by Jimbo »

That's good to know moving forward. Right now I am using Gecko 320 drives. (DC servo) They work good, but on error they just kill power to the drives and have no retention of the encoders.
Ive been thinking if its not possible to return to the startup screen then maybe just setting a flag and doing something like message the operator and disabling DoCycleStart or whichever until the flag is cleared by a homing. But I think I'll have to get my head a little bit farther around the PLC code before I can see if something like that is feasible. Everything works great, I just thought I could create a simple safeguard and was soliciting for clues.
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: Clear DROs and force operator to re-home after EStop

Post by martyscncgarage »

Yeah, you just have to train the operators...
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Clear DROs and force operator to re-home after EStop

Post by tblough »

Well, you could always put a NC relay on the power line leading to the PC and have the drive fault output trigger it.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Post Reply