PLC PROGRAMMING

PLC giá rẻ Delta

PLC nhiều cổng phát xung xinjie  https://tudonghoa24h.com/san-pham/xd5-60t6-e-plc-xinje/

Install Step 7 Micro Win on Window 10,11

https://365electricalvn.com/step-7-microwin-v4-on-windows-10/

https://support.industry.siemens.com/cs/document/14618173/how-do-you-uninstall-step-7-micro-win-v4-0-after-an-aborted-installation-?dti=0&lc=en-VN

Hướng dẫn kết nối cáp nạp:

https://drive.google.com/file/d/1c2PwNl407MSez_AQEmoMNmGYNeHfjykI/view?usp=share_link

Hướng dẫn kết nối modbus:

https://drive.google.com/file/d/11K2z5_Wte6vCGTYxv8aprcHktmoqxKJe/view?usp=sharing


https://plcvietnam.com.vn/forum/showthread.php/664-T%E1%BB%95ng-h%E1%BB%A3p-t%C3%A0i-li%E1%BB%87u-l%E1%BA%ADp-tr%C3%ACnh-PLC-S7-200-T%E1%BB%95ng-h%E1%BB%A3p/page5

Datasheet Modbus communication: s7200_system_manual_en-US : https://cache.industry.siemens.com/dl/files/582/1109582/att_22063/v1/s7200_system_manual_en-US.pdf

Modbus library: http://www.mediafire.com/file/9kf46nv1ieea2k6/uss_and_modbus_library.rar/file

Chú ý: Khi nạp code modbus đặt PLC về trạng thái stop để tắt truyền thông trên cổng COM, dùng cổng COM cho việc nạp code


01. RS485 Modbus rtu between:

Slave: plc S7 200 , CPU 226/DC/DC/DC - Serial 216-2AD22-0XB0 and 

Master: PC ( USB RS 485 cable)

Download QModbus:

https://sourceforge.net/projects/qmodbus/files/qmodbus/

Code PLC : Chọn CPU 226 Rel 01.22

https://drive.google.com/file/d/1GH1mULFwrQvAv5uhUwAC5j9xKk-l2CRv/view?usp=sharing

Remember to right click Program Block -> Library Memory -> Suggess Address : for Modbus variables. If not, the program could not communicate. 

02. RS485 Modbus rtu communication 

Between esp32 esp 8266:

https://microcontrollerslab.com/rs485-serial-communication-esp32-esp8266-tutorial/

Between two arduino board:

https://microdigisoft.com/rs-485-serial-communication-between-two-arduino-uno-boards/



02. RS485 Modbus rtu between:

Master: plc S7 200 , CPU 224 Rel 02.01

Slave: PC ( USB RS 485 cable)

Download QModbus:

https://sourceforge.net/projects/qmodbus/files/qmodbus/

Code PLC :

https://drive.google.com/file/d/1GH1mULFwrQvAv5uhUwAC5j9xKk-l2CRv/view?usp=sharing


02. RS485 Modbus rtu between ESP32 and PLC XINJIE: