StepperOnline A6 Servo
- dschultz
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
08 Jan 2025 03:51 - 09 Jan 2025 12:52 #318376
by dschultz
StepperOnline A6 Servo was created by dschultz
Hello, I'm currently retrofitting a cnc router that I build a couple years ago and switching to EtherCAT AC servos.
The specific model is StepperOnline A6 400watt.At the moment, I'm trying to get one drive up and working and not having luck getting a motor turning.I installed a fresh copy of LinuxCNC 2.9.3 per the sticky by RodW and that side of it is working fine.
I'm also able to see the slave, pdos, etc by using the ethercat command in the terminal.My problem is I can't get the drive to go into operation mode and hold/turn the motor.It goes through init mode but stays on preop mode.
I've attached the relevant files (hopefully) here if someone can help?Thanks!
The specific model is StepperOnline A6 400watt.At the moment, I'm trying to get one drive up and working and not having luck getting a motor turning.I installed a fresh copy of LinuxCNC 2.9.3 per the sticky by RodW and that side of it is working fine.
I'm also able to see the slave, pdos, etc by using the ethercat command in the terminal.My problem is I can't get the drive to go into operation mode and hold/turn the motor.It goes through init mode but stays on preop mode.
I've attached the relevant files (hopefully) here if someone can help?Thanks!
Last edit: 09 Jan 2025 12:52 by dschultz.
Please Log in or Create an account to join the conversation.
- rodw
-
- Online
- Platinum Member
-
Less
More
- Posts: 10965
- Thank you received: 3642
08 Jan 2025 06:35 #318380
by rodw
Replied by rodw on topic StepperOnline A6 Servo
looks like you have the order of the read_all and write_all wrong.(lcec should be first and last) but not sure if that's what has broken it.
The following user(s) said Thank You: dschultz
Please Log in or Create an account to join the conversation.
- dschultz
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
09 Jan 2025 12:48 #318537
by dschultz
Replied by dschultz on topic StepperOnline A6 Servo
Success!
I believe the real issue was the drive didn't like the PDOS I had in the xml.
Even though my original settings were one of the "Fixed PDO mapping" options from the manual (1704 & 1B02).
Anyway, I switched it to the "Variable PDO mapping" 1600 & 1A00 and the drive goes to OP mode and comes alive when I enable the machine!
Has anyone had success with setting up the CIA402 homing mode?
I believe the real issue was the drive didn't like the PDOS I had in the xml.
Even though my original settings were one of the "Fixed PDO mapping" options from the manual (1704 & 1B02).
Anyway, I switched it to the "Variable PDO mapping" 1600 & 1A00 and the drive goes to OP mode and comes alive when I enable the machine!
Has anyone had success with setting up the CIA402 homing mode?
Please Log in or Create an account to join the conversation.
- Martin.L
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 1
09 Jan 2025 19:14 #318562
by Martin.L
Replied by Martin.L on topic StepperOnline A6 Servo
Related question on these servo drivers, I have noticed that they share the same .xml file in the download section (Link below) for any power from 100W to 1 Kw. The settings for LCNC are all the same for any model of servo driver? where can I find info to understand what's inside this .xml file?
www.omc-stepperonline.com/index.php?rout...E_A6_Servo_V0.04.xml
www.omc-stepperonline.com/index.php?rout...E_A6_Servo_V0.04.xml
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 544
- Thank you received: 176
09 Jan 2025 22:13 #318582
by Hakan
Replied by Hakan on topic StepperOnline A6 Servo
They may not be exactly the same in every aspect, but when they are cia402 devices they do have the same (subset of) pdo numbers and functions.
That xml file is an ESI file, ethercat slave information. Linuxcnc doesn't use it. The same information can be read from the slave, try ethercat sdos and ethercat pdos. That will list most of what's in that file. You need to join the ethercat technology group to get access to documents describing the esi file. For an explanation of sdos and pdos of your drive, the manual of course.
That xml file is an ESI file, ethercat slave information. Linuxcnc doesn't use it. The same information can be read from the slave, try ethercat sdos and ethercat pdos. That will list most of what's in that file. You need to join the ethercat technology group to get access to documents describing the esi file. For an explanation of sdos and pdos of your drive, the manual of course.
Please Log in or Create an account to join the conversation.
- Martin.L
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 1
10 Jan 2025 04:55 #318614
by Martin.L
Replied by Martin.L on topic StepperOnline A6 Servo
Hi Hakan, thank you for the informations,
during the servo configuration there are a lot of parameter to tweak, are there any parameter that can fry the driver/motor?
during the servo configuration there are a lot of parameter to tweak, are there any parameter that can fry the driver/motor?
Please Log in or Create an account to join the conversation.
- MWalz
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
11 Jan 2025 12:15 #318688
by MWalz
Replied by MWalz on topic StepperOnline A6 Servo
Hello dschultz,
could you share your working configuration?
I have the same servo but are not able to switch it to OP mode.
Thanks!
could you share your working configuration?
I have the same servo but are not able to switch it to OP mode.
Thanks!
Please Log in or Create an account to join the conversation.
- dschultz
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
13 Jan 2025 18:28 #318878
by dschultz
Replied by dschultz on topic StepperOnline A6 Servo
These are basic with just the X axis.
Please Log in or Create an account to join the conversation.
- MWalz
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
13 Jan 2025 21:26 #318886
by MWalz
Replied by MWalz on topic StepperOnline A6 Servo
Thanks a lot, I can confirm your configuration works.
These are my first steps using ethercat. My mistake was that I added sdoConfig commands in the ethercat.xml to configure the PDO mapping like described in the servos manual.
Seems like it's sufficient to just add the pdoEntry's for the desired PDO mapping group and somehow it's configured automatically. By linuxcnc or the ethercat subsystem?
Maybe someone can comment/confirm this to avoid others making the same mistake.
These are my first steps using ethercat. My mistake was that I added sdoConfig commands in the ethercat.xml to configure the PDO mapping like described in the servos manual.
Seems like it's sufficient to just add the pdoEntry's for the desired PDO mapping group and somehow it's configured automatically. By linuxcnc or the ethercat subsystem?
Maybe someone can comment/confirm this to avoid others making the same mistake.
Please Log in or Create an account to join the conversation.
- bananun
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
28 Jan 2025 08:19 - 28 Jan 2025 12:42 #319983
by bananun
Replied by bananun on topic StepperOnline A6 Servo
Hi, so I'm a total noob regarding linuxcnc and servos, but hopefully someone here can help.
I got the A6 servos and I've set up a RPi5 with Ethercat. With your config I'm able to energise the servo (only one connected atm.) however I cant get it to move. If I try jogging it I immediately get an error "joint 0 following error" and a X symbol, and the servo de-energises. I get position readout in the DRO. I've tried increasing FERROR and MIN_FERROR a lot, then I don't get any errors but the servo wont move.
Thank you in advance!
I got the A6 servos and I've set up a RPi5 with Ethercat. With your config I'm able to energise the servo (only one connected atm.) however I cant get it to move. If I try jogging it I immediately get an error "joint 0 following error" and a X symbol, and the servo de-energises. I get position readout in the DRO. I've tried increasing FERROR and MIN_FERROR a lot, then I don't get any errors but the servo wont move.
Thank you in advance!
Last edit: 28 Jan 2025 12:42 by bananun.
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds