Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Open Discussion
»
ReadUDT Size
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: ReadUDT Size (Read 6340 times)
bachphi
Hero Member
Posts: 671
Re: ReadUDT Size
«
Reply #15 on:
December 02, 2023, 08:51:30 PM »
LOL, you realized it's for Codesys PLC, not Rockwell source.
I would trust this guy Ron Beaufort:
https://www.plctalk.net/qanda/showthread.php?t=59105
Plus, a string contains ASCII code from 0-255., make more sense than -128-127.
«
Last Edit: December 02, 2023, 08:53:30 PM by bachphi
»
Logged
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================
Godra
Hero Member
Posts: 1447
Re: ReadUDT Size
«
Reply #16 on:
December 02, 2023, 08:58:28 PM »
Here is another link that states the same as what I posted previously:
https://docs.inmation.com/system/1.94/datasource-interfaces/plc-datasource/ablogix5000.html
Logged
Godra
Hero Member
Posts: 1447
Re: ReadUDT Size
«
Reply #17 on:
December 02, 2023, 09:01:41 PM »
Maybe Archie could pitch in his knowledge of SINT type.
Logged
Kramrellim
Newbie
Posts: 12
Re: ReadUDT Size
«
Reply #18 on:
December 03, 2023, 10:05:50 AM »
Thanks guys for the help.
It looks like it use the array size as Godra suggested.
today I'll see if I can read the complete UDT.
Logged
Kramrellim
Newbie
Posts: 12
Re: ReadUDT Size
«
Reply #19 on:
December 04, 2023, 08:15:26 AM »
Guys,
Thanks for your help. I got everything working that I need to have working.
I can poll all the data I need from one UDT in 30msec. I poll every 300msec with a Timer.
Thanks again.
Logged
bachphi
Hero Member
Posts: 671
Re: ReadUDT Size
«
Reply #20 on:
December 04, 2023, 10:44:54 AM »
Have you checked the actual string?
Logged
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================
Print
Pages:
1
[
2
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Open Discussion
»
ReadUDT Size