- Interactive Q & A - Interactive Q & A (
-   LIVE PLC Questions And Answers (
-   -   Crimson 3 Allen Bradley String Array (

ddtdustin February 7th, 2018 10:41 AM

Crimson 3 Allen Bradley String Array
2 Attachment(s)
Has anyone ever setup and array in Crimson 3 of string tags which are imported via the "Allen-Bradley Native Tags via L5K file Enhanced" driver?
For example in the attached file the Shot.Data.Part_Number[0-2999].Data tag is an array of 3000 element of strings. The .data member of the string is array of 82 element. The attached file shows crimson is looking at last index in tag name and determining the max size of 82 not 3000. However when I use a simple data box to display the contents of the string they are empty
Shot.Data_Part_Number[0] is empty
Shot.Data_Part_Number[1] is empty
Shot.Data_Part_Number[2] is empty
The .data member in the processor is 'Part Number' so I would have guessed to at less see some of the string when displaying the content of the string.

I have also attached an image of the data tab on the data tag Shot.Data.Part.Number.


ddtdustin February 9th, 2018 03:45 PM

This is a two dimensional array. Two dimensional arrays are not supported by Crimson. In order to make this work it would require 3000 individual string tags.

All times are GMT -5. The time now is 08:00 PM.