Ethercat HAL driver

More
5 years 3 months ago #213694 by besriworld
Replied by besriworld on topic Ethercat HAL driver

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

More
5 years 3 months ago - 5 years 3 months ago #213976 by TheRoslyak
Replied by TheRoslyak on topic Ethercat HAL driver
Hi evereone
How can I configure only One bit of register.
Code:
1 <pdoEntry idx="60FD" subIdx="00" bitLen="17" halPin="DigitalInputs" halType="bit"/> 2 <pdoEntry idx="60FD" subIdx="00" bitLen="17" halType="complex"> ... <complexEntry bitLen="1" halPin="DigitalInput" halType="bit"/> </pdoEntry>
In this case I create superfluous bit DigitalInput0-DigitalInput15?If there is another way?
 
Last edit: 5 years 3 months ago by TheRoslyak.

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

More
5 years 2 months ago #218048 by juniorfi
Replied by juniorfi on topic Ethercat HAL driver
Hi,

I have question regarding EL6900 with TwinSAFE configuration:

Are you using the *-project.xlm and TwinSAFE.tsm ?

I'm using TwinCAT 3 for the project and I saw on internet that the .tsm file can be created from TwinCAT 2.
Do you have any idea on this to use the fsoe from TwinCAT 3 project?

I attached my actual config in case someone want to have a look.
 

File Attachment:

File Name: ethercat-conf.xml
File Size:1 KB




Regards

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

More
5 years 2 months ago #218050 by db1981
Replied by db1981 on topic Ethercat HAL driver
Hi,

*-project.xlm and TwinSAFE.tsm are not so important, you have to download and activate the twinsafe project in the el6900. 
 

Your ethercat_conf looks ok, but you need to add the control inputs for the twinsafe group (enable, reset).  for this you have to link them in twincat to another variable (dummy, etc ....) The el6900 then maps this group input to one of the standart-inputs pdos. But here is the trick:
the order, how the group inputs are mapped to the input pdos is not fix. It depends on the order how you created the links in twincat, if you first linked the reset, reset would be on standart-in 0. 
For diag and error reset management, you will also have to do the same for linking saftygroup outs to the standart-out pdos . 

attachached an example.
 

File Attachment:

File Name: ethercat-c...8-18.xml
File Size:2 KB


if you can upload your twincat project, i can explain it on your case....
 

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

More
5 years 2 months ago - 5 years 2 months ago #218059 by juniorfi
Replied by juniorfi on topic Ethercat HAL driver

Hi,

*-project.xlm and TwinSAFE.tsm are not so important, you have to download and activate the twinsafe project in the el6900. 
 

Your ethercat_conf looks ok, but you need to add the control inputs for the twinsafe group (enable, reset).  for this you have to link them in twincat to another variable (dummy, etc ....) The el6900 then maps this group input to one of the standart-inputs pdos. But here is the trick:
the order, how the group inputs are mapped to the input pdos is not fix. It depends on the order how you created the links in twincat, if you first linked the reset, reset would be on standart-in 0. 
For diag and error reset management, you will also have to do the same for linking saftygroup outs to the standart-out pdos . 

attachached an example.
 

File Attachment:

File Name: ethercat-c...8-18.xml
File Size:2 KB


if you can upload your twincat project, i can explain it on your case....
 
 
Hello @db1981, thanks for help and explanation.

So I don't really need to add those files to use the fsoe config? That's great!.

I've been trying for days to find a way to get fsoe to work
Here goes a few of the TwinSAFE files I got. I hope this is what you needI hope this is what you needI hope is what you need.
Sorry, I can't send here the hole project (In case some students can get access to it in a future). Not for secrets.
I can send you privately if you agree.


Regards

 
Hello @db1981, thanks for help and explanation.

So I don't really need to add those files to use the fsoe config? That's great!.

I've been trying for days to find a way to get fsoe to work.

Here goes a few of the TwinSAFE files I got. I hope this is what you need.

Sorry, I can't send here the hole project (In case some students can get access to it in a future). Not for secrets.
I can send you privately if you agree.


Regards
Attachments:
Last edit: 5 years 2 months ago by juniorfi. Reason: Text issues fixed.

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

More
5 years 2 months ago #218214 by juniorfi
Replied by juniorfi on topic Ethercat HAL driver
Is the information I provided enough to be able to know how that FSOE work @db1981?

Thanks

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

Time to create page: 2.893 seconds
Powered by Kunena Forum