Vai al contenuto

Configurazione I/O dopo cambio target su progetto

Home Forum Obsoleti SlimLine (CODESYS) Configurazione I/O dopo cambio target su progetto

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #35802
    Anonimo
    Inattivo

    Stò provando dei moduli SlimLine in ambiente CODESYS, ho installato correttamente il target (File TSP) nela directory da voi indicata nel manuale. Se faccio una nuova applicazione tutto funziona correttamente, nel Target setting trovo il modulo, e nel PLC Configuration escono tutti gli indirizzi.

    Se apro una applicazione che ho sviluppato senza aver scelto il target, e lo scelgo successivamente, nel PLC Configution mi dice “not found”. Qualcuno può aiutarmi a risolvere il problema.

    #38941
    Sergio Bertana
    Amministratore del forum

    Il messaggio “__not_found__” (Screenshot) appare nella configurazione PLC quando non è stato scelto nessun target. Ed è ovvio il motivo, CODESYS non può presentare alcuna configurazione hardware in quanto non conosce su che tipo di hardware si sviluppa il progetto. Questione diversa invece quando si cambia il tipo di hardware su un progetto già sviluppato, cambiando target si perde la configurazione PLC, gli eventi associati e le librerie che nel nuovo target non esistono piu. Ecco le informazioni che riporta CODESYS.

    If you change the Target System of an existing CoDeSys Project there are three things which you have to consider:

    1) After changing the Target System the PLC Configuration gets lost. Open the PLC Configuration (in the Ressource Tab) and click on the menu item “Standard Configuration” in the “Extras” menu. Then the PLC Configuration of the new Target System will be loaded.

    2) All Registered Events will get lost. So if you are using Events in your project, you have to assign the event function afresh after changing the target system.

    3) Remove all “old” Libraries in the Library Manager which are left over from the Target System before and does not exist in the new Target System.

    In pratica dopo aver cambiato il target nel progetto, bisogna aprire PLC Configuration (nel Tab Ressource), scegliere nel menù in alto la voce Extras, e clickare sul menù Standard Configuration (Vedi screenshot). In questo modo la configurazione standard del target selezionato verrà caricata.

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Devi essere connesso per rispondere a questo topic.