Impostazione funzione gateway Modbus TCP/IP – Support Elsist https://support.elsist.biz/forums/topic/impostazione-funzione-gateway-modbus-tcp-ip/feed/ Fri, 30 Oct 2026 09:03:49 +0000 https://bbpress.org/?v=2.6.20 it-IT https://support.elsist.biz/forums/topic/impostazione-funzione-gateway-modbus-tcp-ip/#post-59765 Impostazione funzione gateway Modbus TCP/IP https://support.elsist.biz/forums/topic/impostazione-funzione-gateway-modbus-tcp-ip/#post-59765 Thu, 29 Apr 2021 14:18:32 +0000 av Stò utilizzando EasyBuilder Pro V6.05.02.434 con cMT3162X. Vorrei utilizzare l’HMI come Gateway Modbus TCP/Siemens S71200. Ho creato il Modbus server, con porta di accesso 502, stazione no. 1 e gateway TCP abilitato, ecco lo screenshot della tabella di scambio.

  • LB-12052 MODBUS server status (disabled when ON): è impostato a FALSE.
  • LW-9288 (16bit) : last error code – MODBUS server (ethernet): ha sempre valore 0

Ho provato ad utilizzare ModbusPoll e Multiway per leggere/scrivere ma senza risultato. Multiway rende questo errore anche quando si prova soltanto a connettersi:

[!]: Winsock Error   10053 [Connexion has been reset by the client]

Possibile che ci siano dei problemi su questa funzione?

Se si ha già un collegamento su ethernet non è possibile utilizzare questa funzione?

]]>
https://support.elsist.biz/forums/topic/impostazione-funzione-gateway-modbus-tcp-ip/#post-59863 Rispondi a: Impostazione funzione gateway Modbus TCP/IP https://support.elsist.biz/forums/topic/impostazione-funzione-gateway-modbus-tcp-ip/#post-59863 Thu, 29 Apr 2021 14:26:56 +0000 Sergio Bertana Mi sembra tutto impostato correttamente, in pratica hai:

Allocato all’indirizzo Modbus 1 512 word nella DB 300 a partire da offset 0, puoi accedere a questi dati con la funzione Modbus 01 Read Coil Status.

Allocato all’indirizzo Modbus 5000 65 word nella DB 301 a partire da offset 0, puoi accedere a questi dati con la funzione Modbus 04 Read Input Registers.

Ora se accedi all’indirizzo IP del pannello con un ModbusPoll e se la connessione con il PLC Siemens è attiva devi poter eseguire i comandi che ti ho indicato. Stai attento all’offset di 1 tipico del Modbus, magari per sicurezza prova con un indirizzo di registro uguale o superiore a 1 e poi controlla l’offset.

]]>