# Smoothieboard配置文件,请参阅http://smoothieware.org/configuring-smoothie # 注意行不能超过132个字符,“#”字符表示以下内容将被忽略 ## 机器人模块配置:运动G代码的常规处理和OpenPNP所需要的控制 # Basic motion configuration default_feed_rate 15000 # G1/G2/G3移动的默认速度(mm/min) default_seek_rate 7500 # G0移动的默认速度(mm/min) mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable mm_per_line_segment 5 # Cut lines into segments this size mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable # note it is invalid for both the above be 0 # if both are used, will use largest segment length based on radius planner_queue_size 32 # Defines how many blocks ( line segments ) are stored in RAM for look-ahead # acceleration calculation. Do not change this unless you know exactly what # you are doing, the reason why is increasing the size of the queue makes it # take up more RAM space and can result in Smoothie running out of RAM, depending # on your configuration and how much the rest of your modules take up space. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions # See http://smoothieware.org/stepper-motors alpha_steps_per_mm 200 # X轴步进电机每毫米脉冲 2000Pulses / 10mm beta_steps_per_mm 200 # Y轴步进电机每毫米脉冲 gamma_steps_per_mm 200 # Z轴步进电机每毫米步数 8000Pulses / 40mm delta_steps_per_mm 35.5555 # may be steps per degree for example epsilon_steps_per_mm 35.5555 # may be steps per degree for example # Planner module configuration : Look-ahead and acceleration configuration # See http://smoothieware.org/motion-control acceleration 5000 # Acceleration in mm/second/second. 加速度(mm/s/s) junction_deviation 0.05 # See http://smoothieware.org/motion-control#junction-deviation base_stepping_frequency 100000 # Base frequency for stepping, higher values gives smoother movement. # Do not modify unless you know exactly what you are doing, 100khz is # the only officially supported value. # Cartesian axis speed limits x_axis_max_speed 30000 # Maximum speed in mm/min 最大速度(mm/min) y_axis_max_speed 30000 # Maximum speed in mm/min 最大速度(mm/min) z_axis_max_speed 30000 # Maximum speed in mm/min 最大速度(mm/min) # Stepper module configuration # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout alpha_step_pin 2.0 # Pin for alpha stepper step signal alpha_dir_pin 0.5 # Pin for alpha stepper direction, add '!' to reverse direction alpha_en_pin 0.4 # Pin for alpha enable pin alpha_current 0.2 # X轴 步进电机电流 alpha_max_rate 30000.0 # Maximum rate in mm/min 最大速率(mm/min) beta_step_pin 2.1 # Pin for beta stepper step signal beta_dir_pin 0.11 # Pin for beta stepper direction, add '!' to reverse direction beta_en_pin 0.10 # Pin for beta enable beta_current 0.2 # Y轴 步进电机电流 beta_max_rate 30000.0 # Maxmimum rate in mm/min 最大速率(mm/min) gamma_step_pin 2.2 # Pin for gamma stepper step signal gamma_dir_pin 0.20! # Pin for gamma stepper direction, add '!' to reverse direction gamma_en_pin 0.19 # Pin for gamma enable gamma_current 1.5 # Z轴 步进电机电流 gamma_max_rate 30000.0 # Maximum rate in mm/min 最大速率(mm/min) # https://smoothieware.org/6axis # https://github.com/Smoothieware/Smoothieware/blob/edge/upgrade-notes.md # A axis OpenPNP吸嘴1 delta_step_pin 2.3 # Pin for delta stepper step signal delta_dir_pin 0.22 # Pin for delta stepper direction delta_en_pin 0.21 # Pin for delta enable delta_current 0.4 delta_max_rate 168000.0 # mm/min delta_acceleration 28000.0 # mm/sec² # B axis OpenPNP里面是吸嘴2 epsilon_step_pin 2.8 # Pin for delta stepper step signal epsilon_dir_pin 2.13 # Pin for delta stepper direction epsilon_en_pin 4.29 # Pin for delta enable epsilon_current 0.4 epsilon_max_rate 168000.0 # mm/min epsilon_acceleration 28000.0 # mm/sec² ## Endstops # See http://smoothieware.org/endstops ## Endstops new syntax (the name is not significant) # NOTE only a min or a max homing endstop maybe defined endstop.minx.enable true # enable an endstop endstop.minx.pin 1.24! # pin endstop.minx.homing_direction home_to_min # direction it moves to the endstop endstop.minx.homing_position -1 # the cartesian coordinate this is set to when it homes endstop.minx.axis X # the axis designator endstop.minx.max_travel 500 # the maximum travel in mm before it times out endstop.minx.fast_rate 50 # fast homing rate in mm/sec endstop.minx.slow_rate 5 # slow homing rate in mm/sec endstop.minx.retract 3 # bounce off endstop in mm # uncomment for homing to max and comment the minx above #endstop.maxx.enable true # enable an endstop #endstop.maxx.pin 1.25 # pin #endstop.maxx.homing_direction home_to_max # direction it moves to the endstop #endstop.maxx.homing_position 200 # the cartesian coordinate this is set to when it homes #endstop.maxx.axis X # the axis designator #endstop.maxx.max_travel 500 # the maximum travel in mm before it times out #endstop.maxx.fast_rate 50 # fast homing rate in mm/sec #endstop.maxx.slow_rate 25 # slow homing rate in mm/sec #endstop.maxx.retract 3 # bounce off endstop in mm # uncomment for homing to max and comment the min above endstop.maxy.enable true # enable an endstop endstop.maxy.pin 1.27 # pin endstop.maxy.homing_direction home_to_max # direction it moves to the endstop endstop.maxy.homing_position 2 # the cartesian coordinate this is set to when it homes endstop.maxy.axis Y # the axis designator endstop.maxy.max_travel 500 # the maximum travel in mm before it times out endstop.maxy.fast_rate 50 # fast homing rate in mm/sec endstop.maxy.slow_rate 5 # slow homing rate in mm/sec endstop.maxy.retract 3 # bounce off endstop in mm # uncomment for homing to max and comment the min above endstop.maxz.enable true # enable an endstop endstop.maxz.pin 1.29! # pin endstop.maxz.homing_direction home_to_max # direction it moves to the endstop endstop.maxz.homing_position 0 # the cartesian coordinate this is set to when it homes endstop.maxz.axis Z # the axis designator endstop.maxz.max_travel 100 # the maximum travel in mm before it times out endstop.maxz.fast_rate 10 # fast homing rate in mm/sec endstop.maxz.slow_rate 2 # slow homing rate in mm/sec endstop.maxz.retract 3 # bounce off endstop in mm endstop.maxz.release_first true # OpenPnp 定制固件特有 # optional enable limit switches, actions will stop if any enabled limit switch is triggered endstop.minx.limit_enable true # set to true to enable the limit on this endstop endstop.maxy.limit_enable true # set to true to enable the limit on this endstop # endstop.maxz.limit_enable true # set to true to enable the limit on this endstop # also define the pin needed and the Axis designator if limit on a max pin not defined above #endstop.maxx.enable true # enable an endstop #endstop.maxx.pin 1.25 # pin #endstop.maxx.limit_enable true # set to true to enable the limit on this endstop #endstop.maxx.axis X # the axis designator # OPTIONAL uncomment for homing the A axis to min #endstop.mina.enable true # enable an endstop #endstop.mina.pin 1.29 # pin #endstop.mina.homing_direction home_to_min # direction it moves to the endstop #endstop.mina.homing_position 200 # the cartesian coordinate this is set to when it homes #endstop.mina.axis A # the axis designator #endstop.mina.max_travel 100 # the maximum travel in mm before it times out #endstop.mina.fast_rate 10 # fast homing rate in mm/sec #endstop.mina.slow_rate 2 # slow homing rate in mm/sec #endstop.mina.retract 5 # bounce off endstop in mm # type of machine #corexy_homing false # set to true if homing on a hbot or corexy # optional order in which axis will home, default is they all home at the same time, # if this is set it will force each axis to home one at a time in the specified order #homing_order XYZ # x axis followed by y then z last move_to_origin_after_home true # move XY to 0,0 after homing #endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100 #endstop_debounce_ms 1 # uncomment if you get noise on your endstops, default is 1 millisecond debounce home_z_first true # uncomment and set to true to home the Z first, otherwise Z homes after XY # Soft(ware) endstops # is a feature that allows the board to refuse any command that would put it outside the bounds of the work area. # Note that this feature only functions once the machine has been homed ( until then it can't know where it is ). soft_endstop.enable true # Enable soft endstops soft_endstop.x_min -1 # Minimum X position soft_endstop.x_max 477 # Maximum X position soft_endstop.y_min -473 # Minimum Y position soft_endstop.y_max 2 # Maximum Y position soft_endstop.z_min -41 # Minimum Z position soft_endstop.z_max 41 # Maximum Z position soft_endstop.halt false # Whether to issue a HALT state when hitting a soft endstop (if false, will just ignore commands that would exceed the limit) # 以下为添加的外设控制命令 switch.n1_vac.enable true switch.n1_vac.input_on_command M800 switch.n1_vac.input_off_command M801 switch.n1_vac.output_pin 1.23 switch.n1_vac.output_type digital switch.n1_exh.enable true switch.n1_exh.input_on_command M802 switch.n1_exh.input_off_command M803 switch.n1_exh.output_pin 2.6 switch.n1_exh.output_type digital # switch.n1_exh.output_type pwm switch.n2_vac.enable true switch.n2_vac.input_on_command M804 switch.n2_vac.input_off_command M805 switch.n2_vac.output_pin 1.22 switch.n2_vac.output_type digital switch.n2_exh.enable true switch.n2_exh.input_on_command M806 switch.n2_exh.input_off_command M807 switch.n2_exh.output_pin 2.4 switch.n2_exh.output_type digital switch.top_led.enable true switch.top_led.input_on_command M808 switch.top_led.input_off_command M809 switch.top_led.output_pin 2.5 switch.top_led.output_type digital switch.bottom_led.enable true switch.bottom_led.input_on_command M810 switch.bottom_led.input_off_command M811 switch.bottom_led.output_pin 2.7 switch.bottom_led.output_type digital switch.reset.enable true # Enable this module switch.reset.input_pin 1.28! # Pin where reset button is connected switch.reset.output_on_command M999 # Command to reset the board 【reset or M999】 # 添加的命令结束 ## Network settings # See http://smoothieware.org/network network.enable false # Enable the ethernet network services network.webserver.enable true # Enable the webserver network.telnet.enable true # Enable the telnet server network.ip_address auto # Use dhcp to get ip address # Uncomment the 3 below to manually setup ip address #network.ip_address 192.168.3.222 # The IP address #network.ip_mask 255.255.255.0 # The ip mask #network.ip_gateway 192.168.3.1 # The gateway address #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict ## System configuration # Serial communications configuration ( baud rate defaults to 9600 if undefined ) # For communication over the UART port, *not* the USB/Serial port uart0.baud_rate 115200 # Baud rate for the default hardware ( UART ) serial port second_usb_serial_enable false # This enables a second USB serial port #leds_disable true # Disable using leds after config loaded #play_led_disable true # Disable the play led # Kill button maybe assigned to a different pin, set to the onboard pin by default # See http://smoothieware.org/killbutton kill_button_enable true # Set to true to enable a kill button kill_button_pin 1.26! # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice) kill_button_toggle_enable false # allows for latching estop button #msd_disable false # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd #dfu_enable false # For linux developers, set to true to enable DFU # Only needed on a smoothieboard # See http://smoothieware.org/currentcontrol # currentcontrol_module_enable true # Control stepper motor current via the configuration file # 真空传感器设置 # LEFT Nozzle Vacuum configuration # temperature_control.vac_n1.enable true # Whether to activate this ( "hotend" ) module at all. # temperature_control.vac_n1.sensor ad8495 # # temperature_control.vac_n1.ad8495_pin 0.2 # Pin for the thermistor to read # temperature_control.vac_n1.ad8495_offset 0 # # temperature_control.vac_n1.heater_pin nc # Pin to controls the heater, nc if a read only thermistor. # thermistor is being defined # temperature_control.vac_n1.readings_per_second 100 # How many times per second to read temperature from the sensor. # temperature_control.vac_n1.get_m_code 104 # Calling this M-code will return the current temperature. # temperature_control.vac_n1.designator VAC1 # Designator letter for this module # temperature_control.vac_n1.rt_curve 20.0,220,120,6000,220,120000 # RIGHT Nozzle Vacuum configuration # temperature_control.vac_n2.enable true # Whether to activate this ( "hotend" ) module at all. # temperature_control.vac_n2.sensor ad8495 # # temperature_control.vac_n2.ad8495_pin 0.3 # Pin for the thermistor to read # temperature_control.vac_n2.ad8495_offset 0 # # temperature_control.vac_n2.heater_pin nc # Pin to controls the heater, nc if a read only thermistor. # temperature_control.vac_n2.readings_per_second 100 # How many times per second to read temperature from the sensor. # temperature_control.vac_n2.get_m_code 105 # Calling this M-code will return the current temperature. # temperature_control.vac_n2.designator VAC2 # Designator letter for this module # temperature_control.vac_n2.rt_curve 20.0,220,120,6000,220,120000