en:software:devices:modbus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:software:devices:modbus [2016/12/21 17:50] – [Force coil] qem103en:software:devices:modbus [2016/12/21 18:03] – [Force multiple register] qem103
Line 197: Line 197:
  
 === Force register === === Force register ===
-Funzione di scrittura singola wordSi vuole scrivere (forzarela word di un certo slave (//idcard//). Viene impostato il parametro + 
-//type// = 6.\\ Bisogna impostare addr per indicare l’indirizzo della word nello slave in cui si intende scrivereBisogna +Word write functionFor write (forcethe word of a slave (//idcard//). Sets the parameter //type// = 6.\\ You must set addr to indicate the address of the word in the slave that you intend to writeYou must set tabreg to indicate the index of the word in the data write table” that contains the value to be written.
-impostare tabreg per indicare l’indice della word nella tabella dei dati da scrivere” in cui è contenuto il valore da scrivere.+
  
 === Force multiple coil === === Force multiple coil ===
-Funzione di scrittura bit multipliSi vogliono scrivere (forzarebit di un certo slave (//idcard//). Viene impostato il parametro + 
-//type// = 15.\\ Bisogna impostare addr per indicare l’indirizzo del bit nello slave in cui si intende scrivereSi deve impostare in +Multiples bit write functionFor write (forcethe bit of a slave (//idcard//). Sets the parameter //type// = 15.\\ You must set addr to indicate the address of the bit in the slave that you intend to writeYou must set in num the number of bits to writeYou must set tabreg to indicate the bit index of the data write table” from which to begin the values to be writtenIt is recommended to always meet the following two conditions:\\ 
-num il numero di bit da scrivereBisogna impostare tabreg per indicare l’indice del bit nella tabella dei dati da scrivere +(addr + num - 1) <= 512 e (tabreg + num - 1) <= 512 otherwise the request will fail (reporting by wcmd).
-da cui iniziano i valori da scrivereSi raccomanda di soddisfare sempre le seguenti due condizioni:\\ +
-(addr + num - 1) <= 512 e (tabreg + num - 1) <= 512 altrimenti la richiesta non potrà essere eseguita (segnalazione mediante wcmd).+
  
 === Force multiple register === === Force multiple register ===
-Funzione di scrittura word multipleSi vogliono scrivere (forzare) le word di un certo slave (//idcard//). Viene impostato il parametro + 
-//type// = 16.\\ Bisogna impostare addr per indicare l’indirizzo della word nello slave in cui si intende scrivereSi deve +Multiples word write functionFor write (forzare) the word of a slave (//idcard//). Sets the parameter //type// = 16.\\ You must set addr to indicate the address of the word in the slave that you intend to writeYou must set in num the number of word to writeYou must set tabreg to indicate the index of the word in the dat write table” from which to begin the values to be writtenIt is recommended to always meet the following two conditions:\\ 
-impostare in num il numero di word da scrivereBisogna impostare tabreg per indicare l’indice della word nella tabella +(addr + num - 1) <= 32 e (tabreg + num - 1) <= 32 otherwise the request will fail (reporting by wcmd).
-dei dati da scrivere” da cui iniziano i valori da scrivereSi raccomanda di soddisfare sempre le seguenti due condizioni:\\ +
-(addr + num - 1) <= 32 e (tabreg + num - 1) <= 32 altrimenti la richiesta non potrà essere eseguita (segnalazione mediante wcmd).+
  
 ==== - Esempi ==== ==== - Esempi ====
  • Last modified: 2020/07/13 14:58