en:software:devices:datacell

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:datacell [2016/11/07 14:42] – [4. Command and parameter table] qem103en:software:devices:datacell [2020/07/13 14:53] (current) qem103
Line 2: Line 2:
  
  
-===== - Introduction =====+====== - Introduction ======
  
 The DATACELL device, is used to store data in a non-volatile device and is inserted in the family Micro-Qmove when there is no HMI device;\\ The DATACELL device, is used to store data in a non-volatile device and is inserted in the family Micro-Qmove when there is no HMI device;\\
Line 89: Line 89:
 ===== - Commands and parameters table ===== ===== - Commands and parameters table =====
  
-==== - SIMBOLOGIA ADOTTATA ====+==== - SYMBOLS USED ====
  
-Il **nome** del parametrostato o comando è riportato alla sinistra della tabella.+The **name** of the parameterstate or command are shows on the left of the table.
  
 **R**\\ **R**\\
-Indica se il relativo parametro o stato è ritentivo (al momento dell’inizializzazione del device mantiene lo stato precedentemente definito), oppure lo stato che assume al momento dell’inizializzazione del device.\\ +Indicates if the parameter or state is retentive (upon initialization of the device maintains the previously defined), or the state assumes upon initialization of the device.\\ 
-Se il device non necessita d'inizializzazione il campo “R” indica il valore che il parametro o stato assume all’accensione +If the device does not need to initialize the field "R" indicates the value that the parameter or state take at the power up of the card.\\ 
-della scheda.\\ +R = Retentive\\ 
-R = Ritentivo\\ +0 = Upon initialization of the device the value is forced to zero.\\ 
-0 = Al momento dell’inizializzazione del device il valore è forzato a zero.\\ +1 = Upon initialization of the device the value is forced to one.\\ 
-1 = Al momento dell’inizializzazione del device il valore è forzato a uno.\\ +- = Upon initialization of the device is presented significant value.
-- = Al momento dell’inizializzazione del device è presentato il valore significativo.+
  
 **D**\\ **D**\\
-Indica la **dimensione del parametro**.\\+Indicates the **dimensions of the parameter**.\\
 F = Flag\\ F = Flag\\
 B = Byte\\ B = Byte\\
Line 110: Line 109:
 S = Single Float\\ S = Single Float\\
  
-=== - Condizioni === +=== - Conditions === 
-Sono descritte tutte le **condizioni necessarie affinché il parametro sia considerato corretto o perché il comando sia accettato**.\\ In alcuni casi sono specificati dei valori limite per l’accettazione del parametrose sono introdotti dei valori esterni ai limiti impostatiil dato è in ogni caso accettatopertanto devono essere previsti opportuni controlli dell’applicativo tali da garantire il corretto funzionamento.\\ Per l’esecuzione di un comandotutte le relative condizioni devono necessariamente essere soddisfattein caso contrario il comando non è inviato.+ 
 +Are desscribe all the **conditions that must exist is considered correct or because the command is accepted**.\\ In some cases, limit values are specified for the acceptance of the parameterIf there are any values outside the limits setthe data is in any case acceptedtherefore appropriate controls of the application must be provided to ensure the proper functioning.\\ To run a commandall the conditions required to be metotherwise the command is not sent.
  
 **A**\\ **A**\\
-Indica il modo d'accesso.\\ +Indicates the access mode.\\ 
-R = Read (lettura).\\ +R = Read.\\ 
-W = Write (scrittura).\\+W = Write.\\
 RW = Read / Write. RW = Read / Write.
  
-==== - Parametri ====+==== - Parameters ====
  
