140 lines
8.3 KiB
Plaintext
140 lines
8.3 KiB
Plaintext
#
|
|
# Macchine MANUALE/Barcode di partenza
|
|
#
|
|
#
|
|
# 2023.08.01
|
|
# 2023.08.11 Sistemati Eventi 34,35,36
|
|
# 2023.08.27 Sistemazione Descrizioni
|
|
# 2023.10.13 Aggiunti Eventi Barcode 52 -> 58
|
|
# 2024.01.18 Aggiunto barcode Rottura Utensile - 59 - ColCom
|
|
# 2024.02.23 Aggiunto barcode Pausa - 60 - Fluitek
|
|
# 2024.07.17 Aggiunti Barcode Lvf - 61 62 63
|
|
# 2026.03.27 Aggiunti Barcode Fluitek - 64
|
|
|
|
$DEFINITIONS
|
|
|
|
$NAME : BARCODE_MANUAL
|
|
$IDX : 1
|
|
|
|
# definizione stati (MACRO) : obbligatorio iniziare da 0 --> select * from AnagraficaStati
|
|
|
|
#
|
|
# 27 MancaRifornMPD -> Manca_Materia_Prima
|
|
#
|
|
$STATE : 0 : ND
|
|
$STATE : 2 : Attrezzaggio
|
|
$STATE : 3 : Creazione_Programmi
|
|
$STATE : 4 : Lavori_Vari
|
|
$STATE : 5 : Guasto
|
|
$STATE : 6 : Manca_Pezzo
|
|
$STATE : 7 : Manca_Lavoro
|
|
$STATE : 8 : Assenteismo
|
|
$STATE : 9 : Manutenzione
|
|
$STATE : 10 : Pulizia
|
|
$STATE : 11 : Macchina_Spenta
|
|
$STATE : 13 : Lavorazione
|
|
$STATE : 27 : Manca_Materia_Prima
|
|
$STATE : 30 : Fermo_Organizzativo
|
|
$STATE : 31 : Modifica_Programmi
|
|
$STATE : 32 : Sostituzione_Utensile
|
|
$STATE : 33 : Riempimento_Vasca
|
|
$STATE : 34 : Riscaldamento
|
|
$STATE : 35 : Anomalia_Macchina
|
|
$STATE : 49 : Manca_Attrezzatura
|
|
$STATE : 50 : Usura_Utensile
|
|
$STATE : 51 : Adeguamento_Attrezzature
|
|
$STATE : 52 : Formazione_Personale
|
|
$STATE : 54 : Attesa_Attrezzista
|
|
$STATE : 55 : Pausa_Pranzo
|
|
$STATE : 56 : Manca_Operatore
|
|
$STATE : 57 : Manca_Mater_Tagliato
|
|
$STATE : 58 : In_Deroga
|
|
$STATE : 59 : Rottura_Utensile
|
|
$STATE : 60 : Pausa
|
|
$STATE : 61 : Manutenzione_Straordinaria
|
|
$STATE : 62 : Manutenzione_Ordinaria
|
|
$STATE : 63 : Problemi_di_Lavorazione
|
|
$STATE : 64 : Prototipi
|
|
|
|
# definizione eventi : obbligatorio iniziare da 0 --> select * from AnagraficaEventi
|
|
# NOTE
|
|
#
|
|
$EVENT : 00 : EMPTY
|
|
$EVENT : 01 : Barcode_Lavora
|
|
$EVENT : 02 : Barcode_Attrezzaggio
|
|
$EVENT : 03 : Barcode_Creazione_Programmi
|
|
$EVENT : 04 : Barcode_Lavori_Vari
|
|
$EVENT : 05 : Barcode_Guasto
|
|
$EVENT : 06 : Barcode_Manca_Pezzo
|
|
$EVENT : 07 : Barcode_Manca_Ciclo_Lavoro
|
|
$EVENT : 08 : Barcode_Assenteismo
|
|
$EVENT : 09 : Barcode_Manutenzione
|
|
$EVENT : 10 : Barcode_Pulizia
|
|
$EVENT : 12 : Barcode_Macchina_Spenta
|
|
$EVENT : 19 : Barcode_Fermo_Organizzativo
|
|
$EVENT : 26 : Barcode_Manca_Materia_Prima
|
|
$EVENT : 31 : Barcode_Modifica_Programmi
|
|
$EVENT : 32 : Barcode_Sostituzione_Utensile
|
|
$EVENT : 37 : Barcode_Riempimento_Vasca
|
|
$EVENT : 38 : Barcode_Riscaldamento
|
|
$EVENT : 39 : Barcode_Anomalia_macchina
|
|
$EVENT : 49 : Barcode_Manca_Attrezzatura
|
|
$EVENT : 50 : Barcode_Usura_Utensile
|
|
$EVENT : 51 : Barcode_Adeguamento_Attrezzature
|
|
$EVENT : 52 : Barcode_Formazione_Personale
|
|
$EVENT : 54 : Barcode_Attesa_Attrezzista
|
|
$EVENT : 55 : Barcode_Pausa_Pranzo
|
|
$EVENT : 56 : Barcode_Manca_Operatore
|
|
$EVENT : 57 : Barcode_Manca_Mater_Tagliato
|
|
$EVENT : 58 : Barcode_In_Deroga
|
|
$EVENT : 59 : Barcode_Rottura_Utensile
|
|
$EVENT : 60 : Barcode_Pausa
|
|
$EVENT : 61 : Barcode_Manutenzione_Straordinaria
|
|
$EVENT : 62 : Barcode_Manutenzione_Ordinaria
|
|
$EVENT : 63 : Barcode_Problemi_di_Lavorazione
|
|
$EVENT : 64 : Barcode_Prototipi
|
|
|
|
$RULES
|
|
|
|
# state : event : next state
|
|
ALL_STATES : EMPTY : ND # 0
|
|
ALL_STATES : Barcode_Lavora : Lavorazione # 1
|
|
ALL_STATES : Barcode_Attrezzaggio : Attrezzaggio # 2
|
|
ALL_STATES : Barcode_Creazione_Programmi : Creazione_Programmi # 3
|
|
ALL_STATES : Barcode_Lavori_Vari : Lavori_Vari # 4
|
|
ALL_STATES : Barcode_Guasto : Guasto # 5
|
|
ALL_STATES : Barcode_Manca_Pezzo : Manca_Pezzo # 6
|
|
ALL_STATES : Barcode_Manca_Ciclo_Lavoro : Manca_Lavoro # 7
|
|
ALL_STATES : Barcode_Assenteismo : Assenteismo # 8
|
|
ALL_STATES : Barcode_Manutenzione : Manutenzione # 9
|
|
ALL_STATES : Barcode_Pulizia : Pulizia # 10
|
|
#ALL_STATES : Bcode_Cambio_Pallet : Cambio_Pezzo # 11 TOLTO perchè non dovrebbe mai essere usato da nessuno infatti nome sbagliato bcode
|
|
ALL_STATES : Barcode_Macchina_Spenta : Macchina_Spenta # 12
|
|
|
|
ALL_STATES : Barcode_Fermo_Organizzativo : Fermo_Organizzativo # 19
|
|
ALL_STATES : Barcode_Manca_Materia_Prima : Manca_Materia_Prima # 26
|
|
ALL_STATES : Barcode_Modifica_Programmi : Modifica_Programmi # 31
|
|
ALL_STATES : Barcode_Sostituzione_Utensile : Sostituzione_Utensile # 32
|
|
ALL_STATES : Barcode_Riempimento_Vasca : Riempimento_Vasca # 37
|
|
ALL_STATES : Barcode_Riscaldamento : Riscaldamento # 38
|
|
ALL_STATES : Barcode_Anomalia_Macchina : Anomalia_Macchina # 39
|
|
|
|
ALL_STATES : Barcode_Manca_Attrezzatura : Manca_Attrezzatura # 49
|
|
ALL_STATES : Barcode_Usura_Utensile : Usura_Utensile # 50
|
|
ALL_STATES : Barcode_Adeguamento_Attrezzature : Adeguamento_Attrezzature # 51
|
|
ALL_STATES : Barcode_Formazione_Personale : Formazione_Personale # 52
|
|
ALL_STATES : Barcode_Attesa_Attrezzista : Attesa_Attrezzista # 54
|
|
ALL_STATES : Barcode_Pausa_Pranzo : Pausa_Pranzo # 55
|
|
ALL_STATES : Barcode_Manca_Operatore : Manca_Operatore # 56
|
|
ALL_STATES : Barcode_Manca_Mater_Tagliato : Manca_Mater_Tagliato # 57
|
|
ALL_STATES : Barcode_In_Deroga : In_Deroga # 58
|
|
ALL_STATES : Barcode_Rottura_Utensile : Rottura_Utensile # 59
|
|
ALL_STATES : Barcode_Pausa : Pausa # 60
|
|
ALL_STATES : Barcode_Manutenzione_Straordinaria : Manutenzione_Straordinaria # 61
|
|
ALL_STATES : Barcode_Manutenzione_Ordinaria : Manutenzione_Ordinaria # 62
|
|
ALL_STATES : Barcode_Problemi_di_Lavorazione : Problemi_di_Lavorazione # 63
|
|
ALL_STATES : Barcode_Prototipi : Prototipi # 64
|
|
#--------------------------------------------------------------------------
|
|
|
|
$DO
|