diff --git a/StateMachine/ColCom/10_Mitsubishi_simple.csv b/StateMachine/ColCom/10_Mitsubishi_simple.csv index fe8f399..1183c94 100644 --- a/StateMachine/ColCom/10_Mitsubishi_simple.csv +++ b/StateMachine/ColCom/10_Mitsubishi_simple.csv @@ -6,7 +6,7 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 10;0;4;14;1 10;0;5;24;2 10;0;6;14;1 -10;0;7;16;3 +10;0;7;24;2 10;0;8;14;1 10;0;9;18;4 10;0;10;14;1 @@ -34,7 +34,7 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 10;1;1;24;2 10;1;3;16;3 10;1;5;24;2 -10;1;7;16;3 +10;1;7;24;2 10;1;9;18;4 10;1;11;18;4 10;1;13;18;4 @@ -52,7 +52,6 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 10;2;3;16;3 10;2;4;14;1 10;2;6;14;1 -10;2;7;16;3 10;2;8;14;1 10;2;9;18;4 10;2;10;14;1 @@ -79,6 +78,7 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 10;3;4;14;1 10;3;5;24;2 10;3;6;14;1 +10;3;7;24;2 10;3;8;14;1 10;3;9;18;4 10;3;10;14;1 @@ -110,7 +110,7 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 10;4;4;14;1 10;4;5;24;2 10;4;6;14;1 -10;4;7;16;3 +10;4;7;24;2 10;4;8;14;1 10;4;10;14;1 10;4;12;14;1 diff --git a/StateMachine/ColCom/10_Mitsubishi_simple.rul b/StateMachine/ColCom/10_Mitsubishi_simple.rul index 2c7109d..801599d 100644 --- a/StateMachine/ColCom/10_Mitsubishi_simple.rul +++ b/StateMachine/ColCom/10_Mitsubishi_simple.rul @@ -15,7 +15,7 @@ $N_BITS : 5 $BIT : 0 : bPowerOn $BIT : 1 : bRun -$BIT : 2 : bDepPezzo +$BIT : 2 : bPallet $BIT : 3 : bAlarm $BIT : 4 : bManual @@ -79,6 +79,7 @@ $RULES # state : input : next state : event ALL_STATES : NOT bPowerOn : ST_Power_off : HW_power_off ALL_STATES : bAlarm : ST_Alarm : HW_error +ALL_STATES : bPallet : ST_Machine_ready : HW_manuale ALL_STATES : bManual : ST_Machine_ready : HW_manuale ALL_STATES : bRun : ST_Run : HW_machining ALL_STATES : bPowerOn : ST_Machine_ready : HW_manuale