-^Nome^D^R^A^Condizioni^Descrizione+^Name^D^R^A^Conditions^Description
-|numelem|B|R|RW|-|**Elements number**\\ Indica il numero di elementi all’interno di un passo\\ Range valido: 1 ÷ 6| +|numelem|B|R|RW|-|**Elements number**\\ Indicates the number of elements within a step\\ Valid range: 1 ÷ 6| 
-|numstep|W|R|RW|-|**Step number**\\ Indica il numero di passi in ogni programma\\ Range valido: 1 ÷ 8192| +|numstep|W|R|RW|-|**Step number**\\ Indicates the number of steps in each program\\ Valid range: 1 ÷ 8192| 
-|numprog|W|-|R|-|**Program number**\\ Indica il numero di programmi disponibiliIl valore dipende da\\ 1) il numero totale di long disponibili in memoria programmi,\\ 2) dal valere del parametro numelem,\\ 3) dal valore del parametro numstep\\ 4) dalla abilitazione del fine programma.\\ La formula è la seguente:\\ numprog = 8192 / [(numstep * numelem) + 1 (se abilitato il fine programma)].| +|numprog|W|-|R|-|**Program number**\\ Indicates the number of the available programsThe value depends on\\ 1) the total number of long available in program memory,\\ 2) from the value of numelem parameter,\\ 3) from the value of numstep parameter\\ 4) by enabling the end of program.\\ The formula is as follows:\\ numprog = 8192 / [(numstep * numelem) + 1 (when enabled the program end)].| 
-|progin|W|0|RW|-|**Program input**\\ Indica il numero del programma da memorizzare con il comando WRITESTEP o leggere con il comando READSTEP.| +|progin|W|0|RW|-|**Program input**\\ Indicates the program number to be stored with the WRITESTEP command or read with the READSTEP command.| 
-|stepin|W|0|RW|-|**Step input**\\ Indica il numero del passo da memorizzare con il comando WRITESTEP o leggere con il comando READSTEP.| +|stepin|W|0|RW|-|**Step input**\\ Indicates the number of the step to be stored with the WRITESTEP command or read with the READSTEP command.| 
-|stepout|W|0|RW|-|**Step output**\\ Indica che il passo scritto è stato memorizzato oppure che il passo in lettura è disponibilePer verificare che il comando inviato (WRITESTEP READSTEP) è stato eseguito è necessario controllare che stepin = stepout.| +|stepout|W|0|RW|-|**Step output**\\ Indicates that the written step has been stored or the step into reading is availableTo verify that the command sent (WRITESTEP or READSTEP) was run you should check that stepin = stepout.| 
-|elema..f|L|0|RW|-|**Elements A..F**\\ Sono i valori del passo utilizzati con i comandi READSTEP WRITESTEP| +|elema..f|L|0|RW|-|**Elements A..F**\\ Are the values of the step used with READSTEP and WRITESTEP commands
-|elemend|W|0|RW|-|**Elements for end program**\\ Se diverso da zero Indica che il passo ha fine programma.| +|elemend|W|0|RW|-|**Elements for end program**\\ If non-zero indicates that the step has end program.| 
-|readstep|-|-|R|-|**ReadStep**\\ Consente la lettura del passo selezionato in stepin| +|readstep|-|-|R|-|**ReadStep**\\ Reads the selected step in stepin| 
-|writestep|-|-|R|-|**WriteStep**\\ Consente la scrittura del passo selezionato in stepin| +|writestep|-|-|R|-|**WriteStep**\\ Writes the selected step in stepin| 
-|prgsetting|B|R|RW|-|**Setting program data-entry**\\ Il bit ZERO abilita l'introduzione del fine programma.\\ Quando questo bit è il numero di programmi "numprog" diventa:\\ nuprog = 8192 / (numstep * numelem + 1).\\ Se il bit "0" a "0" il numero di programmi diretta:\\ numprog = 8192 / (numstep * numelem)|+|prgsetting|B|R|RW|-|**Setting program data-entry**\\ The ZERO bit enables the introduction of program end.\\ When this bit is the number of programs "numprog" becomes:\\ nuprog = 8192 / (numstep * numelem + 1).\\ If the bit "0" is a "0" the number of programs becomes:\\ numprog = 8192 / (numstep * numelem)|
  
-==== - Comandi ====+==== - Commands ====
  
-^Nome^D^R^A^Condizioni^Descrizione+^Name^D^R^A^Conditions^Description
-|readstep|-|-|R|-|**ReadStep**\\ Consente la lettura del passo selezionato in stepin| +|readstep|-|-|R|-|**ReadStep**\\ Reads the selected step in stepin| 
-|writestep|-|-|R|-|**WriteStep**\\ Consente la scrittura del passo selezionato in stepin|+|writestep|-|-|R|-|**WriteStep**\\ Writes the selected step in stepin|
  
  
-===== - Limitazioni =====+===== - Limitations =====
  
-L'operazione di scrittura tramite il comando WRITESTEP deve essere eseguita tenendo conto che a causa del componente +The write operation via the WRITESTEP command should be done keeping in mind that because of the memory component used (serial Flash Eprom) this operation is costly in terms of time spentIn fact the time used is variable from 512 to 1024 times the sampling time associated with DATACELL device. So this type of memory can be used to contain data that can be changed by the operator with relatively slow timesDefinitely not a usable memory to contain data that must be written with a high frequency. In any case the write operation is performed with a background mode and does not affect the performance of the CPU to handle the rest of the device and the application.\\ 
-di memoria utilizzato (Flash Eprom serialetale operazione risulta onerosa dal punto di vista del tempo utilizzato. +For example, if the sampling time associated with the device is 6 ms, the time to perform a write to device can range from approximately from to secondsStepout parameter becomes equal to stepin after this time.\\ 
-Infatti il tempo utilizzato è variabile da 512 1024 volte il tempo di campionamento associato device DATACELLQuindi +Also the type of memory used guarantees number of Scriptures equal to 100000. Even so you should avoid writing programs which they write continuously on memory using the WRITESTEP command.
-questo tipo di memoria può essere utilizzato per contenere dei dati che possono essere variati dall'operatore con tempistiche +
-relativamente lenteSicuramente non è una memoria utilizzabile per contenere dati che devono essere scritti con +
-una alta frequenza. In ogni caso l'operazione di scrittura viene eseguita con una modalità in background e non pregiudica +
-le prestazioni della CPU nel gestire il resto dei device e dell'applicativo.\\ +
-Per esempio se il tempo di campionamento associato al device è di 6 ms, il tempo per eseguire una scrittura nel device +
-può andare da circa secondiIl parametro stepout diventa uguale a stepin dopo questo tempo.\\ +
-Inoltre il tipo di memoria utilizzato garantisce un numero di scritture pari a 100000. Anche per questo si deve evitare di +
-scrivere dei programmi che scrivino in modo continuo sulla memoria utilizzando il comando WRITESTEP.+
  
  
  • Last modified: 2019/08/29 17:18