CiA 402 in 1.15.0

More
2 years 8 months ago - 2 years 8 months ago #293539 by scottlaird
Replied by scottlaird on topic CiA 402 in 1.15.0
Minor update: I think there's actually a hardware issue here with my ECT60's I/O ports. At a minimum, I can't find the "COM+" wire, which I assume is supposed to have +24V. My multimeter measures 0V to ground on all 8 pins of the I/O connector. I should have a replacement in hand :before too long, as well as a few other CiA 402 devices for testing.
  • RTelligent ECT60
  • RTelligent ECR60x2 (2x open loop stepper drive)
  • RTelligent DRV400E brushless motor, er, "DC stepper" drive
  • Omron MX2 (VFD)
  • Rovix ESD-A6 (6-axis 24V stepper drive)
  • Leadshine 2CS3E-D507 (2x closed loop stepper drive)
If I'm reading the specs right, the DRV400E actually looks kind of interesting because it supports `tq` and `cst` modes. I think that'll give me hardware on hand that covers pretty much the full set of CiA 402 modes, with 1, 2, or 6 axes.

The ECR60x2 is cheap enough that it might be a reasonable option for anyone that wants multiple open-loop steppers. It (allegedly) does 2 channels of steppers for around $130 US. There are closed loop (ECT60x2) and higher-power (ECR86x2) models on some of their websites, but they don't seem to actually be shipping.

At this point, I have code that includes pins for nearly all of the optional CiA 402 objects supported in pp, pv, csv, csp, or hm modes.  I still  have tq, cst, and vl to go, plus some of the generic gear ratio/e-gear/etc modparams and some documentation.  Oh, plus the PDO mapping code is really broken for multi-axis devices, *and* will probably overflow the number of mapped PDO entries allowed on at least some devices.

Once I make it through these, I can start looking at AC servos and The Dreaded Yaskawa Problem.
 
Last edit: 2 years 8 months ago by scottlaird.
The following user(s) said Thank You: besriworld, RDA, DSS

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293576 by rodw
Replied by rodw on topic CiA 402 in 1.15.0
The pinout for the ECT60 I/O is on the side of the drive. You loose the diagram once you squeeze your controllers into  a control panel :)
 

They are NPN type so an input is fired if connected to ground (0V if you must)
So yes, all pins will be 0 volts
Comm +  has a brown wire, 
Comm - has a Green wire.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293851 by RDA
Replied by RDA on topic CiA 402 in 1.15.0
Just give a heads up with the Yaskawa stuff if you ever get to that point. I dont think you need to start spending big bucks on buying the stuff just to test.
Im sure we can work something out from the HW side.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293856 by scottlaird
Replied by scottlaird on topic CiA 402 in 1.15.0
Thanks! I'll probably take you up on that at some point in late March or early April. I'm going to be travelling about half of March, so I don't want to plan anything new between now and then.

I should have a Leadshine 2-axis controller in my hands late this week, and I *think* I have all of the parts needed for the Rovix ESD-A6 now (plus 5 very cheap steppers), so I can probably make some progress on those soon.

The Omron MX2 EtherCAT controller is somewhere between Australia and the US now, and the replacement RTelligent driver is somewhere in China, so there's no shortage of pending hardware right now ;-).
The following user(s) said Thank You: DSS

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #308231 by AndyDM01
Replied by AndyDM01 on topic CiA 402 in 1.15.0
I saw that the ECR60 and ECR86 share the same software.
but when i enter type="ECR60" or "ECR86" ... I only get error messages
I have to do something else ?
maybe you can share some more info how to get stuff working ?

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #308242 by scottlaird
Replied by scottlaird on topic CiA 402 in 1.15.0
What does your .xml file look like?

I have some working tests in github.com/linuxcnc-ethercat/linuxcnc-et...test1/cia402-all.xml ; those should work with recent LCEC builds.
The following user(s) said Thank You: AndyDM01

Please Log in or Create an account to join the conversation.

Time to create page: 0.411 seconds
Powered by Kunena Forum