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/20 17:46] – [1. Introduzione] qem103en:software:devices:modbus [2016/12/20 18:00] – [4.1. Dati letti dal device] qem103
Line 13: Line 13:
  
  
-===== - Convenzioni =====+===== - Conventions =====
  
-Il protocollo di comunicazione modbus standard definisce tipi di dati di scambio+The modbus communication protocol standard defines types of Exchange data
-  * INPUT STATUS = Ingressi digitali (Digital Inputs) +  * INPUT STATUS = Digital Inputs 
-  * COIL STATUS = Uscite digitali (Digital Outputs) +  * COIL STATUS = UDigital Outputs 
-  * INPUT REGISTER = Ingressi analogici (Analog Inputs) +  * INPUT REGISTER = Analog Inputs 
-  * HOLDING REGISTER. = Uscite analogiche (Analog Outputs). +  * HOLDING REGISTER. = Analog Outputs 
-Nel corso del manuale si deve tener conto delle convenzioni presenti.+Throughout the manual you have to take into account existing conventions.
  
  
  
  
-===== - Dichiarazione device nella unit di configurazione =====+===== - Device declaration in the configuration unit ===== 
 + 
 +Declaration of the used device (internal device): device name assigned, MODBUS, slot location and number of the device.
  
-Dichiarazione del device utilizzato (device interno): nome del device assegnato, MODBUS, posizione dello slot e numero 
-del device. 
 <code QCL> <code QCL>
 INTDEVICE INTDEVICE
 ... ...
-<nome_device>      MODBUS    TCamp    channel+<device_name>      MODBUS    TCamp    channel
 ... ...
 </code> </code>
  
-Dove+Where
-|INTDEVICE|è la parola chiave che indica l’inizio della definizione di devices interni,| +|INTDEVICE|is a keyword indicating the beginning of the definition of internal devices,| 
-|<nome_device>|è il nome del device,| +|<device_name>|is the device name,| 
-|MODBUS|è la parola chiave che identifica il device descritto in questo documento,| +|MODBUS|is the keyword that identifies the device described in this document,| 
-|TCamp|è tempo di campionamento del device,| +|TCamp|is the sampling time of the device,| 
-|channel|è la definizione del tipo di canale di comunicazione collegato (0 = Prog, 1 = User, per le altre porte il numero identificativo dipende dal tipo hardware firmware dello strumento utilizzato, 43 = Ethernet port per un modbus TCPIP).|+|channel|is the definition of the type of communications channel connected (0 = Prog, 1 = User, for the other ports the ID number depends on the hardware and firmware of the instrument used, 43 = Ethernet port to a modbus TCPIP).|
  
-Per quanto riguarda la dichiarazione dell’hardware utilizzato nella sezione “BUS” dell’unità di configurazione si dovrà fare +To declare the hardware used in the “BUS” section of the configuration unit you will have to refer to the firmware of the hardware itself.
-riferimento al manuale firmware dell’hardware stesso.+
  
-**Esempio**+**Example**
 <code QCL> <code QCL>
 INTDEVICE INTDEVICE
Line 52: Line 51:
 </code> </code>
  
-===== - Tabelle “scambio dati” per il MODBUS =====+===== - Tables "data exchange" for MODBUS =====
  
-==== - Dati letti dal device ====+==== - Data read from the device ====
  
-|:::^1^2^3^4^5^6^7^  8  ^9^10^11^12^13^14^15^16^Indice tabella+|:::^1^2^3^4^5^6^7^  8  ^9^10^11^12^13^14^15^16^Index table
-|:::^15^14^13^12^11^10^9^  8  ^7^6^5^4^6^2^1^0^Peso dei bit(2<sup>N</sup>)^ +|:::^15^14^13^12^11^10^9^  8  ^7^6^5^4^6^2^1^0^Weight of the bits(2<sup>N</sup>)^ 
-^Registro\\ Modbus| |||||||||||||||||+^Modbus\\ register| |||||||||||||||||
 |0001| |||||||iword1| |||||||2<sup>16</sup>|ilong1| |0001| |||||||iword1| |||||||2<sup>16</sup>|ilong1|
 |0002| |||||||iword2| |||||||2<sup>0</sup>|:::| |0002| |||||||iword2| |||||||2<sup>0</sup>|:::|
Line 92: Line 91:
 |0032| |||||||iword32| |||||||2<sup>0</sup>|:::| |0032| |||||||iword32| |||||||2<sup>0</sup>|:::|
  
-NOTA 1: la “ iword1 ” è la word più significativa della “ ilong1 ” (long = doppia word), la “iword3” è la word più significativa +NOTE 1: the “ iword1 ” is the most significant word of the “ ilong1 ” (long = double word), the “iword3” is the most significant word of the “ ilong2 ”, ...\\ 
-della “ ilong2 ”, ...\\ +NOTE 2: the “ st_ibit0 ” parameter less significant bit (with weight 0) of the “ iword1 ”, while the “ st_ibit15 ” bit is the most significant (with weight 15) of the “ iword1 ”.
-NOTA 2: il parametro “ st_ibit0 ” è il bit meno significativo (con peso 0) della “ iword1 ”, mentre il bit “ st_ibit15 ” è il bit più +
-significativo (con peso 15) della “ iword1 ”.+
  
 ==== - Dati scrivibili da QCL e condivisibili in MODBUS ==== ==== - Dati scrivibili da QCL e condivisibili in MODBUS ====
  • Last modified: 2020/07/13 14:58