- Posts: 25
- Thank you received: 4
(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
1 year 1 month ago - 1 year 1 month ago #335507
by kb58
Replied by kb58 on topic (Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
No change.
How do I access and view syslog?
How do I access and view syslog?
Last edit: 1 year 1 month ago by kb58.
Please Log in or Create an account to join the conversation.
1 year 1 month ago - 1 year 1 month ago #335513
by kb58
Replied by kb58 on topic (Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
I checked the link you provided and find the note on page 16 interesting: "... This index 0x2001 only works on ECR60. If you change it on ECT60, please find index 0x2020..."
The developer of my code intended it to be loaded into an ECT60 (closed loop) driver and configured it for an open loop stepper. Given the above statement (if true), it's odd that he sets up register 2001 but not register 2020.
<sdoConfig idx="2001" subIdx="0"> <!-- segmentation/resolution for open loop -->
<sdoDataRaw data="40 9C" /> <!-- 40000 counts/rev -->
"For fun", I tried adding this back into ethercat-config.xml, but the error condition remains.
I looked into downloading the package onto my Windows PC but it's unclear which download to use. They have quite a few and the link just goes to their front page, not to a specific download screen. To be honest, I don't hold out much hope that dropping it in place of my config file will make it work, but as you alluded to, perhaps it contains something the manual left out. Anyway, their comment above makes me wonder all the more whether there is key documentation missing from the User Manual regarding differences between the ECR and ECT drivers... sigh.
The developer of my code intended it to be loaded into an ECT60 (closed loop) driver and configured it for an open loop stepper. Given the above statement (if true), it's odd that he sets up register 2001 but not register 2020.
<sdoConfig idx="2001" subIdx="0"> <!-- segmentation/resolution for open loop -->
<sdoDataRaw data="40 9C" /> <!-- 40000 counts/rev -->
"For fun", I tried adding this back into ethercat-config.xml, but the error condition remains.
I looked into downloading the package onto my Windows PC but it's unclear which download to use. They have quite a few and the link just goes to their front page, not to a specific download screen. To be honest, I don't hold out much hope that dropping it in place of my config file will make it work, but as you alluded to, perhaps it contains something the manual left out. Anyway, their comment above makes me wonder all the more whether there is key documentation missing from the User Manual regarding differences between the ECR and ECT drivers... sigh.
Last edit: 1 year 1 month ago by kb58.
Please Log in or Create an account to join the conversation.
1 year 1 month ago - 1 year 1 month ago #335607
by Hakan
Replied by Hakan on topic (Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
It's the Twincat XAE to download.
You also tried to reset to factory defaults?
Also doing "ethercat rescan" won't hurt, might help.
You also tried to reset to factory defaults?
Also doing "ethercat rescan" won't hurt, might help.
Last edit: 1 year 1 month ago by Hakan.
Please Log in or Create an account to join the conversation.
1 year 1 month ago - 1 year 1 month ago #335626
by kb58
Replied by kb58 on topic (Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
I don't know the syntax for writing a line of code that causes a factory reset.
I'll try downloading the XAE code and print out the config file to see if there's anything different.
I'll also try "ethercat rescan", thanks.
Just to prolong the drama a bit, the Amazon seller of the ECT60 drive reported that a week-long national holiday is coming up, so they won't be able to ship the drivers until they return - and cancelled my order. Perhaps this is the universe telling me to keep working on the ECR drivers...
I'll try downloading the XAE code and print out the config file to see if there's anything different.
I'll also try "ethercat rescan", thanks.
Just to prolong the drama a bit, the Amazon seller of the ECT60 drive reported that a week-long national holiday is coming up, so they won't be able to ship the drivers until they return - and cancelled my order. Perhaps this is the universe telling me to keep working on the ECR drivers...
Last edit: 1 year 1 month ago by kb58.
Please Log in or Create an account to join the conversation.
1 year 1 month ago - 1 year 1 month ago #335633
by kb58
Replied by kb58 on topic (Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
Installed the TwinCAT app. Good lord, it's an entire development package and I'm clueless about where to start. I was hoping that it would have "add device" and to specify how it acts, then it generates config code. Maybe it can but I have no idea how to do so.
Also, started LinuxCNC and in a terminal window, commanded "ethercat rescan." No change in status.
Also, started LinuxCNC and in a terminal window, commanded "ethercat rescan." No change in status.
Last edit: 1 year 1 month ago by kb58.
Please Log in or Create an account to join the conversation.
1 year 1 month ago - 1 year 1 month ago #335674
by kb58
Replied by kb58 on topic (Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60
The developer took pity on me and sent a stripped down version of his initialization code. It fails in exactly the same way. Maybe I'm doing something really fundamentally wrong, except that since the arc generator boots up successfully to OP makes me again suspect that the ECT and ECR models differ in some way not documented. This could explain why the developer - who know the system and code inside and out - can't get it working either...
Oh, as a sanity check, I swapped in a brand new ECR unit that's never been run - same issue.
Is there any way to request the error code from the slave via a Geany terminal, to have the system tell me why it's unhappy?
Oh, as a sanity check, I swapped in a brand new ECR unit that's never been run - same issue.
Is there any way to request the error code from the slave via a Geany terminal, to have the system tell me why it's unhappy?
Last edit: 1 year 1 month ago by kb58.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds