PACKED Struct Reference

SDO structure, not to be confused with EcSDOserviceT. More...

#include <ethercatmain.h>

Data Fields

uint8 status
uint8 counter
uint8 din
int32 ain [2]
uint32 tsain
int32 enc [2]
int16 stream [100]
uint8 control
uint8 dout
int16 aout [2]
uint16 pwmout [2]
ec_mbxheadert MbxHeader
uint16 CANOpen
uint8 Command
uint16 Index
uint8 SubIndex
union {
   uint8   bdata [0x200]
   uint16   wdata [0x100]
   uint32   ldata [0x80]
}; 
uint8 Opcode
uint8 Reserved
uint16 Fragments
union {
   uint8   bdata [0x200]
   uint16   wdata [0x100]
   uint32   ldata [0x80]
}; 
uint8 n
uint8 nu1
uint8 SMtype [EC_MAXSM]
uint16 index [256]
uint32 PDO [256]
uint8 OpCode
union {
   uint32   Password
   uint32   PacketNumber
   uint32   ErrorCode
}; 
union {
   char   FileName [EC_MAXFOEDATA]
   uint8   Data [EC_MAXFOEDATA]
   char   ErrorText [EC_MAXFOEDATA]
}; 
uint16 comm
uint16 addr
uint16 d2
uint16 StartAddr
uint16 SMlength
uint32 SMflags
uint16 State
uint16 Unused
uint16 ALstatuscode
uint16 length
uint16 address
uint8 priority
uint8 mbxtype
uint16 alstatus
uint16 unused
uint16 alstatuscode
uint8 opCode:3
uint8 incomplete:1
uint8 error:1
uint8 driveNo:3
uint8 elementflags
union {
   uint16   idn
   uint16   fragmentsleft
}; 
uint16 currentlength
 current length in bytes of list
uint16 maxlength
 maximum length in bytes of list
char name [EC_SOE_MAXNAME]
union {
   uint8   byte [8]
   uint16   word [4]
   uint32   dword [2]
   uint64   lword [1]
}; 
uint32 evafactor:16
 evaluation factor for display purposes
uint32 length:2
 length of IDN element(s)
uint32 list:1
 IDN is list.
uint32 command:1
 IDN is command.
uint32 datatype:3
 datatype
uint32 reserved1:1
uint32 decimals:4
 decimals to display if float datatype
uint32 wppreop:1
 write protected in pre-op
uint32 wpsafeop:1
 write protected in safe-op
uint32 wpop:1
 write protected in op
uint32 reserved2:1
uint16 da0
 destination MAC
uint16 da1
uint16 da2
uint16 sa0
 source MAC
uint16 sa1
uint16 sa2
uint16 etype
 ethernet type
uint16 elength
 length of EtherCAT datagram
uint8 command
 EtherCAT command, see ec_cmdtype.
uint8 index
 index, used in SOEM for Tx to Rx recombination
uint16 ADP
 ADP.
uint16 ADO
 ADO.
uint16 dlength
 length of data portion in datagram
uint16 irpt
 interrupt, currently unused

Detailed Description

SDO structure, not to be confused with EcSDOserviceT.

EtherCAT datagram header definition.

ethernet header definition

SoE attribute structure.

SoE IDN mapping structure.

SoE list structure.

SoE name structure.

SoE (Servo over EtherCAT) mailbox structure.

ALstatus and ALstatus code.

standard ethercat mailbox header

record for sync manager

record for ethercat eeprom communications

FOE structure.

SDO description structure for CA.

SDO assign structure for CA.

SyncManager Communication Type structure for CA.

SDO service structure.

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

Definition at line 34 of file ebox.c.


Field Documentation

union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
union { ... }

Definition at line 80 of file ethercatmain.c.

Definition at line 327 of file ethercatmain.h.

ADO.

Definition at line 147 of file ethercattype.h.

ADP.

Definition at line 145 of file ethercattype.h.

int32 ain[2]

Definition at line 39 of file ebox.c.

Definition at line 335 of file ethercatmain.h.

Definition at line 337 of file ethercatmain.h.

Definition at line 99 of file ethercatmain.h.

int16 aout[2]

Definition at line 54 of file ebox.c.

uint8 bdata[0x200]

Definition at line 68 of file ethercatcoe.c.

uint8 byte[8]

Definition at line 83 of file ethercatsoe.h.

Definition at line 62 of file ethercatcoe.c.

Definition at line 79 of file ethercatmain.c.

EtherCAT command, see ec_cmdtype.

Definition at line 141 of file ethercattype.h.

IDN is command.

Definition at line 123 of file ethercatsoe.h.

Definition at line 63 of file ethercatcoe.c.

Definition at line 52 of file ebox.c.

Definition at line 37 of file ebox.c.

current length in bytes of list

Definition at line 68 of file ethercatsoe.h.

Definition at line 81 of file ethercatmain.c.

destination MAC

Definition at line 125 of file ethercattype.h.

Definition at line 125 of file ethercattype.h.

Definition at line 125 of file ethercattype.h.

uint8 Data[EC_MAXFOEDATA]

Definition at line 79 of file ethercatfoe.c.

datatype

Definition at line 125 of file ethercatsoe.h.

decimals to display if float datatype

Definition at line 128 of file ethercatsoe.h.

Definition at line 38 of file ebox.c.

length of data portion in datagram

Definition at line 149 of file ethercattype.h.

Definition at line 53 of file ebox.c.

Definition at line 64 of file ethercatsoe.c.

Definition at line 85 of file ethercatsoe.h.

Definition at line 65 of file ethercatsoe.c.

length of EtherCAT datagram

Definition at line 139 of file ethercattype.h.

int32 enc[2]

Definition at line 41 of file ebox.c.

Definition at line 63 of file ethercatsoe.c.

Definition at line 74 of file ethercatfoe.c.

char ErrorText[EC_MAXFOEDATA]

Definition at line 80 of file ethercatfoe.c.

ethernet type

Definition at line 129 of file ethercattype.h.

evaluation factor for display purposes

Definition at line 117 of file ethercatsoe.h.

char FileName[EC_MAXFOEDATA]

Definition at line 78 of file ethercatfoe.c.

Definition at line 81 of file ethercatcoe.c.

Definition at line 69 of file ethercatsoe.c.

Definition at line 68 of file ethercatsoe.c.

Definition at line 62 of file ethercatsoe.c.

index, used in SOEM for Tx to Rx recombination

Definition at line 143 of file ethercattype.h.

uint16 index[256]

Definition at line 103 of file ethercatcoe.c.

Definition at line 64 of file ethercatcoe.c.

interrupt, currently unused

Definition at line 151 of file ethercattype.h.

uint32 ldata[0x80]

Definition at line 70 of file ethercatcoe.c.

length of IDN element(s)

Definition at line 119 of file ethercatsoe.h.

Definition at line 326 of file ethercatmain.h.

IDN is list.

Definition at line 121 of file ethercatsoe.h.

Definition at line 86 of file ethercatsoe.h.

maximum length in bytes of list

Definition at line 70 of file ethercatsoe.h.

Definition at line 61 of file ethercatcoe.c.

Definition at line 329 of file ethercatmain.h.

Definition at line 93 of file ethercatcoe.c.

char name[EC_SOE_MAXNAME]

Definition at line 71 of file ethercatsoe.h.

Definition at line 94 of file ethercatcoe.c.

Definition at line 61 of file ethercatsoe.c.

Definition at line 68 of file ethercatfoe.c.

Definition at line 79 of file ethercatcoe.c.

Definition at line 73 of file ethercatfoe.c.

Definition at line 72 of file ethercatfoe.c.

uint32 PDO[256]

Definition at line 111 of file ethercatcoe.c.

Definition at line 328 of file ethercatmain.h.

Definition at line 55 of file ebox.c.

Definition at line 80 of file ethercatcoe.c.

Definition at line 126 of file ethercatsoe.h.

Definition at line 135 of file ethercatsoe.h.

source MAC

Definition at line 127 of file ethercattype.h.

Definition at line 127 of file ethercattype.h.

Definition at line 127 of file ethercattype.h.

Definition at line 92 of file ethercatmain.h.

Definition at line 91 of file ethercatmain.h.

uint8 SMtype[EC_MAXSM]

Definition at line 95 of file ethercatcoe.c.

Definition at line 90 of file ethercatmain.h.

Definition at line 97 of file ethercatmain.h.

Definition at line 36 of file ebox.c.

int16 stream[100]

Definition at line 47 of file ebox.c.

Definition at line 65 of file ethercatcoe.c.

Definition at line 40 of file ebox.c.

Definition at line 336 of file ethercatmain.h.

Definition at line 98 of file ethercatmain.h.

uint16 wdata[0x100]

Definition at line 69 of file ethercatcoe.c.

Definition at line 84 of file ethercatsoe.h.

write protected in op

Definition at line 134 of file ethercatsoe.h.

write protected in pre-op

Definition at line 130 of file ethercatsoe.h.

write protected in safe-op

Definition at line 132 of file ethercatsoe.h.


The documentation for this struct was generated from the following files:
Generated by  doxygen 1.6.3