Advanced Search

Search Results (Searched for: )

  • vre
  • vre
25 Jun 2024 00:05
Replied by vre on topic RS485 module

RS485 module

Category: Driver Boards

I want some non realtime i/o like jog buttons tool clamp button etc
How can use this rs485 i/o module without mesa card connected to rs232 port via rs232 to rs485 adapter?
What hal component needed?
  • cakeslob
  • cakeslob
24 Jun 2024 23:10

Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5

Category: Installing LinuxCNC

alright, awesome thank you!

question, your previous images had the rt already installed, is there some limitation to why they arent this time, or is it so you can hit update before loading the kernel?
  • zmrdko
  • zmrdko's Avatar
24 Jun 2024 22:52
Position vs Velocity mode was created by zmrdko

Position vs Velocity mode

Category: EtherCAT

Hello,
i have EtherCAT setup with Delta B3 servos. There is option to go for Position or Velocity mode when configuring servo drives in xml file.
The position mode works straightforward, but the following error is quite big - up to 1mm depending on actual speed. Actually it is proportional - the faster you go, the bigger the following error.
The other option is Velocity mode, I guess you need to use PID component to be able to tune the velocity loop.
I only tried velocity mode on my other setup (mesa 7i95t with Delta B3L drives) and I was able to tune following error down to 0.00X mm at peaks.

So my question is, what are the pros and cons for both modes if its over EtherCAT?
Also how is following error calculated in position mode over EtherCAT?

I think lot of people go for linuxcnc due to ability to use EtherCAT, so deeper explanation for correct configuration would help to many of us.

Thanks
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
24 Jun 2024 22:50
Replied by Cant do this anymore bye all on topic New project, litehm2: a hostmot2 port to linsn rv901t

New project, litehm2: a hostmot2 port to linsn rv901t

Category: Driver Boards

Did you read the section regarding patching the linuxcnc driver ? Because of the 1G bit network interface on The colorlight card.
It may be worth updating Linuxcnc so that you are running a version that has the patch included.
That is if you haven’t already done so.
  • royka
  • royka
24 Jun 2024 22:15 - 24 Jun 2024 22:33
Replied by royka on topic Try to install LInuxCNC without image

Try to install LInuxCNC without image

Category: Installing LinuxCNC

To install an rt kernel for a SBC you need to patch/compile it yourself in most cases.
This rt-kernel is for the RK3588 (Orange Pi 5), you could give it a try, but there is a chance that it won't boot because of missing drivers:
drive.google.com/drive/folders/1JglCIPKv...roZcjOvr?usp=sharing

Here is the source that's already patched (rt)
github.com/orangepi-xunlong/linux-orange...ge-pi-5.10-rk35xx-rt

Linuxcnc 2.9.2
www.linuxcnc.org/dists/bookworm/2.9-uspa...pace_2.9.2_arm64.deb

www.linuxcnc.org/dists/bookworm/2.9-uspa...-dev_2.9.2_arm64.deb
  • PCW
  • PCW's Avatar
24 Jun 2024 21:21

New project, litehm2: a hostmot2 port to linsn rv901t

Category: Driver Boards

"board fails HM2 registration"

indicates an inconsistency in the bitfile

what does

mesaflash --device ethernet --addr 10.10.10.10 --readhmid

report?
 
  • royka
  • royka
24 Jun 2024 21:19

another pci-e to parallel port issue with "make" command

Category: Computers and Hardware

Now I see, forgot about that. Then it was a lot of noise and would've been much easier to say that LinixCNC uses it's own driver. It actually seems that the parport_pc driver can cause issues and in this case needs to be unloaded/blocked.

Here all the info he/she needs:
linuxcnc.org/docs/2.7/html/hal/parallel-port.html
  • dzik
  • dzik
24 Jun 2024 21:14

New project, litehm2: a hostmot2 port to linsn rv901t

Category: Driver Boards

Help me please.
It seems that I’ve done everything and the bit files change when uploaded, but for some reason I can’t start Linux sts. What am I doing wrong?



LINUXCNC - 2.9.2
Machine configuration directory is '/home/dzik/linuxcnc/configs/EMCO'
Machine configuration file is 'EMCO.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./EMCO.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 4f:e7:34:84:64:c6
hm2_eth: Unrecognized ethernet board found: litehm2 -- port names will be wrong
hm2_eth: discovered litehm2
hm2/hm2_lite.0: Low Level init 0.15
board fails HM2 registration
hm2_eth: in hm2_eth_reset
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./EMCO.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./EMCO.hal:9: /usr/bin/rtapi_app exited without becoming ready
./EMCO.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/dzik/linuxcnc_debug.txt
and
/home/dzik/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
  • jimwhiting
  • jimwhiting
24 Jun 2024 21:07 - 24 Jun 2024 21:08

Mitsub_vfd - back to back speed commands causes error

Category: Advanced Configuration

Sorry, should have added that the commands are:

xxFA102xx  Sets forward rotation.
xxFA100xx  Stops.
xxED1ssssxx Sets Hz. (ssss is Hz in .1Hz increments)
  • jimwhiting
  • jimwhiting
24 Jun 2024 21:04

Mitsub_vfd - back to back speed commands causes error

Category: Advanced Configuration

I'm not seeing any error messages. (Not made easy by the gladevcp errors I get on the console all the time).

G code:
N10 G7
N11 G18
N12 G90
N13 G64  P0.001
N14 G21
N15 G53 G0 X200.
N16 G53 G0 Z200.

