中华DIY论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 11214|回复: 5

LinuxCNC 简易安装设置说明

  [复制链接]
  • TA的每日心情
    开心
    2023-3-30 09:11
  • 签到天数: 1532 天

    [LV.Master]伴坛终老

    88

    主题

    1848

    帖子

    2万

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    23704

    medal1

    发表于 2016-9-23 12:40:33 | 显示全部楼层 |阅读模式
    俺买了支持linuxcnc的接口卡,实验下效果,并附上简易设置说明。
    接口卡.png

    LinuxCNC简易安装说明(LPT-CNC-BorH).pdf (754.04 KB, 下载次数: 33)
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2020-1-12 21:13
  • 签到天数: 1 天

    [LV.1]初来乍到

    0

    主题

    2

    帖子

    82

    积分

    注册会员

    Rank: 2

    积分
    82
    发表于 2016-9-29 17:11:21 | 显示全部楼层
    有没有emc能用的后处理
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2023-3-30 09:11
  • 签到天数: 1532 天

    [LV.Master]伴坛终老

    88

    主题

    1848

    帖子

    2万

    积分

    论坛元老

    Rank: 8Rank: 8

    积分
    23704

    medal1

     楼主| 发表于 2016-9-29 21:09:22 | 显示全部楼层
    本帖最后由 大花猫 于 2016-9-29 21:12 编辑
    jyh138 发表于 2016-9-29 17:11
    有没有emc能用的后处理


    我也是刚刚接触,想试试这版的效果,没有什么经验可言。今儿看了外国论坛的关于linuxcnc VS mach3的使用调查的帖子,确实是linuxcnc的使用者更多些,说明还是有优势的。
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2023-3-30 09:11
  • 签到天数: 1717 天

    [LV.Master]伴坛终老

    33

    主题

    1800

    帖子

    4万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    45326

    medal1

    发表于 2016-10-20 17:05:03 | 显示全部楼层
    翻墙:老外的LinuxCNC StepConf说明

             1.jpg

    In this part of the build, it is time to setup LinuxCNC.  With the computer insanity complete, I moved onto setting up LinuxCNC.  Setting up LinuxCNC is pretty straightforward and launching the StepConf Wizard you will be greeted with the following screen.  The StepConfWizard can be found under the CNC applications group.

    2.png

    Next, create a new configuration.  Later if you wanted to change the configuration of the machine you would return to the StepConf and select “Modify a configuration already created with this program”  Having the bottom checkboxes clicked will create the icon to launch LinuxCNC from the desktop when the configuration is completed.

    3.png

    Moving forward through the process brings you to the basic machine information.  Here you would enter the parallel port settings and base period jitter. Clicking “Text Base Period Jitter” will run a latency test.  Allowing the latency test to run for about 5 minutes will provide the value needed to enter into the Base Period Maximum Jitter box.  While the latency test was running, I ran several different tasks like browsing the internet, opening and closing programs, and opened and closed photos, ran video, etc.    The idea is to put the computer through its paces while the latency test checks to see what the worst case numbers are.

    4.png

    With the latency test complete and the Base Period Maximum Jitter number obtained (10024), I entered this number into its respective box.  Using a PCI card for my parallel port, I entered the address of the port into the Parallel Port Settings.  In order for me to know what the parport address was, I opened up a terminal window and ran at the command line  lspci -v.  The result of that command listed all my devices and I was able to obtain the parport address which was DD00 thru DD07.  I then entered the address into the First Parport Base Address and ended up leaving the “0x” in front of the “DD00” and moved onto the X axis setup to jog the X axis and test the parport address.  I was fortunate the first parport address of DD00 worked.  If it didn’t work, I would have come back to this screen and enter DD01, try it again, DD02, try it again, DD03, etc., and repeat the process up thru DD07 until I got the machine to start moving.    If it didn’t move after the DD07 address was given, then I would have checked the wiring on the parallel port cable and/or check to make sure the PCI card was seated properly in the slot in the computer.

    5.png

    With the parport address set up, the next screen will take you through the steps of configuring the parallel port.  A couple of things to mention about this step is once the StepConf is complete, and you run the mill for the first time, you will have to check your axis for the correct travel direction.  For instance my X axis was reversed so I had to come back to StepConf and check the “invert” box under pin 3 so the direction of travel on the table matched.  Also, if you are using limit switches and they are wired in on the parallel cable you would have to select the appropriate pin and if necessary the invert button.  Although I have the limit switches and they are wired up to pin 11, pin 12, and pin 13, but not installed, I left these pins as “unused.”

    6.png

    Moving onto the next screen, here you would configure the X axis of the machine.  Under the leadscrew pitch, because I used 1/4 20 threaded rod, I entered 20 rev/inch.  This basically means there are 20 threads per inch, or it would take 20 revolutions of the rod to move one inch.  I also changed the Table Travel to the size of the workable area of my table.   

    7.png

    At this point, if your wiring is correct and you have the correct parport address entered in the Parallel Port Setup mentioned in an earlier step, you should be able to test the table travel.  I ran the “Test this axis” and was able to obtain the travel of the x axis which basically was 0 to 18 inches.  I used the Jog function to test the axis in both directions.    I noticed if you use the “Run” feature it will jog in both directions automatically.  For instance, I set the Test Area to 6 inches, and it would travel one direction 6 inches, then the opposite direction 12 inches, then back to the original 6 inch mark, technically another 12 inches.  It did not travel only 3 inches in one direction then 3 inches in the opposite direction, but 6 inches in one direction, then 12 in the opposite, then back to the original 6 inch mark.  I certainly had the hand on the emergency shutoff during this process so I wouldn’t run out the axis and strip out the stepper motor to threaded rod coupler.  I guess installing the limit switches would have taken care of that situation if it occurred.  It was easier for me to just jog the x axis almost to it’s limits and measure the travel with a tape measure.

    8.png

    Once the X axis setup is complete, it was time to do the Y axis following the same procedure as mentioned in the previous step.

    9.png

    Then the Z axis.  Note the Z axis travel will have a negative value as it travels away from the table.  Testing the axis gave me the correct value to enter into the Z axis travel.

    10.png

    Once your done with the Z axis that should do the trick and the configuration is complete.  Clicking apply will create the file and a desktop icon to launch LinuxCNC.

    11.png

    Clicking the desktop icon launches LinuxCNC.

    12.png
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    郁闷
    2016-10-28 00:45
  • 签到天数: 4 天

    [LV.2]偶尔看看I

    0

    主题

    13

    帖子

    79

    积分

    注册会员

    Rank: 2

    积分
    79
    发表于 2016-10-23 23:13:40 | 显示全部楼层
    没有中文资料吗
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    0

    主题

    5

    帖子

    16

    积分

    新手上路

    Rank: 1

    积分
    16
    发表于 2023-9-1 08:21:38 来自手机 | 显示全部楼层
    没有中文资料吗
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    中华DIY论坛QQ官群:205778249

    Archiver|手机版|小黑屋|中华DIY论坛  

    GMT+8, 2024-11-10 04:14 , Processed in 0.259827 second(s), 38 queries .

    Powered by Discuz! X3.2

    © 2001-2013 Comsenz Inc.

    快速回复 返回顶部 返回列表