2014-11-25 16:10:29 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< title > SOEM: ethercatmain.c File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2015-03-11 21:45:16 +01:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2014-11-25 16:10:29 +01:00
< / head >
< body >
2015-03-11 21:45:16 +01:00
<!-- Generated by Doxygen 1.7.4 -->
< div id = "top" >
2014-11-25 16:10:29 +01:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
2015-03-11 21:45:16 +01:00
< div id = "projectname" > SOEM  < span id = "projectnumber" > v1.3.1< / span > < / div >
2014-11-25 16:10:29 +01:00
< / td >
< / tr >
< / tbody >
< / table >
< / div >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Data  Structures< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > Globals< / span > < / a > < / li >
< / ul >
< / div >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
2015-03-11 21:45:16 +01:00
< a href = "#define-members" > Defines< / a > |
2014-11-25 16:10:29 +01:00
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" >
< div class = "title" > ethercatmain.c File Reference< / div > < / div >
2015-03-11 21:45:16 +01:00
< / div >
2014-11-25 16:10:29 +01:00
< div class = "contents" >
< p > Main EtherCAT functions.
< a href = "#details" > More...< / a > < / p >
< div class = "textblock" > < code > #include < stdio.h> < / code > < br / >
< code > #include < string.h> < / code > < br / >
< code > #include " osal.h" < / code > < br / >
< code > #include " oshw.h" < / code > < br / >
< code > #include " < a class = "el" href = "ethercattype_8h.html" > ethercattype.h< / a > " < / code > < br / >
< code > #include " < a class = "el" href = "ethercatbase_8h.html" > ethercatbase.h< / a > " < / code > < br / >
< code > #include " < a class = "el" href = "ethercatmain_8h.html" > ethercatmain.h< / a > " < / code > < br / >
< / div > < table class = "memberdecls" >
2015-03-11 21:45:16 +01:00
< tr > < td colspan = "2" > < h2 > < a name = "nested-classes" > < / a >
2014-11-25 16:10:29 +01:00
Data Structures< / h2 > < / td > < / tr >
2015-03-11 21:45:16 +01:00
< tr > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structec__eepromt.html" > ec_eepromt< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structec__mbxerrort.html" > ec_mbxerrort< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structec__emcyt.html" > ec_emcyt< / a > < / td > < / tr >
< tr > < td colspan = "2" > < h2 > < a name = "define-members" > < / a >
Defines< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a9aa8dea54bcf04a40e86c127f5751f1d" > EC_LOCALDELAY< / a >       200< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a385765cd103f1ddc4f4e5df971dfad2c" > MAX_FPRD_MULTI< / a >       64< / td > < / tr >
< tr > < td colspan = "2" > < h2 > < a name = "func-members" > < / a >
2014-11-25 16:10:29 +01:00
Functions< / h2 > < / td > < / tr >
2015-03-11 21:45:16 +01:00
< tr > < td class = "memItemLeft" align = "right" valign = "top" > ec_adaptert *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ac997f6e021185381470d1674c850c0fc" > ec_find_adapters< / a > (void)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a778850bae0fd10768a4af6ced2e1056a" > ec_free_adapters< / a > (ec_adaptert *adapter)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a5093ac090f43e3d281bb9b2e88accf5d" > ecx_pusherror< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, const < a class = "el" href = "structec__errort.html" > ec_errort< / a > *Ec)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > boolean  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ac342a10ae34ab114b7b1c8d5dd7fbcb5" > ecx_poperror< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, < a class = "el" href = "structec__errort.html" > ec_errort< / a > *Ec)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > boolean  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#af863c77f0d7a43349f671e5d3355e274" > ecx_iserror< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a16d41050b6df69e3bd99a784025c2a98" > ecx_packeterror< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 Slave, uint16 Index, uint8 SubIdx, uint16 ErrorCode)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a74a3dbd3f00c0078e9dd637de0a4c5ac" > ecx_mbxerror< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 Slave, uint16 Detail)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a8621b2bc33d85210f69245bfb9287620" > ecx_mbxemergencyerror< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 Slave, uint16 ErrorCode, uint16 ErrorReg, uint8 b1, uint16 w1, uint16 w2)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#af03c2d65ee42fa9c95b299d924d159f4" > ecx_init< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, char *ifname)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a96ae0bb965448f69bf2934440f1aab84" > ecx_init_redundant< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, ecx_redportt *redport, char *ifname, char *if2name)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a8ca8bcd89abfe39cb05a78c792ac0b04" > ecx_close< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint8  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a95fddc873b352e47ba06a741cd2d2b41" > ecx_siigetbyte< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 address)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a502a44128fd91ee54530bea13cd618b4" > ecx_siifind< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 cat)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab339c17d12d4b04b6e236ae048b987a1" > ecx_siistring< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, char *str, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 Sn)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a74e1cf217268bcb9d6642e4a4da270e2" > ecx_siiFMMU< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromFMMUt.html" > ec_eepromFMMUt< / a > *FMMU)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ad74d4766afe2c75e6057593ed4299262" > ecx_siiSM< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *SM)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a14b544c6e4c5a565f1b3ed663ad7d4ee" > ecx_siiSMnext< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *SM, uint16 n)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a7ce2acd9f8cfcd1c081c216c524f4c3a" > ecx_siiPDO< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromPDOt.html" > ec_eepromPDOt< / a > *PDO, uint8 t)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a231bd98ad20eb81b89a6ce487c70dea0" > ecx_FPRD_multi< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, int n, uint16 *configlst, < a class = "el" href = "structec__alstatust.html" > ec_alstatust< / a > *slstatlst, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a8b9f795eb54126583a24499cb7f67f3b" > ecx_readstate< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a195c94484f8bb6feeff4af1dd6c38617" > ecx_writestate< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a718d24667d9d92dbf36cb44dce86e626" > ecx_statecheck< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 reqstate, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint8  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a1e178403f6eb467358bdfcc9eb086691" > ec_nextmbxcnt< / a > (uint8 cnt)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a652d40885e8275a02ddcf94fbd077c99" > ec_clearmbx< / a > (< a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *Mbx)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a90a2cf6ccfbf75ef47a033dbcbe26a1b" > ecx_mbxempty< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a6c00849fdd4148b0ec91065b9f417baa" > ecx_mbxsend< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *mbx, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a7d751dced14def6511d47bdeef7e0402" > ecx_mbxreceive< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *mbx, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#abc6f018535ede1e2ec4539bdbc790610" > ecx_esidump< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint8 *esibuf)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint32  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#acefb2d6879d635a163d045029ff43e21" > ecx_readeeprom< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 eeproma, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a85fdb1a9892e2b4522e104adb902ea0b" > ecx_writeeeprom< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 eeproma, uint16 data, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab1e73a407405f2e81752660da3402d3f" > ecx_eeprom2master< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a001fcd74aea67bbde91023241a834033" > ecx_eeprom2pdi< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a09961f47c4ef21be41a031fcc77d03c8" > ecx_eeprom_waitnotbusyAP< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 aiadr, uint16 *estat, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a49de068e67917db7d6f39ea48231d1d9" > ecx_readeepromAP< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 aiadr, uint16 eeproma, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aebb19a1d88de8b2333ac68087857c36c" > ecx_writeeepromAP< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 aiadr, uint16 eeproma, uint16 data, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aa295a7f6c4ae28321f51501e83469896" > ecx_eeprom_waitnotbusyFP< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 configadr, uint16 *estat, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a31ae8610cafed98190619eb86225e0ad" > ecx_readeepromFP< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 configadr, uint16 eeproma, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab0603f26f99e0dfb02152852180be2ed" > ecx_writeeepromFP< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 configadr, uint16 eeproma, uint16 data, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#afb33bd2b2490395dd9a9813a20e6af7b" > ecx_readeeprom1< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 eeproma)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint32  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#addfbc81df3d4d9ef8483de0b2ab76cfe" > ecx_readeeprom2< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aaf4e6254aa332eb7f20bf2438c20a61e" > ecx_pushindex< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint8 idx, void *data, uint16 length)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aef326583be0440f0a8d01f329c8a4e93" > ecx_pullindex< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ad53e97c4552aea50ae62197859f93784" > ecx_send_processdata_group< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint8 group)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab9e4cef6c952461a80d4aab5def3cb7d" > ecx_receive_processdata_group< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, uint8 group, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab1c3436907a238fc129ae1ef0638d6ae" > ecx_send_processdata< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ad035a9d34d734457d5ac4d0babef0da9" > ecx_receive_processdata< / a > (< a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *context, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a91e361f3f3615c5ee22eb17def4d1532" > ec_pusherror< / a > (const < a class = "el" href = "structec__errort.html" > ec_errort< / a > *Ec)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > boolean  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ac5e3fbef1307f9df820124075c373fbd" > ec_poperror< / a > (< a class = "el" href = "structec__errort.html" > ec_errort< / a > *Ec)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > boolean  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a5cf68427133d1d92def6130e4cf9b5a4" > ec_iserror< / a > (void)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a430e1266d5c0c1bd4153b660e4fa5298" > ec_packeterror< / a > (uint16 Slave, uint16 Index, uint8 SubIdx, uint16 ErrorCode)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a4d4ce1bfe67dcda4868fe1717af993af" > ec_init< / a > (char *ifname)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a9b46e06711fc56cac33ac9c77f528de1" > ec_init_redundant< / a > (char *ifname, char *if2name)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab324bdc67988c7eab8dd7324817886cb" > ec_close< / a > (void)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint8  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a6c314f9524aa84af885f1e6426b71148" > ec_siigetbyte< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 address)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#af44cb7b11dccd4ea221079ae0a8138e8" > ec_siifind< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 cat)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a4fe43f91402e635e7087b9f1e09d7703" > ec_siistring< / a > (char *str, uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 Sn)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab382409c9f74891f82e87dcc7fad875e" > ec_siiFMMU< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromFMMUt.html" > ec_eepromFMMUt< / a > *FMMU)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a54c0c0d13f6c7b38e98ab91f4db29514" > ec_siiSM< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *SM)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#acfb749a5fbaaa6d560204757be2170f5" > ec_siiSMnext< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *SM, uint16 n)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aef972d9668958da9db3c350e159caddb" > ec_siiPDO< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "structec__eepromPDOt.html" > ec_eepromPDOt< / a > *PDO, uint8 t)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a585d9cd831f1d43f1bbaf7a50ee9759c" > ec_readstate< / a > (void)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a0750885eaa4230b7815a84ce8d627984" > ec_writestate< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a8f77918c0a6a32be1079a11119171901" > ec_statecheck< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 reqstate, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a78a07c2b50526e0f99334f7d2782264f" > ec_mbxempty< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a575bb6105662ad54fe55c47fc72075c4" > ec_mbxsend< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *mbx, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a7c1a13c5372ba1b38c9d04085c191e73" > ec_mbxreceive< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *mbx, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a7ee3fade767c89f5afd70da308834d42" > ec_esidump< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint8 *esibuf)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint32  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aacc964b3a092b666f8011717be911d35" > ec_readeeprom< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 eeproma, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aaa333cdc5ea2ac66cf24a75855d9749b" > ec_writeeeprom< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 eeproma, uint16 data, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a027bd337ebfa1d39de8a7a1f5c5287de" > ec_eeprom2master< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ae149a6cd4a61c22efa4cf4185ffd83be" > ec_eeprom2pdi< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#af4b40499a69dd20db5aa8da081c7274f" > ec_eeprom_waitnotbusyAP< / a > (uint16 aiadr, uint16 *estat, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ad1f3c620e76b3395d7deccc23ef0f8c5" > ec_readeepromAP< / a > (uint16 aiadr, uint16 eeproma, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a968dc550dde8340fbe80032f81662427" > ec_writeeepromAP< / a > (uint16 aiadr, uint16 eeproma, uint16 data, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a683af1ff758441cb62905cb041e428a1" > ec_eeprom_waitnotbusyFP< / a > (uint16 configadr, uint16 *estat, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ace89c7536b04427ffb755e77a5525855" > ec_readeepromFP< / a > (uint16 configadr, uint16 eeproma, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ad4724bcbd8417e56ff2405cec44d6535" > ec_writeeepromFP< / a > (uint16 configadr, uint16 eeproma, uint16 data, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ad920436309547d99e23cb8fd7b56b1bc" > ec_readeeprom1< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , uint16 eeproma)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > uint32  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a31e35cc2f33ecf639db43c79850462ab" > ec_readeeprom2< / a > (uint16 < a class = "el" href = "eepromtool_8c.html#a7f46665d1fe6d01a75a90942bb34cfaf" > slave< / a > , int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a5e2063e4eb419e7abdcc9d863dc7a7b4" > ec_send_processdata_group< / a > (uint8 group)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a974363168ed4259d2d5a48a9e7317354" > ec_receive_processdata_group< / a > (uint8 group, int timeout)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a30c66bb9d54e741149f7d40bbdb21078" > ec_send_processdata< / a > (void)< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a14280050ace4427d196acd17e6d79e55" > ec_receive_processdata< / a > (int timeout)< / td > < / tr >
< tr > < td colspan = "2" > < h2 > < a name = "var-members" > < / a >
2014-11-25 16:10:29 +01:00
Variables< / h2 > < / td > < / tr >
2015-03-11 21:45:16 +01:00
< tr > < td class = "memItemLeft" align = "right" valign = "top" > PACKED_END < a class = "el" href = "structec__slavet.html" > ec_slavet< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a309bc1e26d5c2ce80d69804b30bbb6a7" > ec_slave< / a > [EC_MAXSLAVE]< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aa9c784abc9a4ede41d3d8d688b4a7dc5" > ec_slavecount< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structec__groupt.html" > ec_groupt< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a2bdce50a46e56597354e404a55344934" > ec_group< / a > [EC_MAXGROUP]< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static uint8  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a686a06a7d5c52eaa6ee9c822047bdd19" > ec_esibuf< / a > [EC_MAXEEPBUF]< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static uint32  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab31d889c5d1081d9343056a0a16a519b" > ec_esimap< / a > [EC_MAXEEPBITMAP]< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__eringt.html" > ec_eringt< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a044ec666d921d73fa187378350add2cc" > ec_elist< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__idxstackT.html" > ec_idxstackT< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a20343bb3954dce4f65d816f1964217ff" > ec_idxstack< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__SMcommtypet.html" > ec_SMcommtypet< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ab53b3ba66491f9d539e8a02ee5ad2731" > ec_SMcommtype< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__PDOassignt.html" > ec_PDOassignt< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a6753ecaad46d1a20edbb7a0e209e9d9e" > ec_PDOassign< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__PDOdesct.html" > ec_PDOdesct< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a1f5bb132723ab67d3eb9d15c1b932748" > ec_PDOdesc< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a59bda7511014ec088a6f7386941045e3" > ec_SM< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "structec__eepromFMMUt.html" > ec_eepromFMMUt< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a8a47ad226e7e5edd765baa252d7485a5" > ec_FMMU< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > boolean  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#ae6ac42aa9d853c4dbd2d07721f467b05" > EcatError< / a > = FALSE< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > int64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#a4774df1c543d7a4941bc96af7d0fd9b8" > ec_DCtime< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > ecx_portt  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aa9106e20562253112e6b4303d54cbc36" > ecx_port< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > ecx_redportt  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#abcdcfdb24a1ebe99c6940de606676362" > ecx_redport< / a > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ethercatmain_8c.html#aab762ea168452663db74c128229b709e" > ecx_context< / a > < / td > < / tr >
2014-11-25 16:10:29 +01:00
< / table >
2015-03-11 21:45:16 +01:00
< hr / > < a name = "details" id = "details" > < / a > < h2 > Detailed Description< / h2 >
2014-11-25 16:10:29 +01:00
< div class = "textblock" > < p > Main EtherCAT functions. < / p >
< p > Initialisation, state set and read, mailbox primitives, EEPROM primitives, SII reading and processdata exchange.< / p >
< p > Defines ec_slave[]. All slave information is put in this structure. Needed for most user interaction with slaves. < / p >
2015-03-11 21:45:16 +01:00
< / div > < hr / > < h2 > Define Documentation< / h2 >
< a class = "anchor" id = "a9aa8dea54bcf04a40e86c127f5751f1d" > < / a > <!-- doxytag: member="ethercatmain.c::EC_LOCALDELAY" ref="a9aa8dea54bcf04a40e86c127f5751f1d" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define EC_LOCALDELAY      200< / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > delay in us for eeprom ready loop < / p >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a385765cd103f1ddc4f4e5df971dfad2c" > < / a > <!-- doxytag: member="ethercatmain.c::MAX_FPRD_MULTI" ref="a385765cd103f1ddc4f4e5df971dfad2c" args="" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAX_FPRD_MULTI      64< / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< / div >
< / div >
< hr / > < h2 > Function Documentation< / h2 >
< a class = "anchor" id = "a652d40885e8275a02ddcf94fbd077c99" > < / a > <!-- doxytag: member="ethercatmain.c::ec_clearmbx" ref="a652d40885e8275a02ddcf94fbd077c99" args="(ec_mbxbuft *Mbx)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_clearmbx < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *  < / td >
< td class = "paramname" > < em > Mbx< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Clear mailbox buffer. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > Mbx< / td > < td > = Mailbox buffer to clear < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab324bdc67988c7eab8dd7324817886cb" > < / a > <!-- doxytag: member="ethercatmain.c::ec_close" ref="ab324bdc67988c7eab8dd7324817886cb" args="(void)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_close < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a027bd337ebfa1d39de8a7a1f5c5287de" > < / a > <!-- doxytag: member="ethercatmain.c::ec_eeprom2master" ref="a027bd337ebfa1d39de8a7a1f5c5287de" args="(uint16 slave)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_eeprom2master < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ae149a6cd4a61c22efa4cf4185ffd83be" > < / a > <!-- doxytag: member="ethercatmain.c::ec_eeprom2pdi" ref="ae149a6cd4a61c22efa4cf4185ffd83be" args="(uint16 slave)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_eeprom2pdi < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "af4b40499a69dd20db5aa8da081c7274f" > < / a > <!-- doxytag: member="ethercatmain.c::ec_eeprom_waitnotbusyAP" ref="af4b40499a69dd20db5aa8da081c7274f" args="(uint16 aiadr, uint16 *estat, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ec_eeprom_waitnotbusyAP < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > aiadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16 *  < / td >
< td class = "paramname" > < em > estat< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a683af1ff758441cb62905cb041e428a1" > < / a > <!-- doxytag: member="ethercatmain.c::ec_eeprom_waitnotbusyFP" ref="a683af1ff758441cb62905cb041e428a1" args="(uint16 configadr, uint16 *estat, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ec_eeprom_waitnotbusyFP < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > configadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16 *  < / td >
< td class = "paramname" > < em > estat< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a7ee3fade767c89f5afd70da308834d42" > < / a > <!-- doxytag: member="ethercatmain.c::ec_esidump" ref="a7ee3fade767c89f5afd70da308834d42" args="(uint16 slave, uint8 *esibuf)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_esidump < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8 *  < / td >
< td class = "paramname" > < em > esibuf< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ac997f6e021185381470d1674c850c0fc" > < / a > <!-- doxytag: member="ethercatmain.c::ec_find_adapters" ref="ac997f6e021185381470d1674c850c0fc" args="(void)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > ec_adaptert* ec_find_adapters < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Create list over available network adapters.< / p >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > First element in list over available network adapters. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a778850bae0fd10768a4af6ced2e1056a" > < / a > <!-- doxytag: member="ethercatmain.c::ec_free_adapters" ref="a778850bae0fd10768a4af6ced2e1056a" args="(ec_adaptert *adapter)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_free_adapters < / td >
< td > (< / td >
< td class = "paramtype" > ec_adaptert *  < / td >
< td class = "paramname" > < em > adapter< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Free dynamically allocated list over available network adapters.< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > adapter< / td > < td > = Struct holding adapter name, description and pointer to next. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a4d4ce1bfe67dcda4868fe1717af993af" > < / a > <!-- doxytag: member="ethercatmain.c::ec_init" ref="a4d4ce1bfe67dcda4868fe1717af993af" args="(char *ifname)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_init < / td >
< td > (< / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > ifname< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a9b46e06711fc56cac33ac9c77f528de1" > < / a > <!-- doxytag: member="ethercatmain.c::ec_init_redundant" ref="a9b46e06711fc56cac33ac9c77f528de1" args="(char *ifname, char *if2name)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_init_redundant < / td >
< td > (< / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > ifname< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > if2name< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a5cf68427133d1d92def6130e4cf9b5a4" > < / a > <!-- doxytag: member="ethercatmain.c::ec_iserror" ref="a5cf68427133d1d92def6130e4cf9b5a4" args="(void)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > boolean ec_iserror < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div >
2015-03-11 21:45:16 +01:00
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a78a07c2b50526e0f99334f7d2782264f" > < / a > <!-- doxytag: member="ethercatmain.c::ec_mbxempty" ref="a78a07c2b50526e0f99334f7d2782264f" args="(uint16 slave, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_mbxempty < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
2015-03-11 21:45:16 +01:00
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a7c1a13c5372ba1b38c9d04085c191e73" > < / a > <!-- doxytag: member="ethercatmain.c::ec_mbxreceive" ref="a7c1a13c5372ba1b38c9d04085c191e73" args="(uint16 slave, ec_mbxbuft *mbx, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_mbxreceive < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *  < / td >
< td class = "paramname" > < em > mbx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a575bb6105662ad54fe55c47fc72075c4" > < / a > <!-- doxytag: member="ethercatmain.c::ec_mbxsend" ref="a575bb6105662ad54fe55c47fc72075c4" args="(uint16 slave, ec_mbxbuft *mbx, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_mbxsend < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *  < / td >
< td class = "paramname" > < em > mbx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a1e178403f6eb467358bdfcc9eb086691" > < / a > <!-- doxytag: member="ethercatmain.c::ec_nextmbxcnt" ref="a1e178403f6eb467358bdfcc9eb086691" args="(uint8 cnt)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8 ec_nextmbxcnt < / td >
< td > (< / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > cnt< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Get index of next mailbox counter value. Used for Mailbox Link Layer. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > cnt< / td > < td > = Mailbox counter value [0..7] < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > next mailbox counter value < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a430e1266d5c0c1bd4153b660e4fa5298" > < / a > <!-- doxytag: member="ethercatmain.c::ec_packeterror" ref="a430e1266d5c0c1bd4153b660e4fa5298" args="(uint16 Slave, uint16 Index, uint8 SubIdx, uint16 ErrorCode)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_packeterror < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > SubIdx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > ErrorCode< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ac5e3fbef1307f9df820124075c373fbd" > < / a > <!-- doxytag: member="ethercatmain.c::ec_poperror" ref="ac5e3fbef1307f9df820124075c373fbd" args="(ec_errort *Ec)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > boolean ec_poperror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structec__errort.html" > ec_errort< / a > *  < / td >
< td class = "paramname" > < em > Ec< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a91e361f3f3615c5ee22eb17def4d1532" > < / a > <!-- doxytag: member="ethercatmain.c::ec_pusherror" ref="a91e361f3f3615c5ee22eb17def4d1532" args="(const ec_errort *Ec)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_pusherror < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "structec__errort.html" > ec_errort< / a > *  < / td >
< td class = "paramname" > < em > Ec< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aacc964b3a092b666f8011717be911d35" > < / a > <!-- doxytag: member="ethercatmain.c::ec_readeeprom" ref="aacc964b3a092b666f8011717be911d35" args="(uint16 slave, uint16 eeproma, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32 ec_readeeprom < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ad920436309547d99e23cb8fd7b56b1bc" > < / a > <!-- doxytag: member="ethercatmain.c::ec_readeeprom1" ref="ad920436309547d99e23cb8fd7b56b1bc" args="(uint16 slave, uint16 eeproma)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_readeeprom1 < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a31e35cc2f33ecf639db43c79850462ab" > < / a > <!-- doxytag: member="ethercatmain.c::ec_readeeprom2" ref="a31e35cc2f33ecf639db43c79850462ab" args="(uint16 slave, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32 ec_readeeprom2 < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ad1f3c620e76b3395d7deccc23ef0f8c5" > < / a > <!-- doxytag: member="ethercatmain.c::ec_readeepromAP" ref="ad1f3c620e76b3395d7deccc23ef0f8c5" args="(uint16 aiadr, uint16 eeproma, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint64 ec_readeepromAP < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > aiadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ace89c7536b04427ffb755e77a5525855" > < / a > <!-- doxytag: member="ethercatmain.c::ec_readeepromFP" ref="ace89c7536b04427ffb755e77a5525855" args="(uint16 configadr, uint16 eeproma, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint64 ec_readeepromFP < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > configadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a585d9cd831f1d43f1bbaf7a50ee9759c" > < / a > <!-- doxytag: member="ethercatmain.c::ec_readstate" ref="a585d9cd831f1d43f1bbaf7a50ee9759c" args="(void)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_readstate < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a14280050ace4427d196acd17e6d79e55" > < / a > <!-- doxytag: member="ethercatmain.c::ec_receive_processdata" ref="a14280050ace4427d196acd17e6d79e55" args="(int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_receive_processdata < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a974363168ed4259d2d5a48a9e7317354" > < / a > <!-- doxytag: member="ethercatmain.c::ec_receive_processdata_group" ref="a974363168ed4259d2d5a48a9e7317354" args="(uint8 group, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_receive_processdata_group < / td >
< td > (< / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > group< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a30c66bb9d54e741149f7d40bbdb21078" > < / a > <!-- doxytag: member="ethercatmain.c::ec_send_processdata" ref="a30c66bb9d54e741149f7d40bbdb21078" args="(void)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_send_processdata < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a5e2063e4eb419e7abdcc9d863dc7a7b4" > < / a > <!-- doxytag: member="ethercatmain.c::ec_send_processdata_group" ref="a5e2063e4eb419e7abdcc9d863dc7a7b4" args="(uint8 group)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_send_processdata_group < / td >
< td > (< / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > group< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "af44cb7b11dccd4ea221079ae0a8138e8" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siifind" ref="af44cb7b11dccd4ea221079ae0a8138e8" args="(uint16 slave, uint16 cat)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int16 ec_siifind < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > cat< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab382409c9f74891f82e87dcc7fad875e" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siiFMMU" ref="ab382409c9f74891f82e87dcc7fad875e" args="(uint16 slave, ec_eepromFMMUt *FMMU)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ec_siiFMMU < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromFMMUt.html" > ec_eepromFMMUt< / a > *  < / td >
< td class = "paramname" > < em > FMMU< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a6c314f9524aa84af885f1e6426b71148" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siigetbyte" ref="a6c314f9524aa84af885f1e6426b71148" args="(uint16 slave, uint16 address)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8 ec_siigetbyte < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > address< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aef972d9668958da9db3c350e159caddb" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siiPDO" ref="aef972d9668958da9db3c350e159caddb" args="(uint16 slave, ec_eepromPDOt *PDO, uint8 t)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_siiPDO < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromPDOt.html" > ec_eepromPDOt< / a > *  < / td >
< td class = "paramname" > < em > PDO< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > t< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a54c0c0d13f6c7b38e98ab91f4db29514" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siiSM" ref="a54c0c0d13f6c7b38e98ab91f4db29514" args="(uint16 slave, ec_eepromSMt *SM)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ec_siiSM < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *  < / td >
< td class = "paramname" > < em > SM< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "acfb749a5fbaaa6d560204757be2170f5" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siiSMnext" ref="acfb749a5fbaaa6d560204757be2170f5" args="(uint16 slave, ec_eepromSMt *SM, uint16 n)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ec_siiSMnext < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *  < / td >
< td class = "paramname" > < em > SM< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > n< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a4fe43f91402e635e7087b9f1e09d7703" > < / a > <!-- doxytag: member="ethercatmain.c::ec_siistring" ref="a4fe43f91402e635e7087b9f1e09d7703" args="(char *str, uint16 slave, uint16 Sn)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ec_siistring < / td >
< td > (< / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > str< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Sn< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a8f77918c0a6a32be1079a11119171901" > < / a > <!-- doxytag: member="ethercatmain.c::ec_statecheck" ref="a8f77918c0a6a32be1079a11119171901" args="(uint16 slave, uint16 reqstate, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ec_statecheck < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > reqstate< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aaa333cdc5ea2ac66cf24a75855d9749b" > < / a > <!-- doxytag: member="ethercatmain.c::ec_writeeeprom" ref="aaa333cdc5ea2ac66cf24a75855d9749b" args="(uint16 slave, uint16 eeproma, uint16 data, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_writeeeprom < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a968dc550dde8340fbe80032f81662427" > < / a > <!-- doxytag: member="ethercatmain.c::ec_writeeepromAP" ref="a968dc550dde8340fbe80032f81662427" args="(uint16 aiadr, uint16 eeproma, uint16 data, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_writeeepromAP < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > aiadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ad4724bcbd8417e56ff2405cec44d6535" > < / a > <!-- doxytag: member="ethercatmain.c::ec_writeeepromFP" ref="ad4724bcbd8417e56ff2405cec44d6535" args="(uint16 configadr, uint16 eeproma, uint16 data, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_writeeepromFP < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > configadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a0750885eaa4230b7815a84ce8d627984" > < / a > <!-- doxytag: member="ethercatmain.c::ec_writestate" ref="a0750885eaa4230b7815a84ce8d627984" args="(uint16 slave)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ec_writestate < / td >
< td > (< / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a8ca8bcd89abfe39cb05a78c792ac0b04" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_close" ref="a8ca8bcd89abfe39cb05a78c792ac0b04" args="(ecx_contextt *context)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ecx_close < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Close lib. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab1e73a407405f2e81752660da3402d3f" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_eeprom2master" ref="ab1e73a407405f2e81752660da3402d3f" args="(ecx_contextt *context, uint16 slave)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_eeprom2master < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Set eeprom control to master. Only if set to PDI. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a001fcd74aea67bbde91023241a834033" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_eeprom2pdi" ref="a001fcd74aea67bbde91023241a834033" args="(ecx_contextt *context, uint16 slave)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_eeprom2pdi < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Set eeprom control to PDI. Only if set to master. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a09961f47c4ef21be41a031fcc77d03c8" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_eeprom_waitnotbusyAP" ref="a09961f47c4ef21be41a031fcc77d03c8" args="(ecx_contextt *context, uint16 aiadr, uint16 *estat, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ecx_eeprom_waitnotbusyAP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > aiadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16 *  < / td >
< td class = "paramname" > < em > estat< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aa295a7f6c4ae28321f51501e83469896" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_eeprom_waitnotbusyFP" ref="aa295a7f6c4ae28321f51501e83469896" args="(ecx_contextt *context, uint16 configadr, uint16 *estat, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ecx_eeprom_waitnotbusyFP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > configadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16 *  < / td >
< td class = "paramname" > < em > estat< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "abc6f018535ede1e2ec4539bdbc790610" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_esidump" ref="abc6f018535ede1e2ec4539bdbc790610" args="(ecx_contextt *context, uint16 slave, uint8 *esibuf)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ecx_esidump < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8 *  < / td >
< td class = "paramname" > < em > esibuf< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Dump complete EEPROM data from slave in buffer. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > esibuf< / td > < td > = EEPROM data buffer, make sure it is big enough. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a231bd98ad20eb81b89a6ce487c70dea0" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_FPRD_multi" ref="a231bd98ad20eb81b89a6ce487c70dea0" args="(ecx_contextt *context, int n, uint16 *configlst, ec_alstatust *slstatlst, int timeout)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_FPRD_multi < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > n< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16 *  < / td >
< td class = "paramname" > < em > configlst< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__alstatust.html" > ec_alstatust< / a > *  < / td >
< td class = "paramname" > < em > slstatlst< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "af03c2d65ee42fa9c95b299d924d159f4" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_init" ref="af03c2d65ee42fa9c95b299d924d159f4" args="(ecx_contextt *context, char *ifname)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_init < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > ifname< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Initialise lib in single NIC mode < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > ifname< / td > < td > = Dev name, f.e. "eth0" < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a96ae0bb965448f69bf2934440f1aab84" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_init_redundant" ref="a96ae0bb965448f69bf2934440f1aab84" args="(ecx_contextt *context, ecx_redportt *redport, char *ifname, char *if2name)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_init_redundant < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > ecx_redportt *  < / td >
< td class = "paramname" > < em > redport< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > ifname< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > if2name< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Initialise lib in redundant NIC mode < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > redport< / td > < td > = pointer to redport, redundant port data < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > ifname< / td > < td > = Primary Dev name, f.e. "eth0" < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > if2name< / td > < td > = Secondary Dev name, f.e. "eth1" < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "af863c77f0d7a43349f671e5d3355e274" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_iserror" ref="af863c77f0d7a43349f671e5d3355e274" args="(ecx_contextt *context)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > boolean ecx_iserror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Check if error list has entries.< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > TRUE if error list contains entries. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a8621b2bc33d85210f69245bfb9287620" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_mbxemergencyerror" ref="a8621b2bc33d85210f69245bfb9287620" args="(ecx_contextt *context, uint16 Slave, uint16 ErrorCode, uint16 ErrorReg, uint8 b1, uint16 w1, uint16 w2)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ecx_mbxemergencyerror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > ErrorCode< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > ErrorReg< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > b1< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > w1< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > w2< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2015-03-11 21:45:16 +01:00
< td > < / td > < td > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Report Mailbox Emergency Error< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > ErrorCode< / td > < td > = Following EtherCAT specification < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > ErrorReg< / td > < td > < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > b1< / td > < td > < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > w1< / td > < td > < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > w2< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a90a2cf6ccfbf75ef47a033dbcbe26a1b" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_mbxempty" ref="a90a2cf6ccfbf75ef47a033dbcbe26a1b" args="(ecx_contextt *context, uint16 slave, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_mbxempty < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Check if IN mailbox of slave is empty. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 is success < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a74a3dbd3f00c0078e9dd637de0a4c5ac" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_mbxerror" ref="a74a3dbd3f00c0078e9dd637de0a4c5ac" args="(ecx_contextt *context, uint16 Slave, uint16 Detail)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ecx_mbxerror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Detail< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2015-03-11 21:45:16 +01:00
< td > < / td > < td > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Report Mailbox Error< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Detail< / td > < td > = Following EtherCAT specification < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a7d751dced14def6511d47bdeef7e0402" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_mbxreceive" ref="a7d751dced14def6511d47bdeef7e0402" args="(ecx_contextt *context, uint16 slave, ec_mbxbuft *mbx, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_mbxreceive < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *  < / td >
< td class = "paramname" > < em > mbx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read OUT mailbox from slave. Supports Mailbox Link Layer with repeat requests. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > mbx< / td > < td > = Mailbox data < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Work counter (> 0 is success) < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a6c00849fdd4148b0ec91065b9f417baa" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_mbxsend" ref="a6c00849fdd4148b0ec91065b9f417baa" args="(ecx_contextt *context, uint16 slave, ec_mbxbuft *mbx, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_mbxsend < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "ethercatmain_8h.html#ac62bb7429de1cb16707a415b240e590d" > ec_mbxbuft< / a > *  < / td >
< td class = "paramname" > < em > mbx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Write IN mailbox to slave. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > mbx< / td > < td > = Mailbox data < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Work counter (> 0 is success) < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a16d41050b6df69e3bd99a784025c2a98" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_packeterror" ref="a16d41050b6df69e3bd99a784025c2a98" args="(ecx_contextt *context, uint16 Slave, uint16 Index, uint8 SubIdx, uint16 ErrorCode)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ecx_packeterror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > SubIdx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > ErrorCode< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Report packet error< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Index< / td > < td > = Index that generated error < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > SubIdx< / td > < td > = Subindex that generated error < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > ErrorCode< / td > < td > = Error code < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ac342a10ae34ab114b7b1c8d5dd7fbcb5" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_poperror" ref="ac342a10ae34ab114b7b1c8d5dd7fbcb5" args="(ecx_contextt *context, ec_errort *Ec)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > boolean ecx_poperror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__errort.html" > ec_errort< / a > *  < / td >
< td class = "paramname" > < em > Ec< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Pops an error from the list.< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > Ec< / td > < td > = Struct describing the error. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > TRUE if an error was popped. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aef326583be0440f0a8d01f329c8a4e93" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_pullindex" ref="aef326583be0440f0a8d01f329c8a4e93" args="(ecx_contextt *context)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > static int ecx_pullindex < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > < / td > < td > )< / td >
2015-03-11 21:45:16 +01:00
< td > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Pull index of segmented LRD/LWR/LRW combination. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Stack location, -1 if stack is empty. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a5093ac090f43e3d281bb9b2e88accf5d" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_pusherror" ref="a5093ac090f43e3d281bb9b2e88accf5d" args="(ecx_contextt *context, const ec_errort *Ec)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ecx_pusherror < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const < a class = "el" href = "structec__errort.html" > ec_errort< / a > *  < / td >
< td class = "paramname" > < em > Ec< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Pushes an error on the error list.< / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Ec< / td > < td > pointer describing the error. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aaf4e6254aa332eb7f20bf2438c20a61e" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_pushindex" ref="aaf4e6254aa332eb7f20bf2438c20a61e" args="(ecx_contextt *context, uint8 idx, void *data, uint16 length)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ecx_pushindex < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > idx< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > length< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2015-03-11 21:45:16 +01:00
< td > < / td > < td > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Push index of segmented LRD/LWR/LRW combination. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > idx< / td > < td > = Used datagram index. < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > data< / td > < td > = Pointer to process data segment. < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > length< / td > < td > = Length of data segment in bytes. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "acefb2d6879d635a163d045029ff43e21" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_readeeprom" ref="acefb2d6879d635a163d045029ff43e21" args="(ecx_contextt *context, uint16 slave, uint16 eeproma, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32 ecx_readeeprom < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read EEPROM from slave bypassing cache. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > EEPROM data 32bit < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "afb33bd2b2490395dd9a9813a20e6af7b" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_readeeprom1" ref="afb33bd2b2490395dd9a9813a20e6af7b" args="(ecx_contextt *context, uint16 slave, uint16 eeproma)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ecx_readeeprom1 < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read EEPROM from slave bypassing cache. Parallel read step 1, make request to slave. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "addfbc81df3d4d9ef8483de0b2ab76cfe" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_readeeprom2" ref="addfbc81df3d4d9ef8483de0b2ab76cfe" args="(ecx_contextt *context, uint16 slave, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32 ecx_readeeprom2 < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read EEPROM from slave bypassing cache. Parallel read step 2, actual read from slave. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > EEPROM data 32bit < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a49de068e67917db7d6f39ea48231d1d9" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_readeepromAP" ref="a49de068e67917db7d6f39ea48231d1d9" args="(ecx_contextt *context, uint16 aiadr, uint16 eeproma, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint64 ecx_readeepromAP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > aiadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read EEPROM from slave bypassing cache. APRD method. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > aiadr< / td > < td > = auto increment address of slave < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > EEPROM data 64bit or 32bit < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a31ae8610cafed98190619eb86225e0ad" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_readeepromFP" ref="a31ae8610cafed98190619eb86225e0ad" args="(ecx_contextt *context, uint16 configadr, uint16 eeproma, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint64 ecx_readeepromFP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > configadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read EEPROM from slave bypassing cache. FPRD method. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > configadr< / td > < td > = configured address of slave < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > EEPROM data 64bit or 32bit < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a8b9f795eb54126583a24499cb7f67f3b" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_readstate" ref="a8b9f795eb54126583a24499cb7f67f3b" args="(ecx_contextt *context)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_readstate < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read all slave states in ec_slave. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > lowest state found < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ad035a9d34d734457d5ac4d0babef0da9" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_receive_processdata" ref="ad035a9d34d734457d5ac4d0babef0da9" args="(ecx_contextt *context, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_receive_processdata < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab9e4cef6c952461a80d4aab5def3cb7d" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_receive_processdata_group" ref="ab9e4cef6c952461a80d4aab5def3cb7d" args="(ecx_contextt *context, uint8 group, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_receive_processdata_group < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > group< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Receive processdata from slaves. Second part from < a class = "el" href = "ethercatmain_8c.html#a30c66bb9d54e741149f7d40bbdb21078" > ec_send_processdata()< / a > . Received datagrams are recombined with the processdata with help from the stack. If a datagram contains input processdata it copies it to the processdata structure. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > group< / td > < td > = group number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Work counter. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab1c3436907a238fc129ae1ef0638d6ae" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_send_processdata" ref="ab1c3436907a238fc129ae1ef0638d6ae" args="(ecx_contextt *context)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_send_processdata < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ad53e97c4552aea50ae62197859f93784" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_send_processdata_group" ref="ad53e97c4552aea50ae62197859f93784" args="(ecx_contextt *context, uint8 group)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_send_processdata_group < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > group< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Transmit processdata to slaves. Uses LRW, or LRD/LWR if LRW is not allowed (blockLRW). Both the input and output processdata are transmitted. The outputs with the actual data, the inputs have a placeholder. The inputs are gathered with the receive processdata function. In contrast to the base LRW function this function is non-blocking. If the processdata does not fit in one datagram, multiple are used. In order to recombine the slave response, a stack is used. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > group< / td > < td > = group number < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if processdata is transmitted. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a502a44128fd91ee54530bea13cd618b4" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siifind" ref="a502a44128fd91ee54530bea13cd618b4" args="(ecx_contextt *context, uint16 slave, uint16 cat)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int16 ecx_siifind < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > cat< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Find SII section header in slave EEPROM. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > cat< / td > < td > = section category < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > byte address of section at section length entry, if not available then 0 < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a74e1cf217268bcb9d6642e4a4da270e2" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siiFMMU" ref="a74e1cf217268bcb9d6642e4a4da270e2" args="(ecx_contextt *context, uint16 slave, ec_eepromFMMUt *FMMU)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ecx_siiFMMU < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromFMMUt.html" > ec_eepromFMMUt< / a > *  < / td >
< td class = "paramname" > < em > FMMU< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Get FMMU data from SII FMMU section in slave EEPROM. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > FMMU< / td > < td > = FMMU struct from SII, max. 4 FMMU's < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > number of FMMU's defined in section < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a95fddc873b352e47ba06a741cd2d2b41" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siigetbyte" ref="a95fddc873b352e47ba06a741cd2d2b41" args="(ecx_contextt *context, uint16 slave, uint16 address)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8 ecx_siigetbyte < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > address< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Read one byte from slave EEPROM via cache. If the cache location is empty then a read request is made to the slave. Depending on the slave capabillities the request is 4 or 8 bytes. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > address< / td > < td > = eeprom address in bytes (slave uses words) < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > requested byte, if not available then 0xff < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a7ce2acd9f8cfcd1c081c216c524f4c3a" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siiPDO" ref="a7ce2acd9f8cfcd1c081c216c524f4c3a" args="(ecx_contextt *context, uint16 slave, ec_eepromPDOt *PDO, uint8 t)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_siiPDO < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromPDOt.html" > ec_eepromPDOt< / a > *  < / td >
< td class = "paramname" > < em > PDO< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8  < / td >
< td class = "paramname" > < em > t< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Get PDO data from SII PDO section in slave EEPROM. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > PDO< / td > < td > = PDO struct from SII < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > t< / td > < td > = 0=RXPDO 1=TXPDO < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > mapping size in bits of PDO < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ad74d4766afe2c75e6057593ed4299262" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siiSM" ref="ad74d4766afe2c75e6057593ed4299262" args="(ecx_contextt *context, uint16 slave, ec_eepromSMt *SM)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ecx_siiSM < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *  < / td >
< td class = "paramname" > < em > SM< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Get SM data from SII SM section in slave EEPROM. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > SM< / td > < td > = first SM struct from SII < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > number of SM's defined in section < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a14b544c6e4c5a565f1b3ed663ad7d4ee" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siiSMnext" ref="a14b544c6e4c5a565f1b3ed663ad7d4ee" args="(ecx_contextt *context, uint16 slave, ec_eepromSMt *SM, uint16 n)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ecx_siiSMnext < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > *  < / td >
< td class = "paramname" > < em > SM< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > n< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Get next SM data from SII SM section in slave EEPROM. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > SM< / td > < td > = first SM struct from SII < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > n< / td > < td > = SM number < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab339c17d12d4b04b6e236ae048b987a1" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_siistring" ref="ab339c17d12d4b04b6e236ae048b987a1" args="(ecx_contextt *context, char *str, uint16 slave, uint16 Sn)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ecx_siistring < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > str< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > Sn< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Get string from SII string section in slave EEPROM. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > str< / td > < td > = requested string, 0x00 if not found < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > Sn< / td > < td > = string number < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a718d24667d9d92dbf36cb44dce86e626" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_statecheck" ref="a718d24667d9d92dbf36cb44dce86e626" args="(ecx_contextt *context, uint16 slave, uint16 reqstate, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16 ecx_statecheck < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > reqstate< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Check actual slave state. This is a blocking function. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number, 0 = all slaves < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > reqstate< / td > < td > = Requested state < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timout value in us < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > Requested state, or found state after timeout. < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a85fdb1a9892e2b4522e104adb902ea0b" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_writeeeprom" ref="a85fdb1a9892e2b4522e104adb902ea0b" args="(ecx_contextt *context, uint16 slave, uint16 eeproma, uint16 data, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_writeeeprom < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Write EEPROM to slave bypassing cache. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > data< / td > < td > = 16bit data < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aebb19a1d88de8b2333ac68087857c36c" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_writeeepromAP" ref="aebb19a1d88de8b2333ac68087857c36c" args="(ecx_contextt *context, uint16 aiadr, uint16 eeproma, uint16 data, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_writeeepromAP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > aiadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Write EEPROM to slave bypassing cache. APWR method. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > aiadr< / td > < td > = configured address of slave < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > data< / td > < td > = 16bit data < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab0603f26f99e0dfb02152852180be2ed" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_writeeepromFP" ref="ab0603f26f99e0dfb02152852180be2ed" args="(ecx_contextt *context, uint16 configadr, uint16 eeproma, uint16 data, int timeout)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_writeeepromFP < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > configadr< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > eeproma< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > data< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > timeout< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Write EEPROM to slave bypassing cache. FPWR method. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > configadr< / td > < td > = configured address of slave < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > eeproma< / td > < td > = (WORD) Address in the EEPROM < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > data< / td > < td > = 16bit data < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > timeout< / td > < td > = Timeout in us. < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > > 0 if OK < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a195c94484f8bb6feeff4af1dd6c38617" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_writestate" ref="a195c94484f8bb6feeff4af1dd6c38617" args="(ecx_contextt *context, uint16 slave)" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int ecx_writestate < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > *  < / td >
< td class = "paramname" > < em > context< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16  < / td >
< td class = "paramname" > < em > slave< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > Write slave state, if slave = 0 then write to all slaves. The function does not check if the actual state is changed. < / p >
2015-03-11 21:45:16 +01:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
2014-11-25 16:10:29 +01:00
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > context< / td > < td > = context struct < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > slave< / td > < td > = Slave number, 0 = master < / td > < / tr >
< / table >
< / dd >
< / dl >
2015-03-11 21:45:16 +01:00
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > 0 < / dd > < / dl >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< hr / > < h2 > Variable Documentation< / h2 >
< a class = "anchor" id = "a4774df1c543d7a4941bc96af7d0fd9b8" > < / a > <!-- doxytag: member="ethercatmain.c::ec_DCtime" ref="a4774df1c543d7a4941bc96af7d0fd9b8" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > int64 < a class = "el" href = "ethercatmain_8c.html#a4774df1c543d7a4941bc96af7d0fd9b8" > ec_DCtime< / a > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a044ec666d921d73fa187378350add2cc" > < / a > <!-- doxytag: member="ethercatmain.c::ec_elist" ref="a044ec666d921d73fa187378350add2cc" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__eringt.html" > ec_eringt< / a > < a class = "el" href = "ethercatmain_8c.html#a044ec666d921d73fa187378350add2cc" > ec_elist< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< p > current slave for EEPROM cache buffer < / p >
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a686a06a7d5c52eaa6ee9c822047bdd19" > < / a > <!-- doxytag: member="ethercatmain.c::ec_esibuf" ref="a686a06a7d5c52eaa6ee9c822047bdd19" args="[EC_MAXEEPBUF]" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > uint8 < a class = "el" href = "ethercatmain_8c.html#a686a06a7d5c52eaa6ee9c822047bdd19" > ec_esibuf< / a > [EC_MAXEEPBUF]< code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > cache for EEPROM read functions < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab31d889c5d1081d9343056a0a16a519b" > < / a > <!-- doxytag: member="ethercatmain.c::ec_esimap" ref="ab31d889c5d1081d9343056a0a16a519b" args="[EC_MAXEEPBITMAP]" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > uint32 < a class = "el" href = "ethercatmain_8c.html#ab31d889c5d1081d9343056a0a16a519b" > ec_esimap< / a > [EC_MAXEEPBITMAP]< code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > bitmap for filled cache buffer bytes < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a8a47ad226e7e5edd765baa252d7485a5" > < / a > <!-- doxytag: member="ethercatmain.c::ec_FMMU" ref="a8a47ad226e7e5edd765baa252d7485a5" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__eepromFMMUt.html" > ec_eepromFMMUt< / a > < a class = "el" href = "ethercatmain_8c.html#a8a47ad226e7e5edd765baa252d7485a5" > ec_FMMU< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > buffer for EEPROM FMMU data < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a2bdce50a46e56597354e404a55344934" > < / a > <!-- doxytag: member="ethercatmain.c::ec_group" ref="a2bdce50a46e56597354e404a55344934" args="[EC_MAXGROUP]" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__groupt.html" > ec_groupt< / a > < a class = "el" href = "ethercatmain_8c.html#a2bdce50a46e56597354e404a55344934" > ec_group< / a > [EC_MAXGROUP]< / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > slave group structure < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a20343bb3954dce4f65d816f1964217ff" > < / a > <!-- doxytag: member="ethercatmain.c::ec_idxstack" ref="a20343bb3954dce4f65d816f1964217ff" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__idxstackT.html" > ec_idxstackT< / a > < a class = "el" href = "ethercatmain_8c.html#a20343bb3954dce4f65d816f1964217ff" > ec_idxstack< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a6753ecaad46d1a20edbb7a0e209e9d9e" > < / a > <!-- doxytag: member="ethercatmain.c::ec_PDOassign" ref="a6753ecaad46d1a20edbb7a0e209e9d9e" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__PDOassignt.html" > ec_PDOassignt< / a > < a class = "el" href = "ethercatmain_8c.html#a6753ecaad46d1a20edbb7a0e209e9d9e" > ec_PDOassign< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > PDO assign struct to store data of one slave < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a1f5bb132723ab67d3eb9d15c1b932748" > < / a > <!-- doxytag: member="ethercatmain.c::ec_PDOdesc" ref="a1f5bb132723ab67d3eb9d15c1b932748" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__PDOdesct.html" > ec_PDOdesct< / a > < a class = "el" href = "ethercatmain_8c.html#a1f5bb132723ab67d3eb9d15c1b932748" > ec_PDOdesc< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > PDO description struct to store data of one slave < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a309bc1e26d5c2ce80d69804b30bbb6a7" > < / a > <!-- doxytag: member="ethercatmain.c::ec_slave" ref="a309bc1e26d5c2ce80d69804b30bbb6a7" args="[EC_MAXSLAVE]" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > PACKED_END < a class = "el" href = "structec__slavet.html" > ec_slavet< / a > < a class = "el" href = "ethercatmain_8c.html#a309bc1e26d5c2ce80d69804b30bbb6a7" > ec_slave< / a > [EC_MAXSLAVE]< / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > Main slave data array. Each slave found on the network gets its own record. ec_slave[0] is reserved for the master. Structure gets filled in by the configuration function < a class = "el" href = "ethercatconfig_8c.html#a502e65cce3b0b5f8dbcabf6f25dab351" > ec_config()< / a > . < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aa9c784abc9a4ede41d3d8d688b4a7dc5" > < / a > <!-- doxytag: member="ethercatmain.c::ec_slavecount" ref="aa9c784abc9a4ede41d3d8d688b4a7dc5" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > int < a class = "el" href = "ethercatmain_8c.html#aa9c784abc9a4ede41d3d8d688b4a7dc5" > ec_slavecount< / a > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > number of slaves found on the network < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "a59bda7511014ec088a6f7386941045e3" > < / a > <!-- doxytag: member="ethercatmain.c::ec_SM" ref="a59bda7511014ec088a6f7386941045e3" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__eepromSMt.html" > ec_eepromSMt< / a > < a class = "el" href = "ethercatmain_8c.html#a59bda7511014ec088a6f7386941045e3" > ec_SM< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > buffer for EEPROM SM data < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "ab53b3ba66491f9d539e8a02ee5ad2731" > < / a > <!-- doxytag: member="ethercatmain.c::ec_SMcommtype" ref="ab53b3ba66491f9d539e8a02ee5ad2731" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structec__SMcommtypet.html" > ec_SMcommtypet< / a > < a class = "el" href = "ethercatmain_8c.html#ab53b3ba66491f9d539e8a02ee5ad2731" > ec_SMcommtype< / a > < code > [static]< / code > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
< / div >
2015-03-11 21:45:16 +01:00
< div class = "memdoc" >
< p > SyncManager Communication Type struct to store data of one slave < / p >
2014-11-25 16:10:29 +01:00
< / div >
2015-03-11 21:45:16 +01:00
< / div >
< a class = "anchor" id = "ae6ac42aa9d853c4dbd2d07721f467b05" > < / a > <!-- doxytag: member="ethercatmain.c::EcatError" ref="ae6ac42aa9d853c4dbd2d07721f467b05" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > boolean < a class = "el" href = "ethercatmain_8c.html#ae6ac42aa9d853c4dbd2d07721f467b05" > EcatError< / a > = FALSE< / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
< p > Global variable TRUE if error available in error stack < / p >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "aab762ea168452663db74c128229b709e" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_context" ref="aab762ea168452663db74c128229b709e" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > < a class = "el" href = "structecx__contextt.html" > ecx_contextt< / a > < a class = "el" href = "ethercatmain_8c.html#aab762ea168452663db74c128229b709e" > ecx_context< / a > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
< / div >
2015-03-11 21:45:16 +01:00
< div class = "memdoc" >
< b > Initial value:< / b > < div class = "fragment" > < pre class = "fragment" > {
& < a class = "code" href = "ethercatmain_8c.html#aa9106e20562253112e6b4303d54cbc36" > ecx_port< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a309bc1e26d5c2ce80d69804b30bbb6a7" > ec_slave< / a > [0],
& < a class = "code" href = "ethercatmain_8c.html#aa9c784abc9a4ede41d3d8d688b4a7dc5" > ec_slavecount< / a > ,
< a class = "code" href = "ethercatmain_8h.html#aac9d5921632e71c5733e86a26feccf04" > EC_MAXSLAVE< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a2bdce50a46e56597354e404a55344934" > ec_group< / a > [0],
< a class = "code" href = "ethercatmain_8h.html#a1f13aca133c78710a901be88d513f692" > EC_MAXGROUP< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a686a06a7d5c52eaa6ee9c822047bdd19" > ec_esibuf< / a > [0],
& < a class = "code" href = "ethercatmain_8c.html#ab31d889c5d1081d9343056a0a16a519b" > ec_esimap< / a > [0],
0,
& < a class = "code" href = "ethercatmain_8c.html#a044ec666d921d73fa187378350add2cc" > ec_elist< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a20343bb3954dce4f65d816f1964217ff" > ec_idxstack< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#ae6ac42aa9d853c4dbd2d07721f467b05" > EcatError< / a > ,
0,
0,
& < a class = "code" href = "ethercatmain_8c.html#a4774df1c543d7a4941bc96af7d0fd9b8" > ec_DCtime< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#ab53b3ba66491f9d539e8a02ee5ad2731" > ec_SMcommtype< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a6753ecaad46d1a20edbb7a0e209e9d9e" > ec_PDOassign< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a1f5bb132723ab67d3eb9d15c1b932748" > ec_PDOdesc< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a59bda7511014ec088a6f7386941045e3" > ec_SM< / a > ,
& < a class = "code" href = "ethercatmain_8c.html#a8a47ad226e7e5edd765baa252d7485a5" > ec_FMMU< / a > ,
NULL
}
< / pre > < / div >
2014-11-25 16:10:29 +01:00
< / div >
2015-03-11 21:45:16 +01:00
< / div >
< a class = "anchor" id = "aa9106e20562253112e6b4303d54cbc36" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_port" ref="aa9106e20562253112e6b4303d54cbc36" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > ecx_portt < a class = "el" href = "ethercatmain_8c.html#aa9106e20562253112e6b4303d54cbc36" > ecx_port< / a > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< a class = "anchor" id = "abcdcfdb24a1ebe99c6940de606676362" > < / a > <!-- doxytag: member="ethercatmain.c::ecx_redport" ref="abcdcfdb24a1ebe99c6940de606676362" args="" -->
2014-11-25 16:10:29 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2015-03-11 21:45:16 +01:00
< td class = "memname" > ecx_redportt < a class = "el" href = "ethercatmain_8c.html#abcdcfdb24a1ebe99c6940de606676362" > ecx_redport< / a > < / td >
2014-11-25 16:10:29 +01:00
< / tr >
< / table >
2015-03-11 21:45:16 +01:00
< / div >
< div class = "memdoc" >
2014-11-25 16:10:29 +01:00
< / div >
< / div >
2015-03-11 21:45:16 +01:00
< / div >
< hr class = "footer" / > < address class = "footer" > < small > Generated on Wed Mar 11 2015 20:44:23 for SOEM by 
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.7.4 < / small > < / address >
2014-11-25 16:10:29 +01:00
< / body >
< / html >