Configure KUNBUS EtherCAT slave to use BOOL

Topics about the Hardware of Revolution Pi
Post Reply
sbackman
Posts: 4
Joined: 06 Oct 2017, 10:27

Configure KUNBUS EtherCAT slave to use BOOL

Post by sbackman »

I want to configure the KUNBUS EfterCAT Slave for boolean input/output. I tried to update the device description file (xml) but no luck.
The device description file I use is "Gateway_Component_EtherCAT_R02.xml" that I downloaded from KUNBUS.
If anybody has an example device description file (xml) for BOOL then I hope that person can post it to the forum. I also try to find the EtherCATInfo.xsd file used to buile the device description file.

Thanks Stefan
User avatar
Mathias
Posts: 130
Joined: 29 Nov 2016, 10:46

Re: Configure KUNBUS EtherCAT slave to use BOOL

Post by Mathias »

Hi Stefan,
unforunatelly it is not possible to change the ethercat slave information without changing the software on the module. The module supports only bytes, words and dwords currently.
So you have to use one byte for each bool value.
Kind regards
Mathias
sbackman
Posts: 4
Joined: 06 Oct 2017, 10:27

Re: Configure KUNBUS EtherCAT slave to use BOOL

Post by sbackman »

Is there any plan for a software update to support boolean?

Thanks, Stefan
User avatar
Mathias
Posts: 130
Joined: 29 Nov 2016, 10:46

Re: Configure KUNBUS EtherCAT slave to use BOOL

Post by Mathias »

no, there is no such plan at the moment.
I will set it on the ToDo-list.
Post Reply