;this is a comment #this is also a comment ############# SECTION INTERFACESETTINGS ####### ;setting the interface to motors ;default all is no interface ;Interface smc800 with centronics-cable to parallelport ;INTERFACE = PARALLELSMC ;Interface parallelport raw ( for your own constructions ). ;INTERFACE = PARALLELRAW ;settings for the parallel-port, if PARALLELSMC, or PARALLELRAW ;or, if implemented for SERPARPROT ;this you must also set if your keypad is using parallelport ;Don't be shy using the parallelinput for keypadinput, toghether ;with your parallel interface. The input, and outputsignals ;are strictly separated. A very useful handling is a keypad ;connected directly to a smc800-card. ;PARALLELPORT = 0x378 ;PARALLELPORT = 0x278 ;PARALLELPORT = 0x3bc ;Interface el31-board with serial connection INTERFACE = SERIAL ###### settings only for the serial interface ##### ;this must be an cpu-board like the el31board, which ;understands the used protocol. ;(see explanations about the serial protocol ) ;the baudrate is fix 19200 ;SERIALPORT = /dev/ttyS0 SERIALPORT = /dev/ttyS1 ######## SECTION SPEED ###################### ;setting the loopinterval ;for an el31board like cpu-board these are values in the range ( 0- 255) ;for the parallelport a value in microseconds ( 0 - 999999 ) ;(for parallel using, no interrupt ist used, its a timer, which ;splits the complete thread, which handles the three motors. ;The only reason to set this value to 0, if, in case of a very slow ;computer. TIMERINTCTGOTO = 2 TIMERINTCTCORRECTION = 2 ;setting the speeds: ;for SERIAL >cpu-board these are values in the range ( 0 - 255 ) ;a value of 10 means, - all 10 * TIMERINTCT a step will go. ;for the parallelport the same, but value can be in range( 0 - 999999 ) AZGOTOSPEED = 4 ALTGOTOSPEED = 4 FRGOTOSPEED = 4 AZCORRECTIONSPEED = 20 ALTCORRECTIONSPEED = 20 FRCORRECTIONSPEED = 20 ;This is only for internal settings, ;-switches fieldrotator on at startup. ;Default fieldrotator ;rotates right, - with FRLEFT ON the directionflag ;is set to right at startup. ;But genereally the settings of FRUSE, FRLEFT are for ;programms who uses elctr as interface, and needs ;this settings at startup. ;FRUSE = ON ;FRLEFT = ON ############# SECTION KEYPAD ################## ;setting the keypad for the joystickport, or parallelport ;default no keypad is defined ;The joystickport is very usefull for a keypad, but only ;useable if it is not included into a soundcard. ;Perhaps you can test after init sound, if the joystickport ;is available. Use the tool testdefjoystick for that, it must ;return a 0xf0 value if joystickport is reachable. JOYSTICKKEYPAD = ON JOYSTICKPORT = 0x200 ;or setting the keypad for the parallelport ;if this, -you must set PARALLELPORT above. ;It makes no sense to use different parallel ports ;for interface-parallel, and keypad-parallel, because ;interface uses only outputsignals, and keypad the ;separated status bits of port. ;PARALLELKEYPAD = ON ############### SECTION BOUNDARIES ############# AZHS360 = 1296000.0 ALTHS90 = 324000.0 FRHS360 = 1296000.0 ALTHSHORIZONTLIMIT = 0.0 ALTHSZENITLIMIT = 450000.0 ############### SECTION INPUT ################## ;this is for calling input signals ;INPUTTYPE = SERIAL ;INPUTTYPE = PARALLEL ;INPUTTYPE = JOYSTICK ;one of the interfaces must be set before you ;should set the portnumber ;if PARALLEL, try 0x3bc,0x278,0x378 dependend on your used parallelport ;if JOYSTICK, try 0x200,0x202 dependend on your used joystickport ;INPUTPORT = 0x378 ;INPUTPORT = 0x200 ########## SECTION SPECIALS #################### DEBUG = ON