Комментарии:
@antony in the code it seems like you did not define Rx and Tx. can you please explain Why?
Ответитьsir i want a code to read data from secure elite 300 can you plzzz help me with itt
ОтветитьHello! I send a data packet "slave func data srs16", but the result is this signal "00 slave func data srs16". Why do two zeros appear?
ОтветитьWhere is code attatched?????
ОтветитьCan you help me with some modbus device? I would pay you for sure.
ОтветитьThank's a lot for the simple and easy understanding video, please kindly : could you do another video using dixell controller like dixell XR10CX , this controller is used anywhere and no one has already did a video and explain the sketch , on the net you can find the user manuel with ful doc about modbus . thank's again even if not possible.
ОтветитьGREAT EXAMPLE FOR MODBUS_MASTER LIB. OTHERWISE YOU CAN NOT USE SIMPLE 485 TTL CONVERTORS WITH THIS MODBUS LIB. THANKS.
ОтветитьHey, how can I implement the same on a pressure sensor
ОтветитьHi, I've been trying this with an electricity meter that supports RS-485, but keep getting result = 226...
ОтветитьHello Antony,thank you for this great video
can i get your Email please
i ment adres 0x0500
Ответитьi use a eastron smd72d. when i try to read Watts (0x500) i get a value like 17200 and it should be like 40 Watts. please can you help me.
ОтветитьHow to use software serial for project?
Ответитьhello, Antony I am current working on same project but I am not being able to established communication between meter an arduino can you please guide on the same.
ОтветитьGreat work, thank you a lot.
ОтветитьWhere I can download code?
ОтветитьHii sir,
I have a device that Supports RS485. Its Absolute
address is 30001, length is 1, and type int. How I can read it in Arduino. Plz help me.
Hello Anthony Cartwright, I got the controller ID#, serial communication parameters, and register addresses from the manufacture and followed your code and pinout using my Arduino mega 2560. But when I go to serial monitor I get "uz" repeatedly so the 'if' statement is not working. I'm not sure how to fix this issue. Please give me some feedback, this is for a college project.
Ответитьin my case, i am working with 40000 address which is why i have taken readHoldingregisters command instead of readinputregisters. but still the data is not showing on monitor
why?
Antony Cartwright, I am using an iSunery 10A MPPT controller but I can not find the Modbus protocol documentation for it anywhere. I tried to use your code and it didn't work, do you know how I can find the register cells?
Ответитьhi sir we need a help for these project pls send the link hardware circuit of these project
ОтветитьWow you use pin2, pin3 To communicate rs485 modbus, Thanks
Ответитьworks fin thanks man!!
Ответитьhi,why you don't have the communicate format setting for modbus library
Ответитьthis is a great example in C-code and makes sense how thing happen in the logic... thanks...:)
ОтветитьGood video, but this library is only for arduino as a teacher, do you know any library that is for master and slave and multiple slaves because I think it is only for one slave right?
i test yout proyect with serial port monitor in the other side and i cant see data, can be my max485 broken?
Please provide code
ОтветитьIs the code available for download?
ОтветитьHi Antony, How to modify the code to use hardware serial on Arduino MEGA board?
ОтветитьHi Antony
In my case, have an energy meter with register address: 0x0000,.....0x000E,. Who can be implemented in Ardunino ?
According to your code link the outcome is " a"
What if we want to read multiple slave devices with arduino using modbus?
Ответитьsir I have a similar project, but I use schneider PM2100 as the slave, can your programming be used too?
ОтветитьI have the same charge controller, how do you know what the mod bus command are in your chart? Is there a standard or is that a manual of some kind that comes with it, I will look online.
ОтветитьCan you upload your code?
ОтветитьThank you for the video. Coud you explain how you can get both Tx/Rx modbus acquisition and Serial monitor at the same time? When the serial monitor is in use (such as in your video), no other serial communication should be possible. Unless you have two serial ports available which I do not think is the case for Arduino Nano.
ОтветитьIs there anyway to get rid of this silly message at the beginning of each loop.( °°°°~o)
ОтветитьHI Antony,Awesome explaination.I did the same setup. But the part of (If result ==Ku8MBsuccess )is not getting true .What must be the cause?It will really be helpful if you reply
ОтветитьThank you sir.... Awesome. I got the result. But can't we remove the boxes on serial monitor
ОтветитьAwesome dude, good job
ОтветитьGreat video
ОтветитьHola, muy bueno. Me puedes compartir el codigo, por favor,...
ОтветитьSample Code?
ОтветитьFor those who had issue with nonworking connection or stability like me: add few milisecods (3-15ms) delay at the end of preTransmission() and few ms at the start of postTransmission() functions. It gives MAX485 some time for proper switching from reading/writing state.
ОтветитьResultmain =Node.ku8MBSUCCESS what
This line means? Can anyone explain?
Thanks for this video ,
I have a case wich is quite close to this , I have a device HPMA115S0 it has UART communication and I want it to work with a plc over modbus serial rtu protocl I bought the same UART TTL TO RS485 you have , but I don't know how to implement the modbus rtu on this device without Arduino , is there anyway ?
Good evening, my name is Luca Mozzini Vellen and I study at the HES-SO Haute école spécialisée de Suisse occidentale. I am doing a batchlor project on energy consumption and distribution in Switzerland. I've seen that you, like me, use a Tracer-BN Series with Rs-485 TTL MODBUS. I'd like to kindly ask if it's possible to have the code and the libraries you use in your video. This information will not be used for profit but only for school use. I'm at your disposal for further information, waiting for your answer and wish you a good evening. Best regards Luca Mozzini vellen
ОтветитьHOW TO SEND THE COMMANDS LIKE 12,04,00,10,00,0C,F3,69
Ответить