Advanced Search

Search Results (Searched for: )

  • meister
  • meister
30 Apr 2024 11:57
Replied by meister on topic Hardware Assist

Hardware Assist

Category: General LinuxCNC Questions

if you are firm with FPGA's and maybe verilog:
github.com/multigcs/LinuxCNC-RIO/
  • rodw
  • rodw's Avatar
30 Apr 2024 11:53

Any other driver board choice except mesa board?

Category: Driver Boards

There has been an enormous amount of work on ethercat recently that is in the ethercat linuxcnc driver
github.com/linuxcnc-ethercat/linuxcnc-ethercat
All of these new features are synced to the etherlabmaster repository via an auto build process. I believe that there are some emerging config tools.

Please review the documentation in the repo
github.com/linuxcnc-ethercat/linuxcnc-ethercat

Building a hal config from scratch is not that  hard if you have a template to start with. Back when I made my first machine there was no support in pncconf for the Mesa 7i6e so I had to do it this way.

You could use my example. A lot of guys got going with this github.com/rodw-au/linuxcnc-cia402

However, I think my xml file with the new changes could be simplified to this (with the bulk of the xml dealing with the IO module)
<masters>
  <master idx="0" appTimePeriod="2000000" refClockSyncCycles="1000">
    <slave idx="1" type="ECT60" name="j0">
      <modParam name="peakCurrent_amps" value="2.0"/>
      <modParam name="controlMode" value="openloop"/>
      <modParam name="homeOffset" value="1"/>
      <modParam name="input3Func" value="home"/>
      <modParam name="input6Func" value="emergency-stop"/>
      <modParam name="homeMode" value="17"/>
      <modParam name="homeAccel" value="500"/>
      <modParam name="homeSpeedFast" value="2500"/>
      <modParam name="homeSpeedSlow" value="500"/>
    </slave>
    <slave idx="2" type="ECT60" name="j1">
      <modParam name="peakCurrent_amps" value="6.0"/>
      <modParam name="controlMode" value="closedloop"/>
      <modParam name="homeOffset" value="1"/>
      <modParam name="input3Func" value="home"/>
      <modParam name="input6Func" value="emergency-stop"/>
      <modParam name="homeMode" value="17"/>
      <modParam name="homeAccel" value="500"/>
      <modParam name="homeSpeedFast" value="2500"/>
      <modParam name="homeSpeedSlow" value="500"/>
    </slave>
    
    <slave idx="3" type="generic" vid="00000a88" pid="0x0a880101" configPdos="false" name="IO">
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
      <syncManager idx="2" dir="out">
        <pdo idx="1600">
            <!-- Digtial Outputs (RTEC1616)-->
              <pdoEntry idx="7000" subIdx="01" bitLen="16" halType="complex">
                <complexEntry bitLen="1" halPin="out-01" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-02" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-03" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-04" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-05" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-06" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-07" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-08" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-09" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-10" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-11" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-12" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-13" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-14" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-15" halType="bit"/>
                <complexEntry bitLen="1" halPin="out-16" halType="bit"/>
              </pdoEntry>
              <pdoEntry idx="7000" subIdx="02" bitLen="16" halPin="pwm_duty1" halType="s32"/>
              <pdoEntry idx="7000" subIdx="03" bitLen="16" halPin="pwm_duty2" halType="s32"/>
              <pdoEntry idx="7000" subIdx="04" bitLen="16" halPin="pwm_duty3" halType="s32"/>
              <pdoEntry idx="7000" subIdx="05" bitLen="16" halPin="pwm_duty4" halType="s32"/>
          </pdo>
          </syncManager>
          <syncManager idx="3" dir="in">
            <pdo idx="1A00">
              <!-- Digtial_inputs  -->
              <pdoEntry idx="6000" subIdx="01" bitLen="32" halType="complex">
                  <complexEntry bitLen="1" halPin="in-01" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-02" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-03" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-04" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-05" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-06" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-07" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-08" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-09" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-10" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-11" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-12" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-13" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-14" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-15" halType="bit"/>
                  <complexEntry bitLen="1" halPin="in-16" halType="bit"/>
               </pdoEntry>
        </pdo>
      </syncManager>
    </slave>
  </master>
</masters>
  • COlger81
  • COlger81's Avatar
