
DLaty (Customer) asked a question.
Hello Productivity users / support.
I have an issue using an instance of a UDS for this barcode reader. I have created the UDS to utilize the same code for 4X of these barcode readers. But when I try to populate the ethernet
adapter input array, it says the datatype is not correct. See the screenshots of the error.
I also included a screenshot that shows the array in my UDS is a 1D 138 col array of 8bit integers
When I create the exact same array 1D 138 columns of 8bit integer. then I can use that variable as the data array input just fine.
Thanks for reaching out! Unfortunately, 2D array tags aren't supported for EtherNet/IP.
Here's why: in the TagDB, your barcode tag is set up as a 1D array, and then the UDS barcode tag is also an array. When you combine these, our software treats it as a 2D array, which isn't allowed in this case.
The good news is there's an easy workaround — instead of using a single array, create four individual barcode tags (barcode1, barcode2, barcode3, barcode4), each using the barcode UDS. That way, each tag is 1D, and you'll be able to use them in your EtherNet/IP configuration without issue.