Author Topic: Help! Communication works, but still SYS-X44 Ethercat Bus Error  (Read 320 times)

0 Members and 1 Guest are viewing this topic.

Offline SnakesNLadders

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
Help! Communication works, but still SYS-X44 Ethercat Bus Error
« on: November 01, 2018, 04:45:32 PM »
Hi Guys and Gals,

This is an existing, operating, kuka cell to which I need to add to. I have made an ethercat connection between the Kuka controller and my ipc, where the ipc has a Hilscher CIFX card. I have successfully made my code changes to the kuka, and deployed the hardware changes (eds, mapping), but now I get the posted error. The strange thing is, if, using the pendant,  I manually turn on the mapped output bit, my ipc receives the signal. And if, from my ipc, i turn on its output bit, the robot receives the signal. So why the error? The comms seem to be working, minus the error, which inhibits running any programs on the robot. All kuka has said is restart, re-install, re-configure, all to no success. If anyone has experienced a similar problem please help!

Specs:
KRC4 - 8.3.33
Hilscher CIFX RE/ECS v2.0


Offline SkyeFire

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 32
  • -Receive: 947
  • Posts: 6429
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #1 on: November 02, 2018, 12:48:44 PM »
What's an IPC?  Industrial PC?  I'm assuming that's the CIFX RE/ECS shown in the hardware tree.

If your ECat communications to that branch are working, then the error lies elsewhere in the SYSX-44 branch.  Is the EK1100 bus coupler, and the EL 16ch modules in place?  Are they working?

The last time I had an error like this, someone had added the EK and EL modules to the hardware tree, but they were not actually physically present.  The robot ran perfectly, aside from showing that error message.  I had to delete the entire SYSX-44 branch to eliminate the message.

Obviously, that's not an option for you, since you're using SYSX-44 for you PLC(?) communications.  But if the EK and EL modules are not actually on the bus, you need to delete them from the hardware tree.

If the EK and EL modules are physically on the bus, then you need to start checking them for errors.  Could be power, could be a physical disconnection, could be a short on an output, any number of things.

Offline panic mode

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 77
  • -Receive: 789
  • Posts: 4897
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #2 on: November 02, 2018, 01:46:37 PM »
What are the other messages?
What is the topology? Does it match connections EXACTLY? Is the mapping correct and matching image size?

1) http://www.robot-forum.com/robotforum/kuka-robot-forum/read-first/
2) if you want reply about robot, post it in forum
3) read 1 and 2

Offline SnakesNLadders

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #3 on: November 05, 2018, 12:27:46 AM »
SkyeFire
 
Yes, an industrial PC with the Hilscher ethercat card. The EK and EL modules were already in place and working. All I've added was the ipc. After I made my hardware changes in work visual and deployed it, is when I get the error, but with seemingly functional comms. If I remove my hardware changes, and use the original config, the error disappears.


panic mode

I believe the other message was a 'reset failed'. It was clear-able however. As for the topology, the ipc is connected to wire "A20-X1" in the image. So I believe it does match. The mapping seems to be correct bc I can see the bits turning on and off from robot to ipc and vise versa. But I am not sure about matching image size. I used the signal editor to only map the first bit of the input and output bytes, as that's all i need. Would I need to map all IO bits from the CIFX?

Offline SnakesNLadders

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #4 on: November 05, 2018, 12:37:35 AM »
images for previous reply.

Offline SnakesNLadders

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #5 on: November 07, 2018, 02:09:24 PM »
**Update

Start up order seems to be important.  Power up ipc (slave) first, then Kuka controller, then reset IO Drive, and then I get flawless comms. But it only works sometimes. Further investigation is needed.

Offline panic mode

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 77
  • -Receive: 789
  • Posts: 4897
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #6 on: November 07, 2018, 02:51:59 PM »
you can edit ECAT_SYS_X44.XML file and change reset from "manual" to "auto", then deploy project with changed file. after this X44 bus will reset automatically.
1) http://www.robot-forum.com/robotforum/kuka-robot-forum/read-first/
2) if you want reply about robot, post it in forum
3) read 1 and 2

Offline SnakesNLadders

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #7 on: November 10, 2018, 11:05:03 PM »
**UPDATE

The comms work one out of every ~5 tries. The procedure is: power everything off, power up slave, power up kuka, restart IODrives (when I get it 100% i'll modify the xml to restart automatically.) All slave settings are the same in kuka and in slave; all IO's are mapped, with equal size. The frustrating thing is, during the kuka's power up, the comms are always functioning (as can be seen by monitoring the slave (via its own monitoring software)), and then the comms will break (1 out of ~5 it wont) right when the kuka is done its initialization. Truly frustrating...
 

Offline panic mode

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 77
  • -Receive: 789
  • Posts: 4897
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #8 on: November 11, 2018, 06:53:26 PM »
i would check for different device description file...
1) http://www.robot-forum.com/robotforum/kuka-robot-forum/read-first/
2) if you want reply about robot, post it in forum
3) read 1 and 2

Offline SnakesNLadders

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
Re: Help! Communication works, but still SYS-X44 Ethercat Bus Error
« Reply #9 on: November 12, 2018, 01:22:29 AM »
**UPDATE

The plot thickens. Found an older description file, and now the comms work routinely. However a strict (and peculiar) start up procedure must be followed:
Power up ipc.
Power up kuka.
Link is established.
Clear errors on kuka (SYS 44 Ethercat bus error persists).
Send a minimum of 1 bit from ipc to kuka.
Reset IODrives.
Error clears.
Everybody's happy.
I still need to figure out the root cause though. Cant leave this up to the client to do.