; ; Config file for Morntech ; ; configuration made by Peter Uithoven (Fablab Amersfoort) ; ; Save on MBED in the root, as "config.txt" ; net.ip 10.0.0.16 ; IP address [xxx.xxx.xxx.xxx] net.mask 255.255.255.0 ; netmask [xxx.xxx.xxx.xxx] net.gateway 10.0.0.1 ; gateway net.dns 10.0.0.1 ; DNS server net.dhcp 1 ; Enable DHCP for IP address [0/1] net.port 69 ; Communication socket port number [] sys.autohome 1 ; Enable automatic homing at startup [1/0] ;(or wait for cover to close) sys.nodisplay 0 ; Disable the display [1/0] sys.i2cbaud 0 ; I2C display baudrate [Hz] laser.enable 0 ; Laser enable signal polarity [0/1] laser.on 0 ; Laser on signal polarity [0/1] laser.pwm.min 47 ; minimum pwm value [%] laser.pwm.max 165 ; maximum pwm value [%] laser.pwm.freq 1000 ; pwm frequency [Hz] ;laser.pwm.freq 20000 ; pwm frequency [Hz] motion.enable 0 ; Enable signal state to enable motors [0/1] motion.homespeed 100 ; Homing speed [mm/sec] motion.speed 800 ; max linear speed [mm/sec]; compromise: 800 ; nice engrave: 1600 motion.accel 1000 ; linear acceleration [mm/sec2]; ; 1% hardly cuts...1300 ;1500; acurate below 13% speed: 3000; almost: 4000; a mess: 6000 ;less harmfull: 2000; okay pattern: 3000 ; nice engrave: 12000 ; motion.tolerance 50;100; tolerance [1/1000 units] x.pol 0 ; home/limit sensor polarity [1/0] x.scale -44291 ; axis scaling [steps/meter] ; use negative number to invert direction [1/0] x.homedir 1 ; state of the direction signal when homing x.home -1000 ; home positions [um] x.rest 0; ; rest position [um] x.invert 1 ; Invert signal polarity for step signal [1/0] x.min 0 ; minimal position [um] x.max 520000 ; maximum position [um] x.speed 450 ; maximum speed [mm/sec] x.accel 8500 ; maximum accelleration? [mm/sec2] y.pol 0 ; home/limit sensor polarity [1/0] y.scale -44291; ; axis scaling [steps/meter] ; use negative number to invert direction [1/0] y.homedir 0 ; state of the direction signal when homing y.home 331000; ; home positions [um] y.rest 330000; ; rest position [um] y.invert 1 ; Invert signal polarity for step signal [1/0] y.min 3000; ; minimal position [um] y.max 330000 ; maximum position [um] y.speed 250 ; maximum speed [mm/sec] ; Absolute maximum range (ignoring honeycomb) from home switch to just ; before crashing into something is 521mm x 328mm ; ; The X limit switch is at the origin of the X-axis. ; When the limit switch is hit during homing, the current X position is ; set to x.home is the current position after homing). By making x.home ; negative, and setting x.rest and x.min to 0, the origin ends up slight ; offset from the homing switch, reducing the risk of accidentally ; triggering the switch. x.max is set to the max travel, plus the x.home ; offset, so the distance from the limit switch to x.max is exactly the ; max travel. ; ; The Y limit switch is at the far end (switch at the top, origin at the ; bottom). This means that the y.home is set to the max travel and y.max ; is slightly smaller (again to keep a bit of distance between the homing ; switch and the max working area. ; ; Currently, all of the y values are offset by a few mm, so y.max is 330. ; This is because Visicut has the origin in the upper left and uses the ; bed height to translate its own coordinates to Laos coordinates. Since ; everyone has its visicut configured with a height of 330, they will use ; 330mm as the top position. If y.max would be less than 330, this would ; mean the top few mm of the visicut area is unusable, which isn't really ; convenient. By applying this trick, the bottom few mm of he visicut ; area aren't usable, which is less of a problem. ; ; At some point, the visicut settings should be modified to match reality, ; and this trick should be removed.