Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Dynamic Memory with Control RTE V3 64

2019-12-03
2019-12-11
  • jerry.sorrells - 2019-12-03

    We are converting a project from a 32-bit controller running Codesys to Control RTE V3 64 (version 3.5.9.10) . The project uses dynamic memory allocation. When Application->Properties->Application build options->"Use dynamic memory allocation" is selected, the library CDS_MemMan (Codesys Memory Manager, 3.4.2.0) is implicitly added to the Library Manager. After the library is added, building the application results in multiple errors for type conversions between DWORDs (32-bit) and POINTERs (64-bit) and all of the errors are associated with the CDS_MemMan library. When dynamic memory allocation is disabled, the errors go away, but of course we can no longer use dynamic memory in the application.

    IMG: Screen Shot 2019

     
  • eschwellinger

    eschwellinger - 2019-12-09

    Hi,

    hm Codesys Memory Manager, 3.4.2.0 - hm this is preatty old, could you check if the project need to be updated
    I would expect to have this lib at least in 3.5.12.0
    ( so update projcet compiler/ visu profile and device descriptions to current version is maybe needed)

    BR
    Edwin

     
  • jerry.sorrells - 2019-12-10

    Hi, Edwin. Thank you for your reply. The only reason we're still at 3.5.9 is the DataServer. We plan to update and quit using the DataServer, but we're looking for an intermediary step. Do you happen to know the most updated version of Codesys that still supports the DataServer?

     
  • m.prestel - 2019-12-11

    Hello,

    in SP10 the dataserver was replayed by the new data sources manager.
    Here is the release note

    Zitat:
    With CODESYS Version V3.5 SP10 the DataServer will be replaced by the new Data Sources Manager. Projects with DataServer can be used furthermore when the compiler version and the visualization profile is not updated. When the compiler version and the visualization profile is updated to V3.5 SP10 then the DataServer must be converted to the new Data Sources Manager. A command is provided in the context menu when the DataServer is selected.

    Best regards,
    Marcel

     
  • jerry.sorrells - 2019-12-11

    Thank you, Marcel.

     

Log in to post a comment.