General Category > Open Discussion
All I want for this Christmas
bachphi:
Is an easier way to read the UDT tags with AAHMI.
My recent experience with node-red is blowing me away with how easy it is to read/subscribe tags including UDT tags.
First, the Tag Browser brings up all tags in the processor, then clicking on the tag that you want to read/subscribe will get it into the Tag list with proper data type automatically defined.
In the 1st screenshot, DTCurrent is a UDT tag that contains date time info AND a custom string length of 20. The FreeRunning tag is a TIMER. As you can see, in the node-red they are STRUCT type.
In the 2nd screenshot, showing all the atomic data type and the debug data from the two tags
The ethernet driver module that I use is the 'node-red-contrib-cip-st-ethernet-ip' and on Github:
https://github.com/st-one-io/node-red-contrib-cip-ethernet-ip
Godra:
bachphi, that's nice.
Could you post any more info or screenshots (like setup flow text file and a screenshot)?
I have a repository on GitHub which showcases Node-RED and pylogix / pycomm3 libraries, which can be seen here:
https://github.com/GitHubDragonFly/Node-RED_PLC_Example
There is also a link to this post so anybody looking for more information can get it here.
bachphi:
Godra, I was only testing out its capability. You are way far ahead of me.
Godra:
Your testing might actually simplify the overall approach and improve the knowledge of those who dare to try using Node-RED and this particular module you used.
I might eventually try this myself.
dmroeder:
--- Quote from: Godra on December 02, 2023, 08:27:30 PM ---bachphi, that's nice.
Could you post any more info or screenshots (like setup flow text file and a screenshot)?
I have a repository on GitHub which showcases Node-RED and pylogix / pycomm3 libraries, which can be seen here:
https://github.com/GitHubDragonFly/Node-RED_PLC_Example
There is also a link to this post so anybody looking for more information can get it here.
--- End quote ---
Wat!? You're GitHubDragonFly? I did not know that.
Navigation
[0] Message Index
[#] Next page
Go to full version