Both sides previous revision Previous revision Next revision | Previous revision |
en:software:devices:recdata [2016/12/27 16:43] – [6.1. Simbologia adottata] qem103 | en:software:devices:recdata [2020/07/13 15:00] (current) – qem103 |
---|
| |
| |
===== - Introduction ===== | ====== - Introduction ====== |
| |
The internal RECDATA device is the tool that resides in CPU that allows you to manage data logging type: | The internal RECDATA device is the tool that resides in CPU that allows you to manage data logging type: |
S = Single Float | S = Single Float |
| |
=== - Condizioni === | === - Conditions === |
Vengono descritte tutte le condizioni necessarie affinché il parametro sia considerato corretto | |
o perché il comando venga accettato.\\ | Describes all the conditions necessary so that the parameter is considered correct or because the command is accepted.\\ |
In alcuni casi vengono specificati dei valori limite per laccettazione del parametro: se vengono | In some cases, limit values are specified for the acceptance of the parameter: if introduced any values outside the limits set, the data is however accepted; therefore appropriate controls of the application must be provided to ensure the proper functioning.\\ |
introdotti dei valori esterni ai limiti impostati, il dato viene comunque accettato; pertanto | To execute a command, all the conditions must be met; otherwise, the command is not sent. |
devono essere previsti opportuni controlli dellapplicativo tali da garantire il corretto funzionamento.\\ | |
Per lesecuzione di un comando, tutte le relative condizioni devono necessariamente essere | |
soddisfatte; in caso contrario il comando non viene inviato. | |
| |
**A**\\ | **A**\\ |
Indica la **modalità di accesso**.\\ | Indicates the **access mode**.\\ |
R = Read (lettura).\\ | R = Read.\\ |
W = Write (scrittura).\\ | W = Write.\\ |
RW = Read / Write. | RW = Read / Write. |
| |
==== - Comandi ==== | ==== - Commands ==== |
| |
I comandi sono stati ordinati con priorità decrescente. Ad esempio, in caso di contemporaneità | The commands were ranked by decreasing priority. For example, in the case of contemporary of //INIT// and //EMRG// commands, is acquired first the //INIT// command. |
dei comandi //INIT// ed //EMRG//, viene acquisito per primo il comando //INIT//. | |
| |
^Nome^Condizioni^Descrizione^ | ^Name^Conditions^Description^ |
|STARTR|st_rec = 0\\ st_error = 0|**Start recording**\\ Comanda l'inizio dell'acquisizione dei dati.\\ Attiva lo stato //st_reck//.| | |STARTR|st_rec = 0\\ st_error = 0|**Start recording**\\ Command the beginning of data acquisition.\\ Activates the //st_reck// state.| |
|STOPR|st_rec = 1|**Stop recording**\\ Ferma la procedura di registrazione dati.\\ Azzera lo stato //st_rec//.| | |STOPR|st_rec = 1|**Stop recording**\\ Stops the registration process data.\\ Reset the //st_rec// state.| |
|READSTEP|stepnum>stepin>1|**Read step**\\ Consente di leggere lo step specificato in stepin. il dato è disponibile quando stepin=stepout. E' consigliato leggere quando non è in corso una registrazione (st_rec = 0).| | |READSTEP|stepnum>stepin>1|**Read step**\\ You can read the step specified in stepin. The data is available when stepin=stepout. It is recommended to read when a recording is in progress (st_rec = 0).| |
|INTENBL|capture>0|**Interrupt enable**\\ Abilita cattura dell'interrupt indicato in IntL1 nel file di configurazione. All'arrivo dell'interrupt il devices inizierà la registrazione che verrà memorizzato in delta.\\ Attiva lo stato //st_intenbl//.| | |INTENBL|capture>0|**Interrupt enable**\\ Enable interrupt capture indicated in IntL1 in the configuration file. Upon arrival of the interrupt the devices starts recording that will be stored in delta.\\ Activates the //st_intenbl// state.| |
|INTDSBL|Nessuna|**Interrupt disable**\\ Disabilita la cattura dell'interrupt.\\ Azzera lo stato //st_intenbl//.| | |INTDSBL|No|**Interrupt disable**\\ Disable the interrupt capture.\\ Reset the //st_intenbl// state.| |
|RSCAPTURE|Nessuna|**Reset capture**\\ Disattiva lo stato di //st_capture//.| | |RSCAPTURE|No|**Reset capture**\\ Disable the //st_capture// state.| |
|RSERR|Nessuna|**Reset error**\\ Azzera lo stato //st_error//.| | |RSERR|No|**Reset error**\\ Reset the //st_error// state.| |
|RSWRN|Nessuna|**Reset warning**\\ Azzera lo stato //st_warning//.| | |RSWRN|No|**Reset warning**\\ Reset the //st_warning// state.| |
| |
==== - Parametri ==== | ==== - Parameters ==== |
| |
^Nome^D^R^A^Condizioni^Descrizione^ | ^ Name ^ D ^ R ^ A ^ Conditions ^ Description ^ |
|stepnum|L|0|R|Nessuna|**Step number**\\ Indica il massimo numero di step possibili da registrare. Il valore viene fissato automaticamente all'accensione del sistema e non può essere variato.\\ Range valido: 1 ÷ 999999| | | stepnum | L | 0 | R | No | **Step number**\\ Indicates the maximum number of steps possible to register. The value is automatically fixed when you turn on the system and cannot be changed.\\ Valid range: 1 ÷ 999999 | |
|stepin|L|0|R-W|Nessuna|**Step input**\\ Indica il numero di step che l'utente intende leggere con il comando di READSTEP.\\ Range valido: 1 ÷ //stepnum//| | | stepin | L | 0 | R-W | No | **Step input**\\ Indicates the number of steps that the user wants to read with the READSTEP command.\\ Valid range: 1 ÷ //stepnum// | |
|stepout|L|0|R|Nessuna|**Step output**\\ Indica il numero di step disponibile alla lettura nei parametri data1, data2, data3 e data4.\\ Range valido: -999999 ÷ 999999| | | stepout | L | 0 | R | No | **Step output**\\ Indicates the number of steps available to read in data1, data2, data3 and data4 parameters.\\ Valid range: -999999 ÷ 999999 | |
|data1|L|0|R|Nessuna|**Data number 1**\\ Variabile d'uso. Al suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dediato.| | | data1 | L | 0 | R | No | **Data number 1**\\ Variable use. Inside are the values captured during recording.\\ See dedicated chapter. | |
|data2|L|0|R|Nessuna|**Data number 2**\\ Variabile d'uso. Al suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dedicato.| | | data2 | L | 0 | R | No | **Data number 2**\\ Variable use. Inside are the values captured during recording.\\ See dedicated chapter. | |
|data3|L|0|R|Nessuna|**Data number 3**\\ Variabile d'uso. Al suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dedicato.| | | data3 | L | 0 | R | No | **Data number 3**\\ Variable use. Inside are the values captured during recording.\\ See dedicated chapter. | |
|data4|L|0|R|Nessuna|**Data number 4**\\ Variabile d'uso. Al suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dedicato.| | | data4 | L | 0 | R | No | **Data number 4**\\ Variable use. Inside are the values captured during recording.\\ See dedicated chapter. | |
|capture|B|R|R-W|Nessuna|**Capture mode**\\ Definisce il modo di cattura dell'interrupt sull'impulso di zero.\\ **0**=Disabilitato.\\ **1**=One-shot su fronte di salita. Viene catturato il primo fronte di salita dell`impulso di zero dopo l`attivazione di st_intenbl.\\ **2**=One-shot su fronte di discesa. Viene catturato il primo fronte di discesa dell`impulso di zero dopo l`attivazione di st_intenbl.\\ Range valido: 0 ÷ 2.| | | capture | B | R | R-W | No | **Capture mode**\\ Defines how to catch the interrupt on zero-pulse.\\ **0**=Disable.\\ **1**=One-shot on the rising edge. He was captured on the first rising edge of zero-pulse after enabling of st_intenbl.\\ **2**=One-shot on falling edge. He was captured on the first falling edge of zero-pulse after enabling of st_intenbl.\\ Valid range: 0 ÷ 2. | |
|mode|B|R|R-W|st_rec = 0|**Recording mode**\\ Il modo di registrazione viene definito da un Byte i cui singoli bit, se impostati a 1, abilitano l'acquisizione.\\ **2<sup>0</sup>** = Encoder 1\\ **2<sup>1</sup>** = Encoder 2\\ **2<sup>2</sup>** = Uscita analogica 1\\ **2<sup>3</sup>** = Uscita analogica 2\\ **2<sup>4</sup>** = Errore di inseguimento 1\\ **2<sup>5</sup>** = Errore di inseguimento 2\\ **2<sup>6</sup>** = Encoder virtuale 1\\ **2<sup>7</sup>** = Encoder virtuale 2\\ Ad esempio, se si vogliono registrare i valori di Encoder 1 e Encoder 2, si imposterà mode = 3| | | mode | B | R | R-W | st_rec = 0 | **Recording mode**\\ The recording mode is defined by a Byte whose individual bit, if set to 1, enable the acquisition.\\ **2<sup>0</sup>** = Encoder 1\\ **2<sup>1</sup>** = Encoder 2\\ **2<sup>2</sup>** = Analog output 1\\ **2<sup>3</sup>** = Analog output 2\\ **2<sup>4</sup>** = Following error 1\\ **2<sup>5</sup>** = Following error 2\\ **2<sup>6</sup>** = Virtual encoder 1\\ **2<sup>7</sup>** = Virtual encoder 2\\ For example, if you want to record the values of Encoder 1 and Encoder 2, you will set mode = 3 | |
|tbase|W|R|R|Nessuna|**Time base**\\ Visualizza il tempo di campionamento programmato nel file di configurazione.| | | tbase | W | R | R | No | **Time base**\\ View sample time programmed in the configuration file. | |
|errcode|B|0|R|Nessuna|**Error code**\\ Indica il tipo di errore intervenuto nel sistema. Il codice è valido solo se st_error = 1 (Vedi capitolo dedicato)\\ Range valido: 0 ÷ 100.| | | errcode | B | 0 | R | No | **Error code**\\ Indicates the type of error intervened in the system. The code is valid only if st_error = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100. | |
|errvalue|B|0|R|Nessuna|**Error value**\\ Indica la causa dell'errore intervenuto nel sistema. Il codice è valido solo se st_error = 1 (Vedi capitolo dedicato)\\ Range valido: 0 ÷ 100.| | | errvalue | B | 0 | R | No | **Error value**\\ Indicates the cause of the error in the system. The code is valid only if st_error = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100. | |
|wrncode|B|0|R|Nessuna|**Warning code**\\ Indica il tipo di warning intervenuto nel sistema. Il codice è valido solo se st_warning = 1 (Vedi capitolo dedicato)\\ Range valido: 0 ÷ 100.| | | wrncode | B | 0 | R | No | **Warning code**\\ Indicates the warning type intervened in the system. The code is valid only if st_warning = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100. | |
|wrnvalue|B|0|R|Nessuna|**Warning value**\\ Indica la causa del warning intervenuto nel sistema. Il codice è valido solo se st_warning = 1 (Vedi capitolo dedicato)\\ Range valido: 0 ÷ 100.| | | wrnvalue | B | 0 | R | No | **Warning value**\\ Indicates the cause of the warning intervened in the system. The code is valid only if st_warning = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100. | |
| |
==== - Stati ==== | ==== - States ==== |
| |
^Nome^D^R^A^Condizioni^Descrizione^ | ^ Name ^ D ^ R ^ A ^ Conditions ^ Description ^ |
|st_intenbl|F|0|R|Nessuna|**Interrupt enabled**\\ Segnala l'abilitazione alla cattura dello lo start alla registrazione da linea di interrupt. Viene attivato dal comando INTENBL e disattivato dal comando INTDSBL o sul fronte di salita di st_capture.\\ **0** = Interrupt disabilitato\\ **1** = Interrupt abilitato.\\ All'accensione per default viene posto a zero.| | | st_intenbl | F | 0 | R | No | **Interrupt enabled**\\ Reports enabling the capture of start recording interrupt line. Is activated by the INTENBL command and disable by the INTDSBL command or on the rising edge of st_capture.\\ **0** = Interrupt disable\\ **1** = Interrupt enable.\\ To power up by default is set to zero. | |
|st_capture|F|0|R|Nessuna|**Interrupt captured**\\ Segnalazione di interrupt catturato; viene resettato con il comando RSCAPTURE.\\ **0** = Interrupt non catturato\\ **1** = Interrupt catturato\\ All'accensione per default viene posto a zero.| | | st_capture | F | 0 | R | No | **Interrupt captured**\\ Interrupt signal captured; is reset with the RSCAPTURE command.\\ **0** = Not captured interrupt\\ **1** = Captured interrupt\\ To power up by default is set to zero. | |
|st_int1|F|0|R|Nessuna|**Status of interrupt line 1**\\ Indica lo stato della linea di interrupt IntL1.\\ **0** = Ingresso in interrupt disattivo.\\ **1** = Ingresso in interrupt attivo.\\ All'accensione per default viene posto a zero.| | | st_int1 | F | 0 | R | No | **Status of interrupt line 1**\\ Indicates the status of the IntL1 interrupt line.\\ **0** = Disable interrupt input.\\ **1** = Active interrupt input.\\ To power up by default is set to zero. | |
|st_int2|F|0|R|Nessuna|**Status of interrupt line 2**\\ Indica lo stato della linea di interrupt IntL2.\\ **0** = Ingresso in interrupt disattivo.\\ **1** = Ingresso in interrupt attivo.\\ All'accensione per default viene posto a zero.| | | st_int2 | F | 0 | R | No | **Status of interrupt line 2**\\ Indicates the status of the IntL2 interrupt line.\\ **0** = Disable interrupt input.\\ **1** = Active interrupt input.\\ To power up by default is set to zero. | |
|st_error|F|0|R|Nessuna|**Status of device error**\\ Indica lo stato di errore nel device.\\ Per la decodifica dell'errore si deve fare riferimento alla variabile errcode ed errvalue.\\ **0** = Errore non presente.\\ **1** = Errore presente.\\ All'accensione per default viene posto a zero.| | | st_error | F | 0 | R | No | **Status of device error**\\ Indicates the error state in the device.\\ To decode the error you must reference the errcode and errvalue variables.\\ **0** = Error not present.\\ **1** = Error present.\\ To power up by default is set to zero. | |
|st_warning|F|0|R|Nessuna|**Status of device warning**\\ Indica lo stato di warning nel device.\\ Per la decodifica del warning si deve fare riferimento alla variabile wrncode e wrnvalue.\\ **0** = Warning non presente.\\ **1** = Warning presente\\ All'accensione per default viene posto a zero.| | | st_warning | F | 0 | R | No | **Status of device warning**\\ Indicates the warning state in the device.\\ To decode the warning you must reference the wrncode and wrnvalue variables.\\ **0** = Warning not present.\\ **1** = Warning present\\ To power up by default is set to zero. | |
| |
| |
===== - Limitazioni ===== | ===== - Limitations ===== |
| |
Nessuna limitazione | No limitation |
| |
| |