Advanced Search

Search Results (Searched for: )

  • Kieran
  • Kieran
04 Jun 2025 18:16 - 04 Jun 2025 18:17
Replied by Kieran on topic xml and hal - I am lost

xml and hal - I am lost

Category: EtherCAT

Im at about the same step as you. Last night I used the XMLconfiggen to make an xml for the 3 servos i had plugged in at the time. seems reasonable at first glance but might need some edits. My Hal and Ini are based on Hakan's ethercat Rpi video/forum post. getting errors indicating my ini and hal are not up to snuff.
forum.linuxcnc.org/ethercat/42048-notes-...at-on-raspberry-pi-4

Tonight I will bash my head against the keyboard some more and see if I can get a servo to move.
  • Benb
  • Benb's Avatar
04 Jun 2025 18:15
Replied by Benb on topic indicatorPushButton led hal pin

indicatorPushButton led hal pin

Category: Qtvcp

Chris it worked ,thank you for your guidance.
For those learning to use qtvcp with hal, here is "Hello World"  example that turns on/off the embedded led in hal PushButton widget.

Start Qt Designer:
For a RIP install:
  Open a terminal and source the environment:
  $ source /home/YourPath/scripts/rip-environment
  $ designer -qt=5
For a package install:
  Open a terminal and type:
  $ designer -qt=5
Create MainWindow Widget
  Select MainWindow
Add the ScreenOptions Widget
  Drag and drop the ScreenOptions widget anywhere onto the MainWwindow widget
Add hal PushButton
  Drag and drop hal PushButton widget anywhere onto the MainWwindow widget
Save The .ui File
  Save the file as test.ui in a folder
Create a .hal file
  Open text editor and copy hal netlisting (see below), save the file as test.hal
  (make sure you save .hal file .ui file in the same folder)
At command prompt:
 $ halrun -I -f test.hal

Copy following into text file and save as  test.hal
# load realtime components
# load non-realtime programs
loadusr -Wn test qtvcp test.ui
# add components to thread
# connect pins
net connect test.mybutton test.mybutton-led 
# start thread
start
  • PCW
  • PCW's Avatar
04 Jun 2025 18:00
Replied by PCW on topic LinuxCNC compatible industrial PC

LinuxCNC compatible industrial PC

Category: Computers and Hardware

You can try pinning the IRQ to the last processor
(and using the appropriate isolcpus line in the kernel command line)

0.494 might be OK, probably need to try, worst case, you might
need to slow down the servo thread to say 1.5 or 2 ms
 
  • Boogie
  • Boogie
04 Jun 2025 17:47
Replied by Boogie on topic Hydraulic press brake control

Hydraulic press brake control

Category: CNC Machines

I found this thread so interesting. I'm slowly sketching the plan to build my own press brake and hydraulic system is giving me some headache. I'd like to avoid 700bar system due to the prices of elements. The only cheap thing @ 700bar is hydraulic cylinders. The rest is problematic. Going lower pressure i need to grow bigger cylinders (plan to achieve 40 or 50 tonnes using two cylinders) bur regular gear pumps and valves (from agro world) should be fine. Du you have more photos/videos showing the hydraulic side of you brake? Are you still using it?
  • alexandrap
  • alexandrap
04 Jun 2025 17:45
Replied by alexandrap on topic Updating pncconf for 7i95t

Updating pncconf for 7i95t

Category: PnCConf Wizard

Yes, it is still disconnected because I am waiting for the installation of the fast overvoltage electronic efuse TPS2596
  • greg23_78
  • greg23_78
04 Jun 2025 17:42 - 04 Jun 2025 17:43
Replied by greg23_78 on topic Toyota embroidery machine - retrofit

Toyota embroidery machine - retrofit

Category: CNC Machines

thank you for your feedback.

indeed,

- it's a 0-5K ohm single turn potentiometer.
- on the 2 X and Y axes there are
- there is no limit switch.
-Since it's a single turn, I assume (not tried) that 1 turn = the distance the axis moves.

