;
; Config file for HPC laser
; Save on MBED in the root, as "config.txt"
;
net.ip 192.168.5.51		; IP address [xxx.xxx.xxx.xxx] 
net.netmask 255.255.255.0	; netmask [xxx.xxx.xxx.xxx] 
net.gateway 192.168.5.254	; gateway
net.dns 8.8.8.8		; DNS server
net.dhcp 0			; Enable DHCP for IP address [0/1]
net.port 69			; Communication socket port number []

sys.debug  0			; debug flags bit0=verbose, 
				; bit1=log to serial, bit2=log to file
sys.autohome 1		
sys.nodisplay 0


laser.pwm.min  100   ; minimum pwm value [%]
laser.pwm.max  0     ; maximum pwm value [%]
laser.pwm.freq 1000  ; pwm frequency [Hz]

motion.enable 0
motion.homespeed  150	
motion.speed 250
motion.accel 500

x.pol 1
y.pol 1

x.scale -158516
				; use negative number to invert direction [1/0]
x.homedir 1			; state of the direction signal when homing
x.home 0			; home positions [um] 
x.min 0				; minimal position [um]
x.max 330000			; maximum position [um]
x.rest 0			; rest position [um]
x.speed 150			; maximum speed [mm/sec]
x.invert 0			; Invert signal polarity for step signal [1/0]

y.scale 158516
y.homedir 1
y.home 240000
y.min 0
y.max 240000
;y.max 240000
y.rest 230000
y.speed 150
y.invert 0


