[ERROR] Dillution Station: C0136: ambiguous use of name 'LinearMemoryManager' [ERROR] Dillution Station: C0138: No matching FB_init method found for instantiation of LinearMemoryManager
Compile complete -- 2 errors, 24 warnings
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My PLC is WAGO PFC200 Firmware Revision 26. target After updating WAGO_Devices_and_Libraries with newer Firmware 27, CODESYS wants to update all libraries to new versions. I will only add that I did not update the Firmware in the PLC.
After compiling the program, I received the following errors:
------ Build started: Application: Device.Application -------
Typify 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: Cannot convert type 'Unknown type: 'RTS_INVALID_HANDLE'' 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'
Compile complete -- 10 errors, 0 warnings
Build complete -- 10 errors, 0 warnings : No download possible
The problem was caused by the WagoSysPlainMem(WAGO) library in the original version 1.5.3.0 after updating to 1.5.3.1.
After returning to version 1.5.3.0, the problems disappeared.
Probably the version number of this library is responsible for supporting the appropriate Firmware Revision.
Can anyone confirm or deny my suspicions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I added dynamic memory allocation to my project (CodeSys 3.5.12.10), I receive the following two errors that I cannot find how to resolve.
[ERROR] Dillution Station: C0136: ambiguous use of name 'LinearMemoryManager'
[ERROR] Dillution Station: C0138: No matching FB_init method found for instantiation of LinearMemoryManager
Compile complete -- 2 errors, 24 warnings
Any ideas?
more posts ...
The issue is related to the inclusion of the VisuElemBase library.
The issue can be reproduced by:
1) Create standard application
2) Enable Dynamic memory
3) Add VisuElemBase library
Compile the application
The same trouble with 3.5.14.30.
C0136: ambiguous use of name 'LinearMemoryManager' during compilation with VisuElemBase.
How to resolve?
Still no progress from anybody?
Hi, set the option "Qualified only" at the library you add.
== >> You must use the namespace in your code like "nbs.IPSTRING_TO_INT"
Regards
Yes, it did the trick)) Thomas, thank you so much!
My PLC is WAGO PFC200 Firmware Revision 26. target After updating WAGO_Devices_and_Libraries with newer Firmware 27, CODESYS wants to update all libraries to new versions. I will only add that I did not update the Firmware in the PLC.
After compiling the program, I received the following errors:
------ Build started: Application: Device.Application -------
Typify 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: Cannot convert type 'Unknown type: 'RTS_INVALID_HANDLE'' 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'
Compile complete -- 10 errors, 0 warnings
Build complete -- 10 errors, 0 warnings : No download possible
The problem was caused by the WagoSysPlainMem(WAGO) library in the original version 1.5.3.0 after updating to 1.5.3.1.
After returning to version 1.5.3.0, the problems disappeared.
Probably the version number of this library is responsible for supporting the appropriate Firmware Revision.
Can anyone confirm or deny my suspicions?