- Posts: 15
- Thank you received: 0
How ethercat contral a servo device spindle?
3 years 4 months ago #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 to join the conversation.
3 years 4 months ago #274219
by Rabin
Replied by Rabin on topic How ethercat contral a servo device spindle?
for picture
Please Log in to join the conversation.
3 years 3 months ago #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....
Please Log in to join the conversation.
2 years 11 months ago #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 to join the conversation.
2 years 10 months ago #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.
Please Log in to join the conversation.
2 years 10 months ago #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 to join the conversation.
2 years 10 months ago #288871
by onceloved
Replied by onceloved on topic How ethercat contral a servo device spindle?
Can m19 spindle orientation be used?
Please Log in to join the conversation.
- marq_torque
- Offline
- Elite Member
-
Less
More
- Posts: 171
- Thank you received: 0
2 years 2 months ago #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 to join the conversation.
Time to create page: 0.097 seconds
