Both sides previous revision Previous revision Next revision | Previous revision |
en:software:devices:head2 [2016/11/25 16:43] – [4.2. Parameters managed with READPRG and WRITEPRG] qem103 | en:software:devices:head2 [2020/07/13 14:55] (current) – qem103 |
---|
| |
| |
===== - Introduction ===== | ====== - Introduction ====== |
| |
The HEAD2 device manages the control of heads for sanders, grinders and milling machines working material flowing along a conveyor belt. You can simultaneously handle up to 8 heads, individually configurable working, using various setup parameters.\\ | The HEAD2 device manages the control of heads for sanders, grinders and milling machines working material flowing along a conveyor belt. You can simultaneously handle up to 8 heads, individually configurable working, using various setup parameters.\\ |
| grlength | L | R | RW | - | **Edging wear compensation limit**\\ Defines after how many Um activates the solenoid valve of head on, to compensate for the wear of the grinding wheel in case the read head in //headin// has been configured as grinder machine.\\ Valid range: 0÷999999\\ Unit of measure: Um | | | grlength | L | R | RW | - | **Edging wear compensation limit**\\ Defines after how many Um activates the solenoid valve of head on, to compensate for the wear of the grinding wheel in case the read head in //headin// has been configured as grinder machine.\\ Valid range: 0÷999999\\ Unit of measure: Um | |
| |
==== - Parametri gestiti con READVAR e WRITEVAR ==== | ==== - Parameters managed with READVAR and WRITEVAR ==== |
| |
^Nome^D^R^A^Condizioni^Descrizione^ | ^ Name ^ D ^ R ^ A ^ Conditions ^ Description ^ |
|hworked|L|R|RW|-|**Um lavorati dalla testa**\\ Indica il numero di Um di materiale lavorati dalla testa. Tale dato viene aggiornato solamente per lo spazio effettivo che la testa lavora.\\ Range valido: 0÷999999\\ Unità di misura: Um| | | hworked | L | R | RW | - | **Um workin from the head**\\ Indicates the number of Um of material worked from head. This information is updated only for the actual space that the head works.\\ Valid range: 0÷999999\\ Unit of measure: Um | |
|actriseadv|L|R|RW|-|**Correzione attuale apportata alla salita della testa**\\ Indica, in Um, il valore attuale della correzione apportata alla salita della testa.\\ Unità di misura: Um| | | actriseadv | L | R | RW | - | **Current correction made to the ascent of the head**\\ Indicates, in Um, the present value of the correction made to the ascent of the head.\\ Unit of measure: Um | |
|actdownlag|L|R|R|-|**Correzione attuale apportata alla discesa della testa**\\ Indica, in Um, il valore attuale della correzione apportata alla discesa della testa.\\ Unità di misura: Um| | | actdownlag | L | R | R | - | **Current correction made to the descent of the head**\\ Indicates, in Um, the present value of the correction made to the descent of the head.\\ Unit of measure: Um | |
|actpiece|B|R|R|-|**Numero pezzo in lavorazione**\\ Indica il numero del pezzo in lavorazione.| | | actpiece | B | R | R | - | **Workpiece number**\\ Indicates the number of workpiece. | |
| |
==== - Parametri gestiti con READPIECE ==== | ==== - Parameters managed with READPIECE ==== |
| |
^Nome^D^R^A^Condizioni^Descrizione^ | ^ Name ^ D ^ R ^ A ^ Conditions ^ Description ^ |
|pcstart|L|-|R|-|**Distanza inizio pezzo dal sensore 1**\\ Indica la distanza dell'inizio del pezzo dal sensore I01.\\ Unità di misura: Um| | | pcstart | L | - | R | - | **Distance beginning piece from the sensor 1**\\ Indicates the distance to the beginning of the piece from the sensor I01.\\ Unit of measure: Um | |
|pcend|L|-|R|-|**Distanza fine pezzo dal sensore 1**\\ Indica la distanza della fine del pezzo dal sensore I01.\\ Unità di misura: Um| | | pcend | L | - | R | - | **Distance end piece from the sensor 1**\\ Indicates the distance of the end of the piece from the sensor I01.\\ Unit of measure: Um | |
|pcstate|L|-|R|-|**Stato del pezzo**\\ Indica lo stato di lavorazione del pezzo:\\ **0** = normale\\ **1** = il pezzo è stato cancellato con il comando //CLPIECE//\\ Range valido: 0÷1| | | pcstate | L | - | R | - | **Piece state**\\ Indicates the status of workpiece machining:\\ **0** = normal\\ **1** = the piece has been cleared with the //CLPIECE// command\\ Valid range: 0÷1 | |
| |
| |
===== - Elenco stati ===== | ===== - States list ===== |
| |
^Nome^Valore di default^Descrizione^ | ^ Name ^ Default value ^ Descrizione ^ |
|st_init|0|**Stato di inizializzazione**\\ Segnalazione di device inizializzato:\\ **0** = device non inizializzato\\ **1** = device inizializzato| | | st_init | 0 | **Initialization state**\\ Reporting of device initialized:\\ **0** = device is not initialized\\ **1** = initialized device | |
|st_inp0X|0|**Stato dell'ingresso INP0X**\\ Segnala lo stato dell'ingresso INP0X (dove X=1÷3):\\ **0** = ingresso disattivo\\ **1** = ingresso attivo| | | st_inp0X | 0 | **State of the INP0X input**\\ Reports the status of the INP0X input (where X=1÷3):\\ **0** = input off\\ **1** = input on | |
|st_out0X|0|**Stato dell'uscita OUT0X**\\ Segnala lo stato dell'uscita OUT0X (dove X=1÷8):\\ **0** = uscita disattiva\\ **1** = uscita attiva| | | st_out0X | 0 | **State of the OUT0X output**\\ Reports the status of the OUT0X output (where X=1÷8):\\ **0** = output off\\ **1** = output on | |
|st_reset|0|**Stato del nastro**\\ Segnalazione di nastro in reset:\\ **0** = nastro non in reset\\ **1** = nastro in reset\\ Questa segnalazione si attiva a seguito di un comando di reset lavorazione (con comando dedicato o con comando //INIT// se //resettype// = 1) e rimane attiva finché il nastro non ha percorso uno spazio pari all'interasse maggiore tra tutte le teste abilitate.| | | st_reset | 0 | **State of the conveyor belt**\\ Report of the conveyor belt in reset:\\ **0** = conveyor belt not in reset\\ **1** = conveyor belt in reset\\ This signal is activated following a reset command processing (with dedicated command or with //INIT// command if //resettype// = 1) and remains active until the tape has covered space equal space between all the heads that are enabled. | |
|st_blower|0|**Stato soffiatore**\\ Segnalazione di soffiatore attivo. Si attiva solamente se è presente almeno un pezzo nella lunghezza macchina:\\ **0** = soffiatore non attivo\\ **1** = soffiatore attivo| | | st_blower | 0 | **Blower status**\\ Reporting of active blower. Is activated only if there is at least one piece in machine length:\\ **0** = blower not active\\ **1** = blower active | |
|st_ovrmxp|0|**Raggiungimento limite massimo pezzi in macchina**\\ Segnalazione di raggiungimento del limite massimo pezzi in macchina:\\ **0** = funzionamento regolare,\\ **1** = raggiunto il numero massimo pezzi.\\ Questa segnalazione rimane attiva sempre per almeno 500ms.| | | st_ovrmxp | 0 | **Achieving maximum machine pieces**\\ Report of maximum limit pieces in the machine:\\ **0** = normal operation,\\ **1** = reached the maximum number pieces.\\ This message always remains active for at least 500ms. | |
|st_cntlock|R|**Stato di aggiornamento posizione disabilitato**\\ Segnalazione di aggiornamento posizione bloccato:\\ **0** = aggiornamento posizione abilitato\\ **1** = aggiornamento posizione disabilitato| | | st_cntlock | R | **Update status location disabled**\\ Report of blocked upgrade position:\\ **0** = Update position enabled\\ **1** = Update position disabled | |
|st_cntrev|R|**Stato di inversione aggiornamento posizione**\\ Segnalazione di aggiornamento posizione invertito:\\ **0** = aggiornamento posizione non invertito\\ **1** = aggiornamento posizione invertito| | | st_cntrev | R | **State of inversion position update**\\ Report inverted position update:\\ **0** = update position not reversed\\ **1** = inverted position update | |
|st_regoff|0|**Disattivazione aggiornamento uscite**\\ Stato che segnala se l'aggiornamento delle uscite è disabilitato\\ **0** = la regolazione è attivata\\ **1** = la regolazione è disattivata| | | st_regoff | 0 | **Disabling update outputs**\\ State that report if the output update is disable\\ **0** = the adjustment is enable\\ **1** = the adjustment is disable | |
|st_error|0|**Presenza di un errore**\\ Indica lo stato di errore del device.\\ Per riconoscere il tipo di errore si deve far riferimento alle variabili //errcode// ed //errvalue//:\\ **0** = errore non presente\\ **1** = errore presente| | | st_error | 0 | **Error presence**\\ Indicates the error status of the device.\\ To recognize the type of error you must refer to the //errcode// and //errvalue// variables:\\ **0** = error not present\\ **1** = error present | |
|st_warning|0|**Presenza di un warning**\\ Indica lo stato di warning del device, per riconoscere il tipo di warning si deve far riferimento alle variabili //wrncode// e //wrnalue//:\\ **0** = warning non presente\\ **1** = warning presente| | | st_warning | 0 | **The presence of a warning**\\ Indicates the warning state of the device, to recognize the type of warning you must refer to //wrncode// and //wrnalue// variables:\\ **0** = warning not present\\ **1** = warning present | |
| |
| |
===== - Tabella comandi ===== | ===== - Commands table ===== |
| |
Tutti i comandi (generici, nastro e memoria programmi) sono da intendersi in ordine di priorità, indipendentemente dalla | All commands (generic, memory and tape programs) are in order of priority, independently of the table on which were placed. |
tabella nella quale sono stati inseriti. | |
| |
==== - Comandi generici ==== | ==== - Generic commands ==== |
| |
^Nome^Condizione^Descrizione^ | ^ Name ^ Condition ^ Descriptions ^ |
|INIT|-|**Inizializzazione del device**\\ Comando di inizializzazione del device. Prima del comando //INIT// è possibile scrivere tutti i parametri nel device senza richiedere ricalcoli interni, perciò la scrittura sarà molto veloce.\\ Attiva lo stato //st_init//.| | | INIT | - | **Initializing the device**\\ Device initialization command. Before the //INIT// command you can write all the parameters in the device without requiring internal recalculations, so the writing will be very fast.\\ Activates the //st_init// state. | |
|RSERR|st_error=1|**Reset dello stato di errore**\\ Azzera lo stato //st_error//.| | | RSERR | st_error=1 | **Reset of the error state**\\ Reset the //st_error// state. | |
|RSWRN|st_warning=1|**Reset dello stato di warning**\\ Azzera lo stato //st_warning//.| | | RSWRN | st_warning=1 | **Reset of the warning state**\\ Reset the //st_warning// state. | |
|SETINP0X|INP0X dichiarato\\ come X.X|**Attivazione INP0X**\\ Comando che simula un fronte di attivazione dell'ingresso INP0X (dove X = 1÷3).| | | SETINP0X | INP0X dichiarato\\ come X.X | **Actiovation INP0X**\\ Command that simulates an enabling front of INP0X input (where X = 1÷3). | |
|CLRINP0X|INP0X dichiarato\\ come X.X|**Disattivazione INP0X**\\ Comando che simula un fronte di disattivazione dell'ingresso INP0X (dove X = 1÷3).| | | CLRINP0X | INP0X dichiarato\\ come X.X | **Disabling INP0X**\\ Command that simulates a disabling front of INP0X input (where X = 1÷3). | |
|CNTLOCK|-|**Disabilita l'aggiornamento della posizione attuale del nastro**\\ Disabilita l'aggiornamento della posizione attuale. In questa situazione l'eventuale spostamento del nastro non viene rilevato.| | | CNTLOCK | - | **Disable the update of the current position of the conveyor belt**\\ Disables the updating of the current position. In this situation the possible displacement of the conveyor belt is not detected. | |
|CNTUNLOCK|-|**Abilita l'aggiornamento della posizione attuale del nastro**\\ Abilita l'aggiornamento della posizione attuale del nastro. Viene attivata la rilevazione dello spostamento del nastro.| | | CNTUNLOCK | - | **Enables the current conveyor belt position update**\\ Enables the current conveyor belt position update. Conveyor bel displacement detection is activated. | |
|CNTDIR|-|**Aggiornamento posizione nastro non invertita**\\ Disabilita una eventuale inversione dell'aggiornamento posizione; lo stato //st_cntrev// è posto a zero.| | | CNTDIR | - | **Not inverted conveyor belt update position**\\ Disable a reversal of position update; the //st_cntrev// state is set to zero. | |
|CNTREV|-|**Inversione dell'aggiornamento posizione nastro**\\ Consente di invertire il segno dell'aggiornamento posizione.| | | CNTREV | - | **Reversing the tape position update**\\ Reverses the sign of the update position. | |
|CLPIECE|-|**Elimina pezzo**\\ Elimina il pezzo selezionato dalla variabile //piecein//.\\ Se //piecein// = -1, viene resettata l'immagine dei pezzi all'interno del nastro trasportatore.| | | CLPIECE | - | **Delete piece**\\ Delete the selected piece by //piecein// variable.\\ If //piecein// = -1, Resets the image of the pieces. | |
|REGOFF|-|**Disabilitazione dell'intervento del device**\\ Disabilita la regolazione e l'aggiornamento delle uscite.| | | REGOFF | - | **Disable of the device intervention**\\ Disable the adjustment and the update of the outputs. | |
|REGON|-|**Abilitazione dell'intervento del device**\\ Riabilita la regolazione e l'aggiornamento delle uscite.| | | REGON | - | **Enabling the device intervention**\\ Enable the adjustment and the update of the outputs. | |
| |
==== - Comandi gestione memoria programmi ==== | ==== - Program memory management commands ==== |
| |
^Nome^Condizione^Descrizione^ | ^ Name ^ Condition ^ Description ^ |
|READSET|st_init=1\\ headin>=1\\ headin<=8|**Lettura parametri di setup**\\ Consente la lettura dei parametri di setup della testa //headin//.\\ A comando concluso //headout// = //headin//.| | | READSET | st_init=1\\ headin>=1\\ headin<=8 | **Reading setup parameters**\\ Allows reading parameters to setup of the head //headin//.\\ On command concluded //headout// = //headin//. | |
|WRITESET|pwork=0\\ headin>=1\\ headin<=8|**Scrittura parametri di setup**\\ Consente la scrittura dei parametri di setup della testa headin.\\ A comando concluso //headout// = //headin//.\\ <WRAP center round tip 60%>in fase di scrittura dei parametri di lavoro viene resettato l'eventuale stato di soffiatore attivo (//st_blower// = 1). Nel caso questa azione possa portare a problemi è necessario eseguire il comando solo se: NOT <nome_device>:st_blower AND <nome_device>:pwork EQ 0 </WRAP>| | | WRITESET | pwork=0\\ headin>=1\\ headin<=8 | **Writing setup parameters**\\ Writes setup parameters of the head headin.\\ On command concluded //headout// = //headin//.\\ <WRAP center round tip 60%> in writing phase of working parameters is resets any active blower status (//st_blower// = 1). If this action may lead to problems the command must be issued only if: NOT <device_name>:st_blower AND <device_name>:pwork EQ 0 </WRAP> | |
|READPRG|st_init=1\\ headin>=1\\ headin<=8|**Lettura programma**\\ Consente la lettura dei programmi di lavoro selezionati da //headin//.\\ A comando concluso //headout// = //headin//.| | | READPRG | st_init=1\\ headin>=1\\ headin<=8 | **Reading program**\\ Allows reading of the work programs selected by //headin//.\\ On command concluded //headout// = //headin//. | |
|WRITEPRG|st_init=1\\ headin>=1\\ headin<=8|**Scrittura programma**\\ Consente la scrittura dei programmi di lavoro selezionati da //headin//.\\ A comando concluso //headout// = //headin//.\\ <WRAP center round tip 60%>in fase di scrittura dei parametri di setup viene resettato l'eventuale stato di soffiatore attivo (//st_blower// = 1). Nel caso questa azione possa portare a problemi è necessario eseguire il comando solo se: NOT <nome_device>:st_blower AND <nome_device>:pwork EQ 0 </WRAP>| | | WRITEPRG | st_init=1\\ headin>=1\\ headin<=8 | **Writing program**\\ Allows writing of the work programs selected by //headin//.\\ On command concluded //headout// = //headin//.\\ <WRAP center round tip 60%> in writing phase of setup parameters is resets any active blower status (//st_blower// = 1). If this action may lead to problems the command must be issued only if: NOT <device_name>:st_blower AND <device_name>:pwork EQ 0 </WRAP> | |
|READVAR|st_init=1\\ headin>=1\\ headin<=8|**Lettura variabile**\\ Consente la lettura delle variabili selezionate da //headin//.\\ A comando concluso //headout// = //headin//.| | | READVAR | st_init=1\\ headin>=1\\ headin<=8 | **Reading variable**\\ Allows reading of selected variables from //headin//.\\ On command concluded //headout// = //headin//. | |
|WRITEVAR|st_init=1\\ headin>=1\\ headin<=8|**Scrittura variabile**\ Consente la scrittura delle variabili selezionate da //headin//.\\ A comando concluso //headout// = //headin//.| | | WRITEVAR | st_init=1\\ headin>=1\\ headin<=8 | **Writing variable**\ Allows writing of selected variables from //headin//.\\ On command concluded //headout// = //headin//. | |
| |
| |