libethercat - an embeddable realtime EtherCAT-master library
Communicate with EtherCAT slaves attached to a Network interface.
Loading...
Searching...
No Matches
ec_slave_fmmu Struct Reference

slave fielbus memory management unit (fmmu) settings More...

#include <slave.h>

Data Fields

osal_uint32_t log
 logical bus address
 
osal_uint16_t log_len
 length of logical address area
 
osal_uint8_t log_bit_start
 start bit at logical bus address
 
osal_uint8_t log_bit_stop
 stop bit at logical address plus length
 
osal_uint16_t phys
 physical (local) address in slave
 
osal_uint8_t phys_bit_start
 physical start bit at physical address
 
osal_uint8_t type
 type, read or write
 
osal_uint8_t active
 activation flag
 
osal_uint8_t reserverd [3]
 reserved for future use
 

Detailed Description

slave fielbus memory management unit (fmmu) settings

Field Documentation

◆ log

osal_uint32_t ec_slave_fmmu::log

logical bus address

This specifys to logical 32-bit bus address to listen to. If any EtherCAT datagram with logical addressing is passing with the correct logical address, the fmmu is copying data from and to the EtherCAT datagram.

◆ log_bit_start

osal_uint8_t ec_slave_fmmu::log_bit_start

start bit at logical bus address

start bit at logical start address

◆ log_bit_stop

osal_uint8_t ec_slave_fmmu::log_bit_stop

stop bit at logical address plus length

end bit at logical end address

◆ log_len

osal_uint16_t ec_slave_fmmu::log_len

length of logical address area

length of bytes starting from logical address, which should be copyied from/to EtherCAT datagram

◆ phys

osal_uint16_t ec_slave_fmmu::phys

physical (local) address in slave

This defines the physical (local) address in the EtherCAT slave from where to start copying data from/to.

◆ phys_bit_start

osal_uint8_t ec_slave_fmmu::phys_bit_start

physical start bit at physical address

This defines the first bit at physical start address to beging the copying.


The documentation for this struct was generated from the following file: