Advanced Search

Search Results (Searched for: )

  • drboeller
  • drboeller
30 Apr 2024 13:37
Replied by drboeller on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I tried to run the servo with twincat and the esi config file. This worked. Then i tried to remap the pdo´s in twincat so that they match with the ethercat-config.xml. Still the same issue.

Then i deleted the PDO mapping with command:
ethercat -p0 --type uint8 download 0x1600 0 0
ethercat -p0 --type uint8 download 0x1a00 0 0

Now im able to get the servo in OP mode using:
ethercat states OP

After starting linuxcnc, the pdos are remapped and the same error (previus post) occurs.

Really dont know what to do now, that doesnt make sense to me, espacially that it doesnt work when i set the pdos with twincat.
  • EddySPalm
  • EddySPalm's Avatar
30 Apr 2024 13:32
Replied by EddySPalm on topic Encoder connection for threading on lathe

Encoder connection for threading on lathe

Category: General LinuxCNC Questions

Thank you PCW, I also see your post edit that I can actually just connect my 1PPR signal to the Mesa, though to both A and I connector.
PS: I suppose i would use ENCA+ and IDX+ on the Mesa card, and OA+ and OZ+ on the servo drive.

If you wouldn't mind PCW, just for the sake of learning something new today; why do you suggest doing this? Will there be an advantage over just connecting them all up? I mean, I have all 6 outputs readily available on the driver, and all 6 corresponding connections on the mesa card.
or what about using it as a single ended encoder, with just A+, B+ and Z+ connected, which to a newbie liek me seems like a more "complete" setup, but still saving a little on connections.


 

 
 
  • stonebite
  • stonebite
30 Apr 2024 12:53 - 30 Apr 2024 13:54
Replied by stonebite on topic PNCconf 7i92H and 7i76

PNCconf 7i92H and 7i76

Category: PnCConf Wizard

Hi Thommy,

back from the PC modification front.
PC completely disassembled and the thermal paste between the processor and cooling element.
Replaced PC case modified so that the air inlet is not or less restrictive and the pseudo centrifugal fan actually blows through the cooling element
PC reassembled (very delicate work)
All components plugged in
Start PC, Debian/LinuxCNC starts, works perfectly.
Open the terminal and query sensor values (see below).
The temperature values at the beginning are promising.
Start Linux CNC with temp. values below 60°C.
The exact same error message still appears.
Leave the PC with LinuxCNC open and continue working.
Temp. values still climb to 92°.
So I think that the temp value around 60° showed that LinuxCNC still gives the error message.

What is fact is that temperatures drop below 50° relatively quickly. It is also a fact that the temperatures rise relatively quickly to 95° when starting linuxCNC.

I would now be more than grateful if I could get some information as to whether I should operate with a different PC?

Are there any other ways to find out where the error comes from?
thanks in advance


cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +35.5°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +27.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:        1.28 V  
vddnb:       774.00 mV
edge:         +32.0°C  
PPT:           8.00 W  

cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +33.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +32.8°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +31.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:      712.00 mV
vddnb:       774.00 mV
edge:         +32.0°C  
PPT:           5.00 W  

cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +37.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +61.0°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +33.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:        1.31 V  
vddnb:       774.00 mV
edge:         +54.0°C  
PPT:          15.00 W  

cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +43.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +67.5°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +35.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:        1.31 V  
vddnb:       774.00 mV
edge:         +60.0°C  
PPT:          16.00 W  

cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +50.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +92.0°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +40.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:        1.26 V  
vddnb:       774.00 mV
edge:         +70.0°C  
PPT:          15.00 W  

cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +51.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +76.2°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +41.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:        1.28 V  
vddnb:       774.00 mV
edge:         +67.0°C  
PPT:          16.00 W

cnc@cnc:~$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +43.0°C  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +44.5°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +40.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:      712.00 mV
vddnb:       681.00 mV
edge:         +43.0°C  
PPT:           5.00 W

 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
30 Apr 2024 12:16
Replied by Cant do this anymore bye all on topic Hardware Assist

Hardware Assist

Category: General LinuxCNC Questions

Mesa firmware is open source, the 7i92 & 7c81 schematics are floating around on the forum. The mesa firmware is available for download on the product page of each board.

Here's one I made earlier:
forum.linuxcnc.org/show-your-stuff/51142...pga-card-9d60#289226
  • rodw
  • rodw's Avatar
30 Apr 2024 12:13

Resources for C++ User Space Component Authoring?

Category: General LinuxCNC Questions

One of the best ways to learn C is to read some C code.
This folder is a treasure trove of hal component examples
github.com/LinuxCNC/linuxcnc/tree/master/src/hal/components
And read these docs. linuxcnc.org/docs/stable/html/hal/comp.html
When you are ready, pick a real simple example (like and2.comp), compile it yourself, then use it for a template for your first component.
Try writing a component that lights up a pin when th X axis is > 50% of its travel or some other trivial example.
Or pretend your x axis is slightly crooked (say 3%). Compensate for this error by moving the Y axis based on X axis position.
 
  • rodw
  • rodw's Avatar
30 Apr 2024 11:59

Can not get stepper motors to move with Gecko g250x drivers

Category: PnCConf Wizard

I've been holding my tongue all this time. I have observed many people failing to get the Gecko's going. Whilts it is evidently possible, the additional cost vs a DM556 or similar is just not worth it. I would try and sell it to a Mach3 user :)
  • 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 .
Displaying 26251 - 26265 out of 26664 results.
Time to create page: 0.669 seconds
Powered by Kunena Forum