Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
| software:devices:gear [2023/06/09 15:15] – qem215 | software:devices:gear [2025/01/17 10:09] (versione attuale) – [Table] qem215 | ||
|---|---|---|---|
| Linea 408: | Linea 408: | ||
| La seguente tabella specifica i valori assunti da // | La seguente tabella specifica i valori assunti da // | ||
| - | ^// | + | ^ // |
| - | |0|Nessun warning.| | + | | 0 | Nessun warning. |
| - | |1|Impostazione dato fuori range.| | + | | 1 | Impostazione dato fuori range. |
| - | |2|Variazione parametro non accettata.| | + | | 2 | Variazione parametro non accettata. |
| - | |3|Comando non accettato: le condizioni di esecuzione non sono rispettate.| | + | | 3 | Comando non accettato: le condizioni di esecuzione non sono rispettate. |
| + | | 8 | Disallineamento massimo superato | ||
| Per mezzo dei parametri // | Per mezzo dei parametri // | ||
| Linea 456: | Linea 457: | ||
| Gantry1.WRITEQDO | Gantry1.WRITEQDO | ||
| </ | </ | ||
| - | - **Settare | + | - **Selezionare l'asse che si vuole comandare come slave**: <code QCL> |
| ; Select the first slave of the gear device. | ; Select the first slave of the gear device. | ||
| ; The selected axis is used to assign gearing settings and thresholds | ; The selected axis is used to assign gearing settings and thresholds | ||
| Gantry1.qdoIndex = 1 | Gantry1.qdoIndex = 1 | ||
| Gantry1.qdoSubIndex = 1 ;1 perchè dichiarato come primo slave nella dichiarazione del device GEAR | Gantry1.qdoSubIndex = 1 ;1 perchè dichiarato come primo slave nella dichiarazione del device GEAR | ||
| - | Gantry1.qdoData = AXE_Y ;Imposto | + | Gantry1.qdoData = AXE_Y ;Seleziono |
| Gantry1.WRITEQDO | Gantry1.WRITEQDO | ||
| - | ; *** Nel caso in cui si volesse | + | ; *** Nel caso in cui si volesse |
| Gantry1.qdoIndex = 1 | Gantry1.qdoIndex = 1 | ||
| Gantry1.qdoSubIndex = 2 ;2 perchè dichiarato come secondo slave nella dichiarazione del device GEAR | Gantry1.qdoSubIndex = 2 ;2 perchè dichiarato come secondo slave nella dichiarazione del device GEAR | ||
| - | Gantry1.qdoData = AXE_Z ;Imposto | + | Gantry1.qdoData = AXE_Z ;Seleziono |
| + | Gantry1.WRITEQDO | ||
| + | </ | ||
| + | - **Settare l'asse slave**: <code QCL> | ||
| + | ; Inform the gantry that the selected axis should be managed as slave | ||
| + | Gantry1.qdoIndex = 1 | ||
| + | Gantry1.qdoSubIndex = 4 ; GEAR_QDO_SUBINDEX_IS_SLAVE | ||
| + | Gantry1.qdoData = TRUE ; TRUE to set it as slave and FALSE to not handle it. | ||
| + | Gantry1.WRITEQDO | ||
| + | </ | ||
| + | - **Impostare i fattori di conversione**: | ||
| + | ; Set the factors for the selected slave | ||
| + | Gantry1.gearfactor = 1.0 ; | ||
| + | Gantry1.gearref = 1 ; | ||
| + | </ | ||
| + | - **Impostare il valore di massimo disallineamento per mandare in allarme il device**: <code QCL> | ||
| + | ; Set the alignment threshold for the selected slave in the units set to the anpos2 devices (In this case um) | ||
| + | Gantry1.qdoSubIndex = 2 | ||
| + | Gantry1.qdoData = 100 ;[Um] Se la differenza di posizione tra master e slave supera 100 [Um] il device va in allarme | ||
| Gantry1.WRITEQDO | Gantry1.WRITEQDO | ||
| </ | </ | ||
| + | - **Abilitare il gantry**: <code QCL> | ||
| + | Gantry1.qdoSubIndex = 10 | ||
| + | Gantry1.qdoData = 1 ; 1: Resume and 0: Suspend | ||
| + | Gantry1.WRITEQDO | ||
| + | Gantry1.RSWRN | ||
| + | Gantry1.GEARON | ||
| + | </ | ||