Communication between Matlab and Siemens PLC Using TCP

  Рет қаралды 30,970

Amin Ramazanifar

Amin Ramazanifar

Күн бұрын

Пікірлер: 23
@trongnguyenthanh1249
@trongnguyenthanh1249 7 жыл бұрын
thank you Amin, a great welcome from Vietnam
@hessahalnashwan1737
@hessahalnashwan1737 6 ай бұрын
Hello, do you have any idea why the fopen(t) function keeps running meaning it didn't receive the rising edge (the one we sent)?
@tokunboabiola467
@tokunboabiola467 10 ай бұрын
Hello Amin, thanks for the video. I tried the steps and everything went well until I got to the time 14:06 where i needed to open the connection using fopen(t). I could not open the connection as the MATLAB keep saying busy. PLease advise on what else i need to check. Could it be a problem with the port? How can i know if the port is free? Also how can i know if the MATLAB can see the PLC? Note: I could ping from the windows command promt(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.
@nguyenquocbao3812
@nguyenquocbao3812 5 жыл бұрын
if the ip address is 192.168.131.56 so the port must be 2001 why you choose the port 2000 of 192.168.131.12
@Phansg2024
@Phansg2024 7 жыл бұрын
Thank you very much for your useful video.
@hoytvolker3
@hoytvolker3 2 жыл бұрын
Thanks very good.
@megamanwins
@megamanwins 5 жыл бұрын
Any video updates on PLC's sir Amin?
@priyatham7729
@priyatham7729 6 жыл бұрын
When establishing coneection with Matlab and hit fopen(t).it just says BUSY all the time and nothing happens after that. kindly help me out
@mehdiniakinezhad9128
@mehdiniakinezhad9128 5 жыл бұрын
Hi Ramidi, I have the same problem. However, I am not using Matlab but I have an Industrial Ethernet-based Sensor which needs to be connected to the SIEMENS PLC. Would you please let me know if you have fixed the problem? Regards
@dodgeshadow099
@dodgeshadow099 2 жыл бұрын
I solved it by going offline and online again on TA portal(reestablish connection) also don't forget that TCON req needs to be enable. otherwise, MATLAB will be in busy forever.
@andreaflores347
@andreaflores347 2 жыл бұрын
I have the same problem, when I run fopen(t) it just runs the program in matlab and stays like this for hours, it never connects, could someone help me please?
@andreaflores347
@andreaflores347 2 жыл бұрын
But, in my case i can't put the TCON_Req as enable because the user-defined attributes can't be edited...
@Happ6051
@Happ6051 4 жыл бұрын
Sir , is it possible with siemens plc simulator
@sribuaautomation4309
@sribuaautomation4309 5 жыл бұрын
very good
@boysovereign
@boysovereign 7 жыл бұрын
How did you find the IP address of Matlab computer?
@trongnguyenthanh1249
@trongnguyenthanh1249 7 жыл бұрын
First, Open "Network and Sharing Center" Second, select "Change adapter setting" Third, select "Local Area Connection", properties.. Fourth, choose "Internet Protocol Version 4 (TCP/IPv4), properties.. Fifth, click "Use the following IP address:" note: set the ip address have the same LAN with your Plc (same first 3 number) PLC ip: 192.168.0.xx your matlab PC ip: 192.168.0.yy Hope you can fix it!!
@santiagocanozapata9572
@santiagocanozapata9572 5 жыл бұрын
By establishing a connection with Matlab and pressing fopen (t) it is compiled.
@sidimohammedabdi6890
@sidimohammedabdi6890 6 жыл бұрын
Thank you !
@DeltaSigma16
@DeltaSigma16 4 жыл бұрын
So many unusefull noises !!!
@samwong7467
@samwong7467 Жыл бұрын
why the cringy music man it's unbearable to watch
@basimabdulwahid457
@basimabdulwahid457 2 жыл бұрын
your videos are very important to me. i am waiting for your email with best regards. basim
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 1,3 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,6 МЛН
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
MatLab Simulink OPC communication with CoDeSys
10:18
Maksym Levinskyi
Рет қаралды 12 М.
Data Exchange between Matlab and SIMATIC S7-1200 PLC
8:38
Logic Master Co.,Ltd
Рет қаралды 9 М.
COM31. TCP/IP - TSEND TRCV TCP Communication via Siemens S7-1200 S7-1500 PLC and TIA Portal
48:56
COM12. OPC UA - Connect PLC (PID Controller) to Matlab/Simulink (Process Model) via OPC UA
44:18
SIMATIC Target 1500S for Simulink (EN)
9:40
Siemens Knowledge Hub
Рет қаралды 10 М.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 1,3 МЛН