-

Configuration Error (PLCN0018): The program type '...' must be instantiated under esm '...'.

An error has been detected in the instantiation of a Matlab® multirate program. Such programs may consist of several partial programs. Each partial program must be instantiated separately. As they can be assigned to different tasks (of the same ESM) in your solution, different update cycles can be used within one model. Such programs are referred to as multirate programs.

The partial program mentioned in the error message has not yet been instantiated in the ESM specified in the error message. However, all partial programs belonging to a multirate program must be instantiated.

For more information refer to the topic "Matlab® Integration", section "Multirate programs consisting of several partial programs".

Remedy

  1. Double-click the error message to open the 'Tasks and Events' editor of the 'PLCnext' node in the PLANT. The suspected table line is marked.
  2. Instantiate the mentioned multirate program type in the ESM specified in the error message.