Public Attributes | List of all members
PACKED Struct Reference

#include <ethercatmain.h>

Public Attributes

union {
   uint8   byte [8]
 
   uint32   dword [2]
 
   uint64   lword [1]
 
   uint16   word [4]
 
}; 
 
union {
   uint8   bdata [0x200]
 
   uint32   ldata [0x80]
 
   uint16   wdata [0x100]
 
}; 
 
union {
   uint8   bdata [0x200]
 
   uint32   ldata [0x80]
 
   uint16   wdata [0x100]
 
}; 
 
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
 
}; 
 
uint16 addr
 
uint16 address
 
uint16 ADO
 
uint16 ADP
 
uint16 alstatus
 
uint16 ALstatuscode
 
uint16 alstatuscode
 
uint8 bData
 
uint16 CANOpen
 
uint16 comm
 
uint8 Command
 
uint32 command:1
 
uint8 command
 
uint16 currentlength
 
uint16 d2
 
uint16 da0
 
uint16 da1
 
uint16 da2
 
uint32 datatype:3
 
uint32 decimals:4
 
uint16 Detail
 
uint16 dlength
 
uint8 driveNo:3
 
uint8 elementflags
 
uint16 elength
 
uint8 error:1
 
uint16 ErrorCode
 
uint8 ErrorReg
 
uint16 etype
 
uint32 evafactor:16
 
uint8 FMMUactive
 
uint8 FMMUtype
 
uint16 Fragments
 
uint16 idn [EC_SOE_MAXMAPPING]
 
uint8 incomplete:1
 
uint16 Index
 
uint8 index
 
uint16 index [256]
 
uint16 irpt
 
uint32 length:2
 
uint16 length
 
uint32 list:1
 
uint8 LogEndbit
 
uint16 LogLength
 
uint32 LogStart
 
uint8 LogStartbit
 
uint16 maxlength
 
ec_mbxheadert MbxHeader
 
uint8 mbxtype
 
uint8 n
 
char name [EC_SOE_MAXNAME]
 
uint8 nu1
 
uint8 opCode:3
 
uint8 OpCode
 
uint8 Opcode
 
uint32 PDO [256]
 
uint16 PhysStart
 
uint8 PhysStartBit
 
uint8 priority
 
uint8 Reserved
 
uint32 reserved1:1
 
uint32 reserved2:1
 
uint16 sa0
 
uint16 sa1
 
uint16 sa2
 
uint32 SMflags
 
uint16 SMlength
 
uint8 SMtype [EC_MAXSM]
 
uint16 StartAddr
 
uint16 State
 
uint8 SubIndex
 
uint16 Type
 
uint16 Unused
 
uint16 unused
 
uint8 unused1
 
uint16 unused2
 
uint16 w1
 
uint16 w2
 
uint32 wpop:1
 
uint32 wppreop:1
 
uint32 wpsafeop:1
 

Detailed Description

record for FMMU

record for sync manager

standard ethercat mailbox header

ALstatus and ALstatus code

SyncManager Communication Type structure for CA

SDO assign structure for CA

SDO description structure for CA

SoE name structure

SoE list structure

SoE IDN mapping structure

SoE attribute structure

ethernet header definition

EtherCAT datagram header definition

SDO structure, not to be confused with EcSDOserviceT

SDO service structure

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

Definition at line 86 of file ethercatmain.h.

Member Data Documentation

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

Definition at line 70 of file ethercatmain.c.

uint16 PACKED::address

Definition at line 348 of file ethercatmain.h.

uint16 PACKED::ADO

ADO

Definition at line 142 of file ethercattype.h.

uint16 PACKED::ADP

ADP

Definition at line 140 of file ethercattype.h.

uint16 PACKED::alstatus

Definition at line 358 of file ethercatmain.h.

uint16 PACKED::ALstatuscode

Definition at line 116 of file ethercatmain.h.

uint16 PACKED::alstatuscode

Definition at line 360 of file ethercatmain.h.

uint8 PACKED::bdata[0x200]

Definition at line 68 of file ethercatcoe.c.

