Advanced Search

Search Results (Searched for: )

  • ihavenofish
  • ihavenofish
05 Mar 2025 20:52
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

thanks!
this is what i assumed but did not know where to start. will try shortly.

im just poking this as i do other work so its taking a while :)
  • rodw
  • rodw's Avatar
05 Mar 2025 20:47

New ethercat / probe basic control for minimonster

Category: CNC Machines

Ooops, you probably need the Ethercat xml too
  • rodw
  • rodw's Avatar
05 Mar 2025 20:42

New ethercat / probe basic control for minimonster

Category: CNC Machines

Well now you need to write your hal file 
Once you have motion, just start with one feature at  time eg. estop, then homing, coolant/mist, then spindle.
I normally work in axis until I have the basics worked out before going to another GUI.
Here is my Ethercat mill config. Main thing here is there are some belts on the spindle so I have  a component to scale the speed correctly.
It uses standard Linuxcnc homing with home sensors on all axes
 
  • Beovoxo
  • Beovoxo
05 Mar 2025 20:10
Replied by Beovoxo on topic 2 Encoders per axis ?

2 Encoders per axis ?

Category: EtherCAT

Thank you :) i didn't know witch direction i would go.. but now i have a idear :)
  • Tim1
  • Tim1
05 Mar 2025 19:54

LinuxCNC using Ethercat on Raspberry Pi5 controlling Stepperonline A6 Servo

Category: EtherCAT

Hi I can't get the servo drive from SAFEOP to OP mode due "EtherCAT ERROR 0-0: AL status message 0x001B: "Sync manager watchdog""

cnc@raspberrypi:~$ sudo ethercat state INIT
cnc@raspberrypi:~$ sudo ethercat state PREOP
cnc@raspberrypi:~$ sudo ethercat state SAFEOP
cnc@raspberrypi:~$ sudo ethercat state OP
cnc@raspberrypi:~$ sudo ethercat slaves -v
=== Master 0, Slave 0 ===
Device: Main
State: SAFEOP
Flag: +
Identity:
  Vendor Id:       0x00400000
  Product code:    0x00000760
  Revision number: 0x00005608
  Serial number:   0x00000000
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, 64 bit
  DC system time transmission delay: 0 ns
Port  Type  Link  Loop    Signal  NextSlave  RxTime [ns]  Diff [ns]   NextDc [ns]
   0  MII   up    open    yes             -   3079639242           0           0
   1  MII   down  closed  no              -            -           -           -
   2  N/A   down  closed  no              -            -           -           -
   3  N/A   down  closed  no              -            -           -           -
Mailboxes:
  Bootstrap RX: 0x0000/0, TX: 0x0000/0
  Standard  RX: 0x1000/256, TX: 0x1400/256
  Supported protocols: CoE, FoE
General:
  Group: AC Servo Driver
  Image name: 
  Order number: ANCTL AS760N Servo Driver
  Device name: AS760N_sAxis_V0.10
  CoE details:
    Enable SDO: yes
    Enable SDO Info: no
    Enable PDO Assign: yes
    Enable PDO Configuration: yes
    Enable Upload at startup: no
    Enable SDO complete access: no
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 0 mA


cnc@raspberrypi:~$ dmesg | tail -20
[ 9664.358899] EtherCAT ERROR 0-0: SDO download 0x1C32:01 (2 bytes) aborted.
[ 9664.358905] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9664.358907] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9664.402879] EtherCAT ERROR 0-0: SDO download 0x1C33:01 (2 bytes) aborted.
[ 9664.402886] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9664.402889] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9760.555095] EtherCAT ERROR 0-0: SDO download 0x1C12:01 (2 bytes) aborted.
[ 9760.555100] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9760.555102] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9760.595087] EtherCAT ERROR 0-0: SDO download 0x1C13:01 (2 bytes) aborted.
[ 9760.595094] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9760.595097] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9865.955283] EtherCAT 0: Slave states on main device: INIT.
[ 9872.951304] EtherCAT WARNING 0-0: Aborting SDO request, slave is in INIT.
[ 9872.967344] EtherCAT WARNING 0-0: Aborting SDO request, slave is in INIT.
[13760.889546] EtherCAT 0: Slave states on main device: PREOP.
[13765.925570] EtherCAT 0: Slave states on main device: SAFEOP.
[13782.411825] EtherCAT ERROR 0-0: Failed to set OP state, slave refused state change (SAFEOP + ERROR).
[13782.411909] EtherCAT ERROR 0-0: AL status message 0x001B: "Sync manager watchdog".
[13782.412843] EtherCAT 0-0: Acknowledged state SAFEOP
  • Sternfox
  • Sternfox
