From 2b7e5230563e7ca5fca231bc9fcfcec09481e2d3 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 16 Jul 2020 18:21:50 +0200 Subject: [PATCH] update state machine x avere allarme che vince su manuale x CITIZEN --- .../Jetco/58_FANUC_citizen_AllCount.csv | 56 +++++++++---------- .../Jetco/58_FANUC_citizen_AllCount.rul | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/StateMachine/Jetco/58_FANUC_citizen_AllCount.csv b/StateMachine/Jetco/58_FANUC_citizen_AllCount.csv index c9b4084..d27d855 100644 --- a/StateMachine/Jetco/58_FANUC_citizen_AllCount.csv +++ b/StateMachine/Jetco/58_FANUC_citizen_AllCount.csv @@ -40,9 +40,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;0;38;14;1 58;0;39;22;4 58;0;40;14;1 -58;0;41;40;7 +58;0;41;18;5 58;0;42;14;1 -58;0;43;40;7 +58;0;43;18;5 58;0;44;14;1 58;0;45;22;4 58;0;46;14;1 @@ -56,9 +56,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;0;54;14;1 58;0;55;22;4 58;0;56;14;1 -58;0;57;40;7 +58;0;57;18;5 58;0;58;14;1 -58;0;59;40;7 +58;0;59;18;5 58;0;60;14;1 58;0;61;22;4 58;0;62;14;1 @@ -83,16 +83,16 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;1;35;40;7 58;1;37;22;4 58;1;39;22;4 -58;1;41;40;7 -58;1;43;40;7 +58;1;41;18;5 +58;1;43;18;5 58;1;45;22;4 58;1;47;22;4 58;1;49;40;7 58;1;51;40;7 58;1;53;22;4 58;1;55;22;4 -58;1;57;40;7 -58;1;59;40;7 +58;1;57;18;5 +58;1;59;18;5 58;1;61;22;4 58;1;63;22;4 58;2;0;14;1 @@ -135,9 +135,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;2;38;14;1 58;2;39;22;4 58;2;40;14;1 -58;2;41;40;7 +58;2;41;18;5 58;2;42;14;1 -58;2;43;40;7 +58;2;43;18;5 58;2;44;14;1 58;2;45;22;4 58;2;46;14;1 @@ -151,9 +151,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;2;54;14;1 58;2;55;22;4 58;2;56;14;1 -58;2;57;40;7 +58;2;57;18;5 58;2;58;14;1 -58;2;59;40;7 +58;2;59;18;5 58;2;60;14;1 58;2;61;22;4 58;2;62;14;1 @@ -198,9 +198,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;3;38;14;1 58;3;39;22;4 58;3;40;14;1 -58;3;41;40;7 +58;3;41;18;5 58;3;42;14;1 -58;3;43;40;7 +58;3;43;18;5 58;3;44;14;1 58;3;45;22;4 58;3;46;14;1 @@ -214,9 +214,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;3;54;14;1 58;3;55;22;4 58;3;56;14;1 -58;3;57;40;7 +58;3;57;18;5 58;3;58;14;1 -58;3;59;40;7 +58;3;59;18;5 58;3;60;14;1 58;3;61;22;4 58;3;62;14;1 @@ -252,9 +252,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;4;36;14;1 58;4;38;14;1 58;4;40;14;1 -58;4;41;40;7 +58;4;41;18;5 58;4;42;14;1 -58;4;43;40;7 +58;4;43;18;5 58;4;44;14;1 58;4;46;14;1 58;4;48;14;1 @@ -264,9 +264,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;4;52;14;1 58;4;54;14;1 58;4;56;14;1 -58;4;57;40;7 +58;4;57;18;5 58;4;58;14;1 -58;4;59;40;7 +58;4;59;18;5 58;4;60;14;1 58;4;62;14;1 58;5;0;14;1 @@ -306,9 +306,7 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;5;38;14;1 58;5;39;22;4 58;5;40;14;1 -58;5;41;40;7 58;5;42;14;1 -58;5;43;40;7 58;5;44;14;1 58;5;45;22;4 58;5;46;14;1 @@ -322,9 +320,7 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;5;54;14;1 58;5;55;22;4 58;5;56;14;1 -58;5;57;40;7 58;5;58;14;1 -58;5;59;40;7 58;5;60;14;1 58;5;61;22;4 58;5;62;14;1 @@ -368,9 +364,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;6;38;14;1 58;6;39;22;4 58;6;40;14;1 -58;6;41;40;7 +58;6;41;18;5 58;6;42;14;1 -58;6;43;40;7 +58;6;43;18;5 58;6;44;14;1 58;6;45;22;4 58;6;46;14;1 @@ -384,9 +380,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;6;54;14;1 58;6;55;22;4 58;6;56;14;1 -58;6;57;40;7 +58;6;57;18;5 58;6;58;14;1 -58;6;59;40;7 +58;6;59;18;5 58;6;60;14;1 58;6;61;22;4 58;6;62;14;1 @@ -430,7 +426,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;7;38;14;1 58;7;39;22;4 58;7;40;14;1 +58;7;41;18;5 58;7;42;14;1 +58;7;43;18;5 58;7;44;14;1 58;7;45;22;4 58;7;46;14;1 @@ -442,7 +440,9 @@ IdxFamigliaIngresso;IdxMicroStato;ValoreIngresso;IdxTipoEvento;next_IdxMicroStat 58;7;54;14;1 58;7;55;22;4 58;7;56;14;1 +58;7;57;18;5 58;7;58;14;1 +58;7;59;18;5 58;7;60;14;1 58;7;61;22;4 58;7;62;14;1 diff --git a/StateMachine/Jetco/58_FANUC_citizen_AllCount.rul b/StateMachine/Jetco/58_FANUC_citizen_AllCount.rul index 4d7eebc..83af179 100644 --- a/StateMachine/Jetco/58_FANUC_citizen_AllCount.rul +++ b/StateMachine/Jetco/58_FANUC_citizen_AllCount.rul @@ -82,8 +82,8 @@ $RULES ALL_STATES : NOT power_on : ST_Power_off : HW_power_off ALL_STATES : end_cycle : ST_Cycle_end : HW_end_pallet -ALL_STATES : wu_cd : ST_WU_CD : HW_WarmUp_CoolDown ALL_STATES : alarm : ST_Alarm : HW_error +ALL_STATES : wu_cd : ST_WU_CD : HW_WarmUp_CoolDown ALL_STATES : manual : ST_Manual : HW_manuale ALL_STATES : run : ST_Run : HW_machining ALL_STATES : power_on : ST_Machine_ready : HW_power_on