Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
UDTs?
« previous
next »
Print
Pages: [
1
]
Author
Topic: UDTs? (Read 2287 times)
Jesse
Jr. Member
Posts: 50
UDTs?
«
on:
July 04, 2017, 10:18:20 PM »
Will the current AdvancedHMI Controllogix driver read UDT Tag values? For example if I have a Motor AOI Named "P_2201" will it read:
P_2201.Running (Boolean)
P_2201.Status (String)
P_2201.Mode (Dint)
P_2201.FeedbackTime (Real)
Logged
Phrog30
Guest
Re: UDTs?
«
Reply #1 on:
July 04, 2017, 10:23:56 PM »
Sure it will, but you will not be able to read as a block like you could with a DINT or REAL array.
Logged
dmroeder
Administrator
Full Member
Posts: 212
Re: UDTs?
«
Reply #2 on:
July 05, 2017, 09:59:57 AM »
Basically what he's saying is that you can read each one of those individually. You could do a multi-read to get the data more efficiently:
http://advancedhmi.com/forum/index.php?topic=1560.0
If you want to just read P_2201 and get all the data in one block, you will have to do work on your end. I believe the driver will return all the values in that UDT, however it's up to you to know how the data will be packed in the reply, and you will have to write code to parse it.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
UDTs?