05 Mar 2025 19:52

7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB

Category: Driver Boards

I have just purchased a amazon bob. It looks similar to the one you mentioned. As far as I understand most of them have the same pins on the db25 port.
  • PCW
  • PCW's Avatar
05 Mar 2025 19:51
Replied by PCW on topic X axis following Y axis

X axis following Y axis

Category: Advanced Configuration

For just a straight cut-off operation I think this is doable in hal.
(the unroll is done in hal, then the cut-off is just at the beginning of the Gcode)

If you want diagonal or other fancier cuts that gets trickier. I also expect that
the unroll operation would be less accurate than normal joint motions and
possibly unidirectional. It also needs to rehome when done.

 
  • PCW
  • PCW's Avatar
05 Mar 2025 19:12 - 05 Mar 2025 19:13
Replied by PCW on topic Lathe spindle index only?

Lathe spindle index only?

Category: Basic Configuration

It has been done (using interpolated position) but depends on very good
speed control of the spindle vs load, since you are essentially "flying blind"
for 1 whole turn.

With the software encoder you would connect the external index pin
to both 'A' and 'index' of the encoder component and set the encoder
component to counter mode.

A small improvement to deal with just one sensor would be to have a 1/2 disk
so you can get 2 counts per turn.
  • my1987toyota
  • my1987toyota's Avatar
05 Mar 2025 19:05
Replied by my1987toyota on topic Hurricane Milton

Hurricane Milton

Category: Off Topic and Test Posts

Keep us updated, if possible, and take care.
 

+1
  • Aciera
  • Aciera's Avatar
05 Mar 2025 19:00
Replied by Aciera on topic Lathe spindle index only?

Lathe spindle index only?

Category: Basic Configuration

An index pulse alone is not enough you also need a pulse train signal like an encoder channel to track the spindle velocity:
linuxcnc.org/docs/html/examples/spindle.html
  • vre
  • vre
05 Mar 2025 18:59
Replied by vre on topic X axis following Y axis

X axis following Y axis

Category: Advanced Configuration

Can roller with 0-10v inverter be V axis for example and unrolling handled in gcode?
Any better appproach?
  • Aciera
  • Aciera's Avatar
05 Mar 2025 18:49
Replied by Aciera on topic Unser Plasmatisch “Hevy-Metal

Unser Plasmatisch “Hevy-Metal

Category: Show Your Stuff

Moved the post with the second batch of images in here.
  • PCW
  • PCW's Avatar
05 Mar 2025 18:42
Replied by PCW on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Yes, you don't need the hal encoder comp at all and unless you have a base thread
(not practical with an Ethernet connected device), the hal component will be quite slow.
  • NT4Boy
  • NT4Boy
05 Mar 2025 18:40 - 05 Mar 2025 18:40
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Oh dear..My poor old brain.
So, the MPG is connected to the correct pins, but the input designation I should be using is perhaps hm2_7i92.0.7i73.0.2.enc0.count to get access to the high speed values?

So take the encoder count stuff out of the hal thread and instead couple
net mpg-out ilowpass.0.in <= hm2_7i92.0.7i73.0.2.enc0.count
  • TangentAudio
  • TangentAudio
05 Mar 2025 18:24 - 05 Mar 2025 18:25
Replied by TangentAudio on topic Commander SK VFD

Commander SK VFD

Category: General LinuxCNC Questions

I doubt this is all that helpful, but I did write a custom VFD module for a Commander SK over RS485/modbus, about a dozen years ago (for LinuxCNC 2.6 .. ancient stuff).  Here is the code, in case there's any value for you:

github.com/tangentaudio/cmdrsk_vfd

I'm going to revamp that machine soon and I most likely would choose one of the methods you're thinking about rather than stick with a custom component.
 
Displaying 15151 - 15165 out of 20809 results.
Time to create page: 0.314 seconds
Powered by Kunena Forum