Today we noticed that a stored procedure doesn’t writes strings correctly. Our PLC program is an allen bradley controllogix program and we try to write strings there. The string structure is composed by a lenght parameter and a SINT array, so the array have the chars and the LEN parameter have the lenght of the string. When i write the string tag with my stored procedure, chars are written fine but the lenght still been “0”.
The string tag in ignition was configured like this: [LM_P1]BatchDB_in.Head.String.DATA,SC10
I would like to know if i can do something to avoid write the “LEN” parameter with the procedure.
Thanks in advance.