Rslogix 5000 TCP Open socket communciation

kannnithi

Member
Join Date
Aug 2015
Location
india
Posts
1
I would like to communication with application installation in my printer server via TCP port 5450. i.e ., 71.16.40.200:5450 . How can i write open socket communication via Rslogix MSG CIP generic instruction. i have tried to program this. But i am getting error. Can anybody help with me ACD file or the explanation.

Thanks in advance
 
Since all AB controllers no longer provide serial communications by default, the TCP socket was added as a default feature. This was necessary unless an additional serial communication card was added. I've been using the TCP feature since the change.

Rockwell provided some sample code for Client and Server. I use the TCP Client for printing to office printers and data transmitting to a server application for data storage. The sample code was stable and effective. The current sample code is provided as an AOI, but the sample I used was a routine import.

I added some automatic timeouts to stop the transmitting and deleting the sockets when no communication can be established such as a printer being turned off or an Ethernet cable is disconnected. I also added a delay timer to slow the output transmission of each print buffer line (default 250ms per line). This works well when printing to kiosk serial printers through a device server.
 

Similar Topics

If you click help and then click Vendor Sample Projects while in RSLogix 5000, a PDF will pop up with some neat examples. One example shows how to...
Replies
5
Views
3,855
Hello, I connected the contrologix 5561 with RS232 and it's working properly with GE cimplicity HMI throw port com 1. When I tried to connect it...
Replies
0
Views
2,471
Hello All, I am fairly new to PLC programming and really only know how to use the basic functions of RSlogix 5000. I have a new project I will...
Replies
14
Views
24,359
I have posted the following over in the RSLogix forum, but maybe someone here knows the answer. ============================================== I...
Replies
15
Views
10,507
Hi folks, in the alarm manager of Rslogix 5000, the tag-based alarm has been created. But when I tried to change the condition, it was found the...
Replies
2
Views
156
Back
Top Bottom