TCP/IP Communication between CompactLogix PLC/ Matlab

AnotherPLCguy

Member
Join Date
Nov 2014
Location
Chicago
Posts
14
Hello Experts,

I am building an application in Matlab (on my PC) which has a TCP/IP toolbox to allow me to connect to Ethernet enabled devices and I want my application to be able to talk to a CompactLogix 1769-L32E PLC. Can you please suggest a right command to use in the RSLogix software environment to have the PLC send some data to my application ? Would Message (MSG) instruction be right to use here ? I did some research on this and see that the instruction is used for communication between two controllers however in my case it is PLC to PC.

On another note, as I was doing my research, I stumbled upon a youtube video which shows the above exercise for a Siemens PLC and he does that using TCON instruction in Siemens. So my alternate question would be, what is the equivalent instruction in Allen-Bradley what TCON is to Siemens ?

Thanks for your time!

(PS: Here is the link to the youtube video I am taking about https://www.youtube.com/watch?v=mYXUWUf7LxU)
 
The L32E won't do Socket comms natively, and doing it with a Prosoft or EWEB card is a bit of a pain. In terms of cost, I would look at using something like an OPC server and the Matlab OPC Toolbox.
 

Similar Topics

I am trying to establish communication between Siemens PLC 1500 and Matlab. I followed a tutorial on youtube at this link: But when I got to the...
Replies
0
Views
334
Hi all, I don't have experience PLC programming so it might be a stupid question. I made a socket request to PLC and there is no problem to read...
Replies
5
Views
849
Good day Programmers I have a RSTi-EP CPE100 Standalone Controller from Emerson as well as a STXMBE001 (MODBUS TCP/IP) as a Modbus communication...
Replies
0
Views
632
Silly question: I would like to know if anyone has done TCP Socket communication between Logix controllers? I do know it works fine from any...
Replies
6
Views
4,290
Hi, I've been struggling with this for the past two weeks now. As part of a bigger school project, I've been tasked with setting up several...
Replies
0
Views
3,785
Back
Top Bottom