In the MMT block, a non-existent variable is assigned to a machine module (corrected from V3.14)

Corrected from:
PLC Designer V3.14
ApplicationTemplate Standard project template V3.14
 
Response of the new version:
When inserting a machine module in the MMT block, no unknown variables are assigned to the machine module. The following message appears in the message window of the precompiler:
C0039: VAR_IN_OUT 'Variable' must be assigned in call of 'MFB_Maschinenmodulname'.
 
What happens?
When adding a machine module via the 'Insert Machine Module Instance' context menu command to the MMT block, an unknown variable is assigned to an input of the machine module.
 
When does this behaviour occur?
If the MFB_Maschinenmodulname block has been extended by a VAR_IN_OUT variable, the PLC Designer assigns a global variable not declared in the project to this variable when adding the machine module via the 'Insert Machine Module Instance' command to the MMT block.
 
Which products are affected?
PLC Designer V3.13
ApplicationTemplate Standard project template V3.13
 
Short-term measures:
Replace the unknown variable by the desired variable.
 
Evaluation/recommendations:
Machine modules are frequently extended by an "axis input" (VAR_IN_OUT variable of the AXIS_REF type). In this case, the above function restriction will occur.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/201600424/1/
联络表格 huizang.png沪公网安备 31019002000664号 沪ICP备10008287号-1