
adccommunitymod (AutomationDirect) asked a question.
Created Date: February 14,2020
Created By: BD851
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hi all, I'm trying to make a simple application in Python to read and graph DF1 (system current) over time using pyModbusTCP. I'm able to make the connection and read registers, but I'm having trouble finding documentation on what addresses in CLICK correspond to actual Modbus addresses. Anyone have an easy reference sheet? In case anyone's curious, this is the code I 've put together in the past hour. It's not much, but I can at least make a connection with a CLICK on my LAN. { "data-align ": "none ", "data-size ": "full ", "title ": "python script.PNG ", "data-attachmentid ":128501}
Created Date: February 14,2020
Created by: BD851
Hi all,
I'm trying to make a simple application in Python to read and graph DF1 (system current) over time using pyModbusTCP. I'm able to make the connection and read registers, but I'm having trouble finding documentation on what addresses in CLICK correspond to actual Modbus addresses. Anyone have an easy reference sheet?
In case anyone's curious, this is the code I 've put together in the past hour. It's not much, but I can at least make a connection with a CLICK on my LAN.
{ "data-align ": "none ", "data-size ": "full ", "title ": "python script.PNG ", "data-attachmentid ":128501}
Created Date: February 14,2020
Created by: Bolt
In the address picker of the click software, there's a check box to display modbus addresses.
https://www.automationdirect.com/microsites/clickplcs/images/sc_address_picker.gif
Created Date: February 14,2020
Created by: BD851
In the address picker of the click software, there's a check box to display modbus addresses.
https://www.automationdirect.com/microsites/clickplcs/images/sc_address_picker.gif
I spent an hour this morning trial-and-erroring to figure out the address for DF1. You 're my hero.
Also, update, for the curious. It's working!
{ "data-align ": "none ", "data-size ": "full ", "title ": "python script update.PNG ", "data-attachmentid ":128507}
Created Date: February 18,2020
Created by: mikes842
Nice. I was able to experiment and do a little bit of modus with the Productivity Series using that python library.