Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

CODESYS Control Simatic IOT2040 SL

2019-08-16
2019-12-10
  • CraigMarduk

    CraigMarduk - 2019-08-16

    Hallo Zusammen,

    ich versuche gerade ein IOT2040 mit der Codesys Runtime als SPS mit Beckhoff EtherCat Modulen zum Laufen zu bekommen.
    Die Installation der Runtime und die Kommunikation mit der SPS funktionieren soweit ohne Probleme.
    Den EtherCat Master konnte ich ebenfalls einfügen und die Angeschlossenen Module Online suchen und in die Konfiguration kopieren.
    Es handelt sich um einen Beckhoff EK1100 + 1x EL1008 + 1x EL 2008.
    Es könne auch Ein und Ausgänge nach dem Mappen über das Programm gesteuert werden.

    Nun zu meinem Problem sobald ich das IOT vom Strom nehme und neu Starte will der EtherCat Bus nicht mehr in Run gehen.
    Es werden Online Orange Dreiecke angezeigt und im Status nur Läuft nicht.
    Im Laufzeitsystem Infor steht dann folgendes:

    1565964346, 0x00001005, 1, 0, 0, Networkadapter opened
    1565964346, 0x00001005, 1, 0, 0, Preparation successfull
    1565964349, 0x00001005, 4, 0, 0, SysEthernet: packet could not be sent, error code:1
    1565964350, 0x00001005, 4, 0, 0, Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!

    Wenn ich dann das IOT über "Zielgerät neu starteten" warmstarte läuft der Bus anschließend nach dem reboot.
    Mit einem Reset am IOT per Taster oder über Online / Reset funktionert der Bus hinterher nicht.

    folgendes verhalten konnte ich noch feststellen:
    wenn das IOT ohne die EtherCat Verbindung bootet und ich nach dem Hochlaufen den Bus Verbinde Läuft der EtherCat Bus anschließend normal hoch und Läuft ohne Probleme.

    Ich bin für jede Idee wo der Fehler liegen könnt Dankbar.

    Mfg

    Craig

     
  • eschwellinger

    eschwellinger - 2019-08-19

    Hi,
    scheint mir ein Fehler zu sein,
    kannst du bitte einen BugReport schreiben CODESYS Storec -> Meine Frage BugSupport.
    Kannst du bitte im Master den Haken Automatisch die Slaves restarten setzen und schauen ob es das behebt?
    Könnte was mit der Reihenfolge beim starten der Runtime/Netzwerk unter Linux zu tun haben.
    Ein logfile (cat /tmp/codesyscontrol.log) hier posten... oder eben bei deinem Fehlerreport würde auch helfen.
    mfg
    Edwin

     
  • CraigMarduk

    CraigMarduk - 2019-08-21

    Hallo,

    danke für die schnelle Antwort.
    Das mit Restart Slave beim Master hatte ich schon versucht und ist aktuell auch immer noch aktiv bringt leider nichts.

    VG Craig

    Hier noch der Inhalt der Log Datei:

    ;*********
    ;<loggername>/tmp/codesyscontrol.log</loggername>
    ;<logoptions>
    ; <enable>1</enable>
    ; <type>normal</type>
    ; <timestamp>rtc</timestamp>
    ; <deactivatable>0</deactivatable>
    ; <dump>always</dump>
    ; <filter>0x0000000f<filter>
    ; <maxentries>1000</maxentries>
    ; <maxfiles>1</maxfiles>
    ; <maxfilesize>1000000</maxfilesize>
    ;</filter></filter></logoptions>
    ;<entries>
    ;Timestamp, CmpId, ClassId, ErrorId, InfoId, InfoText
    ;ClassId: LOG_INFO =1
    ;ClassId: LOG_WARNING =2
    ;ClassId: LOG_ERROR =4
    ;ClassId: LOG_EXCEPTION =8
    ;ClassId: LOG_DEBUG =16
    ;ClassId: LOG_PRINTF =32
    ;ClassId: LOG_COM =64
    ;</entries>
    ;*********

    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <logoptions>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <benable>1</benable>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <type>normal</type>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <timestamp>rtc</timestamp>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <disableable>0</disableable>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <filter>0x0000000f<filter>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <maxentries>1000</maxentries>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <maxfiles>1</maxfiles>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, <maxfilesize>1000000</maxfilesize>
    2019-08-21T17:26:14Z, 0x00000013, 1, 0, 0, </filter></filter></logoptions>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 4, CODESYS Control for IOT2000 SL
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 4, OS=Linux, CPU=x86, Arch=32Bit, Coding=C
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 6, <version>3.5.15.0</version> <builddate>Jul 24 2019</builddate>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 5, Copyright (c) 3S - Smart Software Solutions GmbH
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>CM</cmp>, <id>0x00000001</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>CmpMemPool</cmp>, <id>0x0000001e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>CmpLog</cmp>, <id>0x00000013</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>CmpSettings</cmp>, <id>0x0000001a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysFile</cmp>, <id>0x00000104</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysCom</cmp>, <id>0x00000100</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysCpuHandling</cmp>, <id>0x00000101</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysDir</cmp>, <id>0x0000011b</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysEthernet</cmp>, <id>0x0000011c</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysEvent</cmp>, <id>0x00000102</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>_</cmp>, <id>0x00000103</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysInternalLib</cmp>, <id>0x00000107</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysMem</cmp>, <id>0x00000108</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysModule</cmp>, <id>0x00000109</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysMsgQ</cmp>, <id>0x0000010a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysMutex</cmp>, <id>0x0000013a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysOut</cmp>, <id>0x0000010b</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysProcess</cmp>, <id>0x0000010e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysSem</cmp>, <id>0x0000010f</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysSemCount</cmp>, <id>0x00000139</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysSemProcess</cmp>, <id>0x00000119</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysShm</cmp>, <id>0x00000110</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysSocket</cmp>, <id>0x00000111</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysTarget</cmp>, <id>0x00000112</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysTask</cmp>, <id>0x00000114</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysTime</cmp>, <id>0x00000115</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysTimeRtc</cmp>, <id>0x00000127</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, System: <cmp>SysTimer</cmp>, <id>0x00000116</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpAlarmManager</cmp>, <id>0x0000007c</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpApp</cmp>, <id>0x00000002</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpAppBP</cmp>, <id>0x00000073</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpAppForce</cmp>, <id>0x00000074</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpAsyncMgr</cmp>, <id>0x0000005f</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtil</cmp>, <id>0x00000004</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtilIec</cmp>, <id>0x0000005c</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpBitmapPool</cmp>, <id>0x00000050</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvTcp</cmp>, <id>0x00000030</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvUdp</cmp>, <id>0x00000007</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAAsyncMan</cmp>, <id>0x00004007</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAABehaviourModel</cmp>, <id>0x00004015</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAACallback</cmp>, <id>0x00004001</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAACanL2</cmp>, <id>0x00004004</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAADTUtil</cmp>, <id>0x00004013</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAFile</cmp>, <id>0x00004008</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAMemBlockMan</cmp>, <id>0x00004003</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAANetBaseServices</cmp>, <id>0x00004018</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAARealTimeClock</cmp>, <id>0x00004014</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoClient</cmp>, <id>0x00004011</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoServer</cmp>, <id>0x00004017</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASegBufferMan</cmp>, <id>0x00004019</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASerialCom</cmp>, <id>0x00004012</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAStorage</cmp>, <id>0x0000007e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATick</cmp>, <id>0x00004009</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATickUtil</cmp>, <id>0x00004010</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATimer</cmp>, <id>0x00004016</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATypes</cmp>, <id>0x00004006</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelClient</cmp>, <id>0x00000008</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelClientIec</cmp>, <id>0x0000005d</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelMgr</cmp>, <id>0x00000009</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelServer</cmp>, <id>0x0000000a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCharDevice</cmp>, <id>0x00000300</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpChecksum</cmp>, <id>0x0000000b</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCodeMeter</cmp>, <id>0x0000007a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCommunicationLib</cmp>, <id>0x0000000c</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCoreDump</cmp>, <id>0x00000083</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpCryptMD5</cmp>, <id>0x0000006a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpDevice</cmp>, <id>0x0000000e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpDynamicText</cmp>, <id>0x00000051</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpEL6751CanDrv</cmp>, <id>0x00005f0b</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpEventMgr</cmp>, <id>0x0000005b</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpFileTransfer</cmp>, <id>0x0000005e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpGateway</cmp>, <id>0x0000000f</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpGwCommDrvShm</cmp>, <id>0x0000006e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpGwCommDrvTcp</cmp>, <id>0x00000010</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpIecStringUtils</cmp>, <id>0x0000007f</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpIecTask</cmp>, <id>0x00000011</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpIecVarAccess</cmp>, <id>0x00000060</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpIoDrvIec</cmp>, <id>0x0000005a</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpIoMgr</cmp>, <id>0x00000012</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpIot2000</cmp>, <id>0x00000305</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpKnxStack</cmp>, <id>0x0000004d</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpMonitor2</cmp>, <id>0x00000032</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClient</cmp>, <id>0x00000015</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClientIec</cmp>, <id>0x0000011d</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceServer</cmp>, <id>0x00000016</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAProviderIecVarAccess</cmp>, <id>0x00000126</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAServer</cmp>, <id>0x00000124</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAStack</cmp>, <id>0x0000008d</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpOpenSSL</cmp>, <id>0x00000033</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpPlcShell</cmp>, <id>0x00000128</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpRetain</cmp>, <id>0x00000017</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpRouter</cmp>, <id>0x00000018</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpSchedule</cmp>, <id>0x00000019</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpSecureChannel</cmp>, <id>0x00000090</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpSecurityManager</cmp>, <id>0x0000008e</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpSrv</cmp>, <id>0x0000001c</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpTraceMgr</cmp>, <id>0x00000070</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpUserDB</cmp>, <id>0x00000064</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpUserDBObjects</cmp>, <id>0x00000091</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpUserMgr</cmp>, <id>0x00000061</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuHandler</cmp>, <id>0x00000054</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuServer</cmp>, <id>0x00000057</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpWebServer</cmp>, <id>0x00000071</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:14Z, 0x00000001, 1, 0, 10, <cmp>CmpWebServerHandlerV3</cmp>, <id>0x00000072</id> <ver>3.5.15.0</ver>
    2019-08-21T17:26:15Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>192.168.200.1</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    2019-08-21T17:26:15Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 1</interface> at router <instance>0</instance> registered
    2019-08-21T17:26:15Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>192.168.200.2</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    2019-08-21T17:26:15Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 2</interface> at router <instance>1</instance> registered
    2019-08-21T17:26:15Z, 0x00000009, 1, 0, 2, Running as network server
    2019-08-21T17:26:15Z, 0x00000009, 1, 0, 1, Running as network client
    2019-08-21T17:26:15Z, 0x0000000a, 1, 0, 0, <numofchannels>4</numofchannels> channels available, each of the size <buffersize>100000</buffersize> Bytes
    2019-08-21T17:26:39Z, 0x00000030, 1, 0, 6, Local network address: <ipaddress>192.168.200.1</ipaddress>
    2019-08-21T17:26:39Z, 0x00000018, 1, 0, 4, Network interface <interface>BlkDrvTcp</interface> at router <instance>2</instance> registered
    2019-08-21T17:26:39Z, 0x0000006e, 1, 0, 0, Listening for connections on SharedMemory: <name>GWDrvSharedMemShm</name>
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, No certificate for the OPC UA server available.
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, Security policy allows plain text communication. Secure communication is deactivated.
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, **********
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, OPC UA Server Started:
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, Hostname: iot2000, Port: 4840
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, URL: opc.tcp://iot2000:4840
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, Loopbackadapter activated.
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, All available networkadapters are used.
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0,
    *********
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, Provider CODESYS_DefaultProvider with Version 0x3050f00 registerd at the OPC UA server.
    2019-08-21T17:26:39Z, 0x00000124, 1, 0, 0, Provider CmpOPCUAProviderIecVarAccess with Version 0x3050f00 registerd at the OPC UA server.
    2019-08-21T17:26:41Z, 0x00000126, 1, 0, 0, Valid license found for OPC UA IecVarAccess provider.
    2019-08-21T17:26:41Z, 0x00000002, 1, 0, 22, No retain area in bootproject of application [<app>Application</app>]
    2019-08-21T17:26:41Z, 0x00000002, 1, 0, 6, Bootproject of application [<app>Application</app>] loaded
    2019-08-21T17:26:41Z, 0x00000018, 1, 0, 1, Setting router <instance>0</instance> address to

    (0001)

    2019-08-21T17:26:41Z, 0x00000018, 1, 0, 1, Setting router <instance>1</instance> address to
    (0002)

    2019-08-21T17:26:41Z, 0x00000018, 1, 0, 1, Setting router <instance>2</instance> address to
    (2ddc:c0a8:c801)

    2019-08-21T17:26:42Z, 0x00000002, 1, 0, 10, Application [<app>Application</app>] started
    2019-08-21T17:26:42Z, 0x0000100c, 1, 0, 0, Visuinitialization starting.
    2019-08-21T17:26:42Z, 0x00000001, 1, 0, 34, CODESYS Control ready
    2019-08-21T17:26:42Z, 0x0000100c, 1, 0, 0, Visuinitialization done.
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0,
    ********
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0, Web Server
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0, Root directory : $PlcLogic$/$visu$
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0, Host : iot2000
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0, HTTP port : 8080
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0, HTTPS port : 443
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0, Connection type : HTTP
    2019-08-21T17:26:42Z, 0x00000071, 1, 0, 0,
    ********
    2019-08-21T17:26:42Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:26:42Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:26:45Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:26:46Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:26:46Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:26:46Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:26:49Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:26:50Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:26:50Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:26:50Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:26:53Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:26:54Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:26:54Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:26:54Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:26:57Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:26:58Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:26:58Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:26:58Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:26:59Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:02Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:02Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:02Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:03Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:06Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:07Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:07Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:11Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:11Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:11Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:13Z, 0x00001005, 4, 0, 0, * ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:15Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:15Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:15Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:19Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:19Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:19Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:23Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:23Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:23Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:23Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:27Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:27Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:27Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:31Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:31Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:31Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:33Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:35Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:35Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:35Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:39Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:40Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:40Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:43Z, 0x00001005, 4, 0, 0, * ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:44Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:44Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:44Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:48Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:48Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:48Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:52Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:52Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:52Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:27:53Z, 0x00001005, 4, 0, 0, * ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:27:53Z, 0x00000001, 1, 0, 0, runtime licensed
    2019-08-21T17:27:56Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:27:56Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:27:56Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:00Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:00Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:00Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:03Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:28:04Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:04Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:04Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:08Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:09Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:09Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:13Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:13Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:13Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:17Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:17Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:17Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:21Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:21Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:21Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:23Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:28:25Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:25Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:25Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:29Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:29Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:29Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:33Z, 0x00001005, 4, 0, 0, * ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:28:33Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:33Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:33Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:37Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:37Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:37Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:41Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:42Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:42Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:43Z, 0x00001005, 4, 0, 0, * ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:28:46Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:46Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:46Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:50Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:50Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:50Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:53Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:28:54Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:54Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:54Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:28:58Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:28:58Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:28:58Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:02Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:02Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:02Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:03Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:29:06Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:06Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:06Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:10Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:11Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:11Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:13Z, 0x00001005, 4, 0, 0, * ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:29:15Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:15Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:15Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:19Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:19Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:19Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:23Z, 0x00001005, 4, 0, 0,
    ERROR: SysEthernet: packet could not be sent, error code:1
    2019-08-21T17:29:23Z, 0x00001005, 4, 0, 0, * ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:23Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:23Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:27Z, 0x00001005, 4, 0, 0,
    ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:27Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:27Z, 0x00001005, 1, 0, 0, Preparation successfull
    2019-08-21T17:29:31Z, 0x00001005, 4, 0, 0, **** ERROR: Checking slaves: perhaps slave(s) missing, mismatch to configuration or no communication at all. Use scan for devices to check!
    2019-08-21T17:29:31Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2019-08-21T17:29:31Z, 0x00001005, 1, 0, 0, Preparation successfull

     
  • eschwellinger

    eschwellinger - 2019-08-21

    Hi,
    **** ERROR: SysEthernet: packet could not be sent, error code:1
    Der Zeitpunkt an dem die Runtime versucht Packete zu verschicken... passt wohl nicht.Die Netzwerkkarte scheint da noch nicht soweit zu sein.Keine Ahnung denk da muss man im startscript Hand anlegen.
    Bugreport schon gemacht?
    Kannst ja selber das vielleicht als Workaround tun... sowas wie runtime später starten oder ähnliches.
    Grüsse
    Edwin

     
  • eschwellinger

    eschwellinger - 2019-08-21

    Welchen der beiden Ports verwendest du für Ethercat?
    Du könntest dem Port der Ethercat macht die IP mal entfernen.... brauchen tut man die für Ethercat ja nicht. Mann sieht im log das die Runtime den auch verwenden will....
    Grüsse
    Edwin

     
  • CraigMarduk

    CraigMarduk - 2019-08-23

    Hallo,

    ja Bugreport ist gemacht.

    Ich verwende normal ETH1 für Ethercat.
    Ich habe soeben beides Versucht also ETH0 und ETH1 mit IP und auch beide Ports Ohne IP.
    Leider ohne Erfolg.

    VG

    Craig

     
  • CraigMarduk

    CraigMarduk - 2019-12-07

    Hallo,

    kann mir jemand sagen wie ich das Startskript bearbeiten kann?
    Habe das so noch nie gemacht.

     
  • CraigMarduk

    CraigMarduk - 2019-12-07

    so sieht das Script aktuell aus

    #!/bin/sh
    ### BEGIN INIT INFO
    # Provides: codesyscontrol
    # Required-Start: hostname $local_fs
    # Required-Stop:
    # Should-Start:
    # Default-Start: 2 3 4 5
    # Default-Stop:
    # Short-Description: Prepares and starts codesyscontrol
    # Description: Prepares and starts codesyscontrol
    ### END INIT INFO

    PATH=/sbin:/usr/sbin:/bin:/usr/bin

    NAME=/opt/codesys/bin/codesyscontrol.bin
    DAEMON=/opt/codesys/bin/codesyscontrol.bin
    LOGFILE=/dev/null
    PIDFILE=/var/run/codesyscontrol.pid

    #exit script if package is not installed
    [ -x "$DAEMON" ] || exit 2

    # Load the VERBOSE setting and other rcS variables
    #. /lib/init/vars.sh

    # Define LSB log_* functions.
    # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
    #. /lib/lsb/init-functions

    do_start () {

    export PlcConfigFile=/etc/CODESYSControl.cfg
    
    
    # Return
    #   0 if daemon has been started
    #   1 if daemon was already running
    #   2 if daemon could not be started
    #start-stop-daemon -S --background --quiet --pidfile $PIDFILE --exec $DAEMON > /dev/null || return 1
    cd /var/opt/codesys
    start-stop-daemon -S --background --make-pidfile --pidfile $PIDFILE --startas /bin/bash  -- -c "exec $DAEMON $CONFIGFILE >$LOGFILE 2>&1 " || return 2
    
    # pin codesys to first cpu!
    #/usr/bin/taskset -a -p 01 $(cat $PIDFILE);
    
    
    sleep 1 && pgrep codesyscontrol > /dev/null && echo "codesyscontrol started" || echo "ERROR: codesyscontrol not started!";
    

    }

    do_stop () {

    start-stop-daemon -K --quiet --pidfile $PIDFILE --name $NAME
    RETVAL="$?"
    [ "$RETVAL" = 2 ] && return 2
    
    start-stop-daemon -K --quiet --oknodo  --exec $DAEMON
    [ "$?" = 2 ] && return 2
    # Many daemons don't delete their pidfiles when they exit.
    rm -f $PIDFILE
    return "$RETVAL"
    

    }

    case "$1" in
    start|"")

    do_start
    
    
    ;;
    

    restart|reload|force-reload|status)
    echo "Error: argument '$1' not supported" >&2
    exit 3
    ;;
    stop)
    do_stop
    ;;
    *)
    echo "Usage: codesyscontrol [start|stop]" >&2
    exit 3
    ;;
    esac

    :

     
  • eschwellinger

    eschwellinger - 2019-12-10

    Hi,
    sorry das es solange gedauert hat,
    dafür wurde ein Fehler eingetragen, der Workaround ist
    hier in diesem script welches du ja in deinem post hast:

    .
    .
    .
    do_start () {
            export PlcConfigFile=/etc/CODESYSControl.cfg
       sleep 90
            # Return
            #   0 if daemon has been started
            #   1 if daemon was already running
            #   2 if daemon could not be started
            #start-stop-daemon -S --background --quiet --pidfile $PIDFILE --exec $DAEMON > /dev/null || return 1
            cd /var/opt/codesys
            .
            .
            
    

    einen "sleep 90" einzubauen, dann gehts!

    Grüße
    Edwin

     

Log in to post a comment.