Regular occurrence of Drive3 fault

All things ecat Hickory CNC controller

Moderator: cnckeith

Post Reply
danieldejager
Posts: 5
Joined: Tue Jul 09, 2024 2:47 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 008DC111213-0308240132
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Regular occurrence of Drive3 fault

Post by danieldejager »

Hi, i'm hoping that someone can shed some light on an occasional issue I keep seeing with my setup.
Sometimes when starting up, I get a Drive3 fault, and the only way to solve it is to just shut everything down and restart.
I also have an issue where if I use the ESTOP, I get into a similar state.
Toggling the VCP RESET seems to clear it, but the moment I try to get the drives to power up, the system halt with a Drive 3 fault.
I have replaced cables, and IIRC I think I've also swapped the order of the drives, and it's always DRIVE3. I can look at the drive's logs with Motion Studio and nothing shows up.
This is the last thing to button up before calling this build complete.
 
Components used:
  • Hickory
  • WMPG-6
  • 3x Leadshine EL7-750EC Drives
  • 3x Leadshine ELM2H-0750LA80F Axis Motors
  • LENOVO_MT_10MY_BU_Think_FM_ThinkCentre M910x
    • Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz 3.31 GHz
    • 16GB Ram
    • 512GB SATA SSD
    • Win 10
    • CNC12 5.10
Build Post: viewtopic.php?f=57&t=10526
Attachments
Screenshot of Fault
Screenshot of Fault
Dan's mill.drawio (1).pdf
Mill Schematic
(185.27 KiB) Downloaded 19 times
report_0008DC111213-0308240132_2024-08-19_16-07-09.zip
(991.75 KiB) Downloaded 8 times


centroid467
Posts: 780
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Regular occurrence of Drive3 fault

Post by centroid467 »

Hello,
That looks like a nice build! Thank you for the schematics and report. I believe we have run into this before and came up with a fix but it is not in TB323 yet.

Please upgrade to the latest release version of CNC12 and set CNC12 parameter 365 to 250. This will set a delay to make the system start up more reliably.


danieldejager
Posts: 5
Joined: Tue Jul 09, 2024 2:47 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 008DC111213-0308240132
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Regular occurrence of Drive3 fault

Post by danieldejager »

I am already on 5.10 and it seems to be the latest version available here: https://www.centroidcnc.com/centroid_di ... loads.html
Is this the right place to be looking?

Parameter 365 was already set to 250, so I bumped it up to 750.
The problem still shows up, though maybe less frequent.


centroid467
Posts: 780
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Regular occurrence of Drive3 fault

Post by centroid467 »

danieldejager wrote: Tue Oct 22, 2024 3:49 pm I am already on 5.10 and it seems to be the latest version available here: https://www.centroidcnc.com/centroid_di ... loads.html
Is this the right place to be looking?

Parameter 365 was already set to 250, so I bumped it up to 750.
The problem still shows up, though maybe less frequent.
Hello Daniel,

I believe your issue will be resolved by some changes to Hickory firmware that were made in CNC12 V5.20 which we are aiming to release very soon. You can also use the latest RC build as posted by Keith in this thread viewtopic.php?f=67&t=10491.

The firmware changes fix some communication timing issues that appeared with certain drives when they are in the third position in the chain.


cnckeith
Site Admin
Posts: 8879
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: Regular occurrence of Drive3 fault

Post by cnckeith »

centroid467 wrote: Tue Oct 22, 2024 4:57 pm
danieldejager wrote: Tue Oct 22, 2024 3:49 pm I am already on 5.10 and it seems to be the latest version available here: https://www.centroidcnc.com/centroid_di ... loads.html
Is this the right place to be looking?

Parameter 365 was already set to 250, so I bumped it up to 750.
The problem still shows up, though maybe less frequent.
Hello Daniel,

I believe your issue will be resolved by some changes to Hickory firmware that were made in CNC12 V5.20 which we are aiming to release very soon. You can also use the latest RC build as posted by Keith in this thread viewtopic.php?f=67&t=10491.

The firmware changes fix some communication timing issues that appeared with certain drives when they are in the third position in the chain.
v5.20 has been released.
https://www.centroidcnc.com/centroid_di ... loads.html
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


danieldejager
Posts: 5
Joined: Tue Jul 09, 2024 2:47 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: 008DC111213-0308240132
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Regular occurrence of Drive3 fault

Post by danieldejager »

I've tried both of the updates since the last post here, to no avail.

I started thinking about it, and I was wondering if there's some weird race condition between the PLC and the drives' STO state that is getting things in a tizzy, so I bypassed the STO system, and things seem to be working correctly now.
Though, as I'm writing this, I am also recalling that I am running a custom PLC program, so I am questioning if the software updates actually applied as expected.


centroid467
Posts: 780
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Regular occurrence of Drive3 fault

Post by centroid467 »

danieldejager wrote: Sun Mar 02, 2025 6:06 pm I've tried both of the updates since the last post here, to no avail.

I started thinking about it, and I was wondering if there's some weird race condition between the PLC and the drives' STO state that is getting things in a tizzy, so I bypassed the STO system, and things seem to be working correctly now.
Though, as I'm writing this, I am also recalling that I am running a custom PLC program, so I am questioning if the software updates actually applied as expected.
At first I thought a custom PLC would have some effect on the enable delay parameter (P365) but then I remembered that delay is handled in the DSP itself rather than the PLC. So, I do not believe your custom PLC is the issue unless something was written very wrong.

A weird race condition sounds possible - the delay was an attempt to account for the time it takes for the drives to change state from off due to STO to active and ready to run. The 5.20 update should have brought in a fix that improved the communications synchronization specifically with the third drive in the chain.

You can verify that it took by looking at the date on the file "MPU12.hex" in your CNCM directory and comparing it with when you installed that software version.


eng199
Posts: 445
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: Yes
Hickory CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Howard, PA

Re: Regular occurrence of Drive3 fault

Post by eng199 »

For Leadshine, p981 delay is needed.

Check for a line like this in the PLC:
IF SV_MACHINE_PARAMETER_981 > 0 THEN MasterEnableDelay_T = SV_MACHINE_PARAMETER_981

If this has been dropped from the custom PLC, copy over the MasterEnableDelay_T related changes from the default HICKORY PLC.


Post Reply