uint8 PACKED::bData

Definition at line 93 of file ethercatmain.c.

uint8 PACKED::byte[8]

Definition at line 91 of file ethercatsoe.h.

uint16 PACKED::CANOpen

Definition at line 62 of file ethercatcoe.c.

uint16 PACKED::comm

Definition at line 69 of file ethercatmain.c.

uint8 PACKED::Command

Definition at line 63 of file ethercatcoe.c.

uint32 PACKED::command

IDN is command

Definition at line 135 of file ethercatsoe.h.

uint8 PACKED::command

EtherCAT command, see ec_cmdtype

Definition at line 136 of file ethercattype.h.

uint16 PACKED::currentlength

current length in bytes of list

Definition at line 74 of file ethercatsoe.h.

uint16 PACKED::d2

Definition at line 71 of file ethercatmain.c.

uint16 PACKED::da0

destination MAC

Definition at line 118 of file ethercattype.h.

uint16 PACKED::da1

Definition at line 118 of file ethercattype.h.

uint16 PACKED::da2

Definition at line 118 of file ethercattype.h.

uint8 PACKED::Data[EC_MAXFOEDATA]

Definition at line 79 of file ethercatfoe.c.

uint32 PACKED::datatype

datatype

Definition at line 137 of file ethercatsoe.h.

uint32 PACKED::decimals

decimals to display if float datatype

Definition at line 140 of file ethercatsoe.h.

uint16 PACKED::Detail

Definition at line 81 of file ethercatmain.c.

uint16 PACKED::dlength

length of data portion in datagram

Definition at line 144 of file ethercattype.h.

uint8 PACKED::driveNo

Definition at line 65 of file ethercatsoe.c.

uint32 PACKED::dword[2]

Definition at line 93 of file ethercatsoe.h.

uint8 PACKED::elementflags

Definition at line 66 of file ethercatsoe.c.

uint16 PACKED::elength

length of EtherCAT datagram

Definition at line 134 of file ethercattype.h.

uint8 PACKED::error

Definition at line 64 of file ethercatsoe.c.

uint32 PACKED::ErrorCode

Definition at line 74 of file ethercatfoe.c.

uint16 PACKED::ErrorCode

Definition at line 91 of file ethercatmain.c.

uint8 PACKED::ErrorReg

Definition at line 92 of file ethercatmain.c.

char PACKED::ErrorText[EC_MAXFOEDATA]

Definition at line 80 of file ethercatfoe.c.

uint16 PACKED::etype

ethernet type

Definition at line 122 of file ethercattype.h.

uint32 PACKED::evafactor

evaluation factor for display purposes

Definition at line 129 of file ethercatsoe.h.

char PACKED::FileName[EC_MAXFOEDATA]

Definition at line 78 of file ethercatfoe.c.

uint8 PACKED::FMMUactive

Definition at line 95 of file ethercatmain.h.

uint8 PACKED::FMMUtype

Definition at line 94 of file ethercatmain.h.

uint16 PACKED::Fragments

Definition at line 83 of file ethercatcoe.c.

uint16 PACKED::fragmentsleft

Definition at line 70 of file ethercatsoe.c.

uint16 PACKED::idn

Definition at line 107 of file ethercatsoe.h.

uint8 PACKED::incomplete

Definition at line 63 of file ethercatsoe.c.

uint16 PACKED::Index

Definition at line 64 of file ethercatcoe.c.

uint8 PACKED::index

index, used in SOEM for Tx to Rx recombination

Definition at line 138 of file ethercattype.h.

uint16 PACKED::index[256]

Definition at line 398 of file ethercatmain.h.

uint16 PACKED::irpt

interrupt, currently unused

Definition at line 146 of file ethercattype.h.

uint32 PACKED::ldata[0x80]

Definition at line 70 of file ethercatcoe.c.

uint32 PACKED::length

length of IDN element(s)

Definition at line 131 of file ethercatsoe.h.

uint16 PACKED::length

Definition at line 347 of file ethercatmain.h.

uint32 PACKED::list

