en:software:devices:recdata

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
en:software:devices:recdata [2016/12/27 17:06] – [6.3. Parametri] qem103en:software:devices:recdata [2020/07/13 15:00] (current) qem103
Line 2: Line 2:
  
  
-===== - 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:
Line 157: Line 157:
 | 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//                                                                                                                                                                                                                                                                                                                                                                                                                                         | | 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    | No     | **Step output**\\ Indicates the number of steps available to read in data1, data2, data3 and data4 parameters.\\ Valid range: -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    | No     | **Data number 1**\\ FIXED Variabile d'usoAl suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dediato.                                                                                                                                                                                                                                                                                                                                                                                                                                       | +| data1     | L  | 0  | R    | No     | **Data number 1**\\ Variable useInside are the values captured during recording.\\ See dedicated chapter.                                                                                                                                                                                                                                                                                                                                                                                                                                       | 
-| data2     | L  | 0  | R    | No     | **Data number 2**\\ Variabile d'usoAl suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dedicato.                                                                                                                                                                                                                                                                                                                                                                                                                                      | +| data2     | L  | 0  | R    | No     | **Data number 2**\\ Variable useInside are the values captured during recording.\\ See dedicated chapter.                                                                                                                                                                                                                                                                                                                                                                                                                                      | 
-| data3     | L  | 0  | R    | No     | **Data number 3**\\ Variabile d'usoAl suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dedicato.                                                                                                                                                                                                                                                                                                                                                                                                                                      | +| data3     | L  | 0  | R    | No     | **Data number 3**\\ Variable useInside are the values captured during recording.\\ See dedicated chapter.                                                                                                                                                                                                                                                                                                                                                                                                                                      | 
-| data4     | L  | 0  | R    | No     | **Data number 4**\\ Variabile d'usoAl suo interno di trovano i valori catturati durante la registrazione.\\ Vedi capitolo dedicato.                                                                                                                                                                                                                                                                                                                                                                                                                                      | +| data4     | L  | 0  | R    | No     | **Data number 4**\\ Variable useInside are the values captured during recording.\\ See dedicated chapter.                                                                                                                                                                                                                                                                                                                                                                                                                                      | 
-| capture   | B  | R  | R-W  | No     | **Capture mode**\\ Definisce il modo di cattura dell'interrupt sull'impulso di zero.\\ **0**=Disabilitato.\\ **1**=One-shot su fronte di salitaViene catturato il primo fronte di salita dell`impulso di zero dopo l`attivazione di st_intenbl.\\ **2**=One-shot su fronte di discesaViene 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 edgeHe was captured on the first rising edge of zero-pulse after enabling of st_intenbl.\\ **2**=One-shot on falling edgeHe 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 esempiose si vogliono registrare i valori di Encoder 1 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 exampleif you want to record the values of Encoder 1 and Encoder 2, you will set mode = 3  | 
-| tbase     | W  | R  | R    | No     | **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    | No     | **Error code**\\ Indica il tipo di errore intervenuto nel sistemaIl 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 systemThe code is valid only if st_error = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100.                                                                                                                                                                                                                                                                                                                                                                                                               | 
-| errvalue  | B  | 0  | R    | No     | **Error value**\\ Indica la causa dell'errore intervenuto nel sistemaIl 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 systemThe code is valid only if st_error = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100.                                                                                                                                                                                                                                                                                                                                                                                                           | 
-| wrncode   | B  | 0  | R    | No     | **Warning code**\\ Indica il tipo di warning intervenuto nel sistemaIl 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 systemThe code is valid only if st_warning = 1 (See dedicated chapter)\\ Valid range: 0 ÷ 100.                                                                                                                                                                                                                                                                                                                                                                                                          | 
-| wrnvalue  | B  | 0  | R    | No     | **Warning value**\\ Indica la causa del warning intervenuto nel sistemaIl 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 systemThe 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 lineIs 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 catturatoviene 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 capturedis 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 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
  
  
  • Last modified: 2019/08/29 17:18