Ethercat HAL driver

More
11 years 4 months ago #59645 by a60081
Replied by a60081 on topic Ethercat HAL driver
I mean that the function ecrt_master_create_domain(master->master) wii create only one domain for one slave.

The Yaskawa motor I used need to allocate two domains memory for PDO RX&TX(cannot put it together.)

Ex: register PDO entries
ecrt_domain_reg_pdo_entry_list(master->domain, master->pdo_entry_regs)
need to edit likes:
ecrt_domain_reg_pdo_entry_list(master->domain1, master->pdo_entry_regs1)
ecrt_domain_reg_pdo_entry_list(master->domain2, master->pdo_entry_regs2)

so I need to create two domains and two pdo_entry_regs....
More
11 years 4 months ago #59657 by narogon
Replied by narogon on topic Ethercat HAL driver
You are right. I have been reading about yaskawa drives and they need two domains.

Sorry for my earlier answer.

I suppose Sascha or Roschi could help you reprogramming the parser
The following user(s) said Thank You: a60081
More
11 years 4 months ago #59693 by cgc
Replied by cgc on topic Ethercat HAL driver

I have been reading about yaskawa drives and they need two domains

Where do you find that?
What is the motor type that you will use?

You can install TwinCat3 for evaluation (Windows), than scan the bus and you see the registers. Than use this information to write the .xml (Linux)
The following user(s) said Thank You: Nico2017
More
11 years 4 months ago #59696 by sascha
Replied by sascha on topic Ethercat HAL driver
Currently we are using just one domain per master and certainly we could change that. The question is how could this meaningful implement in the configuration file. I could think about additional attributes "txDomain" and "rxDomain" per slave, which defaults to "default" and could be set to any name. If a domain with that name does not already exists, it will be created dynamically. But I'm not sure if that is the correct way. Could you point me to some docs about this yaskawa issue? Why are separate domains for RX/TX nedded?
More
11 years 4 months ago - 11 years 4 months ago #60038 by serdigi
Replied by serdigi on topic Ethercat HAL driver
Thank you everbody...
Last edit: 11 years 4 months ago by serdigi.
More
11 years 3 months ago #60638 by narogon
Replied by narogon on topic Ethercat HAL driver
3 videos of my machine running

Servodrives OMRON R88D-KN02H-ECT
Beckhoff EL1014, EL3102





Time to create page: 0.250 seconds
Powered by Kunena Forum