Hi man. Great video, it helps so much. I was just wondering, I'm currently working for the first time on a Raspberry Pi3 and am trying to implement this to read the values from a temp and humidity sensor(FG6485A). Around the 4:10, mark it seems like your out of the terminal and in an IDE of a sort. Mine does not do this and keeps me in the terminal. Can I just code in Thonny and will this also work? Thanks so much in advance.
@Chipsee8 ай бұрын
Hi, thanks for leaving a comment! At 4:10, I was using the default terminal app of MacOS, and ssh to my 5 inch panel PC's Debian Linux system, so it's not an IDE, it's still a terminal. If you're using a Raspberry Pi3, you can use its out of box terminal app as well. Take a look at this: projects.raspberrypi.org/en/projects/raspberry-pi-using/8. As far as I know, Thonny is an IDE to run Python scripts? If so, you can work in Thonny, no problem at all. At 4:10, I was in terminal, running a program called VIM (kzbin.info/www/bejne/Y6XbfIaIo5Wkm6M), which is a text editor. Then I execute python commands manually like in 7:48, this is the same as editing code in Thonny then click a run button in Thonny. But you said you're new to Raspberry Pi (and general programming maybe?), if you want it work in Thonny, don't forget to pip install the packages like I did from 3:30 to 3:40 like in this tutorial: packaging.python.org/en/latest/tutorials/installing-packages/#use-pip-for-installing. You might find this page for Thonny helpful: github.com/thonny/thonny/wiki/InstallingPackages. Happy hacking!
@mohammedumarfarooq95724 ай бұрын
How to to write to register please share the video
@lennich4199 Жыл бұрын
Very interesting video! Is there a way to read Modbus TCP data with the Man in the middle principle? For example, you have the temperature sensor as the server and the Chipsee PC as the client. Instead of reading the data directly from your sensor, you have for example a Raspberry Pi in between those components that monitors the traffic.
@Chipsee Жыл бұрын
Thanks man! I read your comments a couple of times, and searched for MitM+Modbus, I found it's an attack method to take control of the Modbus server? Are you trying to hack a Modbus network or protecting against MitM? I do not have any experience to actually set up an MitM attack though. If you want to protect against MitM, maybe set up the firewall of the HMI, use TCP over TLS(like use https instead of http to avoid MitM) when sending Modbus TCP data. And of course, patch other workstations in the network, avoid social engineering happening to your operators (guys working in the plant/factory who operates the machines). Is this what you are asking?
@bentleyjarrard8856 ай бұрын
Ya, what you are describing is a very common scenario. I have the exact same problem, trying to R/W data to holding registers of several devices with unique unit ID's that are connected to a communication gateway that is accessed by Modbus TCP/IP. Did you ever find an answer to this question?
@juancamilo9995 Жыл бұрын
Hello, I would like to know if it is possible to make and do you have experience for a modbus sunspec prototype (Modbus variant specified in solar energy) with this python library?
@Chipsee Жыл бұрын
Hi! It's totally doable with pymodbus, but I don't have experience. Have you looked at some Github open source project like this: github.com/sunspec/pysunspec2?
@rahimo263720 күн бұрын
hi sir ,first of all i would thank you about this tutorial ,and now i am going to read data modbus ethernet from server with python and create interface ,but the qst is i know data set for each address like let say 410050 for temperator, so i wanna mapping when address coming new linked with it and read data could you please tell me how to link data and read it
@Chipsee16 күн бұрын
I don't quite understand your question, are you trying to read data from RJ45 Ethernet ports? That's Modbus TCP if I remember correctly. What have you tried that doesn't work? What was the error message from Python?
@rahimo263714 күн бұрын
@@Chipsee can i contact you on email or something else?
@davidsiltroy6 ай бұрын
Amazing video! thank you a lot!!
@B__AhmadNur_DMekatronika8 ай бұрын
first thnks to this tutorial and i want to know more, i do research abt read data from sensor with rs485 to LAN converter, i use USR-DR302 as converter and i will using python to get data, so using pymodbus to, can u help me more tutorials abt tht. thnks
@Chipsee7 ай бұрын
Sorry I don't have any experience with USR-DR302, so can't say much about it. Is there any specific problems you got into?
@B__AhmadNur_DMekatronika7 ай бұрын
@@Chipsee thnks to reply, and i hve done with my code