这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
|
sparkone:octoprint_connect_tina2 [2019/09/22 21:45] caojie |
sparkone:octoprint_connect_tina2 [2020/03/05 03:20] (当前版本) |
||
|---|---|---|---|
| 行 6: | 行 6: | ||
| ====添加TINA2机型配置==== | ====添加TINA2机型配置==== | ||
| \\ | \\ | ||
| - | 1. 进入OctoPrint设置菜单,在PRINTER->Printer Profiles菜单中点击Add Profile\\ | + | 1. 进入OctoPrint设置界面,在PRINTER->Printer Profiles菜单中点击Add Profile。\\ |
| \\ | \\ | ||
| {{ :octoprint_connect_tina2_03.png?nolink |}} | {{ :octoprint_connect_tina2_03.png?nolink |}} | ||
| \\ | \\ | ||
| - | 2. | + | 2. 在General窗口中输入,Name:TINA2,Model:WEEDO TINA2。\\ |
| + | \\ | ||
| {{ :octoprint_connect_tina2_04.png?nolink |}} | {{ :octoprint_connect_tina2_04.png?nolink |}} | ||
| - | 3. | + | \\ |
| + | 3. 在Print bed & build volume窗口中,将X, Y, Z轴长度全部改为100mm,取消选择Heated bed。\\ | ||
| + | \\ | ||
| {{ :octoprint_connect_tina2_07.png?nolink |}} | {{ :octoprint_connect_tina2_07.png?nolink |}} | ||
| - | 4. | + | \\ |
| - | + | 4. 在Axes窗口中,将X, Y轴的速度改为3000,选择Y轴的Invert control。点击Save,保存退出。\\ | |
| - | {{ :octoprint_connect_tina2_08.png?nolink |}} | + | \\ |
| - | 5. | + | {{ :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 | ||