MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
chen2868086 large avatar
MakerLab创客实验室  ›  3d打印机

关于Kossel机型的水平调试问题

By chen2868086 at 2 年前 , 4125 次浏览

舵机调水平Z轴min.机械开关设置状态为OPEN;用G1 X0 YO Z10;喷头到达设定位置,M401放下舵机上的微动开关;调上位机软件“z”让开关触发,调好X Y Z的偏移量后写入固件.然后发送G28回到原点.再发送G29后没有到床,作水平测试;而是在原点就开始动作并顶死限位开关;请问一下调好X Y Z的偏移量后写入固件;发送G28回到原点后,再发送G29,就能自动运行水平测试吗?
28

9 回复
chen2868086 medium avatar
#1 - 2 年前
chen2868086

marlin_main.cpp 中,用舵机需不需要调参数
#else // Deploy the Z probe by touching the belt, no servo needed.
feedrate = homing_feedrate[X_AXIS];
destination[X_AXIS] = 35;
destination[Y_AXIS] = 72;
destination[Z_AXIS] = 100
void deploy_z_probe() {

chen2868086 medium avatar
#2 - 2 年前
chen2868086

英文注解:Deploy the Z probe by touching the belt, no servo needed.部署Z探针接触,不需要伺服。

chen2868086 medium avatar
#3 - 2 年前
chen2868086

理解是用舵机,不用调参数

chen2868086 medium avatar
#4 - 2 年前
chen2868086

与标准Kossel机型的区别是手动放下探针Z min开关是OPEN;收起是触发;用舵机是放下时OPEN,接触床时是触发,收起舵杨机开关还是OPEN

chen2868086 medium avatar
#6 - 2 年前
chen2868086

这是我的MARLIN的参数设置

#define DELTA_SEGMENTS_PER_SECOND 160

// Center-to-center distance of the holes in the diagonal push rods.
#define DELTA_DIAGONAL_ROD 320//186.0 // mm//chen

// Horizontal offset from middle of printer to smooth rod center.
#define DELTA_SMOOTH_ROD_OFFSET 196//128.0 // mm//chen

// Horizontal offset of the universal joints on the end effector.
#define DELTA_EFFECTOR_OFFSET 46.46//19.9 // mm//chen

// Horizontal offset of the universal joints on the carriages.
#define DELTA_CARRIAGE_OFFSET 13//19.5 // mm//chen

// Horizontal distance bridged by diagonal push rods when effector is centered.
#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)

// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
#define DELTA_PRINTABLE_RADIUS 150//70.0//chen

// these are the offsets to the probe relative to the extruder tip (Hotend - Probe)//chenwei leveling offset
#define X_PROBE_OFFSET_FROM_EXTRUDER 70 //chen
#define Y_PROBE_OFFSET_FROM_EXTRUDER 20 //chen
#define Z_PROBE_OFFSET_FROM_EXTRUDER -9.3//chen

#define Z_RAISE_BEFORE_HOMING 5//4//chen // (in mm) Raise Z before homing (G28) for Probe Clearance.
// Be sure you have this distance over your Z_MAX_POS in case

#define XY_TRAVEL_SPEED 6000 //8000 // X and Y axis travel speed between probes, in mm/min //chen6000

#define Z_RAISE_BEFORE_PROBING 10 //chen//How much the extruder will be raised before traveling to the first probing point.//chen50-10
#define Z_RAISE_BETWEEN_PROBINGS 5 //chen //How much the extruder will be raised when traveling from between next probing points//chen10

//If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk
//The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.
// You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.

// #define PROBE_SERVO_DEACTIVATION_DELAY 300
#define PROBE_SERVO_DEACTIVATION_DELAY 300 // chen

//If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
//it is highly recommended you let this Z_SAFE_HOMING enabled!!!

#define Z_SAFE_HOMING // This feature is meant to avoid Z homing with probe outside the bed area.
// When defined, it will:
// - Allow Z homing only after X and Y homing AND stepper drivers still enabled
// - If stepper drivers timeout, it will need X and Y homing again before Z homing
// - Position the probe in a defined XY point before Z Homing when homing all axis (G28)
// - Block Z homing only when the probe is outside bed area.

#ifdef Z_SAFE_HOMING

#define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2)    // X point for Z homing when homing all axis (G28)
#define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2) // Y point for Z homing when homing all axis (G28)

#endif

// with accurate bed leveling, the bed is sampled in a ACCURATE_BED_LEVELING_POINTSxACCURATE_BED_LEVELING_POINTS grid and least squares solution is calculated
// Note: this feature occupies 10'206 byte
#define ACCURATE_BED_LEVELING

#ifdef ACCURATE_BED_LEVELING
#define ACCURATE_BED_LEVELING_POINTS 7
#define ACCURATE_BED_LEVELING_GRID_X ((RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION) / (ACCURATE_BED_LEVELING_POINTS - 1))
#define ACCURATE_BED_LEVELING_GRID_Y ((BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION) / (ACCURATE_BED_LEVELING_POINTS - 1))

// NONLINEAR_BED_LEVELING means: don't try to calculate linear coefficients but instead
// compensate by interpolating between the nearest four Z probe values for each point.
// Useful for deltabots where the print surface may appear like a bowl or dome shape.
// Works best with ACCURATE_BED_LEVELING_POINTS 5 or higher.
#define NONLINEAR_BED_LEVELING

#endif

// The position of the homing switches
#define MANUAL_HOME_POSITIONS //chen // If defined, MANUAL_*_HOME_POS below will be used//chen
#define BED_CENTER_AT_0_0 //chen// If defined, the center of the bed is at (X=0, Y=0)//chen

//Manual homing switch locations:
// For deltabots this means top and center of the Cartesian print volume.
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 280 //214// chen//For delta: Distance between nozzle and print surface after homing.//chen283

chen2868086 medium avatar
#7 - 2 年前
chen2868086

//The position of the homing switches
#define MANUAL_HOME_POSITIONS //chen // If defined, MANUAL_*_HOME_POS below will be used//chen
#define BED_CENTER_AT_0_0 //chen// If defined, the center of the bed is at (X=0, Y=0)//chen
这个参数是回原点的位置开关;2个都要打开吗?我理解只要开第一个

Andy medium avatar
#8 - 2 年前
Andy

@chen2868086 建议下载delta固件,这几个地方都保持默认,不懂的地方不要改。delta机器中,这两项都需要声明,也就是前面不能有//