Thanks for the procedure, I was going to ask if it was possible to homing with a potentiometer.

Which reasoning do you think is best?

     - when homing, the motor runs until the potentionemetre is read at 1 ohm, then it looks for the incremental encoder index?

     - No homing, the encoder reads the potentiometer value directly?



I have a question about the needle motor control.

I have this electronic component, I suppose it's an encoder because of the markings next to the wires. A (Phase A) Z(Pulse) G(Ground) V(VCC) B ( Phase B )
Can you confirm this?

 

 

If yes, I suppose that I control the speed of the motor for embroidery and the position for changing the head (I have 5 heads).

However, I don't have a reference for this one. What test would allow me to know the number of pulses for this encoder?
  • tommylight
  • tommylight's Avatar
04 Jun 2025 17:29
Replied by tommylight on topic Mesa 7i97T & LinuxCNC setup struggles

Mesa 7i97T & LinuxCNC setup struggles

Category: Installing LinuxCNC

You can do most of the tuning without the machine attached, but might need a bit fine tuning after attaching the motors, so keep warm for now. And not helping, but 31 C here today! :)
What PID values are you at now?
  • SwitchWitch
  • SwitchWitch
04 Jun 2025 17:07
Replied by SwitchWitch on topic xml and hal - I am lost

xml and hal - I am lost

Category: EtherCAT

Sorry - my mistake.
For sure it is a good idea to share the error message.

Now - my problems with the beckhoff modules are solved with the help from 2 friends.
Now I have to get the servos running and to figure out how to configure them.
I will give an update.
  • tommylight
  • tommylight's Avatar
04 Jun 2025 17:04
Replied by tommylight on topic Updating pncconf for 7i95t

Updating pncconf for 7i95t

Category: PnCConf Wizard

A friendly warning:
Never ever plug or unplug the 5V connector to Mesa board while the power supply is on!!!
  • alexandrap
  • alexandrap
04 Jun 2025 16:17
Replied by alexandrap on topic Updating pncconf for 7i95t

Updating pncconf for 7i95t

Category: PnCConf Wizard

Unfortunately, I don't have the 7i95T board assembled yet - I'm waiting for some parts - only the servo is provisionally connected. If I create a simple x-configuration in Config Tool 2, I can move the servo.
  • workshop54
  • workshop54
04 Jun 2025 16:16
Replied by workshop54 on topic LinuxCNC compatible industrial PC

LinuxCNC compatible industrial PC

Category: Computers and Hardware

Yes, the eeprom ip address is 10.10.10.10
$ mesaflash --device ethernet --addr 192.168.1.121 --verbose

ETH device 7I94T at ip=192.168.1.121
Communication:
  transport layer: ethernet IPv4 UDP
  ip address: 192.168.1.121
  mac address: 00:60:1B:18:80:0F
  protocol: LBP16 version 3
Board info:
  Flash size: 16Mb (id: 0x14)
  Connectors count: 2
  Pins per connector: 21
  Connectors names: Expansion+Serial 0..1 Serial 1..7
  FPGA type: T20F256
  Number of leds: 4
Board firmware info:
  memory spaces:
    0: HostMot2 (registers, RW, 32-bit) [size=64K]
    1: KSZ8851 (registers, RW, 16-bit) [size=256]
    2: EtherEEP (EEPROM, RW, 16-bit) [size=128], page size: 1, erase size: 1
    3: FPGAFlsh (flash, RW, 32-bit) [size=16M], page size: 256, erase size: 65536
    4: Timers (memory, RW, 16-bit) [size=16]
    6: LBP16RW (memory, RW, 16-bit) [size=16]
    7: LBP16RO (memory, RO, 16-bit) [size=16]
  [space 0] HostMot2
  [space 2] Ethernet eeprom:
    mac address: 00:60:1B:18:80:0F
    ip address: 10.10.10.10
    board name: 7I94T
    user leds: eth debug
  [space 3] FPGA flash eeprom:
    flash size: 16Mb (id: 0x14)
  [space 4] timers:
    uSTimeStampReg: 0x93D1
    WaituSReg: 0x0000
    HM2Timeout: 0x0000
  [space 6] LBP16 control/status:
    packets received: all 43523, UDP 4, bad 0
    packets sent: all 43423, UDP 4, bad 0
    parse errors: 0, mem errors 0, write errors 0
    error flags: 0x0000
    debug LED ptr: 0x0008
    scratch: 0x0000
  [space 7] LBP16 info:
    board name: 7I94T
    LBP16 protocol version 3
    board firmware version 18
    IP address jumpers at boot: fixed 192.168.1.121

