lib:mdl:mdl-s-ipvarsis-010

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
lib:mdl:mdl-s-ipvarsis-010 [2016/09/12 16:57] – [sys004] qem103lib:mdl:mdl-s-ipvarsis-010 [2019/08/29 17:01] (versione attuale) – modifica esterna 127.0.0.1
Linea 1: Linea 1:
-==== - System Variables ====+==== Variabili di sistema ==== 
 +L'ambiente di sviluppo mette a disposizione una serie di variabili predefinite che possono essere utilizzate precedendo al nome la parola chiave "QMOVE.". Per esempio "QMOVE.is_suspend", "QMOVE.sys001", ecc.  
 +Lo scopo del presente paragrafo è illustrare le 16 variabili di sistema chiamate sys001÷sys016 il cui significato dipende dal firmware che si sta utilizzando. 
  
-The development environment provides series of ready-made variables that can be used by putting the word “QMOVE.” before the nameFor example “QMOVE.is_suspend”, “QMOVE.sys001”, etc. This paragraph is designed to illustrate the 16 system variables called sys001-sys016, whose meaning depends on the firmware that is being used.+== sys001 == 
 +Questa variabile sola lettura indica lo stato dei pulsanti FUNC (bit 0) e BOOT (bit 1)I valori possibili sono dunque:\\ 
 +0 = nessun pulsante premuto.\\ 
 +1 = pulsante FUNC premuto.\\ 
 +2 = pulsante BOOT premuto.\\ 
 +3 = pulsanti FUNC e BOOT premuti.
  
-== - sys001 ==+== sys002 == 
 +Questa variabile permette la lettura dell'immagine del dip-switch SW1. L'immagine viene acquisita solo all'accensione del prodotto. Il bit 0 corrisponde al dip 1 e così via.
  
-This is a read only variable that indicates the status of the FUNC (bit 0) and BOOT (bit 1) buttons. The following settings are possible:\\ +NBAlcuni dip non sono collegati al microprocessore e quindi viene letto sempre al livello logico 0. 
-= no button pressed.\\ +
-1 = FUNC button pressed.\\ +
-2 = BOOT button pressed.\\ +
-3 = FUNC and BOOT buttons pressed.+
  
-== - sys002 ==+== sys003 == 
 +Questa variabile permette il comando del led L1-L2-L3-L4. Il bit 0 corrisponde a L1, il bit1 a L2 e così via.
  
-This variabile allows to read a dump of the SW1 dip-switches. The dump is acquired only after the controller is powered. The Bit 0 corresponds to dip 1 and so on. +== sys004 == 
- +Questa variabile permette l'impostazione del filtro anti-glitch ai segnali delle fasi nei contatori bidirezionaliIl valore è espresso in KHz e si riferisce alla frequenza del segnale di una faseIl range di valori ammesso è 30÷220 
-NOTE: Some dips are not connected to the microprocessor and is therefore always read at logic level 0. +Il valore impostato di default é 220KHz. La variabile può essere anche rilettaLa modifica del filtro può essere fatta in qualsiasi momento
-== - sys003 == +
- +
-This variable allows the command of led's L1-L2-L3-L4. The bit 0 corresponds to L1, the bit1 to L2 and so on. +
- +
-== - sys004 == +
- +
-This variable allows toxet the anti-glitch filter on the phase signals in the two-way countersThe setting is expressed in KHz and refers to the signal frequency of one phaseThe setting range is 30-220The default setting is 220KHz. The variable can also be rereadThe filter can be modified at any time.+
  
 == sys005÷16 == == sys005÷16 ==
 Non utilizzata. Non utilizzata.
  • Ultima modifica: 2019/08/29 17:01