UDT data type full array issues with msg instruction

bigLee

Member
Join Date
Jun 2018
Location
Florida
Posts
77
Hello,

I made a UDT with DINT[50] and REAL[50] data types. I cannot seem to get the whole data type array to transmit. I can do all the dints, or all the reals, but not both.

Is the UDT data size too big? Do I need to msg the different data types seperately? I couldn't find much on array size limitations in AB msg instruction whitepaper.

UDT breakdown is as follows...

LS_POLLER_PACKET
-LS_POLLER_DATA_PACKET[0] "through [49]
-LS_POLLER_REALS[0] "through[49]

Any insight is appreciated.

Thanks!
Ben
 
The issue is most likely that you have reached the size limit that can be messaged, which I think is 511 bytes. There is some overhead, so the amount of user data that you can message is less than the 511 byte limit.

You will most likely have to reduce your UDT size in some way. (make 2 UDT's, reduce the array lengths, etc).

Edit: I don't use messages that often, when I do, they are certainly smaller, others may have more to say about this. I'm going with what I *think*, someone may correct me...
 
Last edited:
It was different size issues of udt. I can't work on both at same time(remote cellular site).

Resolved my issue. Thanks for all the good feedback!!
 

Similar Topics

Hi all, Working on a project in Studio 5000 setting up a UDT to read an Input Instance from an EIP device. I have everything set up and it's...
Replies
2
Views
883
I have a project that requires messaging between two PLCs a few STRING, DINT, and INT values. We usually create something like a DINT[20] and...
Replies
9
Views
3,315
Hello! I am completely new to PLCs, so I apologize in advance if this is a dumb question. I have a device that sends out its data as a number of...
Replies
5
Views
2,134
I created a UDT with recipe parameters and have created several Recipe tags using that UDT as a data type, as well as an "Active_Recipe" tag. if...
Replies
1
Views
1,741
Ok, I am having a tough time with an application and figuring out how the best way would be for me. So here is what I would like to accomplish: I...
Replies
28
Views
9,208
Back
Top Bottom