Update MoriSeiki colcom x gestione fermata su cambio pallet

This commit is contained in:
2019-01-24 17:37:39 +01:00
parent 839c289690
commit 35b07fa1dd
2 changed files with 49 additions and 41 deletions
+14 -14
View File
@@ -4,9 +4,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;0;2;14;1
5;0;3;16;3
5;0;4;14;1
5;0;5;34;4
5;0;5;36;4
5;0;6;14;1
5;0;7;34;4
5;0;7;36;4
5;0;8;14;1
5;0;9;18;5
5;0;10;14;1
@@ -17,8 +17,8 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;0;15;18;5
5;1;1;15;2
5;1;3;16;3
5;1;5;34;4
5;1;7;34;4
5;1;5;36;4
5;1;7;36;4
5;1;9;18;5
5;1;11;18;5
5;1;13;18;5
@@ -27,9 +27,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;2;2;14;1
5;2;3;16;3
5;2;4;14;1
5;2;5;34;4
5;2;5;36;4
5;2;6;14;1
5;2;7;34;4
5;2;7;36;4
5;2;8;14;1
5;2;9;18;5
5;2;10;14;1
@@ -42,9 +42,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;3;1;15;2
5;3;2;14;1
5;3;4;14;1
5;3;5;34;4
5;3;5;36;4
5;3;6;14;1
5;3;7;34;4
5;3;7;36;4
5;3;8;14;1
5;3;9;18;5
5;3;10;14;1
@@ -72,9 +72,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;5;2;14;1
5;5;3;16;3
5;5;4;14;1
5;5;5;34;4
5;5;5;36;4
5;5;6;14;1
5;5;7;34;4
5;5;7;36;4
5;5;8;14;1
5;5;10;14;1
5;5;12;14;1
@@ -84,9 +84,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;6;2;14;1
5;6;3;16;3
5;6;4;14;1
5;6;5;34;4
5;6;5;36;4
5;6;6;14;1
5;6;7;34;4
5;6;7;36;4
5;6;8;14;1
5;6;9;18;5
5;6;10;14;1
@@ -100,9 +100,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat
5;7;2;14;1
5;7;3;16;3
5;7;4;14;1
5;7;5;34;4
5;7;5;36;4
5;7;6;14;1
5;7;7;34;4
5;7;7;36;4
5;7;8;14;1
5;7;9;18;5
5;7;10;14;1
1 IdxFamigliaIngresso IdxMicroStato ValoreIngresso IdxTipoEvento next_IdxMicroStato
4 5 0 2 14 1
5 5 0 3 16 3
6 5 0 4 14 1
7 5 0 5 34 36 4
8 5 0 6 14 1
9 5 0 7 34 36 4
10 5 0 8 14 1
11 5 0 9 18 5
12 5 0 10 14 1
17 5 0 15 18 5
18 5 1 1 15 2
19 5 1 3 16 3
20 5 1 5 34 36 4
21 5 1 7 34 36 4
22 5 1 9 18 5
23 5 1 11 18 5
24 5 1 13 18 5
27 5 2 2 14 1
28 5 2 3 16 3
29 5 2 4 14 1
30 5 2 5 34 36 4
31 5 2 6 14 1
32 5 2 7 34 36 4
33 5 2 8 14 1
34 5 2 9 18 5
35 5 2 10 14 1
42 5 3 1 15 2
43 5 3 2 14 1
44 5 3 4 14 1
45 5 3 5 34 36 4
46 5 3 6 14 1
47 5 3 7 34 36 4
48 5 3 8 14 1
49 5 3 9 18 5
50 5 3 10 14 1
72 5 5 2 14 1
73 5 5 3 16 3
74 5 5 4 14 1
75 5 5 5 34 36 4
76 5 5 6 14 1
77 5 5 7 34 36 4
78 5 5 8 14 1
79 5 5 10 14 1
80 5 5 12 14 1
84 5 6 2 14 1
85 5 6 3 16 3
86 5 6 4 14 1
87 5 6 5 34 36 4
88 5 6 6 14 1
89 5 6 7 34 36 4
90 5 6 8 14 1
91 5 6 9 18 5
92 5 6 10 14 1
100 5 7 2 14 1
101 5 7 3 16 3
102 5 7 4 14 1
103 5 7 5 34 36 4
104 5 7 6 14 1
105 5 7 7 34 36 4
106 5 7 8 14 1
107 5 7 9 18 5
108 5 7 10 14 1
+35 -27
View File
@@ -44,41 +44,49 @@ $EVENT : 09 : EV_09
$EVENT : 10 : EV_10
$EVENT : 11 : EV_11
$EVENT : 12 : EV_12
$EVENT : 13 : HW - init
$EVENT : 14 : HW - power off
$EVENT : 15 : HW - power on
$EVENT : 16 : HW - machining
$EVENT : 17 : HW - end machining
$EVENT : 18 : HW - error
$EVENT : 19 : Barcode - cambio operatore
$EVENT : 20 : Contapezzi
$EVENT : 21 : HW - start pallet
$EVENT : 22 : HW - end pallet
$EVENT : 23 : HW rottura nastro abrasivo
$EVENT : 24 : HW manuale
$EVENT : 25 : HW nastro scarico pieno
$EVENT : 26 : Barcode - Manca Riforn. MPD
$EVENT : 27 : Timer - timeout tempo ciclo
$EVENT : 28 : Timer - timeout TURNO by tempo ciclo
$EVENT : 29 : HW - magazzino grezzi vuoto
$EVENT : 30 : HW - emergenza
$EVENT : 31 : Barcode - Modifica Programmi
$EVENT : 32 : Barcode - Sostituzione Utensile
$EVENT : 33 : HW - Allarme Macchina
$EVENT : 34 : HW - deposito pezzo
$EVENT : 13 : HW_init
$EVENT : 14 : HW_power_off
$EVENT : 15 : HW_power_on
$EVENT : 16 : HW_machining
$EVENT : 17 : HW_end_machining
$EVENT : 18 : HW_error
$EVENT : 19 : Barcode_cambio operatore
$EVENT : 20 : Contapezzi
$EVENT : 21 : HW_start_pallet
$EVENT : 22 : HW_end_pallet
$EVENT : 23 : HW_rottura_nastro_abrasivo
$EVENT : 24 : HW_manuale
$EVENT : 25 : HW_nastro_scarico_pieno
$EVENT : 26 : Barcode_Manca_Riforn_MPD
$EVENT : 27 : Timer_timeout_tempo_ciclo
$EVENT : 28 : Timer_timeout_TURNO_by_tempo_ciclo
$EVENT : 29 : HW_magazzino_grezzi vuoto
$EVENT : 30 : HW_emergenza
$EVENT : 31 : Barcode_Modifica_Programmi
$EVENT : 32 : Barcode_Sostituzione_Utensile
$EVENT : 33 : HW_Allarme Macchina
$EVENT : 34 : HW_end_pallet_1
$EVENT : 35 : HW_end_pallet_2
$EVENT : 36 : HW_deposito_robot
$EVENT : 37 : Barcode_Riempimento_Vasca
$EVENT : 38 : Barcode_Riscaldamento
$EVENT : 39 : Barcode_Anomalia_Macchina
$EVENT : 40 : HW_Test_WU_CD
$EVENT : 41 : HW_run_slow
#$EVENT : 999 : Commento
$RULES
# state : input : next state : event
ALL_STATES : NOT bPowerOn : ST_Power_off : HW - power off
ALL_STATES : NOT bPowerOn : ST_Power_off : HW_power_off
ALL_STATES : bAlarm : ST_Alarm : HW - error
ALL_STATES : bAlarm : ST_Alarm : HW_error
ALL_STATES : bDepPezzo : ST_PezzoRobot : HW - deposito pezzo
ALL_STATES : bDepPezzo : ST_PezzoRobot : HW_deposito_robot
ALL_STATES : bRun : ST_Run : HW - machining
ALL_STATES : bPowerOn : ST_Machine_ready : HW - power on
ALL_STATES : bRun : ST_Run : HW_machining
ALL_STATES : bPowerOn : ST_Machine_ready : HW_power_on
#--------------------------------------------------------------------------