Arrays and AutoMem method
The declaration of a V.E. variable is as follows:
Example:
var[4].name Auto
var[4].type UNS16
var[4].array_elements 0
When the AutoMem method is used, the parameters
var[?].index
var[?].size
are dropped, but above all the absence of the var[?].index parameter is the significant identifying feature of the AutoMem method.
Notice | |
The var[?].size parameter must also be dropped as otherwise exporting to PLC structures is not possible! Otherwise, this restriction does not apply because the description of functions entitled "External variables in the NC, Rev. 8, Page 13" still allows the parameter. |