C0046: Identifier 'IoConfigTaskMap' not defined

C0046: Identifier 'IoConfigTaskMap' not defined
none 0.0 0

I just started a standard project in Codesys 3.5.15.50 with RemoteIO 1.5.3.516. I get This error message. C0046 if I ignor it and keep ading devices the error count exceeds 500 and stops counting. Do I have the wrong version of RemoteIO or what?

Hi @ernie.sparks ,

Could you provide us with some screen shots of the error codes and any other information that maybe linked to this issue.

Thank you!



  1. created standard project.
  2. selected Weintek Built in CODESYS + Ladder
  3. after build is created you get the C046 error message.

any ideas?

Hi @ernie.sparks,

There may be a missing library in your project. Could you navigate to your library manager and see if any are missing? Below are some instructions if needed.

  1. Double click to open the “Library Manager”:
  2. Within the following menu, select “Download missing libraries”:

  1. Follow the prompts to download any missing libraries:
    Note: A library developed by Weintek cannot be retrieved using this method. Instead, please install our Codesys package on this PC. We highly recommend using Codesys version 3.5.15.50.*

That worked, to get rid of the errors.

Hi @ernie.sparks,

I am glad that did the trick. Here is a additional resource for other common fixes to Codesys errors. Codesys programming errors

Apparently you have to update the Library every time you add something. I added Modbus master & slave and they both created many errors.

Hi @ernie.sparks,

Below are the recommended drivers for our Weintek CODESYS package. Could you confirm the versions of the drivers in your project? Here is a link to our Weintek Codesys FAQ page if you need to download anything.