Closed NilsLo closed 7 years ago
Are you runnning SOEM 1.3.1? Do they slaves support CompleteAccess? Try using only 1 configuration thread. SOEM 1.3.1 have a bug in parallel configuration, we have made on fix in latest. But it might be one issue still lurking.
Yes I'm running SOEM1.3.1. How can I activate only one configuration thread?
On Slaveinfo I get the following Informations: Slave:1 Name:NX-ECC202 Output size: 672bits Input size: 2064bits State: 4 Delay: 0[ns] Has DC: 1 DCParentport:0 Activeports:1.1.0.0 Configured address: 1001 Man: 00000083 ID: 000000a6 Rev: 00010002 SM0 A:2800 L: 256 F:00010026 Type:1 SM1 A:2a00 L: 256 F:00010022 Type:2 SM2 A:1000 L: 84 F:00010064 Type:3 SM3 A:1c00 L: 258 F:00010020 Type:4 FMMU0 Ls:00000000 Ll: 84 Lsb:0 Leb:7 Ps:1000 Psb:0 Ty:02 Act:01 FMMU1 Ls:00000068 Ll: 258 Lsb:0 Leb:7 Ps:1c00 Psb:0 Ty:01 Act:01 FMMUfunc 0:1 1:3 2:3 3:0 MBX length wr: 256 rd: 256 MBX protocols : 04 CoE details: 21 FoE details: 00 EoE details: 00 SoE details: 00 Ebus current: 0[mA] only LRD/LWR:0
Slaveinfo -sdo Slave:1 Name:NX-ECC202 Output size: 672bits Input size: 2064bits State: 4 Delay: 0[ns] Has DC: 1 DCParentport:0 Activeports:1.1.0.0 Configured address: 1001 Man: 00000083 ID: 000000a6 Rev: 00010002 SM0 A:2800 L: 256 F:00010026 Type:1 SM1 A:2a00 L: 256 F:00010022 Type:2 SM2 A:1000 L: 84 F:00010064 Type:3 SM3 A:1c00 L: 258 F:00010020 Type:4 FMMU0 Ls:00000000 Ll: 84 Lsb:0 Leb:7 Ps:1000 Psb:0 Ty:02 Act:01 FMMU1 Ls:00000068 Ll: 258 Lsb:0 Leb:7 Ps:1c00 Psb:0 Ty:01 Act:01 FMMUfunc 0:1 1:3 2:3 3:0 MBX length wr: 256 rd: 256 MBX protocols : 04 CoE details: 21 FoE details: 00 EoE details: 00 SoE details: 00 Ebus current: 0[mA] only LRD/LWR:0 Time: 74640.764 MBX slave:1 error:0004 The service is no supported Time: 74640.766 MBX slave:1 error:0004 The service is no supported Time: 74640.770 MBX slave:1 error:0004 The service is no supported Time: 74640.772 MBX slave:1 error:0004 The service is no supported Time: 74640.775 MBX slave:1 error:0004 The service is no supported Time: 74640.779 MBX slave:1 error:0004 The service is no supported Time: 74640.782 MBX slave:1 error:0004 The service is no supported ....
and Slaveinfo -map won't work everytime as expected. Normaly it should deliver: Slave:1 Name:NX-ECC202 Output size: 672bits Input size: 2064bits State: 4 Delay: 0[ns] Has DC: 1 DCParentport:0 Activeports:1.1.0.0 Configured address: 1001 Man: 00000083 ID: 000000a6 Rev: 00010002 SM0 A:2800 L: 256 F:00010026 Type:1 SM1 A:2a00 L: 256 F:00010022 Type:2 SM2 A:1000 L: 84 F:00010064 Type:3 SM3 A:1c00 L: 258 F:00010020 Type:4 FMMU0 Ls:00000000 Ll: 84 Lsb:0 Leb:7 Ps:1000 Psb:0 Ty:02 Act:01 FMMU1 Ls:00000068 Ll: 258 Lsb:0 Leb:7 Ps:1c00 Psb:0 Ty:01 Act:01 FMMUfunc 0:1 1:3 2:3 3:0 MBX length wr: 256 rd: 256 MBX protocols : 04 CoE details: 21 FoE details: 00 EoE details: 00 SoE details: 00 Ebus current: 0[mA] only LRD/LWR:0 PDO mapping according to CoE : SM2 outputs addr b index: sub bitl data_type name [0x0000.0] 0x7001:0x01 0x08 [0x0001.0] 0x0000:0x00 0x08 [0x0002.0] 0x7021:0x01 0x08 [0x0003.0] 0x0020:0x00 0x08 [0x0004.0] 0x7040:0x01 0x10 [0x0006.0] 0x7041:0x01 0x10 [0x0008.0] 0x7042:0x01 0x10 [0x000A.0] 0x7043:0x01 0x20 [0x000E.0] 0x7060:0x01 0x10 [0x0010.0] 0x7061:0x01 0x10 [0x0012.0] 0x7062:0x01 0x10 [0x0014.0] 0x7063:0x01 0x20 [0x0018.0] 0x7080:0x01 0x10 [0x001A.0] 0x7081:0x01 0x10 [0x001C.0] 0x7082:0x01 0x10 [0x001E.0] 0x7083:0x01 0x20 [0x0022.0] 0x70A0:0x01 0x10 [0x0024.0] 0x70A1:0x01 0x10 [0x0026.0] 0x70A2:0x01 0x10 [0x0028.0] 0x70A3:0x01 0x20 [0x002C.0] 0x70C0:0x01 0x10 [0x002E.0] 0x70C1:0x01 0x10 [0x0030.0] 0x70C2:0x01 0x10 [0x0032.0] 0x70C3:0x01 0x20 [0x0036.0] 0x7100:0x01 0x10 [0x0038.0] 0x7101:0x01 0x10 [0x003A.0] 0x7102:0x01 0x10 [0x003C.0] 0x7103:0x01 0x20 [0x0040.0] 0x7120:0x01 0x10 [0x0042.0] 0x7121:0x01 0x10 [0x0044.0] 0x7122:0x01 0x10 [0x0046.0] 0x7123:0x01 0x20 [0x004A.0] 0x7140:0x01 0x10 [0x004C.0] 0x7141:0x01 0x10 [0x004E.0] 0x7142:0x01 0x10 [0x0050.0] 0x7143:0x01 0x20 SM3 inputs addr b index: sub bitl data_type name [0x0068.0] 0x3003:0x04 0x80 [0x0078.0] 0x3006:0x04 0x80 [0x0088.0] 0x3005:0x04 0x80 [0x0098.0] 0x3007:0x04 0x80 [0x00A8.0] 0x2002:0x01 0x08 [0x00A9.0] 0x0000:0x00 0x08 [0x00AA.0] 0x6040:0x01 0x10 [0x00AC.0] 0x6041:0x01 0x10 [0x00AE.0] 0x6042:0x01 0x20 [0x00B2.0] 0x6043:0x01 0x20 [0x00B6.0] 0x6044:0x01 0x20 [0x00BA.0] 0x6045:0x01 0x20 [0x00BE.0] 0x604A:0x01 0x10 [0x00C0.0] 0x604B:0x01 0x10 [0x00C2.0] 0x6060:0x01 0x10 [0x00C4.0] 0x6061:0x01 0x10 [0x00C6.0] 0x6062:0x01 0x20 [0x00CA.0] 0x6063:0x01 0x20 [0x00CE.0] 0x6064:0x01 0x20 [0x00D2.0] 0x6065:0x01 0x20 [0x00D6.0] 0x606A:0x01 0x10 [0x00D8.0] 0x606B:0x01 0x10 [0x00DA.0] 0x6080:0x01 0x10 [0x00DC.0] 0x6081:0x01 0x10 [0x00DE.0] 0x6082:0x01 0x20 [0x00E2.0] 0x6083:0x01 0x20 [0x00E6.0] 0x6084:0x01 0x20 [0x00EA.0] 0x6085:0x01 0x20 [0x00EE.0] 0x608A:0x01 0x10 [0x00F0.0] 0x608B:0x01 0x10 [0x00F2.0] 0x60A0:0x01 0x10 [0x00F4.0] 0x60A1:0x01 0x10 [0x00F6.0] 0x60A2:0x01 0x20 [0x00FA.0] 0x60A3:0x01 0x20 [0x00FE.0] 0x60A4:0x01 0x20 [0x0102.0] 0x60A5:0x01 0x20 [0x0106.0] 0x60AA:0x01 0x10 [0x0108.0] 0x60AB:0x01 0x10 [0x010A.0] 0x60C0:0x01 0x10 [0x010C.0] 0x60C1:0x01 0x10 [0x010E.0] 0x60C2:0x01 0x20 [0x0112.0] 0x60C3:0x01 0x20 [0x0116.0] 0x60C4:0x01 0x20 [0x011A.0] 0x60C5:0x01 0x20 [0x011E.0] 0x60CA:0x01 0x10 [0x0120.0] 0x60CB:0x01 0x10 [0x0122.0] 0x6100:0x01 0x10 [0x0124.0] 0x6101:0x01 0x10 [0x0126.0] 0x6102:0x01 0x20 [0x012A.0] 0x6103:0x01 0x20 [0x012E.0] 0x6104:0x01 0x20 [0x0132.0] 0x6105:0x01 0x20 [0x0136.0] 0x610A:0x01 0x10 [0x0138.0] 0x610B:0x01 0x10 [0x013A.0] 0x6120:0x01 0x10 [0x013C.0] 0x6121:0x01 0x10 [0x013E.0] 0x6122:0x01 0x20 [0x0142.0] 0x6123:0x01 0x20 [0x0146.0] 0x6124:0x01 0x20 [0x014A.0] 0x6125:0x01 0x20 [0x014E.0] 0x612A:0x01 0x10 [0x0150.0] 0x612B:0x01 0x10 [0x0152.0] 0x6140:0x01 0x10 [0x0154.0] 0x6141:0x01 0x10 [0x0156.0] 0x6142:0x01 0x20 [0x015A.0] 0x6143:0x01 0x20 [0x015E.0] 0x6144:0x01 0x20 [0x0162.0] 0x6145:0x01 0x20 [0x0166.0] 0x614A:0x01 0x10 [0x0168.0] 0x614B:0x01 0x10 This runs very slow (max. 2 or 3 lines per second) All other slaves answer very fast.
but often I got a lot of zero lines and the scan stopped after a few lines. Input and OUitput size was always correct.
Set the following to in ethercatmain.h /* define maximum number of concurrent threads in mapping /
BTW, what platform are you running on? Do you have an Wireshark log?
Sorry forgot to write. System is running on Win10Pro. Is a recompile of soem required?
I don't have a whireshark log at this moment.
Yes, you need to recompile.
Using
seems to solve the problem with Invelid in- or output configuration.
Can you try building latest version , eg the soon to be 1.3.2? We fixed a threading issue there connected to complete access. But I've got indication it might still be some issue with parallel configuration, unfortunatly I've never been able to reproduce it.
Downloaded latest git, seems to work also. System is on the road to customer now. I can do next test in 2 or three weeks.
I guess there is no issue
Hello,
Arrived home from tests, new version solved problems.
Thank you.
Am 20.03.2017 um 07:42 schrieb nakarlsson:
I guess there is no issue
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenEtherCATsociety/SOEM/issues/79#issuecomment-287687062, or mute the thread https://github.com/notifications/unsubscribe-auth/AYwJ94n_SgzGEEUwDu_RAjRvnBTULi0Eks5rnh_pgaJpZM4MIo0S.
Hi I'm using 6 OMRON NX-ECC02 slaves (all Slaves configured with 2*8Digital Out and 8 DMS-LoadCell converters). In normal cases the system runs without problems. But sometimes the Switch to SAFE_OP fails with one or more slaves in error status "0x30 Invalid input configuration" or "0x29 Invalid output configuration". Sometimes this error is gone by restarting the program. A complete power cycle at the bus is needed (Power off->Power on).