Re: [etherlab-users] Real datatypes

2014-10-09 Thread Jeroen Van den Keybus
> Anyone here have some experience with this datatype? > We have done something similar to the existing access functions: #define EC_READ_SINGLE(DATA)((float)(*((float *)((DATA) #define EC_WRITE_SINGLE(DATA, VAL) \ do { \ *((float*) ((DATA))) = (float) (VAL); \ } while (0) Note tha

[etherlab-users] Real datatypes

2014-10-09 Thread Steve Hartmann
We have a new device which we are evaluating - it is a MFC from MKS. By default there are some PDOs which use a 32-bit real datatype. I have looked through the Etherlabs Ethercat master documentation and cannot find any obvious support for this datatype. Anyone here have some experience with