(FACE1 2)
N17 M0 (CHANGE TO T10 ON REAR TOOL POST)
N18 T10 M6 G43
N20 G54
N21 G97 S700 M3
N22 G95
N23 G90 G0 X55. Z5.
N24 G96 D700 S200 M3
N25 G0 Z1.414
N26 X35.
N27 G1 X27.828 F0.2
N28 X25. Z0.
N29 X-0.8 F0.1
N30 X2.028 Z1.414 F0.2
N31 G0 X55.
N32 Z5.
N33 G97 S700 M3

(PROFILE ROUGHING1 2)
N34 M5
N35 M1
N36 G97 S700 M3
N37 G95
N38 G0 X45. Z5.
N39 G96 D700 S200 M3
N40 G0 Z0.375
N41 X23.5
N42 G1 Z-24.9 F0.1
N43 X25.

Looking at the sequence being printed for debug it appears the commands are not making it to the python code...

Faulting case: (M1 disabled)
DEBUG: PREPPEDDATA:  01FA1027B
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01ED11704E7
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01FA10079
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 


working case: (With M1 enabled)
DEBUG: PREPPEDDATA:  01FA1027B
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01ED11704E7
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01ED10000DB
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01FA10079
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 


DEBUG: PREPPEDDATA:  01FA1027B
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01ED11704E7
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01FA10079
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
DEBUG: PREPPEDDATA:  01ED10000DB
SLAVE: 01 ackg
DEBUG:  ,0,1, 0x6 0x30 0x31 
 
  • rodw
  • rodw's Avatar
24 Jun 2024 20:17

Mesa 7i96 Ethernet Socket Problems - LC2.9.2 on Raspberry Pi 4B

Category: Driver Boards

This may not help but try downloading the latest version of rpi imager and using it to update the Pi's firmware.
Some of the older Pi 4B's require this.
  • PCW
  • PCW's Avatar
24 Jun 2024 19:15
Replied by PCW on topic Help with 7i95T

Help with 7i95T

Category: Driver Boards

Weird...

Whats does

mesaflash --device 7i95t --addr 192.168.1.121 --readhmid

report?
 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
24 Jun 2024 18:37
Replied by Cant do this anymore bye all on topic another pci-e to parallel port issue with "make" command

another pci-e to parallel port issue with "make" command

Category: Computers and Hardware

To tell the truth you really don’t need the parport driver to be loaded.
Linuxcnc will load without it. Like I said it my Parallel Port Treatsie thread, the only call to the kernel module is to get exclusive use of the port. If the call fails and your Hal file has the correct address it will still run.
As for the serial port driver, what’s the point in building it if the card doesn’t have the components for the serial port populated ?
If the card has been manufactured without the serial port headers and driver chip there’s a better than ever chance that the chip has only been strapped for Parallel Port operation and if that’s the case the card will only report the PCI id for the Parallel card, the chip reports the id depending on how it’s config pins are strapped. So if the card doesn’t report to the PCI id that matches those defined in the serial port module, the kernel won’t load that module.
I’ve had a read of the data sheet for that family of chips and it’s quite interesting what can be done with it.
Just out of interest if you want to know what Vendor & Product ID a kernel module supports you can run modinfo with name of the driver.
The problem with users coming from windows to Linux when installing new hardware that comes with a “driver disc” is that they assume that they need to build and install the driver. It’s rare that needs to be the case.
You can even google the vendor and product id of a device and you’ll find pages that will let you know if & when a driver that matches was introduced into the kernel.
Ages ago I attempted to get a thread going with the IDs of Parallel Port cards that were known to work. But after some initial interest it went silent.
There’s also a parport_serial driver (the name I may have muddled up) in the kernel that supports a lot of these cards that have a chipset that can present as both a serial & Parallel Port.
  • Wischi
  • Wischi
24 Jun 2024 18:18
Replied by Wischi on topic Setup Sheet as Embedded Tab

Setup Sheet as Embedded Tab

Category: Gmoccapy

 

Well I got something. Sort of   mostly copy and paste from other scripts, definitely have to learn python at some point. Right now you have to press a button to load a .html file with the same name, in the same dir as the .ngc file, no check if files exist yet. Is there anyway to do this automatic? I have read about event handlers but running it in the background seems kind of a waste. Maybe update it when the tab gets activated (clicked on) ?

I have attached the code and glade file. The required ini config is included in the .py file. Please comment on the script and what could be done better! When you start gmoccapy there is always a small windows that appears and then disappers quickly, how can that be fixed?

 

File Attachment:

File Name: setup_sheet.glade
File Size:2 KB
 

File Attachment:

File Name: setup_sheet.py
File Size:1 KB
  • PCW
  • PCW's Avatar
24 Jun 2024 18:14
Replied by PCW on topic 3 Achs Fräse mit MESA 7C80 und Raspi 4

3 Achs Fräse mit MESA 7C80 und Raspi 4

Category: Deutsch

I don't see any obvious issues with the hal /ini files, other than
the facts that the PWM rate was set to 400 Hz which is too low.
It would not prevent the analog output from working,  it would
just cause more output ripple than desired.

What is the voltage between SPINDLE+ and SPINDLE- ?

What is the result of

1. Starting LinuxCNC.

2. Setting the spindle on and the speed to 1/2 of full scale (12000 RPM)

3. Checking all the spindle signals with

halcmd show signal spin
Displaying 25036 - 25050 out of 26041 results.
Time to create page: 1.602 seconds
Powered by Kunena Forum