Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
13 Aug 2025 16:06
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

I answered on the github issue tracker, but you set number of steps with normal "setp" in the hal file.
The new Enable PDO/Pin should be connected to net x-enable, that way it only generates steps when the machine is "on".
Like so
setp lcec.0.E3000.StepsPerMM1 200
net x.enable lcec.0.E3000.Enable1
You also have MaxAcceleration as a new PDO and the guideline is some 25% higher than ACCELERATION in the ini file.
  • Piton4ik
  • Piton4ik
13 Aug 2025 16:06
Replied by Piton4ik on topic Tool table crash after reboot or power off

Tool table crash after reboot or power off

Category: General LinuxCNC Questions

if I'm working with tooltable, minimized the window and need to finish work, then I turn off the computer and tollyable file is corrupt
  • Piton4ik
  • Piton4ik
13 Aug 2025 16:04
Replied by Piton4ik on topic Tool table crash after reboot or power off

Tool table crash after reboot or power off

Category: General LinuxCNC Questions

I understand this, I'm trying to explain something else. If the tooltable program did not complete correctly exit, then the tool file is corrupted. There is no backup. Backups must be made manually......
  • PCW
  • PCW's Avatar
13 Aug 2025 15:48

Wiring encoder to LinuxCNC + Mesa vs motor controller

Category: Driver Boards

In general I would not use a step/dir drive with encoder feedback to LinuxCNC unless
this is a dual feedback system, that is for example a step/dir drive with local rotary
encoder and a separate linear encoder fed back to LinuxCNC. This way the high bandwidth
motor control loop is run locally and the lower bandwidth but higher high accuracy control
loop is run in LinuxCNC.

There are also noise issues when feeding drive connected encoders to LinuxCNC as the ground
reference of those encoders is often the negative motor power line. (At least in small DC powered drives)
  • hitchhiker
  • hitchhiker
13 Aug 2025 15:35
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

sry for delay.

i have now the whole machine running with the original controller.

all works.. steppers,maindrive, all sensors and the spindleencoder.

in the next days i link up my raspberry pi 4 with a 7i92.
why the rasp? its easier for me instead a notebook.. i have the machine in my garage not in my basement...

if all works and linked to the mesa and is in my linuxcnc i came back.


parallel i would build a small model for the toolchanger to play in the apartment with the toolchanger carousel stuff.

thanks
  • Mars
  • Mars
13 Aug 2025 15:27

Remora - Compile warnings when compiling spi linuxcnc component

Category: Computers and Hardware

I am a newbie and I not sure I am following this forum's rules.  First, is this the right place to ask Remora questions (I have read everything I could find for Remora documentation)?  I trying to build a RPI5 / SKR 1.3 system.  All of the Linuxcnc components compile cleanly *except* for the spi component which compiles but with about 15 warnings.  I pulled the latest off of github.   Any help appreciated and please let me know if I am using the forum incorrectly.  
  • phino
  • phino
13 Aug 2025 15:21

Wiring encoder to LinuxCNC + Mesa vs motor controller

Category: Driver Boards

How should (linear optical scale, 0.1 micron resolution) encoders be wired to a system using a LinuxCNC + Mesa 7i95T and ODrive Pro motor controllers for each axis? 
  • Encoder wired in parallel to both Mesa and ODrive motor controller? (ground loop issues, etc?)
  • Encoder wired only to Mesa with ODrive motor controller in open loop? (not recommended by ODrive)
  • Encoder wired only to ODrive motor controller with LinuxCNC + Mesa in open loop? (loses the whole point of LinuxCNC and coordinated motion)
  • Two encoders, one for each? (added cost and complexity)
  • Something else?
ODrive recommends wiring the encoder to the ODrive as it is claimed to have much higher bandwidth and fidelity (8kHz) than the LinuxCNC system: discourse.odriverobotics.com/t/connectin...sa-vs-odrive/13208/9

In the future it may be possible for the ODrive to pass through / re-output the encoder readings via GPIO pins. This would seem to be an interesting option, but it is not currently implemented and it's not clear if there could be potential latency issues.

What is the recommendation from the LinuxCNC + Mesa perspective, and are there any pitfalls to watch out for?
  • COFHAL
  • COFHAL
13 Aug 2025 15:10
Replied by COFHAL on topic AX58100

AX58100

Category: EtherCAT

I see that the EaserCAT-3000 board firmware has been updated on Github. As you mentioned earlier, you left out the step scale so it could be modified from the INI file. You also added enable pins, but I don't know how to use them. Could you explain these changes a little more?
  • tommylight
  • tommylight's Avatar