Do you know if there is anything I can do to make the connection faster?

I also did some tests on my laptop (which has latency errors all the time), and it came back with slightly worse values:
$ sudo chrt 99 ping -i .001 -q -c 60000 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.

--- 192.168.1.121 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 60025ms
rtt min/avg/max/mdev = 0.141/0.263/0.571/0.023
  • kubes
  • kubes
04 Jun 2025 16:15 - 04 Jun 2025 18:28
G0 not zero? (more info) was created by kubes

G0 not zero? (more info)

Category: General LinuxCNC Questions

Not sure this is the correct topic, or where to start figuring out this problem.

I have a new build LCNC 2.9 from disto, EtherCAT, AC Servos with/ 23-bit absolute encoders, using ProbeBasic I have attached a screenshot with the issue show the Z-axis

"Sometimes" the "zero" will not display as zero, most of the time it works and will display as zero.  On the screen, it will show a non-zero value (-0.297), and a G0Z0 does not move.  If I move off that value and G0Z0 MDI, it moves back to the same non-value, also "zeroing" the Z-axis does not set the value to zero.  I have seen this on all the axes, not just the Z, but the same issue.  I have not seen a pattern yet, or what triggers it.

I am looking for an idea to explore the issue further.
Thanks!!!!!
 
  • PCW
  • PCW's Avatar
04 Jun 2025 15:55
Replied by PCW on topic LinuxCNC compatible industrial PC

LinuxCNC compatible industrial PC

Category: Computers and Hardware

What do you think about these values, and if they are good, are there any other tests you can recommend for this PC before I go all-in?

They are OK, the 0.494 is not great

Did you change the host static IP address to say 10.10.10.100 when you tested the 7I94T at 10.10.10.10?

You can check the EEPROM IP address with:

mesaflash --device ethernet --addr 192.168.1.121 --verbose

You should get something similar to this:

snip
  [space 2] Ethernet eeprom:
    mac address: 00:60:1B:16:08:00
    ip address: 10.10.10.10
    board name: 7I96S
    user leds: Hostmot2

 
  • wusel0464
  • wusel0464
04 Jun 2025 15:52
Replied by wusel0464 on topic Reading variable from ini no longer works?

Reading variable from ini no longer works?

Category: Qtvcp

Hello,

According to today's update of Linux CNC 2.10, the comment in the INI is still not recognized as such.
This modest entry is already sufficient.

WL_POS_X = 6.934 #

Without a comment, everything works normally.

It would be nice if someone could see over the knowers.

Thanks and best regards, Frank.
  • PCW
  • PCW's Avatar
04 Jun 2025 15:49
Replied by PCW on topic LinuxCNC compatible industrial PC

LinuxCNC compatible industrial PC

Category: Computers and Hardware

Perhaps his ethernet is just really, really speedy.

Not physically possible with a 100BT link 

100 Mbits/sec is 12.5 bytes/usec = ~5 usec for a minimum size packet
since packets need to be sent and echoed that's ~10 usec absolute
minimum for the smallest  (64 byte) packet (ignoring overhead and response time)
Displaying 2326 - 2340 out of 24989 results.
Time to create page: 0.257 seconds
Powered by Kunena Forum