Communication between Matlab and Siemens PLC Using TCP

abiolatoks

Member
Join Date
Jan 2024
Location
Lagos
Posts
1
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 stage at time: 14m:06sec of the video where I need to run the fopen(t) command, the MATLAB was in busy mode forever.....I could not establish communication. I dont know exactly what is wrong.
I could ping from the windows command prompt(cmd.exe) the PLC address which is already connected to my computer.
I could also view the PLC from the Web browser and also communicate with it from TIA portal.
From Matlab and TIA portal, I used port 2000 as mentioned in the video yet i could not open the communication using fopen(t) commend of Matlab.
Please can you advise me on what next to do?
 

Similar Topics

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...
Replies
2
Views
2,744
I have Woodward Controller EASYGEN-3500XT and Phoenixcontact make IO CAN-CUPLER part no: 2702230, Analog Input card: 2861412, Analog Output Card ...
Replies
0
Views
29
Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
89
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
114
I'm trying to write a data in Arduino using MODWR function block .I used the code I got from online for both PLC and Arduino. I made the wiring...
Replies
4
Views
117
Back
Top Bottom