13 Aug 2025 14:48
Replied by tommylight on topic Raspbery pi5 pcie adapter to parport card

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

Pretty sure LinuxCNC does not use Linux drivers for parallel port, it has it's own driver and all it needs is a memory address for it to work, but your results show strange addresses, so try 0 for address in the StepConf wizard, and if that does not work also try
1b80000000
and
0x1b80000000
Do reboot the RPI between tests.
  • tommylight
  • tommylight's Avatar
  • seuchato
  • seuchato
13 Aug 2025 14:24 - 13 Aug 2025 14:25

M1xx: Controlling Relays (solenoids) from within axis MDI

Category: Advanced Configuration

Impressive!
Thx!
Video link to your Mazak lathe?
Greez
chris
  • emresensoy
  • emresensoy
13 Aug 2025 14:00
Replied by emresensoy on topic New EtherCAT Slave Devices REAL data to HAL

New EtherCAT Slave Devices REAL data to HAL

Category: EtherCAT

Dear Hakan, 
thank you very much, 
Now everything is ok, and works good,

This encoder interface has no IO,
But I made another IO card, it has 12x Digital input, 12x Digital output, 4x Analog 0-10V input and 4x Analog 0-10V output,
  • unknown
  • unknown
13 Aug 2025 13:57
Replied by unknown on topic Raspbery pi5 pcie adapter to parport card

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

It's very rare you need to install drivers for a parallel port in Linux. Most Vendor supplied ones are woefully out of date, and are usually for the vendor specific capabilities of the serial port. These cards are usually supported by the pc_serial Linux driver. Both chipsets you have tried are well established and work fine on the x86 platform with the Linux drivers that come with the kernel.

To tell the truth I'm not even sure the RPi5 kernel that is in the image even has support for a PC parallel port. When built the image I just used the RPi5 default config and enabled the options for real time.

Now the real issue is that the RPi SOC doesn't support BAR, I misspoke and stated ARM64.
If you had read the links I gave you would have seen this stated. Unless there have been major changes to the way the RPi5 manages IO ports and mapping them, unfortunately a PCIe parallel port is not going the work with the RPi5.
Yes it will see the adaptor but will not be able to use it as a PC would.
  • KaveMan
  • KaveMan
13 Aug 2025 13:37
Replied by KaveMan on topic Raspbery pi5 pcie adapter to parport card

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

FYI... tried a different Parport card. however appears the drivers are missing and I am struggling to get the them installed.

cnc@raspberrypi:~$ sudo lspci -v
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 38
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff =1M% [32-bit]cnc@raspberrypi:~$ sudo lspci -v
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 38
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
    Prefetchable memory behind bridge: [disabled] [64-bit]
    Capabilities: [48] Power Management version 3
    Capabilities: [ac] Express Root Port (Slot-), MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [160] Virtual Channel
    Capabilities: [180] Vendor Specific Information: ID=0000 Rev=0 Len=028 <?>
    Capabilities: [240] L1 PM Substates
    Capabilities: [300] Secondary PCI Express
    Kernel driver in use: pcieport

0000:01:00.0 Serial controller: Nanjing Qinheng Microelectronics Co., Ltd. CH382L PCIe Parallel Port Adapter (rev 10) (prog-if 05 [16850])
    Subsystem: Nanjing Qinheng Microelectronics Co., Ltd. CH382L PCIe Parallel Port Adapter
    Flags: fast devsel, IRQ 38
    Memory at 1b80000000 (32-bit, prefetchable) [size=32K]
    Expansion ROM at 1b80008000 [virtual] [disabled] [size=32K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
    Capabilities: [80] Express Legacy Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting


 
  • Hakan
  • Hakan
13 Aug 2025 12:47 - 13 Aug 2025 13:07

New EtherCAT Slave Devices REAL data to HAL

Category: EtherCAT

halType="float-ieee" matches REAL type

Cool board, is there IO on the board as well?
I see you have this in the ESI file
            <Entry>
              <Index>#x0006</Index>
              <SubIndex>1</SubIndex>
              <BitLen>32</BitLen>
              <Name>ENC1RPM</Name>
              <DataType>UINT32</DataType>
            </Entry>
You might have a mixup on names, ESI file says ENC2RPM is at 0x0006:03
They are also specified here as UINT32. And you say float (Ethercat REAL type).
This doesn't match.
Make the datatype REAL for this variable, read it as a float in the processor and as float-ieee in hal (gous into a float type hal variable)
Displaying 11101 - 11115 out of 17173 results.
Time to create page: 0.329 seconds
Powered by Kunena Forum