Ethercat HAL driver

More
5 years 8 months ago #198950 by db1981
Replied by db1981 on topic Ethercat HAL driver
ok, i understand.

Indraworks and Twincat is running on the same PC? The ethercat par file has been created after you connected twincat to the drive?

your steps at the moment are:
-power up the drive
-connect to twincat, start twincat
-conncet to the linux PC
-start linuxcnc , drives goes op?

-without the twincat step, the drive stays safeop or preop ?


please post your (linuxcnc) ethercat_conf.xml

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

More
5 years 8 months ago - 5 years 8 months ago #198952 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver

db1981 wrote: ok, i understand.

Indraworks and Twincat is running on the same PC? The ethercat par file has been created after you connected twincat to the drive?

your steps at the moment are:
-power up the drive
-connect to twincat, start twincat
-conncet to the linux PC
-start linuxcnc , drives goes op?

-without the twincat step, the drive stays safeop or preop ?


please post your (linuxcnc) ethercat_conf.xml


Indraworks and Twincat is running on the same PC?
Yes Indraworks and TwinCAT are running on the same PC/Windows installation LinuxCNC on the same Machine on a Stand alone installation.

The ethercat par file has been created after you connected twincat to the drive?
The HCS01.1E_W0009_mpb20v26_ethercat.par was created after the TwinCAT connection to the drive.

The HCS01.1E_W0009_mpb20v26_eth.par was created after the the initial Setup to the drive, but before TwinCAT interference.

My steps at the moment are:

-Setup the drive, do the Scaling and Initial Setup in Indraworks over Ethernet. (only once)
-Change the MasterCommunication to EtherCAT COE (only once)
-Restart the Drive start TwinCAT --> Scan for boxes --> Configure PDO´s --> activate Configuration (only once)
-Restart PC load LinuxCNC --> Start LinuxCNC Clear E-Stop & Enable the Machine --> Drive goes from INIT-->SafeOP-->PO-->OP
-Jog the Drive with false Scaling (Changing the Scaling in HAL file leads to F2037 Excessive position command difference


Without TwinCAT step the Drive stays in INIT-State

File Attachment:

File Name: ethercat_r...2021.xml
File Size:3.12 KB
Last edit: 5 years 8 months ago by jc2ktr. Reason: Edit

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

More
5 years 8 months ago #198953 by db1981
Replied by db1981 on topic Ethercat HAL driver
are you able to use indraworks after the step
-Change the MasterCommunication to EtherCAT COE ,-Drive restart ?

If yes, please post an parameter file after this, before the use of twincat.

at the moment its not 100% clear for me, why twincat is necessary for PDO config.
The following user(s) said Thank You: jc2ktr

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

More
5 years 8 months ago #198954 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver

db1981 wrote: are you able to use indraworks after the step
-Change the MasterCommunication to EtherCAT COE ,-Drive restart ?

If yes, please post an parameter file after this, before the use of twincat.

at the moment its not 100% clear for me, why twincat is necessary for PDO config.


Yes i can use IndraworksDS after Change but i only if TwinCAT is in run state, only then i can Connect to the drive.

I will try tomorrow if i get somehow the connection to the drive without TwinCAT running, maybe it is somehow possible.

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

More
5 years 8 months ago #198956 by db1981
Replied by db1981 on topic Ethercat HAL driver
ok, don't try this will not work. Twincat sets an EoE Gateway for the ethernet communication through ethercat.

Please explain your step -Configure PDOs , are there no pdo's listet after the box scan?

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

More
5 years 8 months ago - 5 years 8 months ago #198958 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver

db1981 wrote: ok, don't try this will not work. Twincat sets an EoE Gateway for the ethernet communication through ethercat.

Please explain your step -Configure PDOs , are there no pdo's listet after the box scan?


After Changing the MasterCommunication to Ethercat there are 2 pairs of PDO´s preconfigured, this is preconfigured from IndraworksDS.

see Attachments

I reconfigured the PDO´s to get more options like this:

Last edit: 5 years 8 months ago by jc2ktr. Reason: Edit

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

Time to create page: 0.240 seconds
Powered by Kunena Forum