AdvancedHMI Software
General Category => Open Discussion => Topic started by: bachphi on December 01, 2023, 07:34:54 PM
-
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.
(https://i.postimg.cc/Pr3TSWcg/Node-red-Browse-Tags.png)
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
(https://i.postimg.cc/288CdcHd/Node-Red-Data-Type-Structure.png)
The ethernet driver module that I use is the 'node-red-contrib-cip-st-ethernet-ip' and on Github:
hhttps://github.com/SerafinTech/node-red-contrib-cip-st-ethernet-ip (https://github.com/SerafinTech/node-red-contrib-cip-st-ethernet-ip)
-
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.
-
Godra, I was only testing out its capability. You are way far ahead of me.
-
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.
-
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.
Wat!? You're GitHubDragonFly? I did not know that.
-
dmroeder, there is a few more posts in this forum that suggest the same, like these 2:
- https://www.advancedhmi.com/forum/index.php?topic=2568.msg18010#msg18010
- https://www.advancedhmi.com/forum/index.php?topic=2563.msg16237#msg16237
I did bother contributing to your pylogix project since it's open sourced and people can find it useful.
-
dmroeder, there is a few more posts in this forum that suggest the same, like these 2:
- https://www.advancedhmi.com/forum/index.php?topic=2568.msg18010#msg18010
- https://www.advancedhmi.com/forum/index.php?topic=2563.msg16237#msg16237
I did bother contributing to your pylogix project since it's open sourced and people can find it useful.
I guess I missed those threads and never made the connection. Thanks for the contributions!
-
Dragonfly! The animated series or the scary one?
-
bachphi, just so you don't find dragonflies scary here is a link to 14 Fun Facts about dragonflies:
- https://www.smithsonianmag.com/science-nature/14-fun-facts-about-dragonflies-96882693/
-
OK, you were not inspired by the 2015 movie.
I know enough about the dragonfly.
Did you know when the dragonfly is flying low, it means it's about to rain and when it's flying higher, it means it's sunny?
-
I did not know that, sounds like it is susceptible to atmospheric pressure or something else related to the weather.
All in all, I am not much into dragonflies even though it's a part of my GitHub username.
-
Winter is coming, and while Judgment Day may not be far behind, Christmas is just around the corner.
Can Archie make this year's wish come true with a new version of AAHMI, powered by .NET 8 and an OPCUA driver?
-
Let's see what I can work up with my time over the holidays.
-
oh Yeah!
(https://i.imgur.com/z0DLcN1.gif)