19
« on: May 24, 2014, 05:13:17 AM »
Hi
This is a Beckhoff bug I have found on CX9000-series for long time. It won't work with the temporary routes. Just as Archie describes the add route functionality in the plc will hang if you try to add a temporary route.
When I found that behaviour Archie added the "Use static route" in Adv.HMI and with that it works for the CX9000.
But keep in mind that you have to powercycle after you have once tried to add a temporary route. The plc will not respond at all to Adv.HMI "add static route-messages" and neither to System manager.
I have reported this problem to beckhoff but havn't got any feedback.
I don't remeber exact which Adv.HMI version I used, but there might be a bug in Adv.HMI when using static route. I found this note from last time I were working on this:
>>'* add on these bytes when resgistering a temporary route
>>If sendbuf.Length => (i + MyIPAddress.Length) Then ‘This will always be true even when using static route but
>>If sendbuf.Length > (i + MyIPAddress.Length+1) Then ‘This works better
There was some kind of problem with how Adv.HMI generate the route name and count the message length. I don't remember the details, but I fiddled around a lot to get the communication working on some machines, sometimes it worked immediately. The note above might well be wrong since it may be written before I got it all working good... but it is a clue to where to find a possible bug.
Best Regards
Mattias