asd-a2-e ... lcec driver?

More
3 years 4 weeks ago #282302 by bkt
Replied by bkt on topic asd-a2-e ... lcec driver?
I read lcec_deasda.c file.... seems was set for CSV only and not possible set for CSP mode ....
Code:
static ec_pdo_entry_info_t lcec_deasda_in[] = {    {0x6041, 0x00, 16}, // Status Word    {0x606C, 0x00, 32}, // Current Velocity    {0x6064, 0x00, 32}, // Current Position    {0x2511, 0x00, 32}  // external encoder }; static ec_pdo_entry_info_t lcec_deasda_out[] = {    {0x6040, 0x00, 16}, // Control Word    {0x60FF, 0x00, 32}  // Target Velocity }; static ec_pdo_info_t lcec_deasda_pdos_out[] = {     {0x1602,  2, lcec_deasda_out} }; static ec_pdo_info_t lcec_deasda_pdos_in[] = {     {0x1a02, 4, lcec_deasda_in} }; static ec_sync_info_t lcec_deasda_syncs[] = {     {0, EC_DIR_OUTPUT, 0, NULL},     {1, EC_DIR_INPUT,  0, NULL},     {2, EC_DIR_OUTPUT, 1, lcec_deasda_pdos_out},     {3, EC_DIR_INPUT,  1, lcec_deasda_pdos_in},     {0xff} };

there are not code for pdo idx=1600 and pdo idx 1a00 ..... so only cyclic position mode is possible with these drive .... ok .... previously think was possible set somethings .... my error

It would be interesting to create the drive for position mode with PDO 1600 and 1A00 ... even just to learn.
 

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

More
3 years 4 weeks ago #282303 by bkt
Replied by bkt on topic asd-a2-e ... lcec driver?
IN SUMMARY:

lcec_deasda driver admit to work only in Cyclic synchronous velocity mode --- WARNING NO OTHER MODE ---

For First dowload ASDA_soft on windows, connect motor to drive, connect usb to asda drive, connect and than go to Tuning for autotuning of motor .... after these you can moove something and see encoder feedback (not possible whitout these step).

After go to link shared from jjdege: github.com/liuzq71/LinuxCNC-ASDA-A2-E/blob/master/README.md Build siitool from source $ git clone github.com/synapticon/siitool.git $ make$ sudo make install Write EEPROM for ASDA-A2-E nat@linuxcnc:~/siitool/delta$sudo ethercat -p0 sii_write Delta-asda.binnat@linuxcnc:~/siitool/delta$sudo ethercat rescannat@linuxcnc:~/siitool/delta$sudo ethercat slave Config ASDA-A2-E Driver Use ASDA_soft write parameter from file ASDA-A2-E Servo_Ethercat.par


AFTER you can use delta asda-a2-E only in Cyclic synchronous velocity mode --- WARNING NO OTHER MODE ---

regards
The following user(s) said Thank You: Beovoxo

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

More
3 years 4 weeks ago - 3 years 4 weeks ago #282317 by jjdege
Replied by jjdege on topic asd-a2-e ... lcec driver?
Sorry....
-solved-
Last edit: 3 years 4 weeks ago by jjdege.

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

More
3 years 3 weeks ago #282354 by bkt
Replied by bkt on topic asd-a2-e ... lcec driver?
.... I supposed deasda driver work with all pdos configuration .... but in not the trought .... so for how can have doubt for the future and search on forum, for first can read warnong at start of post ..... and can decide fastly if possible use delta driver or not.... in my case try to build other driver with position mode, instead velocity ..... if not success I use velocity as command ..... think was an interesting self learning experiment.

regards and thanks for your help

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

More
2 years 7 months ago - 2 years 7 months ago #295736 by Sakhalin_Cat
Hi.
I set up my machine and everything worked for me, but there is a small problem: The direction of movement of the X-Axis is not up to standard.
Please tell me how to change the direction of movement of an axis on a machine? How to swap + and - places? The machine is assembled on an ASD-A2 EtherCat. System LinuxCNC 2.9.2.
I tried to configure the change using scale using the following code:
Code:
net x-vel-cmd    =>  scale.3.in setp scale.3.gain -1 net x-vel-cmd-DAC  scale.3.out  =>  lcec.0.X.srv-vel-cmd
and changing the .ini
Code:
ENCODER_SCALE = -1
but the machine goes crazy and does not work normally.
Last edit: 2 years 7 months ago by Sakhalin_Cat.

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

More
2 years 7 months ago #295737 by rodw
Replied by rodw on topic asd-a2-e ... lcec driver?
There should be a SDO setting that tells the drive which direction to travel for positive travel. Consult your docs.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum