How ethercat contral a servo device spindle?
- Rabin
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 2
26 Jun 2023 03:31 #274218
by Rabin
How ethercat contral a servo device spindle? was created by Rabin
Has someone config a spindle using servo device?
I had debugged the XY_AXIS servo, Now them can correct used.
But i can't find some document or HAL or ethercat-config for spindle-axis (servo device + ethercat), someone can help me?
I had debugged the XY_AXIS servo, Now them can correct used.
But i can't find some document or HAL or ethercat-config for spindle-axis (servo device + ethercat), someone can help me?
Please Log in or Create an account to join the conversation.
- Rabin
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 2
26 Jun 2023 03:32 - 26 Jun 2023 03:35 #274219
by Rabin
Replied by Rabin on topic How ethercat contral a servo device spindle?
for picture
Last edit: 26 Jun 2023 03:35 by Rabin.
Please Log in or Create an account to join the conversation.
- deedee
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
05 Jul 2023 11:58 #274823
by deedee
Replied by deedee on topic How ethercat contral a servo device spindle?
Hi,
I have a xyz machine with a single spindle. The machine uses Beckhoff AX5000 drives (no cia402).
@db1981 provided this solution using stepgen in the halfile:
loadrt stepgen step_type=0 ctrl_type=v
...
addf stepgen.capture-position servo-thread
addf stepgen.make-pulses servo-thread
addf stepgen.update-freq servo-thread
...
net spindle-enable spindle.0.on => lcec.0.17_AX5203.ch0.srv-enable => stepgen.0.enable
setp stepgen.0.position-scale 1 //adjust to your needs....
net spindle-speed-cmd spindle.0.speed-cmd-rps => stepgen.0.velocity-cmd
net spindle-freq stepgen.0.position-fb => lcec.0.17_AX5203.ch0.srv-pos-cmd
The common M3/M4/M5 commands work, but I'm struggling setting up spindle orientation/M19.
I've not figured out which pins have to be connected to get this up an running. Attached all "my" available pins....
I have a xyz machine with a single spindle. The machine uses Beckhoff AX5000 drives (no cia402).
@db1981 provided this solution using stepgen in the halfile:
loadrt stepgen step_type=0 ctrl_type=v
...
addf stepgen.capture-position servo-thread
addf stepgen.make-pulses servo-thread
addf stepgen.update-freq servo-thread
...
net spindle-enable spindle.0.on => lcec.0.17_AX5203.ch0.srv-enable => stepgen.0.enable
setp stepgen.0.position-scale 1 //adjust to your needs....
net spindle-speed-cmd spindle.0.speed-cmd-rps => stepgen.0.velocity-cmd
net spindle-freq stepgen.0.position-fb => lcec.0.17_AX5203.ch0.srv-pos-cmd
The common M3/M4/M5 commands work, but I'm struggling setting up spindle orientation/M19.
I've not figured out which pins have to be connected to get this up an running. Attached all "my" available pins....
The following user(s) said Thank You: Rabin
Please Log in or Create an account to join the conversation.
- TimP
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 9
19 Nov 2023 13:41 #285895
by TimP
Replied by TimP on topic How ethercat contral a servo device spindle?
Hey sorry for off topic, but i need to ask since you also using Rtelligent drivers.
Have you had any problems with configuring those? I always get this error in dmesg. when start linuxcnc
Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[ 8399.083149] EtherCAT ERROR 0-0: AL status message 0x0025: "Invalid Output Mapping".
Have you had any problems with configuring those? I always get this error in dmesg. when start linuxcnc
Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[ 8399.083149] EtherCAT ERROR 0-0: AL status message 0x0025: "Invalid Output Mapping".
Please Log in or Create an account to join the conversation.
- Rabin
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 2
20 Dec 2023 08:18 #288652
by Rabin
Replied by Rabin on topic How ethercat contral a servo device spindle?
Hi, my project has been successful, and I will open source it on GitHub soon. I'm not sure if it will be helpful to you.
The following user(s) said Thank You: onceloved, TimP
Please Log in or Create an account to join the conversation.
- TimP
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 9
20 Dec 2023 08:30 #288654
by TimP
Replied by TimP on topic How ethercat contral a servo device spindle?
I have found problem, it was a cable leads incorrectly connected to driver. But still i would like to see your project on GitHub, thnx
Please Log in or Create an account to join the conversation.
- onceloved
- Offline
- Premium Member
Less
More
- Posts: 108
- Thank you received: 48
23 Dec 2023 08:48 #288871
by onceloved
Replied by onceloved on topic How ethercat contral a servo device spindle?
Can m19 spindle orientation be used?
Please Log in or Create an account to join the conversation.
- marq_torque
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 2
17 Aug 2024 08:19 #307993
by marq_torque
Replied by marq_torque on topic How ethercat contral a servo device spindle?
Hello Rabin,
I'm working for similar setup. XZ-C/Spindle Can you share your configuration example, It would be much helpful.
Thanks
I'm working for similar setup. XZ-C/Spindle Can you share your configuration example, It would be much helpful.
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds