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/
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
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