EgtMachKernel 1.6r2 :

- modifiche per gestire fino a 4 assi rotanti contemporaneamente attivi (almeno 2 bloccati)
- correzioni e migliorie varie.
This commit is contained in:
Dario Sassi
2016-05-17 07:00:08 +00:00
parent 31b4099d0f
commit 05a69a650b
20 changed files with 551 additions and 165 deletions
+7 -1
View File
@@ -29,7 +29,7 @@ using namespace std ;
//----------------------------------------------------------------------------
static const string ERR_EXT = ".err" ;
static const int MAX_AXES = 5 ;
static const int MAX_AXES = 7 ;
//----------------------------------------------------------------------------
Generator::Generator( void)
@@ -708,6 +708,8 @@ Generator::GetGlobVarAxisValue( int nAx)
case 3 : return ( GLOB_VAR + GVAR_L3) ;
case 4 : return ( GLOB_VAR + GVAR_R1) ;
case 5 : return ( GLOB_VAR + GVAR_R2) ;
case 6 : return ( GLOB_VAR + GVAR_R3) ;
case 7 : return ( GLOB_VAR + GVAR_R4) ;
default : return "" ;
}
}
@@ -722,6 +724,8 @@ Generator::GetGlobVarAxisPrev( int nAx)
case 3 : return ( GLOB_VAR + GVAR_L3P) ;
case 4 : return ( GLOB_VAR + GVAR_R1P) ;
case 5 : return ( GLOB_VAR + GVAR_R2P) ;
case 6 : return ( GLOB_VAR + GVAR_R3P) ;
case 7 : return ( GLOB_VAR + GVAR_R4P) ;
default : return "" ;
}
}
@@ -736,6 +740,8 @@ Generator::GetGlobVarAxisToken( int nAx)
case 3 : return ( GLOB_VAR + GVAR_L3T) ;
case 4 : return ( GLOB_VAR + GVAR_R1T) ;
case 5 : return ( GLOB_VAR + GVAR_R2T) ;
case 6 : return ( GLOB_VAR + GVAR_R3T) ;
case 7 : return ( GLOB_VAR + GVAR_R4T) ;
default : return "" ;
}
}