In the previous test, performs the communication between Arduino Mega 2560 and a Modbus simulator slave THROUGH the USB port that commonly have our arduino, in this case we will test with an Arduino as Master Modbus but via RS-232 with our PC - simulator modbus slave.
Arduino Communication Modbus RTU Master and Slave Simulator
Architecture
MAX232
For the test a converter TTL to RS232 there is an integrated makes the change of voltage levels with a series of capacitors 1uF, One of the great advantages of RS232 is to be used in most controllers, PLC and screens needed, they sell this circuit already assembled but in this case I built.
Video Final Testing
Blog
http://pdacontrolenglish.blogspot.com.co/2016/03/pruebas-libreria-modbus-rtu-maestro-con.html
Instructables
http://www.instructables.com/id/Modbus-RTU-Master-With-Arduino-in-5-Minutes-Part-1/
Github
https://github.com/JhonControl/Arduino_Modbus_Master_in_5_minutes
No hay comentarios.:
Write comentarios