Project

General

Profile

RE: Constant resets when i2c board is attached. » config.txt

hugomeiland, 2012-12-20 15:40

 
;
; Config file for HPC laser
; Save on MBED in the root, as "config.txt"
;
net.ip 10.0.1.12 ; IP address [xxx.xxx.xxx.xxx]
net.netmask 255.255.255.0 ; netmask [xxx.xxx.xxx.xxx]
net.gateway 10.0.1.1 ; gateway
net.dns 10.0.1.1 ; 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 0
sys.nodisplay 1


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

; Next values are valid for axis x,y,z and e
x.scale -158516 ; axis scaling [steps/meter]
; 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 5000 ; minimal position [um]
x.max 310000 ; maximum position [um]
x.rest 5000 ; rest position [um]
x.speed 1000 ; maximum speed [mm/sec]
x.invert 0 ; Invert signal polarity for step signal [1/0]

; Now for the Y-axis:
y.scale -158516 ; axis scaling [steps/meter]
; use negative number to invert direction [1/0]
y.homedir 0 ; state of the direction signal when homing
y.home 200000 ; home positions [um]
y.min 5000 ; minimal position [um]
y.max 195000 ; maximum position [um]
y.rest 195000 ; rest position [um]
y.speed 1000 ; maximum speed [mm/sec]
y.invert 0 ; Invert signal polarity for step signal [1/0]


(2-2/2)