这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
sparkone:octoprint_connect_tina2 [2019/09/22 21:07] caojie 创建 |
sparkone:octoprint_connect_tina2 [2020/03/05 03:20] (当前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
- | =====OctoPrint连接Tina2教程===== | + | ======OctoPrint连接Tina2教程====== |
+ | \\ | ||
+ | SparkOne中运行的OctoPrint,在出厂时已配置好打印机参数和通讯参数,不需要做任何更改就可以直接使用。\\ | ||
+ | 如果OcotPrint的运行设置文件config.yaml丢失,或是你想要从自己安装的OctoPrint中连接WEEDO TINA2,请按以下步骤进行配置:\\ | ||
+ | \\ | ||
+ | ====添加TINA2机型配置==== | ||
+ | \\ | ||
+ | 1. 进入OctoPrint设置界面,在PRINTER->Printer Profiles菜单中点击Add Profile。\\ | ||
+ | \\ | ||
+ | {{ :octoprint_connect_tina2_03.png?nolink |}} | ||
+ | \\ | ||
+ | 2. 在General窗口中输入,Name:TINA2,Model:WEEDO TINA2。\\ | ||
+ | \\ | ||
+ | {{ :octoprint_connect_tina2_04.png?nolink |}} | ||
+ | \\ | ||
+ | 3. 在Print bed & build volume窗口中,将X, Y, Z轴长度全部改为100mm,取消选择Heated bed。\\ | ||
+ | \\ | ||
+ | {{ :octoprint_connect_tina2_07.png?nolink |}} | ||
+ | \\ | ||
+ | 4. 在Axes窗口中,将X, Y轴的速度改为3000,选择Y轴的Invert control。点击Save,保存退出。\\ | ||
+ | \\ | ||
+ | {{ :octoprint_connect_tina2_06.png?nolink |}} | ||
+ | \\ | ||
+ | \\ | ||
+ | ====设置GCODE脚本==== | ||
+ | \\ | ||
+ | 进入OctoPrint设置界面,OCTOPRINT->GCODE Scripts,进行如下设置\\ | ||
+ | 在Before print job starts栏内输入W1 | ||
+ | 在After print job completes栏内输入W2 | ||
+ | 在After print job is cancelled栏内输入W3 | ||
+ | 在After print job is paused栏内输入W4 | ||
+ | 在Before print job is resumed栏内输入W5 | ||
+ | 在After connection to printer is established栏内输入W6 | ||
+ | 在Before connection to printer is closed栏内输入W7 | ||
+ | {{ :octoprint_connect_tina2_11.png?nolink |}} | ||
+ | {{ :octoprint_connect_tina2_12.png?nolink |}} | ||
+ | 完成后,点击Save保存退出 | ||
\\ | \\ | ||
+ | ====添加插件==== | ||
+ | \\ | ||
+ | 进入OctoPrint设置界面,OCTOPRINT->Plugin Manager,点击Get More...按钮,在Search...栏中分别输入DisplayLayer和PortLister,安装如下两个插件,安装完成后重启OctoPrint系统\\ | ||
+ | {{ :octoprint_connect_tina2_13.png?nolink |}} | ||
+ | {{ :octoprint_connect_tina2_14.png?nolink |}} | ||
+ | \\ | ||
+ | \\ | ||
+ | ====DisplayLayerProgress Plugin插件设置==== | ||
+ | \\ | ||
+ | 进入OctoPrint设置界面,PLUGINS->DisplayLayerProgress Plugin->Display菜单,在Visibility选项中,选中如下项目\\ | ||
+ | {{ :octoprint_connect_tina2_15.png?nolink |}} | ||
+ | \\ | ||
+ | 在Message output选项中,选中Printer Display,并将其设置改为 | ||
+ | Progress=[progress] | ||
+ | {{ :octoprint_connect_tina2_16.png?nolink |}} | ||
+ | \\ | ||
+ | 完成后,点击Save保存退出 | ||
+ | \\ | ||
+ | \\ | ||
+ | ====打开与TINA2的通讯==== | ||
+ | \\ | ||
+ | 1. 用USB线连接TINA2和SparkOne,打开TINA2电源,点击主界面Connection右边的刷新按键,在Serial Port下拉菜单中选择/dev/ttyUSB0,在Baudrate下拉菜单中选择57600。\\ | ||
+ | \\ | ||
+ | 2. 在Printer Profile下拉菜单中选择TINA2,在Save connection settings和Auto-connect on server startup前打上勾。\\ | ||
+ | \\ | ||
+ | {{ :octoprint_connect_tina2_17.png?nolink |}} | ||
+ | \\ | ||
+ | 3. 点击Connect按键,切换到Terminal窗口可查看串口的通讯情况。如果连接正常,打印机会自动重启一次,并在Terminal窗口中输出打印机的参数信息。\\ | ||
+ | \\ | ||
+ | {{ :octoprint_connect_tina2_09.png?nolink |}} | ||
+ | \\ | ||
+ | 接下来,你就可以使用Octoprint来控制TINA2了LOL | ||