rslogix5000 socket initialization-1768 EWEB

Hi

I'm trying to communicate with 1768 eweb with Socket Interface.

the manual says that i must initialize a MSG instruction, and select Create Socket from the services list in the drop-down menu:


socket.JPG


Now, I see all services about socket communication ("read socket", "delete socket", "write socket",....) but not "create socket". why?? I'm using rslogix5000 vers. 17... shouldn't I see it??
 
o_O ......2 hours......


good, there's another problem...

the manual says that I have to create an user-defined structure for Source Element:

socket2.JPG


but how can I create that data structure? Right click on DataTypes, New Data Type.. and then? "SockAddr" does not exist... and if I call new datatype "sockAddr" it tells me that this datatype is invalid,and I can't create the structure... is there a guide for creating new data structures?
 
You need to create SockAddr data type first, and use it to create all other datatypes
To save you some time get technote 32962 - this will have all info you need. You will have to change it to compactlogix
You may search KB for more samples - no need to develop from scratch
 

Similar Topics

Hello, I'm having an issue with creating a socket using a message instruction. I've attempted to copy the data structures from sample programs...
2
Replies
4,521
Views
Hi, We still have a couple of machines running version 13.04 which we are looking at a way of running on Windows 11. We currently have to use an...
4
Replies
239
Views
Dear Experts, I would appreciate your assistance in resolving an issue with RSLogix5000 v20,54. Our plant operates a redundant control system...
18
Replies
824
Views
Hi all, My client has an existing system running 1769-L32E/A based controls with PowerFlex 520 and 22COM Ethernet module. The task is to replace...
6
Replies
255
Views
Getting this messege while trying to open a file but I could open another file in another folder just fine
21
Replies
1,144
Views
Top