# Now Error C0136, C0046, C0032 but i don't change the code

**URL:** <https://www.wago.community/t/now-error-c0136-c0046-c0032-but-i-dont-change-the-code/2034>\
**Category:** Hardware and Linux\
**Tags:** pfc200, codesys\
**Created:** [July 7, 2025, 8:54am UTC](https://www.wago.community/t/now-error-c0136-c0046-c0032-but-i-dont-change-the-code/2034 "2025-07-07T08:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://www.wago.community/u/Eric)\
**Post date:** [July 7, 2025, 8:54am UTC](https://www.wago.community/t/now-error-c0136-c0046-c0032-but-i-dont-change-the-code/2034/1 "2025-07-07T08:54:20Z")

</div>

Hello,

I’m currently working on a project for a PFC200 using CodeSys 3.5 SP19 patch 2 and I haven’t encountered any errors. I upgraded to patch 7 to try it out, and now I’m getting the following errors, whether in patch 2 or 7:  
----- Compilation process started: application: Device.Application\_Element\_de\_CMD -------  
Assigning a type to a code…  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): FbSerialInterface\_internal: C0136: Ambiguous use of name ‘RTS\_IEC\_HANDLE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): FbSerialInterface\_internal: C0136: Ambiguous use of name ‘RTS\_IEC\_RESULT’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): Initialize [FbSerialInterface\_internal]: C0032: The type 'Unknown type: ‘RTS\_INVALID\_HANDLE’ cannot be converted to type ‘POINTER TO BYTE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): Initialize [FbSerialInterface\_internal]: C0136: Ambiguous use of name ‘RTS\_INVALID\_HANDLE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): Initialize [FbSerialInterface\_internal]: C0046: Identifier ‘RTS\_INVALID\_HANDLE’ not defined  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): comextra\_is\_tx\_empty: C0136: Ambiguous use of name ‘RTS\_IEC\_HANDLE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): comextra\_get\_line\_state: C0136: Ambiguous use of name ‘RTS\_IEC\_HANDLE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): comextra\_is\_line\_available: C0136: Ambiguous use of name ‘RTS\_IEC\_HANDLE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): COMSW\_SET\_MODE: C0136: Ambiguous use of name ‘RTS\_IEC\_HANDLE’  
[ERROR] wagosyscom\_internal\_pfc, 1.0.2.5 (wago): comextra\_set\_line\_state: C0136: Ambiguous use of name ‘RTS\_IEC\_HANDLE’  
Compilation is complete – 10 errors, 0 warnings  
Compilation is complete – 10 errors, 0 warnings: no download possible

Apparently, the error comes from this library. How can I resolve this problem?

Thank you for your attention.

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [July 7, 2025, 1:14pm UTC](https://www.wago.community/t/now-error-c0136-c0046-c0032-but-i-dont-change-the-code/2034/2 "2025-07-07T13:14:34Z")

</div>

Open up the Library Manager and go to the Placeholders screen. Then find wagosyscom\_internal\_pfc in the list. Click on the middle column of that row and you should be able to change the library version. If the most recent is not already selected, pick it. If it is, pick the next more recent instead. This usually solves the issue for me.

---

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://www.wago.community/u/Eric)\
**Post date:** [July 8, 2025, 2:35pm UTC](https://www.wago.community/t/now-error-c0136-c0046-c0032-but-i-dont-change-the-code/2034/3 "2025-07-08T14:35:49Z")

</div>

Hello Adam Reeve,

Thanks for your help, as it was indeed a library version issue. With wagosyscom\_internal\_pfc version 1.0.2.5, I had a lot of errors. I upgraded to version 1.0.2.7, and the errors all disappeared.

Thank you for your help.

Eric
