rslogix5000 socket initialization-1768 EWEB

italo2008

Member
Join Date
Feb 2009
Location
Padova
Posts
95
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...
Replies
2
Views
3,812
Hi! So my problem is a little funky, I had Studio 5000 v 24 and 30 installed, but forgot to install RSLogix (which I cannot go without). Is there...
Replies
2
Views
116
So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
427
Hello everyone, I have an RSLogix5000 project which is running live in the factory but I need to make some changes to the logic. I want to test...
Replies
0
Views
1,120
Good Morning Everyone, I'm looking to use the GSV instruction to get I/O fault codes for my project so I know if there's a comms issue in my E/IP...
Replies
5
Views
868
Back
Top Bottom