Iris _

Pixsys Forum

everybody's effort for the same goal

SCRITTURA STRINGA TD410 tramite modbus

Post Reply
MassimoIuston
Posts: 5
Joined: 19/01/2023, 8:20

SCRITTURA STRINGA TD410 tramite modbus

Post by MassimoIuston »

Buongiorno,
devo rendere accessibili delle variabili del TD410 tramite MODBUS/TCP, quindi l'ho impostato come slave, ho compilato la tabella "Status variables" e tutto funziona correttamente tranne per il fatto che non riesco a scrivere le stringhe .... ho provato sia con il simulatore Modbus Poll, sia con un altro dispositivo Master ma niente, non riesco a modificare il campo ( ovviamente nelle proprietà è scrivibile).
La stringa prima l'ho creata nelle variabili progetto poi l'ho copiata ed incollata nella tabella "Status variables".

qual è il problema?
Pixsys tecnico 6
Moderatore
Posts: 1188
Joined: 12/09/2016, 14:49

Re: SCRITTURA STRINGA TD410 tramite modbus

Post by Pixsys tecnico 6 »

Buongiorno,
Mi saprebbe indicare la versione di runtime del sistema come da immagine sotto?
Lo vede nella sezione "output" dopo un download del sorgente nel target.
Output.jpg
Cordiali saluti
You do not have the required permissions to view the files attached to this post.
MassimoIuston
Posts: 5
Joined: 19/01/2023, 8:20

Re: SCRITTURA STRINGA TD410 tramite modbus

Post by MassimoIuston »

Buongiorno,
1.26.3
You do not have the required permissions to view the files attached to this post.
Pixsys tecnico 6
Moderatore
Posts: 1188
Joined: 12/09/2016, 14:49

Re: SCRITTURA STRINGA TD410 tramite modbus

Post by Pixsys tecnico 6 »

Buongiorno,
Allego progetto + Programma di simulazione con cui ho eseguito i test senza riscontrare nessun tipo di problema.
Prima di procedere all'apertura del progetto, scaricare l'ultima versione di LogicLab dal nostro sito.
Grazie

Cordiali saluti
You do not have the required permissions to view the files attached to this post.
MassimoIuston
Posts: 5
Joined: 19/01/2023, 8:20

Re: SCRITTURA STRINGA TD410 tramite modbus

Post by MassimoIuston »

Buongiorno,
devo tornare sull'argomento in quanto non riesco a scrivere correttamente le stringhe anche sul suo esempio
Di seguito come si può vedere nell' immagine leggo con i simulatori 4 stringhe
focaccia
bianco
mamma
ciao
A.jpg
se ora vado a sostituire focaccia con ciao con il simulatore Qmodbus
B.jpg
ed eseguo il comando read/write ottengo l'errore
errore.jpg
Cosa sbaglio?
Qual è l'impostazione / regola che mi sta scappando?
You do not have the required permissions to view the files attached to this post.
Post Reply