- Posts: 327
- Thank you received: 92
Ethercat HAL driver
- besriworld
- Offline
- Platinum Member
-
Less
More
5 years 3 months ago #213694
by besriworld
Replied by besriworld on topic Ethercat HAL driver
Did you see this link :
www.bausano.net/en/hardware/ethercat-e-arduino/easycat.html
Please Log in or Create an account to join the conversation.
- TheRoslyak
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 37
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.
In this case I create superfluous bit DigitalInput0-DigitalInput15?If there is another way?
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>
Last edit: 5 years 3 months ago by TheRoslyak.
Please Log in or Create an account to join the conversation.
- juniorfi
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 4
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.
Regards
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.
Regards
Please Log in or Create an account to join the conversation.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
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.
if you can upload your twincat project, i can explain it on your case....
*-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.
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.
- juniorfi
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 4
5 years 2 months ago - 5 years 2 months ago #218059
by juniorfi
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
Replied by juniorfi on topic Ethercat HAL driver
Hello @db1981, thanks for help and explanation.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.
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
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
Last edit: 5 years 2 months ago by juniorfi. Reason: Text issues fixed.
Please Log in or Create an account to join the conversation.
- juniorfi
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 4
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
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 2.893 seconds