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.