30 Apr 2024 11:27

Probe Basic using "carousel.comp" instead of macros?

Category: QtPyVCP

I think the best way to achieve this is probably to just add another sensor to the turret for homing. Would be nice to be able to do it in software though.
  • COlger81
  • COlger81's Avatar
30 Apr 2024 11:10

Probe Basic using "carousel.comp" instead of macros?

Category: QtPyVCP

The tool changer has a single prox sensor that counts "triggers" halfway between the pockets. Current setup, i have to shutdown each time at tool 1 or it gets confused. On startup, it automatically tells software that the turret is homed. This works well but it would be nice if i could save current tool persistently on shutdown, and recall the last tool on startup.
  • spumco
  • spumco
30 Apr 2024 10:36

Probe Basic using "carousel.comp" instead of macros?

Category: QtPyVCP

The machine is a Fadal with a 21 tool Geneva.
 

Nice!

IIR, the Fadal has a 3P motor driving the ATC, and a couple of contactors to run the motor.  The chip shield is mechanical, and I think the ATC has two position switches for feedback.  You'll have to add outputs in LCNC for the through-spindle taper cleaning blast and a couple other IO bits, but since you've already done that for Gmoccapy it should be pretty straightforward (I won't say easy) to get the same functions in PB.

So you're (more or less) all set to use the built-in PB macros.  Any specific reason why you'd want to use carousel.comp instead?  In my inexpert opinion it will take more time to untangle & rewrite the PB macros or write your own logic from scratch for carousel than to edit the built-ins.

BTW... if you've got the Pozi-drive two-speed spindle, there's a gent in Germany who built one from scratch and posted his LCNC config on github:
github.com/PeterMue/ZX45-LinuxCNC
  • tommylight
  • tommylight's Avatar
30 Apr 2024 10:25
Replied by tommylight on topic absolute encoders with dual axis

absolute encoders with dual axis

Category: Basic Configuration

Probably yes, but a bit fuzzy on this as it was quite a while back, depends on how far it moved and the tolerance set in the ini file.
Usually for metric machines, that is set to 1mm.
LinuxCNC cam be set to jog individual joints in joint mode, so if it moves more you can use that to jog near that tolerance and enable the drives, then LinuxCNC will keep them in position.
I did this with normal incremental encoders to prove the rails vere skewed on a long machine, but never with absolute encoders, although i think it should work.
Give it a try if you can, and report back, it might be some time till i get a chance to confirm this.
  • tommylight
  • tommylight's Avatar
30 Apr 2024 10:10
Replied by tommylight on topic Any other driver board choice except mesa board?

Any other driver board choice except mesa board?

Category: Driver Boards

From your questions and replies, you should get an old PC with a parallel port and some drives/motors, install LinuxCNC and make that work, whatever that is.
Jumping into EtherCAT is OK if you are willing to persist and read a lot, the same goes for any hardware machine control.
I am sure you can get it working with the help of very good members on this forum, just follow directions and advice you get from them.
But if you expect wizards to do everything for you, just don't start. Wizards are just to give you a something to work with, they do everything for simple normal machines/controllers, but they can not do everything for thousands of hardware combinations out there.
Editing hal files is very easy, once you get familiar with it, and LinuxCNC is very, very good as everything can be seen/read/checked/tested/modified/even visualised with Vismach, so it does pay off to spend some time learning it.
The best thing is, in a factory i workded, we had a mill, lathe, plasma and a "profile machining" monstrosity, all with LinuxCNC and all used by a single person.
  • zmrdko
  • zmrdko's Avatar
30 Apr 2024 09:56 - 10 May 2024 10:16
absolute encoders with dual axis was created by zmrdko

absolute encoders with dual axis

Category: Basic Configuration

Hi,

i am wondering how would behave and if its possible to have dual axis with absolute encoders. Lets say you power off machine and one joint of dual axis moves a little, but the other one not (gantry gets skewed). What will happen on powering on machine again? Will the one moved joint go back so that gantry is squared as before?
  • timaer
  • timaer
30 Apr 2024 09:47

Any other driver board choice except mesa board?

Category: Driver Boards

Hi,I've read a few material about EtherCAT,and our boss of company also decided to use EtherCAT as the solution of building the cnc machine.But the linuxcnc seems not so much support to EtherCAT ,at least not offering the PncConf and StepConf wizard such like GUI panel and not very much turial about ethercat on the official document .The most useful thing I found is in the form EtherCAT section about the installation of the EtherCAT .so if I choose to use EtherCat to build the machine ,the biggest problem is I dont have many document or related material connecting with Linuxcnc,after all ,I need to use it to control the machine. Do you have any advice for a newbee,I'll appreciate it very much .
  • tommylight
  • tommylight's Avatar
30 Apr 2024 09:46
Replied by tommylight on topic Hardware Assist

Hardware Assist

Category: General LinuxCNC Questions

Mesa 7i85 and 7i85S can do 4 encoders, and can usually be found.
A Mesa 7i92TM or 7i96S with 7i85 and 7i83 and 7i84 is all you would need. 7i96S has some IO so might not need 7i84 at all.
  • COlger81
  • COlger81's Avatar
30 Apr 2024 09:00

Probe Basic using "carousel.comp" instead of macros?

Category: QtPyVCP

The machine is a Fadal with a 21 tool Geneva.
  • 3CHman
  • 3CHman
30 Apr 2024 08:18
Hardware Assist was created by 3CHman

Hardware Assist

Category: General LinuxCNC Questions

Hi all - I'm just trying to plan out what is possible before I get too far into Linuxcnc . Its an old Colchester TriumhCNC lathe. +/-10V velocity control as usual with a 3TRM2 amp. The amp works fine but the old Crusader11 controller is now dust. On the lathe there are two slide encoders plus a spindle encoder. The encoders are fairly modest at 250ppr and the spindle is 1000ppr. Im looking to provide some HW assist with the encoders - the obvious route would be with a Mesa card feeding into a DB25 port but a) you cant get them and b) I would like to have a go myself.  Decoding the encoders into count and direction or whatever is a pretty simple HW task. Im OK with VHDL and can make my own PCB's but the question is - does this sound like a possible route to take. Would it be possible to generate a hal layer to receive such an interface. I'm pretty flexible about what the interface might be at the mo. Just trying to sus out what may be possible, Thanks in advance for any assist.
  • Aciera
  • Aciera's Avatar
30 Apr 2024 06:57
Replied by Aciera on topic Double Miter Saw Machine XAB Configuration

Double Miter Saw Machine XAB Configuration

Category: Basic Configuration

Those are 'joint.' pins and are available for extrajoints. Have a look in the 'Halshow' window that pops up when you run one of the extrajoints sim config:

 
  • jg00163206
  • jg00163206's Avatar
30 Apr 2024 05:52

slowly making progress. but still a long way to go.

Category: General LinuxCNC Questions

i apologize for the doc files. i will have to post the config files when i am in front of that machine tomorrow. i ssh into that machine from my office to play with the halcmd and i have to copy/paste the files to some kind of editor. and the files i tried to upload they didn't accept so i converted it to doc so it would take it. i hate anything doc anyway. not a big fan of anything that bill guy makes. as far as the machine goes, i will verify the wiring and try again. one question i have is; is the spindle light on tb2, on the mesa 7i96s supposed to come on when i turn on the spindle? is that normal? i mean there is nothing physically connected to it. so why would that light come on? i know there is a way i can change that. but i am at the mercy of you fellows for now until i can get more familiar with this awesome program. and i am still learning hal to be able to spot if something is connected or not. this speed control is not that big of a deal for me. if i get it working through the mesa board fine but if not i am not going to sweat it. i was just going through the manual for that drive (for the tenth time at least) and i can control the speed with a pot if thats the way i have to go for now. its a mountain of information to go through and i only started a couple months ago with linuxcnc. and its not in laymen terms. and i am a layperst.
  • cmorley
  • cmorley
30 Apr 2024 05:38
Replied by cmorley on topic QTdragon Tool Probe X & Y Offsets

QTdragon Tool Probe X & Y Offsets

Category: Other User Interfaces

What version of linuxcnc and how did you get it?

Is your machine imperial based? There was a fix for (what sounds like) this, that has not been released yet.
It looks like the position is out by about 25.4 times.
Displaying 26011 - 26025 out of 26758 results.
Time to create page: 0.425 seconds
Powered by Kunena Forum