Stepperonline A6-1000EC driver
- russkinch
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 80
- Thank you received: 1
01 Sep 2025 11:14 #334221
by russkinch
Stepperonline A6-1000EC driver was created by russkinch
Hi again. I have sorted the power issue (manual was no help at all). Now, I have it set to Linuxcnc using ethercat. It is all communication etc. I want to run the servo as a spindle motor so just have the target-velocity (60FE). How do I create the 'pins' to tell the drive to turn at say 1000rpm with an M3 command is given. I have done the many times using a VFD (much easier but space and weight limits force me to use a servo).
I am soooo out of my depth here, any help is always hugely appreciated. (I have already looked through the various threads and found no help after hours of scrolling)
I am soooo out of my depth here, any help is always hugely appreciated. (I have already looked through the various threads and found no help after hours of scrolling)
Please Log in or Create an account to join the conversation.
- Rookie0
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 3
01 Sep 2025 11:44 #334222
by Rookie0
hope it helps.
Replied by Rookie0 on topic Stepperonline A6-1000EC driver
# spindle.hal
# use cia402 comp. link: https://github.com/dbraun1981/hal-cia402
loadrt cia402 names=cia-s
addf cia-s.read-all servo-thread
addf cia-s.write-all servo-thread
# value = resolution_servo_encoder ÷ 60
# if gearbox exists, then * reduction_ratio(input:ouput)
setp cia-s.velo-scale 800
net s-statusword <= lcec.0.N.cia-statusword => cia-s.statusword
net s-opmode-display <= lcec.0.N.opmode-display => cia-s.opmode-display
net s-drv-act-velo <= lcec.0.N.actual-velocity => cia-s.drv-actual-velocity
net s-controlword <= cia-s.controlword => lcec.0.N.cia-controlword
net s-opmode <= cia-s.opmode => lcec.0.N.opmode
net s-drv-target-velo <= cia-s.drv-target-velocity => lcec.0.N.target-velocity
net s-enable <= spindle.0.on => cia-s.enable
net s-velo-fb <= cia-s.velocity-fb => spindle.0.speed-in
net s-velo-cmd <= spindle.0.speed-out => cia-s.velocity-cmd
hope it helps.
Please Log in or Create an account to join the conversation.
- russkinch
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 80
- Thank you received: 1
01 Sep 2025 13:54 #334229
by russkinch
Replied by russkinch on topic Stepperonline A6-1000EC driver
I am not sure. I am attaching my xml file which I created from a thread online. I also did am xml using ethercat, but they are different.
Please Log in or Create an account to join the conversation.
- russkinch
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 80
- Thank you received: 1
01 Sep 2025 15:23 #334233
by russkinch
Replied by russkinch on topic Stepperonline A6-1000EC driver
Hi, I now have a type mismatch between :
net s-drv-target-velo <= cia-s.drv-target-velocity => lcec.0.A6.target-velocity
I am at my wits end now.
net s-drv-target-velo <= cia-s.drv-target-velocity => lcec.0.A6.target-velocity
I am at my wits end now.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23517
- Thank you received: 5002
03 Sep 2025 12:29 #334341
by andypugh
Replied by andypugh on topic Stepperonline A6-1000EC driver
S32 seems like an unusual choice for a velocity HAL pin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds