Infosys在阅读器中打开 / AI 翻译

TX1270 | TwinCAT CNC · 0 次阅读

V.E. array variables: incorrect specification of the memory area

In the case of V.E. variables with the "Array_elements" attribute, a check is made as to whether the "size" attribute corresponds to the variable type used.

Error message

Size not compatible to variable type.

Remedy

Enter the correct value for var[?].size.

Example

Var[3].type = UNS32; (d.h. 4 Byte); var[3].size = 4

Note

The method checks the basic data types only.