Тёмный
sarath tv
sarath tv
sarath tv
Подписаться
Комментарии
@Light-cm5hc
@Light-cm5hc 17 дней назад
Can you give an example using modbus poll software insted of python ? becaue i have done the same exact configuratio but i am not able to get any data on Modbus poll
@mohdashifkhan2858
@mohdashifkhan2858 23 дня назад
Hello i am trying to connect em6400 meter with esp32 but anable to connect with it
@andersonrivas9545
@andersonrivas9545 26 дней назад
I get a communication problem timeout error
@sarathtv
@sarathtv 23 дня назад
@@andersonrivas9545 mostly it would be due to improper connection
@ab565188
@ab565188 27 дней назад
Hello,using putty i can receive data from my sensor but it won't take commands.Im using a usr tcp232 serial to ethernet converter.If i use a moxa it works fine.any ideas?
@sarathtv
@sarathtv 23 дня назад
@@ab565188 are you receiving any error while transferring from putty ? One thing what you can try is capture the signals using a logic analyser and compare what’s the difference while transmitting via moxa and putty It might help you get better picture
@taylorcalloway2171
@taylorcalloway2171 Месяц назад
Great video! I am attempting to find a way to send data from a RPi to a datalogger via modbus. Would the EM6436 be able to achieve this?
@akmalhakim9034
@akmalhakim9034 3 месяца назад
Nice tutorials and easy to understand explaination
@mbismonugroho
@mbismonugroho 3 месяца назад
How to display data from raspberry?
@sarathtv
@sarathtv 3 месяца назад
You can print the values using print command
@SureshKhake
@SureshKhake 4 месяца назад
Back round music very badly disturbed me
@sarathtv
@sarathtv 4 месяца назад
Hope u got the required information from the video If not feel free to contact me for any clarification
@SpontanAusDatteln
@SpontanAusDatteln 4 месяца назад
hey there, nice video. I‘ve seen on github you are providing two sketches. Client, there is the code for the slave. And Server, there is the code for Master. But it must be Master = Client and Server = Slave …. right ? Best Regards Nils
@sivaramanb2297
@sivaramanb2297 4 месяца назад
Hi, can i have your email id.
@manusaini2192
@manusaini2192 4 месяца назад
Dear sir, I watched your videos. Your all videos are very worth informative . How can contact to you? Please reply. 🙏
@sarathtv
@sarathtv 4 месяца назад
You can mail me sarathtv2@gmail.com
@d8_prime
@d8_prime 5 месяцев назад
Hello, I am trying to do the same thing, collecting data for a project. We have a Schneider EM6400NG+ at our college. I want to connect it to rPI-4 with a USB to rs485 port. I want to get info on registers but I can't seem to find them online for that particular model. Any help will be appreciated very much❤.
@sarathtv
@sarathtv 5 месяцев назад
You may check the website of Schneider for the register details .they might have it as a excel file
@sarathtv
@sarathtv 5 месяцев назад
Specifically check for register map
@d8_prime
@d8_prime 5 месяцев назад
​@@sarathtv Thanks for the quick reply. I got an xls file for the 6400NG model listed under software section of 6400NG+ model. So they both might have the same sheet. I will try connecting it to pi.
@sarathtv
@sarathtv 5 месяцев назад
@@d8_prime yes please
@d8_prime
@d8_prime 5 месяцев назад
@@sarathtv I tried connecting earlier today, I coded similar to you with my register values and I got this output ile "/home/d8/Desktop/SubStation/Sub_Station_test.py", line 20, in <module> decoder_power = BinaryPayloadDecoder.fromRegisters(response_power.registers, byteorder=Endian.Big, wordorder=Endian.Little) AttributeError: 'ModbusIOException' object has no attribute 'registers' Any fix for this? I lookedup online and increased my time to 20sec but no use.
@haziqrzl4475
@haziqrzl4475 5 месяцев назад
hii
@sarathtv
@sarathtv 5 месяцев назад
Hi
@haziqrzl4475
@haziqrzl4475 5 месяцев назад
@@sarathtv can you help me why at serial monitor i get 0v
@sarathtv
@sarathtv 5 месяцев назад
@@haziqrzl4475what’s the response code for modbus communication
@haziqrzl4475
@haziqrzl4475 5 месяцев назад
@@sarathtvthe reading 0v continuously
@sarathtv
@sarathtv 5 месяцев назад
@@haziqrzl4475 that is the print from the voltage conversion function In the code there would be a response code from modbus in case the communication with the meter is not successful
@haziqrzl4475
@haziqrzl4475 5 месяцев назад
why I get 0v for the voltage result in serial monitor
@haziqrzl4475
@haziqrzl4475 5 месяцев назад
hii
@haziqrzl4475
@haziqrzl4475 6 месяцев назад
can you show the connection between EM6436 to esp8266 please
@haziqrzl4475
@haziqrzl4475 6 месяцев назад
because I use jumper wire so I just want to know how the connection
@sarathtv
@sarathtv 6 месяцев назад
Hii Please go to this GitHub link I have given the connection details and the schematic for the connection github.com/sarathtv/Modbus_ESP_SM_RTU
@haziqrzl4475
@haziqrzl4475 6 месяцев назад
hiii may I know how to get register address from power meter @@sarathtv
@sarathtv
@sarathtv 6 месяцев назад
@@haziqrzl4475 those details will be available in the datasheet/user manual of the meter
@makergaragediy
@makergaragediy 6 месяцев назад
How can I take data from two differents device? I have 2 smartmeters modbus rtu with different ID
@sarathtv
@sarathtv 6 месяцев назад
Hi You can create new client object with the ip of the second meter Then use that client object to read the registers
@makergaragediy
@makergaragediy 6 месяцев назад
But in your code you doesn't use the ID, could you make some video example or update the GitHub whit that? Thanks in advance
@sarathtv
@sarathtv 6 месяцев назад
@@makergaragediy create a new client object with the ip of the second meter
@makergaragediy
@makergaragediy 6 месяцев назад
@@sarathtv but i want to have all the meters in the same modbus rtu network and use only one modbus rtu to modbus tcp converter
@sarathtv
@sarathtv 6 месяцев назад
@@makergaragediy that is not possible with this converter
@user-nw6zv6ip6m
@user-nw6zv6ip6m 6 месяцев назад
iam getting 224 error is it necessity to connect common for meter and esp
@sarathtv
@sarathtv 6 месяцев назад
Hi No I had connected the RS485 lines only Please check the connection between node mcu and converter
@dhanaseelan7554
@dhanaseelan7554 6 месяцев назад
Hi sir, We are also doing our project with Elmeasure 6435 with TTL to RS 485 using Arduino. I want to export data from meter to Arduino. Kindly give some guidance sir.
@sarathtv
@sarathtv 6 месяцев назад
You can modify the code from this example to adjust to arduino pins and reuse it
@dhanaseelan7554
@dhanaseelan7554 6 месяцев назад
@@sarathtv Thank you sir. I will try this sir.
@desireemorrow7855
@desireemorrow7855 6 месяцев назад
"Promo SM"
@sarathtv
@sarathtv 6 месяцев назад
Hi sorry I didn’t understand your message
@sanjay0109
@sanjay0109 7 месяцев назад
Thank for this tutorial ❤
@sarathtv
@sarathtv 7 месяцев назад
🙌🏽🙌🏽 thanks for your comment
@user-us4sw7xh3g
@user-us4sw7xh3g 8 месяцев назад
Hi sir thanks for the video, I have 10 schneider analysers and I use gateway, how I can implement slave number into this code? Because I have 10 analysers in to one IP address.
@sarathtv
@sarathtv 8 месяцев назад
Can u share a block diagram so that I can understand this better Share it to sarathtv2@gmail.com
@kumarutkarsh1248
@kumarutkarsh1248 9 месяцев назад
very well explained i was able to follow along smoothly
@sarathtv
@sarathtv 9 месяцев назад
Thanks for you comment
@SRai123456
@SRai123456 9 месяцев назад
hi can you able show how to communicate with autonic tk4s. Thank you
@VamsiKrishna-vy9db
@VamsiKrishna-vy9db 9 месяцев назад
Hey brother i really appreciate your work, And i also have small doubt. I have danfoss VFD i have to read operating hours that value is in uint32 format how to read that format in esp32 please help me Thank you, i hope your prompt response is much appreciated 🙏🙏
@sarathtv
@sarathtv 9 месяцев назад
Hey thanks for dropping ur comment. If u need to read a register value which is stored in 32 bit register u will need to give the 4th argument for mbreadHreg as 4 to indicate u need to read 4 bytes of value
@VamsiKrishna-vy9db
@VamsiKrishna-vy9db 9 месяцев назад
@@sarathtv how should i reach you with social media platforms for better interaction and conversation, please give me your Instagram handle ID
@VamsiKrishna-vy9db
@VamsiKrishna-vy9db 9 месяцев назад
My ID imvamsiii and thanks for your response
@VamsiKrishna-vy9db
@VamsiKrishna-vy9db 9 месяцев назад
Brother please help me on this thing
@sarathtv
@sarathtv 9 месяцев назад
@@VamsiKrishna-vy9db have you tried to read the holding register with 4 th byte argument as 4 ?
@SY_ViralShorts360M
@SY_ViralShorts360M 9 месяцев назад
Hi can you please make a video on esp32 modbus communication using epressif inbuilt modbus communication
@sarathtv
@sarathtv 9 месяцев назад
Hi Sorry I don’t have a esp32 with me to try this
@jizonas3243
@jizonas3243 9 месяцев назад
hi ! could you help me to send a string using this
@sarathtv
@sarathtv 9 месяцев назад
Hi generally modbus is used to transfer numerical values If you need to transfer a string you can use a series of registers and set the content as your string has characters and let the master ask for all registers. Then the master can reconstruct the string from this information. I haven’t personally tried to send strings
@usmangilani2367
@usmangilani2367 9 месяцев назад
Hi, I'm having issue with my system in which im connecting lumel nd20 with Raspberry pi 4 for complete energy analysis. Can you help
@sarathtv
@sarathtv 6 месяцев назад
Hi Can you let me know what is the issue that you are facing
@alliswell2448
@alliswell2448 10 месяцев назад
Music? 😢
@sarathtv
@sarathtv 10 месяцев назад
Sorry for that Hope u get the information u looked for
@Roboai2023
@Roboai2023 10 месяцев назад
Sir How I read multiple holding register
@HY_main
@HY_main 11 месяцев назад
Nice project. I also do a similar project with esp32 and modbus RTU. In addition, in order to make the user to operate easily, I apply the wifi function of esp32 to make the user to operate by brower interface, including start, stop and export data of gauge.
@sarathtv
@sarathtv 11 месяцев назад
Hi That seems like a great project. Will definitely check out your project.
@HY_main
@HY_main 11 месяцев назад
@@sarathtv The project URL is as followed. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-81YC-YRfWCI.html
@rockysubu8384
@rockysubu8384 Год назад
thanks bro for info. better if you can reduce volume of background music
@sarathtv
@sarathtv Год назад
Thanks. i will take care of the background music moving forward. Sorry about that.Hope you were able to get the information you needed
@kavansketcher3214
@kavansketcher3214 Год назад
hello sir , i want to connect my secure elite 300 meter with esp8266 with using rs485 to ttl converter ,can you help me with the code to read the resister address i want to read
@sarathtv
@sarathtv Год назад
Hi I have another video where i am reading Smart meter data using esp8266 over modbus RS485 use this link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-b4HFpmO1g4c.html
@k.dillibabu2365
@k.dillibabu2365 Год назад
This process its good sir. But multi meters work is possible?
@sarathtv
@sarathtv Год назад
Yes I had tried with reading 11 different meters connected in daisy chain
@receptolgamutlu8263
@receptolgamutlu8263 Год назад
hı thanks for the video. I have ı project like that but I want to use Arduino instead of esp. how can ı make a code for my situation
@sarathtv
@sarathtv Год назад
You can watch this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-GH3zNmhsKu4.html Here I have used a arduino blue pill for modbus communication Source code is shared in the video description
@user-ts5ju8zv7z
@user-ts5ju8zv7z Год назад
Program not working D3 D2 not declared
@sarathtv
@sarathtv Год назад
you are using nodemcu itself ryt And selected the board in arduino IDE properly right ?
@gampangingat_id
@gampangingat_id 3 месяца назад
@@sarathtv right sir , is it not compatible ?
@gampangingat_id
@gampangingat_id 3 месяца назад
@@sarathtv and what's solution if i use it ? please answer
@sarathtv
@sarathtv 3 месяца назад
@@gampangingat_id seems like some wrong selection in board You can do one thing Check to which pin the D3 of ur node mcu is mapped and replace it into the code
@AhmedAhmed-gl4mg
@AhmedAhmed-gl4mg Год назад
Hello sir, can you answer my questions? A Modbus master sends a request to a slave to read several registers. The slave responds with the following Modbus message: "040302025874DE". 1. What is the Modbus function code used in the request from the master to read several registers of the slave? 2. What is the address of the first register to read in the master request? 3. How many registers to read in the master request? 4. Complete the following table to decode the Modbus message sent by the slave by responding to the What is the request sent by the Modbus master to read the slave registers from the address of departure 00 64
@stephaneblackbird3568
@stephaneblackbird3568 Год назад
EXCELLENT ! Thank you very much for sharing, I will adapt to my Energymeter.
@sarathtv
@sarathtv Год назад
Hi Thanks for your feedback Please do share this with anyone who might it useful. Also I have few more series of videos In case you want to use a microcontroller rather than rpi
@Maxi-pn3wd
@Maxi-pn3wd Год назад
hello sarath tv,thanks for sharing the video,it is very good. I have a question about server: if (!mb.slave()) { while(mb.slave()) { mb.task(); } delay(10); } mb.slave() is a variable that is set to false or true depending on whether it is available to communicate with a slave or not? and if so, what exactly does mb.task() do? is something internal to the library that always has to be executed every time you want to send something. and in the client I do not understand what function "mb.Hreg(POT_VAL_REG, 0);" performs. I understand that 10 records of the holding register type are already defined with "mb.addHreg(POT_VAL_REG);".
@sarathtv
@sarathtv Год назад
Hi @Maxi-pn3wd The mb.slave() works like this - Master mode: Returns slave id for active request or 0 if no request in-progress. and the task() is a Processing routine. it Should be periodically called from loop(). mb.Hreg(POT_VAL_REG, 0) is a local write api ie it loads the the holding register with address "POT_VAL_REG" with a value 0. I am just initializing the register with zero. addHreg is for adding register to the device. Hope i could clarify your doubts. You can verify these from the the original library github.com/emelianov/modbus-esp8266/blob/master/documentation/API.md
@Maxi-pn3wd
@Maxi-pn3wd Год назад
@@sarathtv thank you very much for the answer and sharing this video!!! greetings
@sarathtv
@sarathtv Год назад
@@Maxi-pn3wd you are welcome I have few more videos on micro controller based modbus communication Do check those out if interested
@pedropanta4029
@pedropanta4029 Год назад
Hello friend, Could you help me to use this library to configure a NodeMCU as slave and communicate with a PLC by Modbus RTU?
@sarathtv
@sarathtv Год назад
Yeah I would like to give it a try Can you share the details via mail sarathtv2@gmail.com Share the requirements and any documentation if possible
@varunn8055
@varunn8055 Год назад
I am getting an error for this code Can you please guide me out
@sarathtv
@sarathtv Год назад
Hi What’s the error you are getting
@kanarendran
@kanarendran Год назад
i have two queries 1. can you able to brief the A & B cable connection in energy meter.....2. How to assign the local port, remote port as well as Http port
@sarathtv
@sarathtv Год назад
Hi The A and B cable is the modbus D+ D- lines As for configuration of the ports you will need to access the control page.
@kanarendran
@kanarendran Год назад
@@sarathtv can i give any number for local port?
@sarathtv
@sarathtv Год назад
@@kanarendran the module comes with a default local port using that u can access the configuration page In that page u can modify the port number if u like
@vivekkumar-mw2rf
@vivekkumar-mw2rf Год назад
​@@sarathtvcan you explain how to set difficult id in rs485
@truongphamquang254
@truongphamquang254 Год назад
Hi sir, Can you please help me to communicate MM300(GE) Motor using ESP8266 over Modbus, just want to know how to correctly declare the address of the shift register, it has 6 number
@sarathtv
@sarathtv Год назад
Hi Can you share the link for the user manual for your device May be I can have a look at it and help you out
@truongphamquang254
@truongphamquang254 Год назад
@@sarathtv Thank you, I have sent you an email about my problem. If you have free time, you can check my email Best regards !
@Ammy-bc6bh
@Ammy-bc6bh Год назад
Does it convert from MBUS TCP/IP to RTU also???
@sarathtv
@sarathtv Год назад
Hi, The smart meter in this demo supports only mod bus RTU The USR converts the TCP request to RTU and vice versa .
@kumaravelsubramanian3327
@kumaravelsubramanian3327 Год назад
Dear Sir, 1) kindly share the same format sample code for schneider EM6400NG Smart Meter, i have tried so many ways still i got nothing, myself use the same pymdbus library and payload library but no response, (Error: Attribute has no registers). kindly help me sir
@sarathtv
@sarathtv Год назад
Hii You can share ur code at sarathtv2@gmail.com I can check and give u my feedback
@kirankumarswain4361
@kirankumarswain4361 Год назад
Sir can you tell me how to read multiple holding registers
@sarathtv
@sarathtv Год назад
Hi You can just add another line for reading the register and change the register address
@kirankumarswain4361
@kirankumarswain4361 Год назад
@@sarathtv I have already added that but it reads the 1st one only can u plz check once
@sarathtv
@sarathtv Год назад
@@kirankumarswain4361 did u add the check ?? while(mb.slave()) { // Check if transaction is active mb.task(); delay(100); } For the second read request??
@kirankumarswain4361
@kirankumarswain4361 Год назад
@@sarathtv where I have to add this sir..
@sarathtv
@sarathtv Год назад
@@kirankumarswain4361 after your second read holding register function call
@jibanjyotibehura
@jibanjyotibehura Год назад
Hii please share your contact details. Want to discuss for some IOT projects.
@sarathtv
@sarathtv Год назад
Hi you can contact me at sarathtv2@gmail.com
@jitendramarde6063
@jitendramarde6063 Год назад
Hi Sir, Can you please share details of 'How to connect MSTP (Master Slave Token Passing) protocol devices to esp8266 with codes.
@sarathtv
@sarathtv Год назад
Hi I haven’t experimented with that till now If I do that I will share it in RU-vid and my gut page
@aymenaamir9586
@aymenaamir9586 Год назад
Can you share the arduino code for this?
@sarathtv
@sarathtv Год назад
Hi The link for the code is shared in description itself
@mayurrane9656
@mayurrane9656 Год назад
can u share ur mail or contact details
@mayurrane9656
@mayurrane9656 Год назад
Hi I am tried this code with Rish Em1330 Energy meter it couldnt working can u please help me in coding .
@sarathtv
@sarathtv Год назад
Hi Can you share the link of ur code So that i check and let you if any corrections are needed
@mayurrane9656
@mayurrane9656 Год назад
@@sarathtv can u share please Your contact no .
@sarathtv
@sarathtv Год назад
@@mayurrane9656 hi You can mail me @ sarathtv2@gmail.com