Project

General

Profile

config.txt

sample config.txt for HPC LS3020 - Anonymous, 2012-07-16 16:34

Download (3.22 KB)

 
1
;
2
; Config file for HPC laser LS-3020
3
; 
4
; for the version with flatcable and 26x32 honeycomb
5
; as distributed in may 2012
6
;
7
; configuration made by Jaap Vermaas <jaap@tuxic.nl>
8
;
9
; Save on MBED in the root, as "config.txt"
10
;
11
net.ip 192.168.123.111          ; IP address [xxx.xxx.xxx.xxx] 
12
net.netmask 255.255.255.0       ; netmask [xxx.xxx.xxx.xxx] 
13
net.gateway 192.168.123.254     ; gateway
14
net.dns 192.168.123.194         ; DNS server
15
net.dhcp 1                      ; Enable DHCP for IP address [0/1]
16
net.port 69                     ; Communication socket port number []
17

    
18
sys.debug  1                    ; debug flags bit0=verbose, 
19
                                ; bit1=log to serial, bit2=log to file
20
sys.autohome 1                  ; Enable automatic homing at startup [1/0] 
21
                                ;(or wait for cover to close)
22
sys.nodisplay 0                 ; Disable the display [1/0]
23
sys.i2cbaud 0                   ; I2C display baudrate [Hz]
24

    
25
laser.enable 0                  ; Laser enable signal polarity [0/1]
26
laser.on 0                      ; Laser on signal polarity [0/1]
27
laser.pwm.min  90               ; minimum pwm value [%]
28
laser.pwm.max  0                ; maximum pwm value [%]
29
laser.pwm.freq 1000             ; pwm frequency [Hz]
30

    
31
motion.enable  0                ; Enable signal state to enable motors [0/1] 
32
motion.homespeed  50            ; Homing speed [mm/sec]
33
motion.speed  50                ; max linear speed [mm/sec]
34
motion.accel  500               ; linear acceleration [mm/sec2]
35
motion.tolerance  100           ; tolerance [1/1000 units]
36

    
37
; old firmware: set speed in [usec]
38
motion.highspeed 100            ; speed in [usec]
39

    
40
; Next values are valid for axis x,y,z and e
41
x.pol 1                         ; home/limit sensor polarity [1/0]
42
;x.scale 158516                  ; axis scaling [steps/meter]
43
x.scale  157950                 ; adjusted scaling
44
;x.scale 79258  
45
                                ; use negative number to invert direction [1/0]
46
x.homedir 1                     ; state of the direction signal when homing
47
x.home 392000                   ; home positions [um] 
48
x.min 0                         ; minimal position [um]
49
x.max 300000                    ; maximum position [um]
50
x.rest 300000                   ; rest position [um]
51
x.speed 1000                    ; maximum speed [mm/sec]
52
x.invert 0                      ; Invert signal polarity for step signal [1/0]
53

    
54
; Now for the Y-axis:
55
y.pol 1                         ; home/limit sensor polarity [1/0]
56
;y.scale -158516                 ; axis scaling [steps/meter]
57
y.scale -157950                 ; adjusted scaling
58
;y.scale -79258
59
                                ; use negative number to invert direction [1/0]
60
y.homedir 1                     ; state of the direction signal when homing
61
y.home -15000                   ; home positions [um]
62
y.min 0                         ; minimal position [um]
63
y.max 200000                    ; maximum position [um]
64
y.rest 200000                   ; rest position [um] 
65
y.speed 1000                    ; maximum speed [mm/sec]
66
y.invert 0                      ; Invert signal polarity for step signal [1/0]
67

    
68
; Z-axis not in use for HPC
69
; z.min 0
70
; z.max 200000
71
; z.home 100000