Hello, thanks for the video. Could you also make a video where I can receive coils from a master. Operate master and slave on the Arduino at the same time
You can use syntax 'modbus.writeSingleCoil(slaveId, address, value)' for write single coil from Arduino as a Modbus Master. Or 'modbus.writeMultipleCoils(slaveId, startingAddress, buffer, quantity)' for write multiple coil from Arduino as a Modbus Master
Hello, I'm looking in vain for an example of Modbus RTU Master for Controllino Maxi. With the example (c++) from the homepage and library "ModbusRtu.h" I could establish the connection to the slave and read and write values. But I would like to just read out a few registers. Then in Write variable. I've already tried converting the example into a function or setting up a loop. It only works partially. The serial communication examples for Arduino do not work with Controllino. Maybe someone has already done or seen something like this. Will be very grateful.
permisi gan mau nanya, disini saya menggunakan Arduino UNO, untuk modulnya saya menggunakan MAX485 to TTL dengan konfigurasi tx = 11, rx = 10, dePin = 13, lib ModbusRTUSlave ver 2.0.4 dan tutorial sudah mengikutin video dengan mengetes serial.println. namun ketika pembacaan dengan software modscan yang ada malah timeout. bagaimana ya pencerahannya terimakasih sebelumnya 🙏🙏🙏
Mas, mau tanya. Saya pakai arduino leonardo. Saya udah ikutin coding nya kaya di video cuman saya bedakan pin rx/tx nya. Saya pakai pin 10 rx dan 6 buat tx nya. Kenapa pas saya coba kirim data dari serial monitor buat dibaca di aplikasi modbus slave ga kekirim ya? Di modul rs485 ttl nya pas ngirim data cuman tx aja yang nyala rx nya engga
1. Check wiringnya 2. Ingat Arduino leonardo yang bisa digunakan untuk software serial itu cuma pin (8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI). Jadi jika menggunakan tx 6 jelas tidak bisa Semoga membantu
@@carokotrihatmojo udah saya coba mas sudah bisa pakai aplikasi modbus slave terimakasih, tapi kalau pakai aplikasi modbus poll kenapa gabisa ya? saya coba tes pake mbpoll di linux juga gabisa kenapa ya?