Merge branch 'release/AgenticRefactorReadParallela_01'
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
[id]
|
||||
idxMacchina = 0001
|
||||
#idxMacchina = SIMUL_01
|
||||
#numParams=8
|
||||
numParams=12
|
||||
|
||||
[web]
|
||||
URLBASE = http://10.74.82.218/MP/RIOC/api/IOB/input/
|
||||
URLALIVE = http://10.74.82.218/MP/RIOC/api/IOB
|
||||
URLENABLED = http://10.74.82.218/MP/RIOC/api/IOB/enabled/
|
||||
URLADV1 = ?valore=
|
||||
URLREBO = http://10.74.82.218/MP/IOC/api/IOB/sendReboot/
|
||||
URLINFO = http://10.74.82.218/MP/RIOC/api/IOB/setM2IOB/
|
||||
|
||||
[time]
|
||||
SAMPLETIME = 0.05
|
||||
TIMEOUTSHORT = 0.50
|
||||
TIMEOUTLONG = 80
|
||||
SENDURLTIME = 0.15
|
||||
NMAXSEND = 5
|
||||
|
||||
[log]
|
||||
LOGLEVEL = 10
|
||||
LOGFILE = logfile.txt
|
||||
LOGREBO = logReboot.txt
|
||||
|
||||
[comm]
|
||||
port = /dev/ttyAMA0
|
||||
|
||||
[blink]
|
||||
MAX_COUNTER_BLINK = 30
|
||||
bit0 = 0
|
||||
bit1 = 0
|
||||
bit2 = 0
|
||||
bit3 = 0
|
||||
bit4 = 0
|
||||
bit5 = 0
|
||||
bit6 = 0
|
||||
bit7 = 0
|
||||
bit8 = 0
|
||||
bit9 = 0
|
||||
bit10 = 0
|
||||
bit11 = 0
|
||||
|
||||
[invert]
|
||||
bit0 = 0
|
||||
bit1 = 0
|
||||
bit2 = 0
|
||||
bit3 = 0
|
||||
bit4 = 0
|
||||
bit5 = 0
|
||||
bit6 = 0
|
||||
bit7 = 0
|
||||
bit8 = 0
|
||||
bit9 = 0
|
||||
bit10 = 0
|
||||
bit11 = 0
|
||||
|
||||
[filter]
|
||||
MAX_COUNTER_FILTER = 8
|
||||
bit0 = 0
|
||||
bit1 = 0
|
||||
bit2 = 0
|
||||
bit3 = 0
|
||||
bit4 = 0
|
||||
bit5 = 0
|
||||
bit6 = 0
|
||||
bit7 = 0
|
||||
bit8 = 0
|
||||
bit9 = 0
|
||||
bit10 = 0
|
||||
bit11 = 0
|
||||
+69
-2
@@ -8,20 +8,87 @@ Se il minion è taggato come iop-pi bast dare state apply, poiché dallo stato t
|
||||
* iob-pi.sls
|
||||
* iob-setup.sls
|
||||
|
||||
altrimenti meglio dare
|
||||
* iob-pi-install
|
||||
* iob-pi-upgrade
|
||||
|
||||
## approfondimenti
|
||||
va poi controllato il numero di inputs e va specificato all'inizio del file IOB.cfg a seconda che abbia 8 o 12 inputs
|
||||
|
||||
<code>
|
||||
#numParams=8
|
||||
|
||||
numParams=12
|
||||
</code>
|
||||
|
||||
|
||||
## Approfondimenti
|
||||
|
||||
Valutato python-rq x gestione code con redis tramite esecuzione workers python gestiti in autonomia:
|
||||
|
||||
<code>
|
||||
https://python-rq.org/
|
||||
|
||||
https://python-rq.org/docs/workers/
|
||||
</code>
|
||||
|
||||
Testato ma al momento non è rispondente ai requisiti del programma per cui si rischia un blocco inf ase di invio se server non OK, per ora implementata copia "manuale" della coda verso redis per salvaguardare dati accumulati (vers 2.6.x)
|
||||
|
||||
|
||||
## MD5 zip##
|
||||
|
||||
creazione MD5: da powershell
|
||||
|
||||
<code>
|
||||
Get-FileHash .\Mapo.zip -Algorithm MD5
|
||||
</code>
|
||||
</code>
|
||||
|
||||
|
||||
## ReadParallela IOB-PI
|
||||
|
||||
### Panoramica
|
||||
`readParallela.py` è uno script di acquisizione dati ad alta frequenza progettato per Raspberry Pi. Interfaccia una scheda GPIO personalizzata per leggere 12 ingressi digitali paralleli, applica vari filtri di elaborazione del segnale e mette in coda gli eventi per la trasmissione asincrona a un server remoto tramite Redis e HTTP.
|
||||
|
||||
### Funzionalità Principali
|
||||
|
||||
#### 1. Acquisizione e Elaborazione Segnali
|
||||
Lo script interroga 12 pin GPIO a un intervallo configurabile (`SAMPLETIME`). Per ogni ingresso, applica una pipeline di elaborazione a tre stadi:
|
||||
* **Inversione:** Inverte la logica del segnale se configurata per un bit specifico.
|
||||
* **Filtraggio Segnali Brevi (Debounce):** Filtra i picchi elettrici o il rumore richiedendo che il segnale rimanga stabile per un numero specifico di cicli (`MAX_COUNTER_FILTER`).
|
||||
* **Gestione Blinking:** Rileva e gestisce segnali "blinking", permettendo il rilevamento di eventi basati su timing specifici.
|
||||
|
||||
#### 2. Impacchettamento Dati
|
||||
Una volta elaborati, i 12 bit vengono aggregati in un unico valore intero e convertiti in una stringa Esadecimale.
|
||||
|
||||
#### 3. Code e Trasmissione Eventi
|
||||
Per garantire che la lettura ad alta velocità non sia interrotta dalla latenza di rete:
|
||||
* **Coda Redis:** Le variazioni rilevate (e gli eventi di timeout) vengono datate e inserite in una lista Redis (`IOB`).
|
||||
* **Invio Asincrono:** Un thread dedicato in background (`svuotaCoda`) estrae periodicamente gli elementi dalla coda Redis e esegue richieste HTTP a un server centrale.
|
||||
* **Affidabilità:** Lo script implementa un meccanismo di "retry" e monitora la disponibilità del server (`URLALIVE`) per gestire i periodi offline.
|
||||
|
||||
#### 4. Gestione Timeout
|
||||
Lo script monitora due tipi di timeout:
|
||||
* **Timeout Breve:** Assicura che lo stato di un segnale venga registrato anche se cambia rapidamente.
|
||||
* **Timeout Lungo:** Fornisce un sistema di fallback per garantire la coerenza dello stato su periodi più lunghi.
|
||||
|
||||
### Dettagli di Implementazione (Versione Refactored)
|
||||
Lo script è stato modernizzato con i seguenti miglioramenti:
|
||||
* **Design Orientato agli Oggetti:** La logica è incapsulata all'interno della classe `ReadParallelaIOB`, eliminando la dipendenza da variabili globali pericolose.
|
||||
* **Operazioni Bitwise Efficienti:** Sostituzione dei controlli manuali `if` con operatori bitwise per una ricostruzione dei bit più veloce e ottimizzazione dell'accesso agli attributi nelle loop critiche.
|
||||
* **Networking Moderno:** Sostituzione di `urllib` con la libreria `requests` per una comunicazione HTTP più robusta e leggibile.
|
||||
* **Configurazione Ottimizzata:** Utilizzo di cicli per caricare le impostazioni per singolo bit dal file di configurazione.
|
||||
|
||||
### Configurazione
|
||||
Le impostazioni sono gestite tramite `IOB.cfg`, tra cui:
|
||||
* `[time]`: Frequenze di campionamento e timeout.
|
||||
* `[id]`: Identificativo macchina.
|
||||
* `[web]`: URL per la trasmissione dati e controlli di connettività.
|
||||
* `[blink]`, `[invert]`, `[filter]`: Configurazione per singolo bit per l'elaborazione dei segnali.
|
||||
* `[log]`: Livello di logging e percorsi dei file.
|
||||
|
||||
### Dipendenze
|
||||
* `RPi.GPIO`: Per l'interfacciamento hardware.
|
||||
* `redis`: Per la gestione della coda locale.
|
||||
* `requests`: Per la comunicazione web.
|
||||
* `configparser`: Per la gestione della configurazione.
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
+401
-754
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# readParallela v. 2.6.1 12 Ingressi
|
||||
# readParallela v. 2.6.2 12 Ingressi
|
||||
# - single instance timer
|
||||
# - invio multiplo x send eventi accodati
|
||||
# - gestione segnali BLINKING
|
||||
@@ -16,23 +16,20 @@
|
||||
# - (2.5.3) Fix gestione stringhe e print x python 3.11 in debian 12 / raspberry OS 2025
|
||||
# - (2.6.0) Aggiunto gestione Redis x code salvate ogni minuto e ricaricate all'avvio 2025.04.17
|
||||
# - (2.6.1) Cleanup generale vecchia queue post test vari
|
||||
# - (2.6.2) Fix in global di to_retry in send_coda per evitare problemi
|
||||
|
||||
|
||||
import time
|
||||
import sys
|
||||
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
import urllib
|
||||
import urllib.request
|
||||
import configparser
|
||||
import os, sys
|
||||
|
||||
import logging
|
||||
import logging.handlers
|
||||
import threading
|
||||
import redis
|
||||
|
||||
from array import *
|
||||
|
||||
#--------------------------------------------------------------
|
||||
@@ -44,7 +41,7 @@ MAXRETRY = 10
|
||||
# numero campioni filtraggio segnale ballerino
|
||||
MAX_COUNTER_BLINK = 10
|
||||
|
||||
PROGRAM_NAME ="ReadPar IOB-pi v.2.6.1"
|
||||
PROGRAM_NAME ="ReadPar IOB-pi v.2.6.2"
|
||||
|
||||
# DA FILE CONF
|
||||
idxMacchina = "1001"
|
||||
@@ -380,6 +377,7 @@ def svuotaCoda():
|
||||
global onLine
|
||||
global sending
|
||||
global timer_busy
|
||||
global to_retry
|
||||
global NMAXSEND
|
||||
|
||||
#logPro.info ("start timer ")
|
||||
@@ -473,10 +471,11 @@ def svuotaCoda():
|
||||
logPro.error(str(e))
|
||||
|
||||
onLine = '0'
|
||||
|
||||
finally:
|
||||
# in ogni caso
|
||||
timer_busy = False
|
||||
|
||||
# in ogni caso
|
||||
|
||||
timer_busy = False
|
||||
#print ("end timer ok")
|
||||
|
||||
#print ("end timer ")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# readParallela v. 2.6.1 8 Ingressi
|
||||
# readParallela v. 2.6.2 8 Ingressi
|
||||
# - single instance timer
|
||||
# - invio multiplo x send eventi accodati
|
||||
# - gestione segnali BLINKING
|
||||
@@ -16,6 +16,8 @@
|
||||
# - (2.5.3) Fix gestione stringhe e print x python 3.11 in debian 12 / raspberry OS 2025
|
||||
# - (2.6.0) Aggiunto gestione Redis x code salvate ogni minuto e ricaricate all'avvio 2025.04.17
|
||||
# - (2.6.1) Cleanup generale vecchia queue post test vari
|
||||
# - (2.6.2) Fix in global di to_retry in send_coda per evitare problemi
|
||||
|
||||
|
||||
import time
|
||||
import sys
|
||||
@@ -44,7 +46,7 @@ MAXRETRY = 10
|
||||
# numero campioni filtraggio segnale ballerino
|
||||
MAX_COUNTER_BLINK = 10
|
||||
|
||||
PROGRAM_NAME ="ReadPar IOB-pi v.2.6.1"
|
||||
PROGRAM_NAME ="ReadPar IOB-pi v.2.6.2"
|
||||
|
||||
# DA FILE CONF
|
||||
idxMacchina = "1001"
|
||||
@@ -343,6 +345,7 @@ def svuotaCoda():
|
||||
global onLine
|
||||
global sending
|
||||
global timer_busy
|
||||
global to_retry
|
||||
global NMAXSEND
|
||||
|
||||
#logPro.info ("start timer ")
|
||||
@@ -436,10 +439,11 @@ def svuotaCoda():
|
||||
logPro.error(str(e))
|
||||
|
||||
onLine = '0'
|
||||
|
||||
finally:
|
||||
# in ogni caso
|
||||
timer_busy = False
|
||||
|
||||
# in ogni caso
|
||||
|
||||
timer_busy = False
|
||||
#print ("end timer ok")
|
||||
|
||||
#print ("end timer ")
|
||||
|
||||
@@ -8,13 +8,15 @@ Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=no
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
TimeoutSec=5min
|
||||
IgnoreSIGPIPE=no
|
||||
KillMode=process
|
||||
GuessMainPID=no
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=1
|
||||
ExecStartPre=/bin/sleep 5
|
||||
ExecStart=/etc/init.d/MapoIOB start
|
||||
ExecStop=/etc/init.d/MapoIOB stop
|
||||
|
||||
|
||||
@@ -8,13 +8,15 @@ Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=no
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
TimeoutSec=5min
|
||||
IgnoreSIGPIPE=no
|
||||
KillMode=process
|
||||
GuessMainPID=no
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=1
|
||||
ExecStartPre=/bin/sleep 5
|
||||
ExecStart=/etc/init.d/MapoIOB start
|
||||
ExecStop=/etc/init.d/MapoIOB stop
|
||||
|
||||
|
||||
@@ -8,13 +8,15 @@ Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=no
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
TimeoutSec=5min
|
||||
IgnoreSIGPIPE=no
|
||||
KillMode=process
|
||||
GuessMainPID=no
|
||||
RemainAfterExit=yes
|
||||
SysVStartPriority=1
|
||||
ExecStartPre=/bin/sleep 5
|
||||
ExecStart=/etc/init.d/MapoIOB start
|
||||
ExecStop=/etc/init.d/MapoIOB stop
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;0;61;61
|
||||
1;0;62;62
|
||||
1;0;63;63
|
||||
1;0;64;64
|
||||
1;2;0;0
|
||||
1;2;1;13
|
||||
1;2;3;3
|
||||
@@ -63,6 +64,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;2;61;61
|
||||
1;2;62;62
|
||||
1;2;63;63
|
||||
1;2;64;64
|
||||
1;3;0;0
|
||||
1;3;1;13
|
||||
1;3;2;2
|
||||
@@ -95,6 +97,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;3;61;61
|
||||
1;3;62;62
|
||||
1;3;63;63
|
||||
1;3;64;64
|
||||
1;4;0;0
|
||||
1;4;1;13
|
||||
1;4;2;2
|
||||
@@ -127,6 +130,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;4;61;61
|
||||
1;4;62;62
|
||||
1;4;63;63
|
||||
1;4;64;64
|
||||
1;5;0;0
|
||||
1;5;1;13
|
||||
1;5;2;2
|
||||
@@ -159,6 +163,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;5;61;61
|
||||
1;5;62;62
|
||||
1;5;63;63
|
||||
1;5;64;64
|
||||
1;6;0;0
|
||||
1;6;1;13
|
||||
1;6;2;2
|
||||
@@ -191,6 +196,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;6;61;61
|
||||
1;6;62;62
|
||||
1;6;63;63
|
||||
1;6;64;64
|
||||
1;7;0;0
|
||||
1;7;1;13
|
||||
1;7;2;2
|
||||
@@ -223,6 +229,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;7;61;61
|
||||
1;7;62;62
|
||||
1;7;63;63
|
||||
1;7;64;64
|
||||
1;8;0;0
|
||||
1;8;1;13
|
||||
1;8;2;2
|
||||
@@ -255,6 +262,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;8;61;61
|
||||
1;8;62;62
|
||||
1;8;63;63
|
||||
1;8;64;64
|
||||
1;9;0;0
|
||||
1;9;1;13
|
||||
1;9;2;2
|
||||
@@ -287,6 +295,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;9;61;61
|
||||
1;9;62;62
|
||||
1;9;63;63
|
||||
1;9;64;64
|
||||
1;10;0;0
|
||||
1;10;1;13
|
||||
1;10;2;2
|
||||
@@ -319,6 +328,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;10;61;61
|
||||
1;10;62;62
|
||||
1;10;63;63
|
||||
1;10;64;64
|
||||
1;11;0;0
|
||||
1;11;1;13
|
||||
1;11;2;2
|
||||
@@ -351,6 +361,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;11;61;61
|
||||
1;11;62;62
|
||||
1;11;63;63
|
||||
1;11;64;64
|
||||
1;13;0;0
|
||||
1;13;2;2
|
||||
1;13;3;3
|
||||
@@ -383,6 +394,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;13;61;61
|
||||
1;13;62;62
|
||||
1;13;63;63
|
||||
1;13;64;64
|
||||
1;27;0;0
|
||||
1;27;1;13
|
||||
1;27;2;2
|
||||
@@ -415,6 +427,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;27;61;61
|
||||
1;27;62;62
|
||||
1;27;63;63
|
||||
1;27;64;64
|
||||
1;30;0;0
|
||||
1;30;1;13
|
||||
1;30;2;2
|
||||
@@ -447,6 +460,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;30;61;61
|
||||
1;30;62;62
|
||||
1;30;63;63
|
||||
1;30;64;64
|
||||
1;31;0;0
|
||||
1;31;1;13
|
||||
1;31;2;2
|
||||
@@ -479,6 +493,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;31;61;61
|
||||
1;31;62;62
|
||||
1;31;63;63
|
||||
1;31;64;64
|
||||
1;32;0;0
|
||||
1;32;1;13
|
||||
1;32;2;2
|
||||
@@ -511,6 +526,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;32;61;61
|
||||
1;32;62;62
|
||||
1;32;63;63
|
||||
1;32;64;64
|
||||
1;33;0;0
|
||||
1;33;1;13
|
||||
1;33;2;2
|
||||
@@ -543,6 +559,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;33;61;61
|
||||
1;33;62;62
|
||||
1;33;63;63
|
||||
1;33;64;64
|
||||
1;34;0;0
|
||||
1;34;1;13
|
||||
1;34;2;2
|
||||
@@ -575,6 +592,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;34;61;61
|
||||
1;34;62;62
|
||||
1;34;63;63
|
||||
1;34;64;64
|
||||
1;35;0;0
|
||||
1;35;1;13
|
||||
1;35;2;2
|
||||
@@ -607,6 +625,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;35;61;61
|
||||
1;35;62;62
|
||||
1;35;63;63
|
||||
1;35;64;64
|
||||
1;49;0;0
|
||||
1;49;1;13
|
||||
1;49;2;2
|
||||
@@ -639,6 +658,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;49;61;61
|
||||
1;49;62;62
|
||||
1;49;63;63
|
||||
1;49;64;64
|
||||
1;50;0;0
|
||||
1;50;1;13
|
||||
1;50;2;2
|
||||
@@ -671,6 +691,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;50;61;61
|
||||
1;50;62;62
|
||||
1;50;63;63
|
||||
1;50;64;64
|
||||
1;51;0;0
|
||||
1;51;1;13
|
||||
1;51;2;2
|
||||
@@ -703,6 +724,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;51;61;61
|
||||
1;51;62;62
|
||||
1;51;63;63
|
||||
1;51;64;64
|
||||
1;52;0;0
|
||||
1;52;1;13
|
||||
1;52;2;2
|
||||
@@ -735,6 +757,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;52;61;61
|
||||
1;52;62;62
|
||||
1;52;63;63
|
||||
1;52;64;64
|
||||
1;54;0;0
|
||||
1;54;1;13
|
||||
1;54;2;2
|
||||
@@ -767,6 +790,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;54;61;61
|
||||
1;54;62;62
|
||||
1;54;63;63
|
||||
1;54;64;64
|
||||
1;55;0;0
|
||||
1;55;1;13
|
||||
1;55;2;2
|
||||
@@ -799,6 +823,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;55;61;61
|
||||
1;55;62;62
|
||||
1;55;63;63
|
||||
1;55;64;64
|
||||
1;56;0;0
|
||||
1;56;1;13
|
||||
1;56;2;2
|
||||
@@ -831,6 +856,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;56;61;61
|
||||
1;56;62;62
|
||||
1;56;63;63
|
||||
1;56;64;64
|
||||
1;57;0;0
|
||||
1;57;1;13
|
||||
1;57;2;2
|
||||
@@ -863,6 +889,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;57;61;61
|
||||
1;57;62;62
|
||||
1;57;63;63
|
||||
1;57;64;64
|
||||
1;58;0;0
|
||||
1;58;1;13
|
||||
1;58;2;2
|
||||
@@ -895,6 +922,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;58;61;61
|
||||
1;58;62;62
|
||||
1;58;63;63
|
||||
1;58;64;64
|
||||
1;59;0;0
|
||||
1;59;1;13
|
||||
1;59;2;2
|
||||
@@ -927,6 +955,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;59;61;61
|
||||
1;59;62;62
|
||||
1;59;63;63
|
||||
1;59;64;64
|
||||
1;60;0;0
|
||||
1;60;1;13
|
||||
1;60;2;2
|
||||
@@ -959,6 +988,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;60;61;61
|
||||
1;60;62;62
|
||||
1;60;63;63
|
||||
1;60;64;64
|
||||
1;61;0;0
|
||||
1;61;1;13
|
||||
1;61;2;2
|
||||
@@ -991,6 +1021,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;61;60;60
|
||||
1;61;62;62
|
||||
1;61;63;63
|
||||
1;61;64;64
|
||||
1;62;0;0
|
||||
1;62;1;13
|
||||
1;62;2;2
|
||||
@@ -1023,6 +1054,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;62;60;60
|
||||
1;62;61;61
|
||||
1;62;63;63
|
||||
1;62;64;64
|
||||
1;63;0;0
|
||||
1;63;1;13
|
||||
1;63;2;2
|
||||
@@ -1055,3 +1087,37 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
1;63;60;60
|
||||
1;63;61;61
|
||||
1;63;62;62
|
||||
1;63;64;64
|
||||
1;64;0;0
|
||||
1;64;1;13
|
||||
1;64;2;2
|
||||
1;64;3;3
|
||||
1;64;4;4
|
||||
1;64;5;5
|
||||
1;64;6;6
|
||||
1;64;7;7
|
||||
1;64;8;8
|
||||
1;64;9;9
|
||||
1;64;10;10
|
||||
1;64;12;11
|
||||
1;64;19;30
|
||||
1;64;26;27
|
||||
1;64;31;31
|
||||
1;64;32;32
|
||||
1;64;37;33
|
||||
1;64;38;34
|
||||
1;64;39;35
|
||||
1;64;49;49
|
||||
1;64;50;50
|
||||
1;64;51;51
|
||||
1;64;52;52
|
||||
1;64;54;54
|
||||
1;64;55;55
|
||||
1;64;56;56
|
||||
1;64;57;57
|
||||
1;64;58;58
|
||||
1;64;59;59
|
||||
1;64;60;60
|
||||
1;64;61;61
|
||||
1;64;62;62
|
||||
1;64;63;63
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# Macchine MANUALE/Barcode di partenza
|
||||
#
|
||||
#
|
||||
@@ -9,6 +9,7 @@
|
||||
# 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
|
||||
|
||||
@@ -53,6 +54,7 @@ $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
|
||||
@@ -90,6 +92,7 @@ $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
|
||||
|
||||
@@ -130,6 +133,7 @@ ALL_STATES : Barcode_Pausa : Paus
|
||||
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
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
# 2024.02.23 Aggiunto Barcode Pausa - 60 - Fluitek
|
||||
# 2024.07.17 Aggiunti Barcode Lvf - 61 62 63
|
||||
# 2025.01.28 Aggiunto Stato 40 HW_Riscaldam
|
||||
# 2026.03.27 Aggiunti Barcode Fluitek - 64
|
||||
|
||||
# ELENCO STATI E EVENTI DI BASE
|
||||
|
||||
@@ -65,6 +66,7 @@ $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
|
||||
@@ -145,6 +147,7 @@ $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
|
||||
|
||||
@@ -187,5 +190,6 @@ 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
|
||||
|
||||
ALL_STATES : HW_power_off : Macchina_Spenta # 14
|
||||
|
||||
@@ -32,6 +32,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;0;61;61
|
||||
12;0;62;62
|
||||
12;0;63;63
|
||||
12;0;64;64
|
||||
12;2;0;0
|
||||
12;2;1;13
|
||||
12;2;3;3
|
||||
@@ -66,6 +67,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;2;61;61
|
||||
12;2;62;62
|
||||
12;2;63;63
|
||||
12;2;64;64
|
||||
12;3;0;0
|
||||
12;3;1;13
|
||||
12;3;2;2
|
||||
@@ -100,6 +102,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;3;61;61
|
||||
12;3;62;62
|
||||
12;3;63;63
|
||||
12;3;64;64
|
||||
12;4;0;0
|
||||
12;4;1;13
|
||||
12;4;2;2
|
||||
@@ -134,6 +137,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;4;61;61
|
||||
12;4;62;62
|
||||
12;4;63;63
|
||||
12;4;64;64
|
||||
12;5;0;0
|
||||
12;5;1;13
|
||||
12;5;2;2
|
||||
@@ -168,6 +172,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;5;61;61
|
||||
12;5;62;62
|
||||
12;5;63;63
|
||||
12;5;64;64
|
||||
12;6;0;0
|
||||
12;6;1;13
|
||||
12;6;2;2
|
||||
@@ -202,6 +207,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;6;61;61
|
||||
12;6;62;62
|
||||
12;6;63;63
|
||||
12;6;64;64
|
||||
12;7;0;0
|
||||
12;7;1;13
|
||||
12;7;2;2
|
||||
@@ -236,6 +242,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;7;61;61
|
||||
12;7;62;62
|
||||
12;7;63;63
|
||||
12;7;64;64
|
||||
12;8;0;0
|
||||
12;8;1;13
|
||||
12;8;2;2
|
||||
@@ -270,6 +277,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;8;61;61
|
||||
12;8;62;62
|
||||
12;8;63;63
|
||||
12;8;64;64
|
||||
12;9;0;0
|
||||
12;9;1;13
|
||||
12;9;2;2
|
||||
@@ -304,6 +312,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;9;61;61
|
||||
12;9;62;62
|
||||
12;9;63;63
|
||||
12;9;64;64
|
||||
12;10;0;0
|
||||
12;10;1;13
|
||||
12;10;2;2
|
||||
@@ -338,6 +347,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;10;61;61
|
||||
12;10;62;62
|
||||
12;10;63;63
|
||||
12;10;64;64
|
||||
12;11;0;0
|
||||
12;11;1;13
|
||||
12;11;2;2
|
||||
@@ -385,6 +395,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;11;61;61
|
||||
12;11;62;62
|
||||
12;11;63;63
|
||||
12;11;64;64
|
||||
12;12;0;0
|
||||
12;12;1;13
|
||||
12;12;2;2
|
||||
@@ -430,6 +441,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;12;61;61
|
||||
12;12;62;62
|
||||
12;12;63;63
|
||||
12;12;64;64
|
||||
12;13;0;0
|
||||
12;13;2;2
|
||||
12;13;3;3
|
||||
@@ -474,6 +486,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;13;61;61
|
||||
12;13;62;62
|
||||
12;13;63;63
|
||||
12;13;64;64
|
||||
12;14;0;0
|
||||
12;14;1;13
|
||||
12;14;2;2
|
||||
@@ -520,6 +533,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;14;61;61
|
||||
12;14;62;62
|
||||
12;14;63;63
|
||||
12;14;64;64
|
||||
12;15;0;0
|
||||
12;15;1;13
|
||||
12;15;2;2
|
||||
@@ -564,6 +578,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;15;61;61
|
||||
12;15;62;62
|
||||
12;15;63;63
|
||||
12;15;64;64
|
||||
12;23;0;0
|
||||
12;23;1;13
|
||||
12;23;2;2
|
||||
@@ -613,6 +628,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;23;61;61
|
||||
12;23;62;62
|
||||
12;23;63;63
|
||||
12;23;64;64
|
||||
12;24;0;0
|
||||
12;24;1;13
|
||||
12;24;2;2
|
||||
@@ -658,6 +674,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;24;61;61
|
||||
12;24;62;62
|
||||
12;24;63;63
|
||||
12;24;64;64
|
||||
12;25;0;0
|
||||
12;25;1;13
|
||||
12;25;2;2
|
||||
@@ -706,6 +723,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;25;61;61
|
||||
12;25;62;62
|
||||
12;25;63;63
|
||||
12;25;64;64
|
||||
12;26;0;0
|
||||
12;26;1;13
|
||||
12;26;2;2
|
||||
@@ -755,6 +773,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;26;61;61
|
||||
12;26;62;62
|
||||
12;26;63;63
|
||||
12;26;64;64
|
||||
12;27;0;0
|
||||
12;27;1;13
|
||||
12;27;2;2
|
||||
@@ -789,6 +808,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;27;61;61
|
||||
12;27;62;62
|
||||
12;27;63;63
|
||||
12;27;64;64
|
||||
12;28;0;0
|
||||
12;28;1;13
|
||||
12;28;2;2
|
||||
@@ -825,6 +845,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;28;61;61
|
||||
12;28;62;62
|
||||
12;28;63;63
|
||||
12;28;64;64
|
||||
12;29;0;0
|
||||
12;29;1;13
|
||||
12;29;2;2
|
||||
@@ -863,6 +884,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;29;61;61
|
||||
12;29;62;62
|
||||
12;29;63;63
|
||||
12;29;64;64
|
||||
12;30;0;0
|
||||
12;30;1;13
|
||||
12;30;2;2
|
||||
@@ -896,6 +918,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;30;61;61
|
||||
12;30;62;62
|
||||
12;30;63;63
|
||||
12;30;64;64
|
||||
12;31;0;0
|
||||
12;31;1;13
|
||||
12;31;2;2
|
||||
@@ -930,6 +953,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;31;61;61
|
||||
12;31;62;62
|
||||
12;31;63;63
|
||||
12;31;64;64
|
||||
12;32;0;0
|
||||
12;32;1;13
|
||||
12;32;2;2
|
||||
@@ -964,6 +988,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;32;61;61
|
||||
12;32;62;62
|
||||
12;32;63;63
|
||||
12;32;64;64
|
||||
12;33;0;0
|
||||
12;33;1;13
|
||||
12;33;2;2
|
||||
@@ -998,6 +1023,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;33;61;61
|
||||
12;33;62;62
|
||||
12;33;63;63
|
||||
12;33;64;64
|
||||
12;34;0;0
|
||||
12;34;1;13
|
||||
12;34;2;2
|
||||
@@ -1031,6 +1057,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;34;61;61
|
||||
12;34;62;62
|
||||
12;34;63;63
|
||||
12;34;64;64
|
||||
12;35;0;0
|
||||
12;35;1;13
|
||||
12;35;2;2
|
||||
@@ -1065,6 +1092,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;35;61;61
|
||||
12;35;62;62
|
||||
12;35;63;63
|
||||
12;35;64;64
|
||||
12;40;0;0
|
||||
12;40;1;13
|
||||
12;40;2;2
|
||||
@@ -1103,6 +1131,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;40;61;61
|
||||
12;40;62;62
|
||||
12;40;63;63
|
||||
12;40;64;64
|
||||
12;49;0;0
|
||||
12;49;1;13
|
||||
12;49;2;2
|
||||
@@ -1137,6 +1166,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;49;61;61
|
||||
12;49;62;62
|
||||
12;49;63;63
|
||||
12;49;64;64
|
||||
12;50;0;0
|
||||
12;50;1;13
|
||||
12;50;2;2
|
||||
@@ -1171,6 +1201,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;50;61;61
|
||||
12;50;62;62
|
||||
12;50;63;63
|
||||
12;50;64;64
|
||||
12;51;0;0
|
||||
12;51;1;13
|
||||
12;51;2;2
|
||||
@@ -1204,6 +1235,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;51;61;61
|
||||
12;51;62;62
|
||||
12;51;63;63
|
||||
12;51;64;64
|
||||
12;52;0;0
|
||||
12;52;1;13
|
||||
12;52;2;2
|
||||
@@ -1237,6 +1269,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;52;61;61
|
||||
12;52;62;62
|
||||
12;52;63;63
|
||||
12;52;64;64
|
||||
12;54;0;0
|
||||
12;54;1;13
|
||||
12;54;2;2
|
||||
@@ -1270,6 +1303,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;54;61;61
|
||||
12;54;62;62
|
||||
12;54;63;63
|
||||
12;54;64;64
|
||||
12;55;0;0
|
||||
12;55;1;13
|
||||
12;55;2;2
|
||||
@@ -1303,6 +1337,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;55;61;61
|
||||
12;55;62;62
|
||||
12;55;63;63
|
||||
12;55;64;64
|
||||
12;56;0;0
|
||||
12;56;1;13
|
||||
12;56;2;2
|
||||
@@ -1336,6 +1371,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;56;61;61
|
||||
12;56;62;62
|
||||
12;56;63;63
|
||||
12;56;64;64
|
||||
12;57;0;0
|
||||
12;57;1;13
|
||||
12;57;2;2
|
||||
@@ -1369,6 +1405,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;57;61;61
|
||||
12;57;62;62
|
||||
12;57;63;63
|
||||
12;57;64;64
|
||||
12;58;0;0
|
||||
12;58;1;13
|
||||
12;58;2;2
|
||||
@@ -1402,6 +1439,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;58;61;61
|
||||
12;58;62;62
|
||||
12;58;63;63
|
||||
12;58;64;64
|
||||
12;59;0;0
|
||||
12;59;1;13
|
||||
12;59;2;2
|
||||
@@ -1435,6 +1473,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;59;61;61
|
||||
12;59;62;62
|
||||
12;59;63;63
|
||||
12;59;64;64
|
||||
12;60;0;0
|
||||
12;60;1;13
|
||||
12;60;2;2
|
||||
@@ -1468,6 +1507,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;60;61;61
|
||||
12;60;62;62
|
||||
12;60;63;63
|
||||
12;60;64;64
|
||||
12;61;0;0
|
||||
12;61;1;13
|
||||
12;61;2;2
|
||||
@@ -1501,6 +1541,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;61;60;60
|
||||
12;61;62;62
|
||||
12;61;63;63
|
||||
12;61;64;64
|
||||
12;62;0;0
|
||||
12;62;1;13
|
||||
12;62;2;2
|
||||
@@ -1534,6 +1575,7 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;62;60;60
|
||||
12;62;61;61
|
||||
12;62;63;63
|
||||
12;62;64;64
|
||||
12;63;0;0
|
||||
12;63;1;13
|
||||
12;63;2;2
|
||||
@@ -1567,3 +1609,38 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
12;63;60;60
|
||||
12;63;61;61
|
||||
12;63;62;62
|
||||
12;63;64;64
|
||||
12;64;0;0
|
||||
12;64;1;13
|
||||
12;64;2;2
|
||||
12;64;3;3
|
||||
12;64;4;4
|
||||
12;64;5;5
|
||||
12;64;6;6
|
||||
12;64;7;7
|
||||
12;64;8;8
|
||||
12;64;9;9
|
||||
12;64;10;10
|
||||
12;64;12;11
|
||||
12;64;14;11
|
||||
12;64;19;30
|
||||
12;64;26;27
|
||||
12;64;31;31
|
||||
12;64;32;32
|
||||
12;64;37;33
|
||||
12;64;38;34
|
||||
12;64;39;35
|
||||
12;64;49;49
|
||||
12;64;50;50
|
||||
12;64;51;51
|
||||
12;64;52;52
|
||||
12;64;54;54
|
||||
12;64;55;55
|
||||
12;64;56;56
|
||||
12;64;57;57
|
||||
12;64;58;58
|
||||
12;64;59;59
|
||||
12;64;60;60
|
||||
12;64;61;61
|
||||
12;64;62;62
|
||||
12;64;63;63
|
||||
|
||||
|
@@ -13,6 +13,7 @@
|
||||
# 2024.03.27 Sistemazione allineamento e Intestazione + TEST
|
||||
# 2024.10.08 Agg. uscita Emergenza con HW_Power_On
|
||||
# 2025.01.28 Creato Stato Riscaldam_Autom Riscaldamento da HW + Mod. Rule + Barcode Nuovi - Adesso il Risc. da Barcode esce solo con altri Barcode
|
||||
# 2026.03.27 Aggiunti Barcode Fluitek - 64
|
||||
#
|
||||
$DEFINITIONS
|
||||
|
||||
@@ -67,6 +68,7 @@ $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
|
||||
@@ -134,6 +136,7 @@ $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
|
||||
|
||||
@@ -176,6 +179,7 @@ ALL_STATES : Barcode_Pausa : Paus
|
||||
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
|
||||
|
||||
ALL_STATES : HW_Power_Off : Macchina_Spenta # 14
|
||||
|
||||
|
||||
@@ -2,42 +2,56 @@ IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
|
||||
15;0;14;11
|
||||
15;0;15;1
|
||||
15;0;18;15
|
||||
15;0;30;29
|
||||
15;0;44;39
|
||||
15;0;45;38
|
||||
15;0;46;37
|
||||
15;1;0;0
|
||||
15;1;14;11
|
||||
15;1;18;15
|
||||
15;1;30;29
|
||||
15;1;44;39
|
||||
15;1;45;38
|
||||
15;1;46;37
|
||||
15;11;0;0
|
||||
15;11;15;1
|
||||
15;11;18;15
|
||||
15;11;30;29
|
||||
15;11;44;39
|
||||
15;11;45;38
|
||||
15;11;46;37
|
||||
15;15;0;0
|
||||
15;15;14;11
|
||||
15;15;15;1
|
||||
15;15;30;29
|
||||
15;15;44;39
|
||||
15;15;45;38
|
||||
15;15;46;37
|
||||
15;29;0;0
|
||||
15;29;14;11
|
||||
15;29;15;1
|
||||
15;29;18;15
|
||||
15;29;44;39
|
||||
15;29;45;38
|
||||
15;29;46;37
|
||||
15;37;0;0
|
||||
15;37;14;11
|
||||
15;37;15;1
|
||||
15;37;18;15
|
||||
15;37;30;29
|
||||
15;37;44;39
|
||||
15;37;45;38
|
||||
15;38;0;0
|
||||
15;38;14;11
|
||||
15;38;15;1
|
||||
15;38;18;15
|
||||
15;38;30;29
|
||||
15;38;44;39
|
||||
15;38;46;37
|
||||
15;39;0;0
|
||||
15;39;14;11
|
||||
15;39;15;1
|
||||
15;39;18;15
|
||||
15;39;30;29
|
||||
15;39;45;38
|
||||
15;39;46;37
|
||||
|
||||
|
@@ -7,6 +7,7 @@
|
||||
# 2023.08.11 Nomi PowerOn
|
||||
# 2023.08.27 Sistemazione Descrizioni
|
||||
# 2024.03.27 Sistemazione allineamento e Intestazione
|
||||
# 2025.11.25 Aggiunta Emergenza
|
||||
#
|
||||
$DEFINITIONS
|
||||
|
||||
@@ -20,6 +21,7 @@ $STATE : 0 : ND
|
||||
$STATE : 1 : Macchina_Pronta
|
||||
$STATE : 11 : Macchina_Spenta
|
||||
$STATE : 15 : Allarme_CN
|
||||
$STATE : 29 : Emergenza
|
||||
$STATE : 37 : Carico
|
||||
$STATE : 38 : Riserva
|
||||
$STATE : 39 : A_Vuoto
|
||||
@@ -30,6 +32,7 @@ $EVENT : 00 : EMPTY
|
||||
$EVENT : 14 : HW_Power_Off
|
||||
$EVENT : 15 : HW_Power_On
|
||||
$EVENT : 18 : HW_Error
|
||||
$EVENT : 30 : HW_Emergenza
|
||||
$EVENT : 44 : HW_Warn_a_Vuoto
|
||||
$EVENT : 45 : HW_Warn_Riserva
|
||||
$EVENT : 46 : HW_Carico
|
||||
@@ -42,6 +45,7 @@ ALL_STATES : EMPTY : ND
|
||||
ALL_STATES : HW_Power_Off : Macchina_Spenta # 14
|
||||
ALL_STATES : HW_Power_On : Macchina_Pronta # 15
|
||||
ALL_STATES : HW_Error : Allarme_CN # 18
|
||||
ALL_STATES : HW_Emergenza : Emergenza # 21
|
||||
ALL_STATES : HW_Warn_a_Vuoto : A_Vuoto # 44 in quella Originale andava a Riserva
|
||||
ALL_STATES : HW_Warn_Riserva : Riserva # 45 in quella Originale andava a A_Vuoto
|
||||
ALL_STATES : HW_Carico : Carico # 56
|
||||
|
||||
Reference in New Issue
Block a user