Data socket create issue

jonfarrugia

Member
Join Date
Mar 2008
Location
London
Posts
130
I am using an L33ERM controller. I have Port 1 of the controller connected to a network that contains a printer at 100.100.100.35. I am trying to create, open, write, and then read information with the use of a data socket.

I am having problems right off the bat trying to get the socket create to work without errors. I am using a path of 2,100.100.100.35. Is this correct? I have also tried 1,100.100.100.35. Both have returned errors of 204 and 311.

Do i need to put the port number in while using the create socket?

Any help would be appreciated.
 
Describe in detail the fields you have entered into the MSG instruction.

One important principle it took me a while to grasp is that all of the Socket instructions are aimed at the Socket Object in the EtherNet/IP module, rather than at the remote device on Ethernet.

The IP address of the remote device is an argument passed to the MSG instruction, rather than part of the CIP Path like it is with ordinary ControlLogix messaging.

Do you have the socket programming guide for ControlLogix ? It's the indispensable reference:

http://literature.rockwellautomation.com/idc/groups/literature/documents/at/enet-at002_-en-p.pdf
 
All compactlogix socket messages will have path 1,0

IP address is a part of UDT.

again, do not guess there are many socket samples that posted in the kowledgebase - did you look?
 

Similar Topics

Hello, I'm trying to setup a TCP connection from a Compactlogix 5069-L306ER to a TDI checkweigher to receive real-time weight data of the...
Replies
6
Views
340
Hi Guys, I'm using socket interface as an official AOI from RA for data exchange between PLC with 1756-EN2T(supports Socket Interface) and...
Replies
3
Views
1,572
Hi everyone, I have a 505 workshop program with PLC type of 555- 1106 and I was wondering how can I download the data documentation window as a...
Replies
4
Views
93
Hello everybody, I'm currently working on a project where I need to implement an IoT platform based on Microsoft Azure Cloud. Communication is...
Replies
2
Views
67
Hello. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
79
Back
Top Bottom