diff --git a/StateMachine/ColCom/5_MoriSeiki_main.csv b/StateMachine/ColCom/5_MoriSeiki_main.csv index 730da44..8428375 100644 --- a/StateMachine/ColCom/5_MoriSeiki_main.csv +++ b/StateMachine/ColCom/5_MoriSeiki_main.csv @@ -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 diff --git a/StateMachine/ColCom/5_MoriSeiki_main.rul b/StateMachine/ColCom/5_MoriSeiki_main.rul index 1a439fb..31f9de8 100644 --- a/StateMachine/ColCom/5_MoriSeiki_main.rul +++ b/StateMachine/ColCom/5_MoriSeiki_main.rul @@ -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 #--------------------------------------------------------------------------