Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:software:devices:modbus [2016/12/20 17:49] – [2. Convenzioni] qem103 | en:software:devices:modbus [2016/12/20 18:06] – [4.2. Dati scrivibili da QCL e condivisibili in MODBUS] qem103 | ||
---|---|---|---|
Line 25: | Line 25: | ||
- | ===== - Dichiarazione device nella unit di configurazione | + | ===== - Device declaration in the configuration |
+ | |||
+ | 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 | + | <device_name> MODBUS |
... | ... | ||
</ | </ | ||
- | Dove: | + | Where: |
- | |INTDEVICE|è la parola chiave che indica l’inizio della definizione di devices | + | |INTDEVICE|is a keyword indicating the beginning of the definition of internal |
- | |<nome_device>|è il nome del device,| | + | |<device_name>|is the device |
- | |MODBUS|è la parola chiave che identifica il device | + | |MODBUS|is the keyword that identifies the device |
- | |TCamp|è tempo di campionamento del device,| | + | |TCamp|is the sampling time of the device,| |
- | |channel|è la definizione del tipo di canale di comunicazione collegato | + | |channel|is the definition of the type of communications channel connected |
- | Per quanto riguarda la dichiarazione dell’hardware | + | To declare the hardware |
- | riferimento al manuale | + | |
- | **Esempio** | + | **Example** |
<code QCL> | <code QCL> | ||
INTDEVICE | INTDEVICE | ||
Line 52: | Line 51: | ||
</ | </ | ||
- | ===== - Tabelle “scambio dati” per il MODBUS ===== | + | ===== - Tables "data exchange" |
- | ==== - Dati letti dal device ==== | + | ==== - Data read from the device ==== |
- | |::: | + | |::: |
- | |::: | + | |::: |
- | ^Registro\\ Modbus| ||||||||||||||||| | + | ^Modbus\\ register| ||||||||||||||||| |
|0001| |||||||iword1| |||||||2< | |0001| |||||||iword1| |||||||2< | ||
|0002| |||||||iword2| |||||||2< | |0002| |||||||iword2| |||||||2< | ||
Line 92: | Line 91: | ||
|0032| |||||||iword32| |||||||2< | |0032| |||||||iword32| |||||||2< | ||
- | NOTA 1: la “ iword1 ” è la word più significativa della “ ilong1 ” (long = doppia | + | NOTE 1: the “ iword1 ” is the most significant |
- | della “ ilong2 ”, ...\\ | + | NOTE 2: the “ st_ibit0 ” parameter less significant |
- | NOTA 2: il parametro | + | |
- | significativo | + | |
- | ==== - Dati scrivibili da QCL e condivisibili | + | ==== - Writable data from QCL and sharable |
- | |::: | + | |::: |
- | |::: | + | |::: |
- | ^Registro\\ Modbus| ||||||||||||||||| | + | ^Modbus\\ register| ||||||||||||||||| |
|0001| |||||||oword1| |||||||2< | |0001| |||||||oword1| |||||||2< | ||
|0002| |||||||oword2| |||||||2< | |0002| |||||||oword2| |||||||2< | ||
Line 135: | Line 132: | ||
|0032| |||||||oword32| |||||||2< | |0032| |||||||oword32| |||||||2< | ||
- | NOTA 1: la “ oword1 ” è la word più significativa della “ olong1 ” (long = doppia | + | NOTE 1: the “ oword1 ” is the most significant |
- | della “ olong2 ”, ...\\ | + | NOTE 2: the “ st_obit0 ” parameter is the less significant |
- | NOTA 2: il parametro | + | |
- | più significativo | + | |