Page 3 of 14

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Thu Feb 27, 2025 5:33 pm
by KreiderMachine
Update time.

Mill is wired and powers on without blue smoke.

I have begun the setup and configuration process, but have had to take it a bit out of order while Leadshine sends me batteries for axis encoder cables.

I have worked through parameter setup according to the installation guide, and have entered all known inputs and outputs.

Outstanding issues in need of resolution as of this moment:

1. I was unsure of probe pin input configuration and so skipped that in the wizard

2. I have a spindle encoder quadrature error (#455). Not sure if my encoder is incompatible, configured incorrectly, or wired wrongly. Photo attached of encoder and motor. Currently inverter and hickory are set for 1024p/r and 3600rpm max speed.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Thu Feb 27, 2025 5:47 pm
by tblough
If you did not change the encoder's wiring in the DE9 connector to match Centroid's standard, then that is probably the source of tour error.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 9:22 am
by KreiderMachine
Tom,

I am upgrading from an older Centroid control and have verified that the db9 pinout matches between the old schematic and new.

-H

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 10:58 am
by centroid467
After some thought, do you have Parameter 35 set to 1024 or 4096? I'm not entirely sure that would produce a quadrature error but it is a common enough mistake. 4096 is likely the correct value to enter for this encoder.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 11:18 am
by KreiderMachine
Definitely set it to 1024. I'll try that, Thanks.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 11:23 am
by KreiderMachine
After getting the batteries installed in the encoder cables, I have been able to go through the tuning process for drives 1 and 2, but have been to clear the "Both STO Failed" error for drive 3. Wiring appears to be the same, and I have tried all the reset methods listed in TB323.

Anything else I could try?

Stepping away from Z-axis for the moment and I'll go look at the spindle encoder. Thanks for the input.

-H

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 12:40 pm
by KreiderMachine
Spindle encoder update:

Ok, I have identified connections from Sumtak connection guide for a similar encoder (couldn't find one for my exact model, but wire colors match, so I was confident enough to continue).

There is a splice in this harness near the spindle motor, that translate to the wire colors shown on the Centroid schematic.

According to this, A,B are switched in the db9 connector and A/, B/ are switched. Before I go to the trouble of re-soldering these connections, does this make sense as cause of the quadrature error? (setting the pulse/rev to 4096 didn't resolve the issue)

I only hesitate to resolder anything because it worked like this with the Servo4 that was removed.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 2:58 pm
by centroid467
I looked at the SERVO4 and HICKORY PCB schematics and they have the same pinout for the DB9 encoder inputs. So, theoretically, no wiring changes should be required if it was working with the SERVO4. I'll dig deeper and find out if there was anything on the firmware that flipped the A and B channels but I doubt it.

At this point, I would haul out the oscilloscope and see if the encoder is outputting the correct signals.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 3:14 pm
by KreiderMachine
Yeah, upon furthur inspection, the wiring for the DB9 was correct.

I don't have an oscilloscope. Any way of checking it with a multimeter?

Still stuck on the Z-axis error code as well. Might just hang it up for the day.

Re: Millport VMC1660 Centroid Upgrade (Leadshine EL7)

Posted: Wed Mar 05, 2025 3:29 pm
by centroid467
Regarding the Z axis, I would suggest making sure the wires are secure in the STO header plug. That is one of those push in types and it is possibly the wires aren't seated just right. Or, take out the wires and put the jumpers back in to see if it will clear at all.

With a multimeter... You could try measuring across the channels (A to /A) or from one side of the channel to common and very slowly turning the encoder to see if the voltage levels change. You wouldn't be able to see if the phasing is correct but you could at least verify the line drivers are doing their job.