Project

General

Profile

config.txt

darrenp, 2012-12-03 15:49

Download (1.2 KB)

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

    
12
sys.debug  0			; debug flags bit0=verbose, 
13
				; bit1=log to serial, bit2=log to file
14
sys.autohome 1		
15
sys.nodisplay 0
16

    
17

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

    
22
motion.enable 0
23
motion.homespeed  150	
24
motion.speed 250
25
motion.accel 500
26

    
27
x.pol 1
28
y.pol 1
29

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

    
40
y.scale 158516
41
y.homedir 1
42
y.home 240000
43
y.min 0
44
y.max 240000
45
;y.max 240000
46
y.rest 230000
47
y.speed 150
48
y.invert 0
49

    
50