ID 20085
Too many external variables were declared. | ||||
Description | In the list for external variables[EXTV] a too high number of external variables (global and channel-specific) was declared, or the number of available variables in the parameter P-EXTV-00010 is wrong. The maximum permissible number of external variables can be found in [SYSP].
Example: anzahl_belegt 500 # var[0].name VARIABLE_1 var[0].type SGN32 # ... # var[100].name VARIABLE_100 var[100].type UNS32 Possible solutions: Check if the parameter P-EXTV-00010 contains the correct number of variable declarations If there are in fact too many variables, you can try to combine variables to variable arrays (same data type) or variable structures (different variable types): Variable-Array: anzahl_belegt 1 # var[0].name VAR_ARRAY_100 var[0].type UNS32 var[0].array_elements 100 Variable-structure: anzahl_belegt 2 # struct[0].name STRUCT_DEF struct[0].element[0].name VARIABLE_1 struct[0].element[0].type SGN32 struct[0].element[1].name VARIABLE_2 struct[0].element[1].type UNS32 # var[0].name VAR_STRUCT var[0].type STRUCT_DEF # var[1].name VAR_STRUCT_ARRAY var[1].type STRUCT_DEF var[1].array_elements 50 | |||
Response | Class | 2 | Not all configured variables are generated. | |
Solution | Class | 3 | Check whether the value in the parameter P-EXTV-00010 is correct. Merge the external variable declarations in the list [EXTV]. | |
Parameter | %1: | Error value [-] | ||
P-EXTV-00010: Number of configured external variables | ||||
%2: | Upper limit value [-] | |||
Maximum number of configured external variables | ||||
Error type | 1, Error message from NC program. | |||
|