Advanced Search

Search Results (Searched for: )

  • DeckelCNC
  • DeckelCNC
30 Nov 2024 21:42
Replied by DeckelCNC on topic Leadshine EL8 Servo Drives - EtherCAT

Leadshine EL8 Servo Drives - EtherCAT

Category: Advanced Configuration

Thank you for the reply's

Kworm : i think i have the pdo's right in the drive Vs the terminal output Vs the .xml ? please let me know if i am not understanding correctly. Thank you for your time. 

Warning: Spoiler!


Aciera (sorry i thought it was better to upload files that made no errors, but not actually working)
i have been reading and come across a post about a Youtuber called Marco Reps ? i thought it would be a idea to apply some of the methods i found in these files. so i have changed things from my first post, and i am now getting errors again / LinuxCNC is not opening.  this looks to be the main issue ?  EL8_machine.hal:41: Pin 'lcec.0.0.cia-statusword' does not exist

i have included the Error report + the .xml + .hal + .ini
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.3
Machine configuration directory is '/home/edmuser/linuxcnc/configs/sim.axis-3'
Machine configuration file is 'EL8_machine.ini'
INIFILE=/home/edmuser/linuxcnc/configs/sim.axis-3/EL8_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
emc/iotask/ioControl.cc 786: can't load tool table.
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./EL8_machine.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./EL8_machine.hal:41: Pin 'lcec.0.0.cia-statusword' does not exist
55850
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

.XML File

Warning: Spoiler!


.HAL

Warning: Spoiler!


.ini

Warning: Spoiler!

 
  • royka
  • royka
30 Nov 2024 21:36

Real-time kerel not detected on patched 6.12

Category: General LinuxCNC Questions

Alright, I assumed you would have one since you have an rpi image builder. But likely it uses a prebuild from Debian that seems to be patched already.
  • endian
  • endian's Avatar
30 Nov 2024 21:17
Replied by endian on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

You have not SDO config out of lcnc .. check setup of PDO 60C2 index 2 and 3 ... It has to be setup in your ethercat-conf.xml file .. probably you has wrong timing for sure.. it should happend because of free run of PLC and there is SDO download which are overwriting them 

Try to find my old post with s300 kollmorgen xml setup .. there they are 60C2s with 1ms values
​​
  • kworm
  • kworm
30 Nov 2024 20:54
Replied by kworm on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

They are running in CSP mode and servos have been tuned. They work fine with 2000us control loop with TwinCAT CNC with the same config. I don't mean to hijack Grotius thread just thought I would see if you had seen this.
  • scotta
  • scotta's Avatar
30 Nov 2024 20:40

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Could you leave a copy of the nvmpg cpp on your github? I'm thinking about creating my own mpg but only with buttons and I would like to study the programming that was used in it to be the starting point.

Hi, there is no cpp source code for the NVMPG. I decompiled the extracted firmware and managed to find the serial transmission section. The communication protocol was derived from that. The attached spreadsheet simulates the protocol. You should be able to use that for your purpose or alternatively look at the code of the NVMPG LinuxCNC component.

github.com/scottalford75/Remora-NVEM/blo.../MPG%20protocol.xlsx

 
  • slowpoke
  • slowpoke
30 Nov 2024 20:22 - 30 Nov 2024 20:50
Replied by slowpoke on topic Small touchscreen display 7-10' -> 14-16"

Small touchscreen display 7-10' -> 14-16"

Category: General LinuxCNC Questions

Okay, I'm going to ask on a long shot.......

At the moment I have a RapberryPi4 with Axis installed and it's displaying just fine on an Amazon special 15" touchscreen. Resolution is set to 1024x768.

The problem is that pretty much all the new touchscreens on Amazon use USB-C as the preferred communication link for video, audio and touchscreen data. However they also have a HDMI port and that seems to work just fine for the video (I'm totally happy with the resolution/clarity etc). They also claim if using the HDMI port for video that you need to use a USB-C port for the touch data. Pi had 4xUSB-A ports, however according to this video....

The guy claims that If you power the Pi via the expansion connector instead of the regular power connector that happens to be a USB-C you can then use that USB-C port for data transfer. So I tried it and still no touch feature. I'm guessing Linux is unaware of this USB-C port and with it connected to the touchscreen it is not visible when I look at the devices  under Mouse and Touchpad in settings (I do see the mouse and keypad I have connected to the USB-A ports) as well as the the two hdmi ports.

To try and gain some insight to that port I swapped out the LinuxCNC SD and instead ran the Pi OS, and lsusb yields:
 

So it looks like the Pi OS can see that port, (Bus 002 Device 001)
Any chance I can somehow enable that USB-C port in LinuxCNC, to allow getting the touch data back to LinuxCNC?
 
  • vibram
  • vibram
30 Nov 2024 20:11
Replied by vibram on topic Mesa 7i96s firmware for Index (2.9 release)

Mesa 7i96s firmware for Index (2.9 release)

Category: Advanced Configuration

Thank you again.

I struggle with the configuration
If I understand well I need to adapt this line in my Hal file but can't figure what should I put?

net xindex-enable axis.0.index-enable <=> hm2_7i96s ???
I connected my index on i/o 36 (P1)
Thank you for your help
  • endian
  • endian's Avatar
30 Nov 2024 20:07
Replied by endian on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

@Grotius,

I was suggesting you would need ESI support if you wanted to be able to avoid having to have special code for specific devices like linuxcnc-ethercat does. Ie, if you were wanting it to work something like twincat or other commercial products do.

@Endian,

Have you seen any issues on ethercat with the current position dropping to zero intermittently...noticed on the DRO? I've been attempting to use LCNC on a machine that has G1 acceleration of 1m/s and G0 acceleration of 3m/s (feed is 25-50m/min) and I keep getting following errors.

Which mode U are running? If U run them in the
  • CSP - U have to tune your servos for your application ...
  • CSV - U have to tune your PIDs and servos too for your appication ...
For ethercat control is lcnc only a trajectory planner such as realtime "position sender" where to go and all control stuff as positioning corrections accel. and deccel. or velocity servo calculates internally ... they are 1st and 2nd derivations of position and ethercat interface of servo has tools to calculate them..

bdw .. I have stuff which has this control loop at 250us but should be faster as siemens DriveCliq S120 drivers which are running at 31.25us
  • endian
  • endian's Avatar
30 Nov 2024 19:59

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Gentelmen, my bad...

I have 4 ethernet interfaces ... 3 are e1000e and 1 is igb hardware .....

can you guess on which hardware I want to install e1000e driver...

life is life..

Thanks for pushing me

 
  • cakeslob
  • cakeslob
30 Nov 2024 19:36
Replied by cakeslob on topic Small touchscreen display 7-10' -> 14-16"

Small touchscreen display 7-10' -> 14-16"

Category: General LinuxCNC Questions

yeah 1024x 600 or 768 is not large enough for axis
check out my thing if you want a small screen axis and report any bugs . ive been using it for a while and i havent seen anything unsafe
github.com/cakeslob/regularmac_800
  • rodw
  • rodw's Avatar
30 Nov 2024 19:23

Real-time kerel not detected on patched 6.12

Category: General LinuxCNC Questions

@rodw Can you confirm that it's the same with the Raspberry or is that kernel source already patched?
 

Sorry, I have no Idea. I don't have a Pi5.
Did you find the code Linuxcnc uses for this check in Git?
 
  • rodw
  • rodw's Avatar
30 Nov 2024 19:08
Replied by rodw on topic Tip on how to plan a machine

Tip on how to plan a machine

Category: General LinuxCNC Questions

I also use a table. I always update the table before connecting a new wire.
 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


 
  • rodw
  • rodw's Avatar
30 Nov 2024 18:57

Ethercat installation from repositories - how to step by step

Category: EtherCAT

From your dump, is there a typo in your MAC address?
  • tommylight
  • tommylight's Avatar
30 Nov 2024 18:57
Replied by tommylight on topic Small touchscreen display 7-10' -> 14-16"

Small touchscreen display 7-10' -> 14-16"

Category: General LinuxCNC Questions

Not yet, everything is at default for now, and it works OK (i have a topic about laptops i tested working with LinuxCNC), so a bit more tweaking should push them to being very good, hopefully.
I am using a Lenovo T470 for over a year on a production machine, ocasional latench warning, but usually goes for hours just fine, and never ever shows warnings when servo period is at 2 million, just adding isolcpus should get rid of that warning, but i did not bother as only i use it.
I will be doing more tests with them and report back on the topic
forum.linuxcnc.org/18-computer/54369-use...mesa-ethernet-boards
Displaying 22081 - 22095 out of 22426 results.
Time to create page: 0.631 seconds
Powered by Kunena Forum