Public Attributes | List of all members
PACKED Struct Reference

#include <ethercateoe.h>

Public Attributes

union {
   uint8   bdata [0x200]
 
   uint32   ldata [0x80]
 
   uint16   wdata [0x100]
 
}; 
 
union {
   uint16_t   frameinfo2
 
   uint16_t   result
 
}; 
 
union {
   uint32   ErrorCode
 
   uint32   PacketNumber
 
   uint32   Password
 
}; 
 
union {
   uint8   Data [EC_MAXFOEDATA]
 
   char   ErrorText [EC_MAXFOEDATA]
 
   char   FileName [EC_MAXFOEDATA]
 
}; 
 
union {
   uint16   fragmentsleft
 
   uint16   idn
 
}; 
 
union {
   uint8   byte [8]
 
   uint32   dword [2]
 
   uint64   lword [1]
 
   uint16   word [4]
 
}; 
 
union {
   uint8   bdata [0x200]
 
   uint32   ldata [0x80]
 
   uint16   wdata [0x100]
 
}; 
 
uint16 addr
 
uint16 ADO
 
uint16 ADP
 
int32 ain [2]
 
int16 aout [2]
 
uint8 bData
 
uint16 CANOpen
 
uint16 comm
 
uint8 Command
 
uint32 command:1
 
uint8 command
 
uint8 control
 
uint8 counter
 
uint16 currentlength
 
uint16 d2
 
uint16 da0
 
uint16 da1
 
uint16 da2
 
uint8 data [0]
 
uint32 datatype:3
 
uint32 decimals:4
 
uint16 Detail
 
uint8 din
 
uint16 dlength
 
uint8 dout
 
uint8 driveNo:3
 
uint8 elementflags
 
uint16 elength
 
int32 enc [2]
 
uint8 error:1
 
uint16 ErrorCode
 
uint8 ErrorReg
 
uint16 etype
 
uint32 evafactor:16
 
uint16 Fragments
 
uint16_t frameinfo1
 
uint8 incomplete:1
 
uint16 Index
 
uint8 index
 
uint16 irpt
 
uint32 length:2
 
uint32 list:1
 
uint16 maxlength
 
ec_mbxheadert MbxHeader
 
ec_mbxheadert mbxheader
 
char name [EC_SOE_MAXNAME]
 
uint8 opCode:3
 
uint8 OpCode
 
uint8 Opcode
 
uint16 pwmout [2]
 
uint8 Reserved
 
uint32 reserved1:1
 
uint32 reserved2:1
 
uint16 sa0
 
uint16 sa1
 
uint16 sa2
 
uint8 status
 
int16 stream [100]
 
uint8 SubIndex
 
uint32 tsain
 
uint16 Type
 
uint16 w1
 
uint16 w2
 
uint32 wpop:1
 
uint32 wppreop:1
 
uint32 wpsafeop:1
 

Detailed Description

SDO structure, not to be confused with EcSDOserviceT

SDO service structure

EOE structure. Used to interpret EoE mailbox packets.

FOE structure. Used for Read, Write, Data, Ack and Error mailbox packets.

record for ethercat eeprom communications

mailbox error structure

emergency request structure

SoE (Servo over EtherCAT) mailbox structure

SoE name structure

SoE list structure

SoE IDN mapping structure

SoE attribute structure

ethernet header definition

EtherCAT datagram header definition

Definition at line 24 of file ethercatcoe.c.

Member Data Documentation

union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
uint16 PACKED::addr

Definition at line 33 of file ethercatmain.c.

uint16 PACKED::ADO

ADO

Definition at line 118 of file ethercattype.h.

uint16 PACKED::ADP

ADP

Definition at line 116 of file ethercattype.h.

int32 PACKED::ain

Definition at line 33 of file linux/ebox/ebox.c.

int16 PACKED::aout

Definition at line 48 of file linux/ebox/ebox.c.

uint8 PACKED::bdata[0x200]

Definition at line 33 of file ethercatcoe.c.

uint8 PACKED::bData

Definition at line 56 of file ethercatmain.c.

uint8 PACKED::byte[8]

Definition at line 56 of file ethercatsoe.h.

uint16 PACKED::CANOpen

Definition at line 27 of file ethercatcoe.c.

uint16 PACKED::comm

Definition at line 32 of file ethercatmain.c.

uint8 PACKED::Command

Definition at line 28 of file ethercatcoe.c.

uint32 PACKED::command

IDN is command

Definition at line 100 of file ethercatsoe.h.

uint8 PACKED::command

EtherCAT command, see ec_cmdtype

Definition at line 112 of file ethercattype.h.

uint8 PACKED::control

Definition at line 46 of file linux/ebox/ebox.c.

uint8 PACKED::counter

Definition at line 31 of file linux/ebox/ebox.c.

uint16 PACKED::currentlength

current length in bytes of list

Definition at line 39 of file ethercatsoe.h.

uint16 PACKED::d2

Definition at line 34 of file ethercatmain.c.

uint16 PACKED::da0

destination MAC

Definition at line 94 of file ethercattype.h.

uint16 PACKED::da1

Definition at line 94 of file ethercattype.h.

uint16 PACKED::da2

Definition at line 94 of file ethercattype.h.

uint8 PACKED::Data[EC_MAXFOEDATA]

Definition at line 42 of file ethercatfoe.c.

uint8 PACKED::data[0]

Definition at line 166 of file ethercateoe.h.

uint32 PACKED::datatype

datatype

Definition at line 102 of file ethercatsoe.h.

uint32 PACKED::decimals

decimals to display if float datatype

Definition at line 105 of file ethercatsoe.h.

