Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
05 Nov 2024 18:19 - 05 Nov 2024 18:50
Replied by PCW on topic Pi-5, NVMe and Mesa

Pi-5, NVMe and Mesa

Category: Installing LinuxCNC

down/down on IP address jumpers is 192.168.1.121
down/up is 10.10.10.10 

(W15 down, W16 up on a 7I95T)

(after a power cycle)
  • nigelh
  • nigelh's Avatar
05 Nov 2024 18:11
Replied by nigelh on topic Pi-5, NVMe and Mesa

Pi-5, NVMe and Mesa

Category: Installing LinuxCNC

Right. I did a new rebuild on a later kernel from the thread LinuxCNC 2.9.2 and 2.93 images for Raspberry Pi 4b & 5
Nobody seemed to be screaming that it destroyed civilisation so I put it on an SD, booted it and flipped it onto the NVMe.

This is with a six inch cat8 cable between the Pi5 and the Mesa.
This is silly. I must be having a senior moment here. The board is definitely jumpered DN DN and the
documentation assures me that that means 10.10.10.10 on 'as delivered' firmware.

cnc@Pi-CNC:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
From 10.10.10.11 icmp_seq=1 Destination Host Unreachable
From 10.10.10.11 icmp_seq=2 Destination Host Unreachable
From 10.10.10.11 icmp_seq=5 Destination Host Unreachable
^C
--- 10.10.10.10 ping statistics ---
7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6150ms
pipe 4
cnc@Pi-CNC:~$ sudo ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.10.10.11  netmask 255.0.0.0  broadcast 0.0.0.0
        ether d8:3a:dd:b0:cf:14  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 89  bytes 14327 (13.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 112  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
 

  • Finngineering
  • Finngineering
05 Nov 2024 18:05
Replied by Finngineering on topic Strange stepgen behaviour with 7i95t_1pktv2d firmware

Strange stepgen behaviour with 7i95t_1pktv2d firmware

Category: Driver Boards

For information, and in case it gives somebody any ideas. I started looking at the mesa_modbus.c.tmpl code, and modified it to output its internal state as a HAL pin. Attached a screenshot from halscope where the state is visible alongside the jump in position-fb.
 

The states are defined by:
enum {
    START,
    WAIT_FOR_SEND_BEGIN,
    WAIT_FOR_SEND_COMPLETE,
    WAIT_FOR_DATA_FRAME,
    WAIT_FOR_FRAME_SIZES,
    WAIT_FOR_DATA,
    FETCH_MORE_DATA,
    WAIT_A_BIT,
    WAIT_FOR_RX_CLEAR,
    RESET_WAIT,
};

So, we start in state WAIT_FOR_DATA_FRAME, then go to RESET_WAIT for a few cycles, and the in either state START or WAIT_FOR_SEND_BEGIN, the jump in position-fb occurs.
  • digiex_chris
  • digiex_chris
05 Nov 2024 17:59 - 05 Nov 2024 17:59

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Transistors should work, probably better low side, but do add a resistor between the Tang output and transistor base, something like 470 Ohm or 1K should be OK for normal signaling transistors.
Also, normal transistors do not require resistors between base and emitter for normal switching, MOSFET's do.
 

They normally don't, being current controlled devices, but I have seen instances of ghost activation in noisy environments (transistors do have a Miller capacitance, it's just much smaller electronics.stackexchange.com/a/95984). For prototyping I don't usually bother but if I'm ordering up a board I will add them since they're basically free.

Yes I forgot the base resistor!!!
  • tommylight
  • tommylight's Avatar
05 Nov 2024 17:07

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Transistors should work, probably better low side, but do add a resistor between the Tang output and transistor base, something like 470 Ohm or 1K should be OK for normal signaling transistors.
Also, normal transistors do not require resistors between base and emitter for normal switching, MOSFET's do.
  • tommylight
  • tommylight's Avatar
05 Nov 2024 17:02
Replied by tommylight on topic LinuxCNC Error

LinuxCNC Error

Category: General LinuxCNC Questions

Normally after installing the 2.9.3 ISO, you should do
sudo apt purge linuxcnc-uspace
sudo apt install linuxcnc
then after reboot hold down the shift keys till you get the GRUB menu, there choose advanced options and select the one with RTAI in the name, enter.
Did you do this last step before testing?
  • endian
  • endian's Avatar
05 Nov 2024 16:59 - 06 Nov 2024 19:25
Replied by endian on topic Ethercat, EL6751 and CANOpen

Ethercat, EL6751 and CANOpen

Category: EtherCAT

here they are, take a look... component is not finished yet... I will upload them when I will have an update ...

.xml config are only for this configuration... but it is clearly vissible how it works... where what is and timing are very important

setup from my attachments has about 330us scan time on profibus which are less then 1ms for lcnc default scan time period ... there are 4 slaves
  • tommylight
  • tommylight's Avatar
05 Nov 2024 16:58
Replied by tommylight on topic Compensating For Angled Cut

Compensating For Angled Cut

Category: Plasma & Laser

Some things to consider:
-what thickness material?
-what would be the biggest angle?
-what plasma source and torch do you have?
-
Pretty sure the torches and other stuff for angled cuts are different and use more pressure, but i never checked that, it is just a thought so far.
I would guess up to 8 or 10mm it is OK with normal stuff, some can probably do more, but as a reference cutting 10mm thick plate at 45 degrees is close to cutting 15mm plate normally.
  • PCW
  • PCW's Avatar
05 Nov 2024 16:50

Unexpected realtime delay on task 0 with period 1000000

Category: QtPyVCP

No, IRQ pinning is different. Both are needed for best latency.
(note the IRQ pinning needs isolcpus set in the kernel command line)
  • CopperHead
  • CopperHead
05 Nov 2024 16:47
Defaults in QTplasmac was created by CopperHead

Defaults in QTplasmac

Category: Plasmac

I'm curious and maybe this has been answered before, But in QTplasmac I import my part that was created in Sheetcam it has the settings in it for material and cut information but QTplasmac has a drop down for the material as well. should it update to the material specified in the file or do I need to manually adjust this? Also what is the default it reads the dropdown or the information in the file itself?
  • meister
  • meister
05 Nov 2024 16:32

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Just a stab in the dark, but does the TX0108E have capacitors wired to power lines and close to the chip?
A 10 microFarad electrolytic and a 0.1 micro ceramic should do.
 
 
I'm not as familiar with the TX0108E , but another option is to switch the low side instead of the high side. Such as a simple transistor between the - of the driver and GND, if that's an option for your stepper driver. (See image).

I wonder if you're running into voltage drop on the TX0108E if you're switching the high side? I also wonder if the Tang Nano can't push enough current on the 5v rail for your application, maybe provide an external 5v source to VB? Perhaps monitor VB with the scope as well, see how stable that is?

 

I thought about the Transistor solution as well. I have actually some transistors laying around, but the fact that the new level shifter should arrive any minute has me stopped that. At least for the moment. 

The power supply from the Tang is stable. I had that suspicion too and tested it with my oscilloscope. 5V is clean and no power drop.

What I have found out is that the bidirectional level shifter have some weird logic to figure out which side is driving and it seems they create often problems. I even tried to put the output side with a pull up / pull down. No difference.

I think something like a 74ACT245 where you can external control the direction might be better for this application.
 


On the Tangbob board I use the TXS0108EPW with pull up/down resistors on the input side.

However, to switch optocouplers in the output stages, for example, you still need a driver like the ones installed on the BOB boards (uln2308), the level shifters are not designed for this
  • meister
  • meister
05 Nov 2024 16:26

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

well, last night I got first movements to work on my iceshield derivative, and got the scale correct. Trying to get my head around the PID settings, I'm a bit lost since I'm normally a stepper guy working with more direct controllers that work similar to parallel port setups, 1 step = 1 step moved, no hunting position. this seems to be treating the fpga as it would treat a servo with encoder feedback. The position doesn't quite reach the commanded position, and it hunts a little, which I find odd for open-loop steppers with no encoder feedback.

Can anyone enlighten me on how to tune this? Is P too high? I have a feeling it maybe should be set to 1.0 instead of the default 250 so there is no gain.
 

the pid-loop is necessary with external hardware, as only velocity information can be sent in this way.

The deviations are actually only rounding errors, which should be no different with mesa hardware.

Remora does it the same way, only with a little trick, there the PID controller is hidden in the driver and linuxcnc does not show the calculated values but those that were sent.

In the beginning I also had the PID controller in the driver (linuxcnc-component), because it was only a copy of the remora driver, but that is actually just optics.

so far, the position has always been accurate to the step...

tuning is also not necessary if you use stepper
 
  • Micro2000
  • Micro2000
05 Nov 2024 16:22 - 05 Nov 2024 16:23
Replied by Micro2000 on topic LinuxCNC Error

LinuxCNC Error

Category: General LinuxCNC Questions

After I got the error and copied that specific part the error changed it won't come back again.

How would I get an RTAI version of linuxcnc, I have been looking at the getting started and installing linuxcnc and haven't seen anything like that.

I am so confused right now because the documentation has instructions but it seems like packages are missing from the pre-made files, and the documentation that is stated does not work. Then when I go to forums I am being told that some things may be missing. I am so lost right now, I don't know what to follow and what to ignore, out of date info, what files do and don't work with each other...etc.
  • mBender
  • mBender
05 Nov 2024 16:17

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Just a stab in the dark, but does the TX0108E have capacitors wired to power lines and close to the chip?
A 10 microFarad electrolytic and a 0.1 micro ceramic should do.
 
 
I'm not as familiar with the TX0108E , but another option is to switch the low side instead of the high side. Such as a simple transistor between the - of the driver and GND, if that's an option for your stepper driver. (See image).

I wonder if you're running into voltage drop on the TX0108E if you're switching the high side? I also wonder if the Tang Nano can't push enough current on the 5v rail for your application, maybe provide an external 5v source to VB? Perhaps monitor VB with the scope as well, see how stable that is?

 

I thought about the Transistor solution as well. I have actually some transistors laying around, but the fact that the new level shifter should arrive any minute has me stopped that. At least for the moment. 

The power supply from the Tang is stable. I had that suspicion too and tested it with my oscilloscope. 5V is clean and no power drop.

What I have found out is that the bidirectional level shifter have some weird logic to figure out which side is driving and it seems they create often problems. I even tried to put the output side with a pull up / pull down. No difference.

I think something like a 74ACT245 where you can external control the direction might be better for this application.
  • digiex_chris
  • digiex_chris
05 Nov 2024 16:02 - 05 Nov 2024 16:03

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Just a stab in the dark, but does the TX0108E have capacitors wired to power lines and close to the chip?
A 10 microFarad electrolytic and a 0.1 micro ceramic should do.
 
 

I'm not as familiar with the TX0108E , but another option is to switch the low side instead of the high side. Such as a simple transistor between the - of the driver and GND, if that's an option for your stepper driver. (See image).



I wonder if you're running into voltage drop on the TX0108E if you're switching the high side? I also wonder if the Tang Nano can't push enough current on the 5v rail for your application, maybe provide an external 5v source to VB? Perhaps monitor VB with the scope as well, see how stable that is?
 
Displaying 22411 - 22425 out of 22549 results.
Time to create page: 0.630 seconds
Powered by Kunena Forum