diff --git a/StateMachine/Donati/30_SCATOLE_INTEC.csv b/StateMachine/Donati/30_SCATOLE_INTEC.csv index 51ef26f..ae91b05 100644 --- a/StateMachine/Donati/30_SCATOLE_INTEC.csv +++ b/StateMachine/Donati/30_SCATOLE_INTEC.csv @@ -1,8 +1,8 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStato 30;0;0;14;1 -30;0;1;16;3 +30;0;1;15;2 30;0;2;14;1 -30;0;3;15;2 +30;0;3;16;3 30;0;4;14;1 30;0;5;22;4 30;0;6;14;1 @@ -31,8 +31,8 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 30;0;29;22;4 30;0;30;14;1 30;0;31;22;4 -30;1;1;16;3 -30;1;3;15;2 +30;1;1;15;2 +30;1;3;16;3 30;1;5;22;4 30;1;7;22;4 30;1;9;18;5 @@ -48,8 +48,8 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 30;1;29;22;4 30;1;31;22;4 30;2;0;14;1 -30;2;1;16;3 30;2;2;14;1 +30;2;3;16;3 30;2;4;14;1 30;2;5;22;4 30;2;6;14;1 @@ -79,8 +79,8 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 30;2;30;14;1 30;2;31;22;4 30;3;0;14;1 +30;3;1;15;2 30;3;2;14;1 -30;3;3;15;2 30;3;4;14;1 30;3;5;22;4 30;3;6;14;1 @@ -110,9 +110,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 30;3;30;14;1 30;3;31;22;4 30;4;0;14;1 -30;4;1;16;3 +30;4;1;15;2 30;4;2;14;1 -30;4;3;15;2 +30;4;3;16;3 30;4;4;14;1 30;4;6;14;1 30;4;8;14;1 @@ -134,9 +134,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 30;4;28;14;1 30;4;30;14;1 30;5;0;14;1 -30;5;1;16;3 +30;5;1;15;2 30;5;2;14;1 -30;5;3;15;2 +30;5;3;16;3 30;5;4;14;1 30;5;5;22;4 30;5;6;14;1 @@ -164,9 +164,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 30;5;30;14;1 30;5;31;22;4 30;6;0;14;1 -30;6;1;16;3 +30;6;1;15;2 30;6;2;14;1 -30;6;3;15;2 +30;6;3;16;3 30;6;4;14;1 30;6;5;22;4 30;6;6;14;1 diff --git a/StateMachine/Donati/30_SCATOLE_INTEC.rul b/StateMachine/Donati/30_SCATOLE_INTEC.rul index b4d3def..2218690 100644 --- a/StateMachine/Donati/30_SCATOLE_INTEC.rul +++ b/StateMachine/Donati/30_SCATOLE_INTEC.rul @@ -15,7 +15,7 @@ $N_BITS : 5 #definizione bit : obbligatorio iniziare da 0 $BIT : 0 : power_on -$BIT : 1 : not_run +$BIT : 1 : run $BIT : 2 : end_cycle $BIT : 3 : alarm $BIT : 4 : luce_arancio @@ -72,7 +72,7 @@ ALL_STATES : NOT power_on : ST_Power_off : HW - power off ALL_STATES : end_cycle : ST_Cycle_end : HW - end pallet ALL_STATES : luce_arancio : ST_Manual : HW manuale ALL_STATES : alarm : ST_Alarm : HW - error -ALL_STATES : NOT not_run : ST_Run : HW - machining +ALL_STATES : run : ST_Run : HW - machining ALL_STATES : power_on : ST_Machine_ready : HW - power on #--------------------------------------------------------------------------