uint16 PACKED::Detail

Definition at line 44 of file ethercatmain.c.

uint8 PACKED::din

Definition at line 32 of file linux/ebox/ebox.c.

uint16 PACKED::dlength

length of data portion in datagram

Definition at line 120 of file ethercattype.h.

uint8 PACKED::dout

Definition at line 47 of file linux/ebox/ebox.c.

uint8 PACKED::driveNo

Definition at line 30 of file ethercatsoe.c.

uint32 PACKED::dword[2]

Definition at line 58 of file ethercatsoe.h.

uint8 PACKED::elementflags

Definition at line 31 of file ethercatsoe.c.

uint16 PACKED::elength

length of EtherCAT datagram

Definition at line 110 of file ethercattype.h.

int32 PACKED::enc

Definition at line 35 of file linux/ebox/ebox.c.

uint8 PACKED::error

Definition at line 29 of file ethercatsoe.c.

uint32 PACKED::ErrorCode

Definition at line 37 of file ethercatfoe.c.

uint16 PACKED::ErrorCode

Definition at line 54 of file ethercatmain.c.

uint8 PACKED::ErrorReg

Definition at line 55 of file ethercatmain.c.

char PACKED::ErrorText[EC_MAXFOEDATA]

Definition at line 43 of file ethercatfoe.c.

uint16 PACKED::etype

ethernet type

Definition at line 98 of file ethercattype.h.

uint32 PACKED::evafactor

evaluation factor for display purposes

Definition at line 94 of file ethercatsoe.h.

char PACKED::FileName[EC_MAXFOEDATA]

Definition at line 41 of file ethercatfoe.c.

uint16 PACKED::Fragments

Definition at line 48 of file ethercatcoe.c.

uint16 PACKED::fragmentsleft

Definition at line 35 of file ethercatsoe.c.

uint16_t PACKED::frameinfo1

Definition at line 160 of file ethercateoe.h.

uint16_t PACKED::frameinfo2

Definition at line 163 of file ethercateoe.h.

uint16 PACKED::idn

Definition at line 34 of file ethercatsoe.c.

uint8 PACKED::incomplete

Definition at line 28 of file ethercatsoe.c.

uint16 PACKED::Index

Definition at line 29 of file ethercatcoe.c.

uint8 PACKED::index

index, used in SOEM for Tx to Rx recombination

Definition at line 114 of file ethercattype.h.

uint16 PACKED::irpt

interrupt, currently unused

Definition at line 122 of file ethercattype.h.

uint32 PACKED::ldata[0x80]

Definition at line 35 of file ethercatcoe.c.

uint32 PACKED::length

length of IDN element(s)

Definition at line 96 of file ethercatsoe.h.

uint32 PACKED::list

IDN is list

Definition at line 98 of file ethercatsoe.h.

uint64 PACKED::lword[1]

Definition at line 59 of file ethercatsoe.h.

uint16 PACKED::maxlength

maximum length in bytes of list

Definition at line 41 of file ethercatsoe.h.

ec_mbxheadert PACKED::MbxHeader

Definition at line 26 of file ethercatcoe.c.

ec_mbxheadert PACKED::mbxheader

Definition at line 159 of file ethercateoe.h.

char PACKED::name[EC_SOE_MAXNAME]

Definition at line 42 of file ethercatsoe.h.

uint8 PACKED::opCode

Definition at line 27 of file ethercatsoe.c.

uint8 PACKED::OpCode

Definition at line 31 of file ethercatfoe.c.

uint8 PACKED::Opcode

Definition at line 46 of file ethercatcoe.c.

uint32 PACKED::PacketNumber

Definition at line 36 of file ethercatfoe.c.

uint32 PACKED::Password

Definition at line 35 of file ethercatfoe.c.

uint16 PACKED::pwmout

Definition at line 49 of file linux/ebox/ebox.c.

uint8 PACKED::Reserved

Definition at line 47 of file ethercatcoe.c.

uint32 PACKED::reserved1

Definition at line 103 of file ethercatsoe.h.

uint32 PACKED::reserved2

Definition at line 112 of file ethercatsoe.h.

uint16_t PACKED::result

Definition at line 164 of file ethercateoe.h.

uint16 PACKED::sa0

source MAC

Definition at line 96 of file ethercattype.h.

uint16 PACKED::sa1

Definition at line 96 of file ethercattype.h.

uint16 PACKED::sa2

Definition at line 96 of file ethercattype.h.

uint8 PACKED::status

Definition at line 30 of file linux/ebox/ebox.c.

int16 PACKED::stream

Definition at line 41 of file linux/ebox/ebox.c.

uint8 PACKED::SubIndex

Definition at line 30 of file ethercatcoe.c.

uint32 PACKED::tsain

Definition at line 34 of file linux/ebox/ebox.c.

uint16 PACKED::Type

Definition at line 43 of file ethercatmain.c.

uint16 PACKED::w1

Definition at line 57 of file ethercatmain.c.

uint16 PACKED::w2

Definition at line 57 of file ethercatmain.c.

uint16 PACKED::wdata[0x100]

Definition at line 34 of file ethercatcoe.c.

uint16 PACKED::word[4]

Definition at line 57 of file ethercatsoe.h.

uint32 PACKED::wpop

write protected in op

Definition at line 111 of file ethercatsoe.h.

uint32 PACKED::wppreop

write protected in pre-op

Definition at line 107 of file ethercatsoe.h.

uint32 PACKED::wpsafeop

write protected in safe-op

Definition at line 109 of file ethercatsoe.h.


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


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Sat Jun 27 2020 03:48:21