Installation guide
Mint™ v4 Advanced Programming Guide 
108  MN1270 02.2002   
NUMBEROF/NO 
Purpose: 
To return information about the hardware available on the Controller. 
Controllers Supported: 
NextMove PCI  NextMove PC  NextMove BX  MintDrive  ServoNode 51 
         
Format: 
v = NUMBEROF.type
Dot Parameters: 
Type - Hardware Type 
Description: 
The 
NUMBEROF keyword can be used to return information about what hardware is present. The type of 
hardware available is as follows: 
Type 
value 
Constant Meaning NM MD SN 
0 
_noSERVOS
the number of possible servo axis 
     
1 
_noSTEPPERS
the number of possible stepper axis 
     
2 
_noINPUTS
the number of digital inputs 
     
3 
_noOUTPUTS
the number of digital outputs 
     
4 
_noDACS
the number of DAC channels 
     
5 
_noADCS
the number of ADC channels 
     
6 
_noAUXENCODERS
the number of auxiliary encoder channels 
     
7 
_noAXES
the number of controllable axes 
     
8 
_noRELAY
the number of relays 
     
9 
_noCAN
the number of CAN channels 
     
10 
_noAUXDAC
the number of Auxiliary DAC channels 
     
11 
_noSERIAL
the number of serial channels 
     
12 
_noAXIS_CHANNELS
the highest addressable channel or axis 
number. 
 
13 
_noICM_FUNCS
the number of ICM functions 
 
14 
_noOUTPUT_BANKS
the number of digital output banks 
 
15 
_noINPUT_BANKS
the number of digital input banks 
 
Example: 
A configuration file is to written that will run on both NextMove PC and NextMove BX. 
IF NUMBEROF._noSERVOS <> 4 THEN PRINT “Error. Not enough servos” : END
IF NUMBEROF._noINPUTS < 24 DO
REM Configure I/O for 24 inputs
..
ELSE
REM Configure I/O for 16 inputs
..
ENDIF
IF NUMBEROF._noAXUENCODERS=1DO
REM Auxiliary encoder available for product position verification
..
ENDIF
See Also: 
VIEW 










