1756-EWEB Open Socket interface

I did not have too much time to look at his application, but here are some incorrect things I found.

I would recomend you to try TN 32962 instead - I know it works.

eweb1234.jpg
 
Hello All,

Just closing the topic !

The problem in the attached program is that the instance number varies from step to step.

The instance # returned by the create socket must be feeded to the accept connection block.

The accept connection block issues another instance number (different !) that must go to the read block !

Thanks to all contributors !
 
I have been using the EWEB for several years because it was the only way for a Rockwell PLC to send multicasts without using Ethernet/IP (which consumed a connection for every LISTENER, destroying any scalability that would otherwise be achieved using pure multicast based data acquisition).

If you have no experience with socket programming, doing it in the EWEB will be a nightmare. If you are a socket programming expert, it will be EVEN WORSE, because you know how to do everything in a C++ type language but you still can't do anything in the EWEB without looking up what class, instance, attribute, request structure and response structure required for each single step in the socket creation process. After the socket is created you have to move the instance in to every other MSG that is involved in the socket setup. No step can proceed until the previous step completes, and all MSG instructions complete asynchronous to the program scan. If there is a problem, the socket(s) must be deleted before trying the entire sequence again. Network fault tolerance and recovery is extremely painful to implement.

You can only have 20 sockets total. Single socket re-use is not possible if you are sending data in groups of simultaneous messages (as Rockwell recommends), so now you have to write code that packages your data into groups of MSG instructions that execute simultaneously.

You are also limited to a payload of 480 bytes. I think they are now coming out with a new module that can handle an MTU of ~1500.

I have done things as complex as implementing dual EWEB failover (it even detects when the edge switch it's plugged into becomes isolated from the core network) and I can easily say that i would rather die than ever write another communication routine in RSLogix.

(Before you ask "Why didn't you use the RM module for redundancy??" i will tell you that i have had experience with this as well, and using that module in your rack will dramatically increase your PLC program scan time. in our case, it's so bad we cannot achieve a 100ms data update rate, because the PLC's synchronize after every program scan, pushing it to somewhere between 500ms - 1200ms. After following Rockwell's recommendations for optimizing data, we got it down to 460ms, which was still unacceptable.)
 

Similar Topics

Does anyone have downloads of the TN 42799 and TN 49389 technotes? They are no longer available on Tech Connect.
Replies
3
Views
1,632
I have updated the firmware of the EWEB module first to 5.001 then to 4.016. I have updated the firmware of the 1756-L73 to v28. The device is...
Replies
1
Views
1,517
Hello, There used to be a toolkit available through Allen-Bradley for the 1756 EWEB card to assist the development of webpages. Allen-Bradley...
Replies
1
Views
1,509
hi, i follow the manual to setup server and client for 1756-eweb card but i have some question, is there anyone who have program for both server...
Replies
1
Views
1,076
Does anyone have a sample html file for the 1756 eweb module? I think I'm having a syntax issue. Tags aren't showing up.
Replies
4
Views
2,110
Back
Top Bottom