Project

General

Profile

config.txt

Bugs, 2016-11-10 00:07

Download (2.9 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
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 50000              ; 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  0               ; minimum pwm value [%]
28
laser.pwm.max  80               ; maximum pwm value [%]
29
laser.pwm.freq 10000             ; 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] (greater values lead to slower motion)
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 317000  	;was 320000				
43

    
44
x.homedir 0                     ; state of the direction signal when homing
45
x.home -10                   ; home positions [um] 
46
x.min 1000                   ; minimal position [um]
47
x.max 350000                   ; maximum position [um]
48
x.rest 1000                   ; rest position [um]
49
x.speed 1000                    ; maximum speed [mm/sec]
50
x.invert 0                      ; Invert signal polarity for step signal [1/0]
51

    
52
; Now for the Y-axis:
53
y.pol 1                         ; home/limit sensor polarity [1/0]
54
y.scale 317000	;was 320000			
55
                                ; use negative number to invert direction [1/0]
56
y.homedir 1                     ; state of the direction signal when homing
57
y.home 230010                   ; home positions [um]
58
y.min 0                         ; minimal position [um]
59
y.max 230000                    ; maximum position [um]
60
y.rest 229000                   ; rest position [um] 
61
y.speed 1000                    ; maximum speed [mm/sec]
62
y.invert 0                      ; Invert signal polarity for step signal [1/0]