Issue
Menta Parser Error when attempting to direct download a Menta application.
Warning Reference to unsupported I/O
Error in COD file - Error:13 (Y=___ X=___)
Product Line
TAC Vista
Environment
- Xenta Programmable
- Xenta 280, 281, 282, 283, 300, 301, 302, 401, 401:B
- Menta
Cause
The application may contain an I/O terminal that does not exist in the device type to which the application is being downloaded. This error could also occur in situations where the same I/O terminal reference is used more than once in the application (this could be on the Xenta or the I/O module). Typically caused by copy/paste.
Resolution
It is possible to have a Menta application that looks to be error free during simulation or the generation of the XIF file, but when the application is downloaded to the controller and it is being parsed by the device it reports a warning about unsupported I/O and leaves the controller without an application.
The error window that pops up when trying to perform the download directly from Menta is attempting to show where in the Menta file the error is occurring. If you can read the point names that are highlighted it can help direct toward the invalid I/O termination.
The other option is to look in Options > I/O configuration and make sure there are no duplicates or invalid I/O terminations. For example, a 401 doesn't have any onboard I/O so a termination of M0-K1 wouldn't be valid.
Note: It is recommended that all macro libraries have non-connected outputs and constant value inputs to force the user to edit these fields.