Modifica conf state machine x MTH con bit accensione/spegnimento (Bit5)

This commit is contained in:
2019-01-19 11:56:22 +01:00
parent c25f7464c7
commit 544de90ffa
@@ -8,8 +8,8 @@ $DEFINITIONS
$NAME : SIEMENS_TORRI
$IDX : 44
$N_STATES : 7
$N_BITS : 5
$N_STATES : 8
$N_BITS : 6
#definizione bit : obbligatorio iniziare da 0
@@ -18,6 +18,7 @@ $BIT : 1 : run
$BIT : 2 : end_cycle
$BIT : 3 : alarm
$BIT : 4 : manual
$BIT : 5 : test_cycle
#definizione stati : obbligatorio iniziare da 0
@@ -28,6 +29,7 @@ $STATE : 3 : ST_Run
$STATE : 4 : ST_Cycle_end
$STATE : 5 : ST_Alarm
$STATE : 6 : ST_Manual
$STATE : 7 : ST_test_cycle
#definizione eventi : obbligatorio iniziare da 0
@@ -70,6 +72,7 @@ $EVENT : 35 : HW_end_pallet_2
$EVENT : 36 : HW_deposito_robot
$EVENT : 37 : Barcode_Riempimento_Vasca
$EVENT : 38 : Barcode_Riscaldamento
$EVENT : 50 : HW_Test_WU_CD
#$EVENT : 999 : Commento
$RULES
@@ -80,6 +83,7 @@ ALL_STATES : NOT power_on : ST_Power_off : HW_power_off
ALL_STATES : end_cycle : ST_Cycle_end : HW_end_pallet
ALL_STATES : manual : ST_Manual : HW_manuale
ALL_STATES : alarm : ST_Alarm : HW_error
ALL_STATES : test_cycle : ST_test_cycle : HW_Test_WU_CD
ALL_STATES : run : ST_Run : HW_machining
ALL_STATES : power_on : ST_Machine_ready : HW_power_on