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
360
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
Hello, im quite new and still learning. I would like to ask is it possible for FATEK PLC to read data value more than 16k? I'm trying to move my...
Replies
0
Views
75
Hello Everyone, I am using a raC_Opr_NetModbusTCPClient AOI module, as below,. So, I need some assistance to restrict in reducing the poling...
Replies
2
Views
146
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
8
Views
245
Back
Top Bottom