Thank you so much for the guide, I've been looking for one for a long time but it does not work for me..... The arduino fails to establish communication
Do you use ESP8266? For checking the connection You can ping them from your laptop. If they are detected, you connect ESP to PLC. Ensure you have bridge Wifi and Ethernet
You can follow the video, ESP connect with Wifi, and S7-1200 connect with ethernet. Wifi and ethernet connection must in one network, you can create bridge between
@@YaserAliHusen Can you explain it? Especially in the PLC section, because I am confused in that section. Or maybe you can give me a reference source where arduino reads data from plc, thx
@@barajr1349, For PLC still same, you just activate modbus TCP server in PLC. How to configure PLC as modbus TCP server you can find the video on my channel
@@jordanklissman1768, different IP, So you have 3 different IP address Laptop, PLC and ESP. For ESP maybe it will generate by DHCP, but you should create bridge
Excellent tutorial !!! Thanks !!! You help is great !!!
Thank you
My pleasure😇
happy too see this video..
Thank you
What is the latency. How much time does it take for a TCP packet to go to the plc
Sorry, I didn't measure the latency
Hello ,Sir .If it possible to set esp8266 as AP model symultaneously , then use the Scada directly to esp8266 for testing?
Hello,
Hmm...I don't know, I haven't try it
Thank you so much for the guide, I've been looking for one for a long time
but
it does not work for me.....
The arduino fails to establish communication
Do you use ESP8266?
For checking the connection
You can ping them from your laptop.
If they are detected, you connect ESP to PLC.
Ensure you have bridge Wifi and Ethernet
In the Knesset file 502 in the port number both at the entrance and at the exit this was the fault
Can I change the Coil address Q0.x to M0.x?
Yes you can, just try it
I have a esp32 and s7 1200 and a wireless modem how can i connect them together thanks
You can follow the video, ESP connect with Wifi, and S7-1200 connect with ethernet.
Wifi and ethernet connection must in one network, you can create bridge between
Nice video, but i have a question. Can it be the other way around? like arduino can also read holding registers from plc...
Yes, you can use ethernet shield for communication.
@@YaserAliHusen Can you explain it? Especially in the PLC section, because I am confused in that section. Or maybe you can give me a reference source where arduino reads data from plc, thx
@@barajr1349, For PLC still same, you just activate modbus TCP server in PLC.
How to configure PLC as modbus TCP server you can find the video on my channel
@@YaserAliHusen So, in the arduino program we just need to add mb.readHreg ???
@@barajr1349, yes correct.
You can find out how to use it in internet, or watch my videos related this matter
can i do it with esp32 ?
i think it doesnt have a diffrence...
how did you define an ip address for the slave?
Configure the IP address of PLC using TIA Portal.
Make sure the IP same with network configuration
@@YaserAliHusen so the ip address of plc is the same with the ip address of my laptop?
@@jordanklissman1768, different IP, So you have 3 different IP address
Laptop, PLC and ESP.
For ESP maybe it will generate by DHCP, but you should create bridge
@@YaserAliHusenDid you fill in the IP address of the client in the TIA portal in the CONNECT section in the datablock?
@@jordanklissman1768, No I dont.
You can watch my video about configuration modbus in PLC: ua-cam.com/video/YuRjIp0cipA/v-deo.html
Can you explain how to create the bridge in more detail?
You can see the tutorial about bridge between Wifi and ethernet:
www.wikihow.com/Bridge-an-Internet-Connection
can i use esp32 instead of esp8266?
I think you can use ESP32 with same library
@@YaserAliHusen i tried but it doesn't connected. My ip address for the server is 192.168.0.1 and the client is 192.168.0.2, is that correct?
@@jordanklissman1768, yes it should be correct. You can test by ping command from a computer to both of them
hi can it be done with ethernet shield
Yes,
You can watch another video which is using ethernet shield in ESP8266
CAn you please upload the TIA BAckup also
OK, Done
Sorry I missed the TIA files on zip file
Hello sir I need your help regarding modbus protocol and nodemcu...So I can I reach you ?....Please can you provide me your email address.
you can reach me by email at yaseralie@gmail.com