Adress problem

r0udy
2025-08-06
2025-08-13
  • r0udy - 2025-08-06

    Hi, I 've just started a new project.
    Translating SoMachine (SCHNEIDER) to CODESYS 3.5.18//DEMO (EATON XC303)
    I succeed (I think so) to copy FB, STRUCT,... and I also integrated old library.
    When I build F11, I have a first problem :
    - Adress out of rang
    - Overlay
    It's strange, usually %ML100 > %MB800
    Here ONLINE: %ML100 > %MB100 !! I don't understand why ?
    And idea ?
    Thanks

     

    Last edit: r0udy 2025-08-06
  • jampid

    jampid - 2025-08-13

    Bonjour,
    l'adressage EATON est orientΓ© Octet : %MW2 utilise %MB2 et %MB3
    l'adressage Schneider (et Codesys) est orientΓ© Mot : %MW2 utilise %MB4 et %MB5
    un %ML utilise 8 Bytes.
    ceci explique cela
    Deplus, pour programmer le XC303, il faut utiliser le logiciel XSOFT Codesys-3
    Bonne programmation

     

Log in to post a comment.