Advanced Search

Search Results (Searched for: )

  • emresensoy
  • emresensoy
23 Apr 2025 11:10
Replied by emresensoy on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

Thank you mr Hakan,
I added them,
  • fletch
  • fletch's Avatar
23 Apr 2025 10:36

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

As the image is a custom one, only the kernel is built from RPi Sources.
This pretty clear, I would have thought.


To one well versed in building distributions, yes, but not necessarily to one who has only used distributions! Not until now, anyway ;-)

Where as you were attempting to install headers from the Debian repo

 
I was but at that point, didn't realise the significance of the kernel being sourced from a different place to the base distribution.

The kernel should load the drivers without any user intervention.

 
It does now load on boot.

Thank you.
  • Grotius
  • Grotius's Avatar
23 Apr 2025 10:26
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Hi Tia,

It seems the .img won't work ok.

Today i tried the scurve + ethercat on a desktop pc and it runned ok.
It's using a EK1100 + 3x EL2124 on a stepgen component.
Jog speed was around 15000 mm/min wich i find not optimal, but ok for ethercat.

The config:
1x linuxcnc iso from : linuxcnc.org/downloads/
1x ethercat installation : ethercat install
1x linuxcnc + scurve, using makefile build system : codeberg.org/skynet/linuxcnc
1x linuxcnc-ethercat, codeberg.org/skynet/linuxcnc-ethercat.git

Running the config : config link

Now i can not try the cia-402 component myself as i dont have the hardware for it.
But maybe you are able to try this again.
  • unknown
  • unknown
23 Apr 2025 10:24

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

As the image is a custom one, only the kernel is built from RPi Sources.
This pretty clear, I would have thought.
Where as you were attempting to install headers from the Debian repo

The kernel should load the drivers without any user intervention.
  • jjdege
  • jjdege's Avatar
23 Apr 2025 10:21

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

can you desoldering and test this? or replacing it shouldn't cost too much.
 

I guess the culprit is that chip, I already tried to redo the soldering, but it was no use.
I have the first unusable board with two of those chips, I'll see what I can do, I've never unsoldered/soldered chips like that.
thanks
  • Hakan
  • Hakan
23 Apr 2025 10:14
Replied by Hakan on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

Then there is some other config error.
The drive should go to OP if you use cia402 or not. cia402 works in ethercat OP only, not in PREOP or INIT or any other,
so it should go to OP regardless if you use cia402 or not.
Can you post your hal file when using cia402?
  • DarkPhoinix
  • DarkPhoinix
23 Apr 2025 10:09 - 23 Apr 2025 10:11
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Thank you
it's not a configuration problem
I tried the procedure you described, but nothing changes

 

XYB works, ZC dir doesn't work, A doesn't work
it's a hardware problem.
Thanks

 

www.ti.com/lit/ds/symlink/sn74alvc164245...2Fwww.mouser.kr%252F
 
can you desoldering and test this? or replacing it shouldn't cost too much.
 
  • vre
  • vre
23 Apr 2025 09:39
Replied by vre on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

I have also some backlash to geartrain..
This will be problem for rigid tapping when tap goes backwards ?
If yes then must mount also encoder on spindle shaft..
  • andypugh
  • andypugh's Avatar
23 Apr 2025 09:09
Replied by andypugh on topic Is there a "no go zone" feature of any kind?

Is there a "no go zone" feature of any kind?

Category: General LinuxCNC Questions

I think that you could theoretically do this using a separate HAL component that monitors the joint positions and knows the tool length.
There are reasonably well-defined algorithms for "is this point inside this volume", so you would need to define your no-go volume (which sounds like it rotates...) and calculate the tool-tip position using the values from various HAL pins.

You could even, possibly, define a "skin" round the outside in which the adaprive feed ramps to zero, for a more easily-recovered stop.

For example the code here can tell whether a point is inside an STL file, and an STL file is easily generated by any 3D CAD package:
github.com/marmakoide/inside-3d-mesh
  • emresensoy
  • emresensoy
23 Apr 2025 09:04
Replied by emresensoy on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

with my current configuration I can make the drive ethercat OP state ,
and Ican track absolute encoder values,

with cia402, drive not goes to ethercat OP state, stay preop
  • Hakan
  • Hakan
23 Apr 2025 08:18
Replied by Hakan on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

It is obviously a cia402 drive.
Download and install the cia402 component.
See an example config here
github.com/dbraun1981/hal-cia402
  • H-S-W
  • H-S-W
23 Apr 2025 08:13 - 23 Apr 2025 11:42

Mesa CT 2.1.7 and Mesa 7I97T setup running Gmoccapy

Category: Configuration Tools

Hi! Beginner here doing a linuxcnc conversion on an Maho MH500 using a 7I97T and a Rpi5. Running Linuxcnc 2.10, Gmoccapy 3.4.9 and Mesa CT 2.1.7.

Connecting 7I97T "Output 0" to "E-stop Out" in the Mesa CT seems to connect "hm2_7i97.0.ssr.00.out-00 <== estop-loopback". I also have a external E-stop connected which seems to behave as predicted, when pressed Gmoccapy E-stop responds and is unable to release until the external has been. 

looking at the estop-loopback in halshow i can never get it to change state..? shouldn't it as soon as i've released the E-Stop in Gmoccapy?

INI
[MESA]
VERSION = 2.1.7
BOARD = 7i97
BOARD_NAME = 7i97t
FIRMWARE = 7i97t_d.bin
CARD_0 = None
CARD_1 = None

[EMC]
VERSION = 1.1
MACHINE = FIRST_SETUP
DEBUG = 0x00000000

[HM2]
DRIVER = hm2_eth
ADDRESS = 10.10.10.10

[DISPLAY]
DISPLAY = gmoccapy
EDITOR = geany
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
POSITION_OFFSET = MACHINE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
MIN_LINEAR_VELOCITY = 0.0
DEFAULT_LINEAR_VELOCITY = 2.0
MAX_LINEAR_VELOCITY = 5.0
CYCLE_TIME = 0.1
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 0
OPEN_FILE = ""

[KINS]
KINEMATICS = trivkins coordinates=XYZ
JOINTS = 3

[EMCIO]
EMCIO = iov2
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[RS274NGC]
PARAMETER_FILE = parameters.var
SUBROUTINE_PATH = /home/cnc/linuxcnc/subroutines

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
MAX_LINEAR_VELOCITY = 33.0
NO_FORCE_HOMING = 1

[HAL]
HALFILE = main.hal
HALFILE = io.hal
HALUI = halui

[HALUI]

[AXIS_X]
MIN_LIMIT = 0
MAX_LIMIT = 490
MAX_VELOCITY = 66
MAX_ACCELERATION = 75

[JOINT_0]
CARD = 0
TAB = 0
AXIS = X
MIN_LIMIT = 0
MAX_LIMIT = 490
MAX_VELOCITY = 66
MAX_ACCELERATION = 75
TYPE = LINEAR
SCALE = -1
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = -2000
FERROR = 3
MIN_FERROR = 1
DEADBAND = 0.00025
P = 0.45
I = 0
D = 0
FF0 = 0
FF1 = 0.0134
FF2 = 0.0001
BIAS = 0
MAX_OUTPUT = 10
MAX_ERROR = 25
HOME_SEARCH_VEL = -8
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 3
HOME_SEQUENCE = 0
HOME_USE_INDEX = True

[AXIS_Y]
MIN_LIMIT = 0
MAX_LIMIT = 335
MAX_VELOCITY = 66
MAX_ACCELERATION = 75

[JOINT_1]
CARD = 0
TAB = 1
AXIS = Y
MIN_LIMIT = 0
MAX_LIMIT = 335
MAX_VELOCITY = 66
MAX_ACCELERATION = 75
TYPE = LINEAR
SCALE = 1
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = 2000
FERROR = 3
MIN_FERROR = 1
DEADBAND = 0.00025
P = 0.45
I = 0
D = 0
FF0 = 0
FF1 = 0.0134
FF2 = 0.0001
BIAS = 0
MAX_OUTPUT = 10
MAX_ERROR = 25
HOME_SEARCH_VEL = -8
HOME_LATCH_VEL = -1
HOME_FINAL_VEL = 3
HOME_SEQUENCE = 1
HOME_USE_INDEX = True

[AXIS_Z]
MIN_LIMIT = -320
MAX_LIMIT = 0
MAX_VELOCITY = 33
MAX_ACCELERATION = 75

[JOINT_2]
CARD = 0
TAB = 2
AXIS = Z
MIN_LIMIT = -320
MAX_LIMIT = 0
MAX_VELOCITY = 33
MAX_ACCELERATION = 75
TYPE = LINEAR
SCALE = 0.5
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = 2000
FERROR = 3
MIN_FERROR = 1
DEADBAND = 0.00025
P = 0.45
I = 0
D = 0
FF0 = 0
FF1 = 0.0134
FF2 = 0.0001
BIAS = 0
MAX_OUTPUT = 10
MAX_ERROR = 25
HOME_SEARCH_VEL = 6
HOME_LATCH_VEL = 1
HOME_FINAL_VEL = 3
HOME_SEQUENCE = 2
HOME_USE_INDEX = True

[INPUTS]
# DO NOT change the inputs they are used by the configuration tool
INPUT_0_0 = E Stop 0
INPUT_INVERT_0_0 = False
INPUT_SLOW_0_0 = False

[OUTPUTS]
# DO NOT change the outputs they are used by the configuration tool
OUTPUT_0_1 = Spindle CW
OUTPUT_INVERT_0_1 = False
OUTPUT_0_2 = Spindle CCW
OUTPUT_INVERT_0_2 = False
OUTPUT_0_3 = Coolant Flood
OUTPUT_INVERT_0_3 = False
OUTPUT_0_4 = Tool Change
OUTPUT_INVERT_0_4 = False
OUTPUT_0_0 = E-Stop Out
OUTPUT_INVERT_0_0 = False

[OPTIONS]
# DO NOT change the options they are used by the configuration tool
LOAD_CONFIG = True
INTRO_GRAPHIC = emc2.gif
INTRO_GRAPHIC_TIME = 0
MANUAL_TOOL_CHANGE = True
CUSTOM_HAL = False
POST_GUI_HAL = False
SHUTDOWN_HAL = False



io.hal
# Inputs

# E-Stop Chain
loadrt estop_latch count=1
addf estop-latch.0 servo-thread

# E-Stop Loop
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-loopout estop-latch.0.ok-out => iocontrol.0.emc-enable-in

# E-Stop Reset
net estop-reset iocontrol.0.user-request-enable
net estop-reset => estop-latch.0.reset
net remote-estop0 estop-latch.0.fault-in <= hm2_7i97.0.inmux.00.input-00

# Outputs
net estop-loopback => hm2_7i97.0.ssr.00.out-00
net spindle-cw spindle.0.forward => hm2_7i97.0.ssr.00.out-01
net spindle-ccw spindle.0.reverse => hm2_7i97.0.ssr.00.out-02
net flood-output iocontrol.0.coolant-flood => hm2_7i97.0.ssr.00.out-03




/Hampus
  • fletch
  • fletch's Avatar
23 Apr 2025 08:05

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Thank you very much for your replies. I did read all of this thread (all 7 pages!) but didn't quite make the connection that the linux-headers would be named differently for rpi. I've used the 'sudo apt install linux-headers-$(uname -r)' a fair few times in the past but it's the first time I've noticed a mismatch between uname and the installed headers. Every day is a learning opportunity - even with a Bank Holiday brain.

I also did try just plugging the dongle in but according to this the drivers are not merged into the kernel until 6.13. The WiFi in my workshop is pretty weak - my NUC with two antennas struggles to with signal from the AP - I suspect the foil faced insulation board is creating a bit of a Faraday cage. And it's the ISP supplied router/AP at that end.

Once I'd 'discovered' the headers were already installed, I did the Basic Installation for All Distros and success!

For anyone else following along, the RTL8811AU chipset requires the rtw_8821au driver to be loaded (modprobe'd) as per this issue .

Thanks again, much appreciated.
 
  • emresensoy
  • emresensoy
23 Apr 2025 08:01
Replied by emresensoy on topic EtherCAT Servo cannot set to OP state

EtherCAT Servo cannot set to OP state

Category: EtherCAT

I have similiar problem with this,
My configuraton has 1 VEICHI sd700 servo drive and 1 8I 8O digital IO card,
IO card working no problem,
Servo drive's encoder position is also working, I can see the encoder pos value changes  when control is not enabled and I turn the motor by myself
But when I enable machine, servo drive not goes to enable state,

could you please help to me?
  • jjdege
  • jjdege's Avatar
23 Apr 2025 06:48 - 23 Apr 2025 06:51

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Thank you
it's not a configuration problem
I tried the procedure you described, but nothing changes

 

XYB works, ZC dir doesn't work, A doesn't work
it's a hardware problem.
Thanks
Displaying 1726 - 1740 out of 26439 results.
Time to create page: 0.296 seconds
Powered by Kunena Forum