IDN is list

Definition at line 133 of file ethercatsoe.h.

uint8 PACKED::LogEndbit

Definition at line 91 of file ethercatmain.h.

uint16 PACKED::LogLength

Definition at line 89 of file ethercatmain.h.

uint32 PACKED::LogStart

Definition at line 88 of file ethercatmain.h.

uint8 PACKED::LogStartbit

Definition at line 90 of file ethercatmain.h.

uint64 PACKED::lword[1]

Definition at line 94 of file ethercatsoe.h.

uint16 PACKED::maxlength

maximum length in bytes of list

Definition at line 76 of file ethercatsoe.h.

ec_mbxheadert PACKED::MbxHeader

Definition at line 61 of file ethercatcoe.c.

uint8 PACKED::mbxtype

Definition at line 350 of file ethercatmain.h.

uint8 PACKED::n

Definition at line 386 of file ethercatmain.h.

char PACKED::name[EC_SOE_MAXNAME]

Definition at line 77 of file ethercatsoe.h.

uint8 PACKED::nu1

Definition at line 387 of file ethercatmain.h.

uint8 PACKED::opCode

Definition at line 62 of file ethercatsoe.c.

uint8 PACKED::OpCode

Definition at line 68 of file ethercatfoe.c.

uint8 PACKED::Opcode

Definition at line 81 of file ethercatcoe.c.

uint32 PACKED::PacketNumber

Definition at line 73 of file ethercatfoe.c.

uint32 PACKED::Password

Definition at line 72 of file ethercatfoe.c.

uint32 PACKED::PDO[256]

Definition at line 408 of file ethercatmain.h.

uint16 PACKED::PhysStart

Definition at line 92 of file ethercatmain.h.

uint8 PACKED::PhysStartBit

Definition at line 93 of file ethercatmain.h.

uint8 PACKED::priority

Definition at line 349 of file ethercatmain.h.

uint8 PACKED::Reserved

Definition at line 82 of file ethercatcoe.c.

uint32 PACKED::reserved1

Definition at line 138 of file ethercatsoe.h.

uint32 PACKED::reserved2

Definition at line 147 of file ethercatsoe.h.

uint16 PACKED::sa0

source MAC

Definition at line 120 of file ethercattype.h.

uint16 PACKED::sa1

Definition at line 120 of file ethercattype.h.

uint16 PACKED::sa2

Definition at line 120 of file ethercattype.h.

uint32 PACKED::SMflags

Definition at line 107 of file ethercatmain.h.

uint16 PACKED::SMlength

Definition at line 106 of file ethercatmain.h.

uint8 PACKED::SMtype[EC_MAXSM]

Definition at line 388 of file ethercatmain.h.

uint16 PACKED::StartAddr

Definition at line 105 of file ethercatmain.h.

uint16 PACKED::State

Definition at line 114 of file ethercatmain.h.

uint8 PACKED::SubIndex

Definition at line 65 of file ethercatcoe.c.

uint16 PACKED::Type

Definition at line 80 of file ethercatmain.c.

uint16 PACKED::Unused

Definition at line 115 of file ethercatmain.h.

uint16 PACKED::unused

Definition at line 359 of file ethercatmain.h.

uint8 PACKED::unused1

Definition at line 96 of file ethercatmain.h.

uint16 PACKED::unused2

Definition at line 97 of file ethercatmain.h.

uint16 PACKED::w1

Definition at line 94 of file ethercatmain.c.

uint16 PACKED::w2

Definition at line 94 of file ethercatmain.c.

uint16 PACKED::wdata[0x100]

Definition at line 69 of file ethercatcoe.c.

uint16 PACKED::word[4]

Definition at line 92 of file ethercatsoe.h.

uint32 PACKED::wpop

write protected in op

Definition at line 146 of file ethercatsoe.h.

uint32 PACKED::wppreop

write protected in pre-op

Definition at line 142 of file ethercatsoe.h.

uint32 PACKED::wpsafeop

write protected in safe-op

Definition at line 144 of file ethercatsoe.h.


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


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:26