StepperOnline A6 Servo

More
10 months 3 weeks ago #339830 by andrax
Replied by andrax on topic StepperOnline A6 Servo
See my post on page 6.The slave reports with a completely different configuration. I haven't changed anything; these are the factory settings. I now have two options: either I create a minimal configuration where I activate csp mode, or I do this directly via the servo or software.

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago #339854 by Hakan
Replied by Hakan on topic StepperOnline A6 Servo
Every slave must have its own configuration in the config xml file.
See example here.  github.com/dbraun1981/hal-cia402/blob/ma...le/ethercat-conf.xml

You must enter the config for the new drive.

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago #339856 by andrax
Replied by andrax on topic StepperOnline A6 Servo
Hi,

Here is my cthercAT.xml. 
When loading, I get an error saying that the pin lcec.0.A6.control-word already exists.
>EtherCAT pdos< gives me completely different addresses for the A6 400W.
0x6060 is not mapped:
It is possible that my XML has an error.
But how am I supposed to write an 8 (csp mode) to 0x6060 if it does not currently exist on the A 

File Attachment:

File Name: ethercat.xml
File Size:7.76 KB
6 400W?

Here is the excerpt from my post again:

A6 750W
=== Master 0, Slave 0 ===
SM0: PhysAddr 0x1000, DefaultSize  256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize  256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize   12, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x6060:00,  8 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
    PDO entry 0x60ff:00, 32 bit, ""
    PDO entry 0x607c:00, 32 bit, ""
    PDO entry 0x6098:00,  8 bit, ""
    PDO entry 0x6099:01, 32 bit, ""
    PDO entry 0x6099:02, 32 bit, ""
    PDO entry 0x609a:00, 32 bit, ""
SM3: PhysAddr 0x1c00, DefaultSize   28, ControlRegister 0x20, Enable 1
  TxPDO 0x1a00 ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6061:00,  8 bit, ""
    PDO entry 0x6064:00, 32 bit, ""
    PDO entry 0x606c:00, 32 bit, ""
    PDO entry 0x6077:00, 16 bit, ""

A6 400W
=== Master 0, Slave 1 ===
SM0: PhysAddr 0x1000, DefaultSize  256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize  256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize   12, ControlRegister 0x64, Enable 1
  RxPDO 0x1701 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
    PDO entry 0x60b8:00, 16 bit, ""
    PDO entry 0x60fe:01, 32 bit, ""
SM3: PhysAddr 0x1c00, DefaultSize   28, ControlRegister 0x20, Enable 1
  TxPDO 0x1b01 ""
    PDO entry 0x603f:00, 16 bit, ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6064:00, 32 bit, ""
    PDO entry 0x6077:00, 16 bit, ""
    PDO entry 0x60f4:00, 32 bit, ""
    PDO entry 0x60b9:00, 16 bit, ""
    PDO entry 0x60ba:00, 32 bit, ""
    PDO entry 0x60bc:00, 32 bit, ""
    PDO entry 0x60fd:00, 32 bit, ""

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago #339864 by andrax
Replied by andrax on topic StepperOnline A6 Servo
Edit:
i just realized that I probably have the same problem as @dschultz.
I just don't know how to switch to variable PDO mapping?

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.

More
10 months 3 weeks ago - 10 months 3 weeks ago #339875 by andrax
Replied by andrax on topic StepperOnline A6 Servo
 

File Attachment:

File Name: linuxcnc_error.txt
File Size:5.98 KB
Hi,

I have now created another configuration for 1 axis and tested it on each servo. Each servo is responsive and the pdo mapping is now correct. Now I have created the complete configuration and am getting the following error 
HAL: ERROR: duplicate variable 'lcec.0.A6.control-word'
LCEC: exporting pin lcec.0.A6.control-word failed
LCEC: failure in proc_init for slave 0.A6

Where am I going wrong?
 

File Attachment:

File Name: Andres_Frse.ini
File Size:4.24 KB

File Attachment:

File Name: ethercat_2...2-08.xml
File Size:8.15 KB

File Attachment:

File Name: Andres_Frse.hal
File Size:7.97 KB
Last edit: 10 months 3 weeks ago by andrax.

Please Log in or Create an account to join the conversation.

More
10 months 3 weeks ago - 10 months 3 weeks ago #339901 by nichtAlex
Replied by nichtAlex on topic StepperOnline A6 Servo
The four driver slaves all have the same names within the XML file.

<slave idx="0" type="generic" vid="00400000" pid="00000715" configPdos="true" name="A6">

You need to change the 'name="A6"' parts to something like:

name="A6X" 
name="A6Y1"
name="A6Y2"
name="A6Z"

You also need to change the pins inside the halfile accordingly:

lcec.0.A6X.control-word
lcec.0.A6Y1.control-word
lcec.0.A6Y2.control-word
lcec.0.A6Z.control-word
Last edit: 10 months 3 weeks ago by nichtAlex.
The following user(s) said Thank You: andrax

Please Log in or Create an account to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum