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

Is there any fault analysis regarding Codesys runtime ?

alrcastro
2021-11-22
2021-11-27
  • alrcastro

    alrcastro - 2021-11-22

    Hi,

    We have the Codesys Control Win 64 runtime installed on several PC's which for a long time has berhaved pretty stable, especially considering that the system resources are shared with several other applications, which on the whole eat up the following resources, in extreme cases.

    CPU / 3.4GHz (40-60%)
    RAM / 8GB (80%-90%)

    As we do not monitor these values in real time, we do not know if there are peaks beyond the above averages.

    However, recently we have noticed the PLC runtime crashing, maybe due to a Windows scheduled task/upgrade, Defender, or even the fault of some of our applications. In most cases, a simple "Stop/Start PLC" is enough to restart the program, but in some cases, only restarting the PC solves the problem. In the worst cases, even the application is corrupted in such a way that it is necessary to re-upload the PLC program, as the engineering tool claims "there is no application inside".

    So is there any guidance on that?

    I would like to know what of these indicators are the most critical.
    If possible, also would like to know the consequence of reaching their limits.

    Regards,
    Andre.

     
  • eschwellinger

    eschwellinger - 2021-11-23

    Hi Andre,

    I would start with this:
    first you need to extend the plc logger and enable
    that the log - will be written in a file:

    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\XXXXXXX\CODESYSControl.cfg

    [CmpLog]
    Logger.0.Name=PlcLog
    ;Logger.0.Filter=0xFFFFFFFF
    Logger.0.Enable=1
    Logger.0.MaxEntries=500000
    Logger.0.MaxFileSize=500000
    Logger.0.MaxFiles=3
    Logger.0.Backend.0.ClassId=0x0000010B ;sends logger messages to SysOut
    Logger.0.Backend.1.ClassId=0x00000104 ;writes logger messages in a file

    If this happens again, check PlcLog.csv for more information for the error cause.

    Best Regards
    Edwin

     

    Last edit: eschwellinger 2021-11-23
  • alrcastro

    alrcastro - 2021-11-23

    Hi Edwin,

    These are either the LOG and CSV files. Seems like there is an issue with the licence acknowledgement, although we DO have all PC's properly licenced.

    What to do ?

    LOG

    11/23/21 09:52:31: --------------------------------------------------------------------------
    11/23/21 09:52:31: CODESYS Control Win V3 - x64 Service started
    11/23/21 09:52:31: Config file:
    11/23/21 09:52:31: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 09:53:28: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 09:53:33: --------------------------------------------------------------------------
    11/23/21 09:53:33: CODESYS Control Win V3 - x64 Service started
    11/23/21 09:53:33: Config file:
    11/23/21 09:53:33: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:22:48: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:22:52: --------------------------------------------------------------------------
    11/23/21 15:22:52: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:22:52: Config file:
    11/23/21 15:22:52: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:22:53: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 15:25:01: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:25:07: --------------------------------------------------------------------------
    11/23/21 15:25:07: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:25:07: Config file:
    11/23/21 15:25:07: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:25:16: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 15:26:22: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:26:26: --------------------------------------------------------------------------
    11/23/21 15:26:26: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:26:26: Config file:
    11/23/21 15:26:26: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:26:27: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 15:28:36: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:28:39: --------------------------------------------------------------------------
    11/23/21 15:28:39: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:28:39: Config file:
    11/23/21 15:28:39: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    

    CSV

    ;<loggername>PlcLog</loggername>
    ;<logoptions>
    ;   <enable>1</enable>
    ;   <type>normal</type>
    ;   <timestamp>rtc high resolution</timestamp>
    ;   <deactivatable>0</deactivatable>
    ;   <dump>always</dump>
    ;   <filter>0xffffffff<filter>
    ;   <maxentries>100000</maxentries>
    ;   <maxfiles>3</maxfiles>
    ;   <maxfilesize>500000</maxfilesize>
    ;</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>
    ;****************************************************************
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <logoptions>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <bEnable>1</bEnable>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <type>normal</type>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <timestamp>rtc high resolution</timestamp>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <disableable>0</disableable>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <Filter>0xffffffff<Filter>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <MaxEntries>100000</MaxEntries>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <MaxFiles>3</MaxFiles>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, <MaxFileSize>500000</MaxFileSize>
    2021-11-23T18:28:39.535Z, 0x00000013, 1, 0, 0, </logoptions>
    2021-11-23T18:28:39.536Z, 0x0000012a, 16, 0, 0, Using external process for rendering SVG images.
    2021-11-23T18:28:39.536Z, 0x00000001, 32, 0, 0, ============================================================================================================================
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 4, CODESYS Control Win V3 x64
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 4, OS=Windows, CPU=x86, Arch=64Bit, Coding=C
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 6, <version>3.5.15.30</version> <builddate>Jan 21 2020</builddate>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 5, Copyright (c) 3S - Smart Software Solutions GmbH
    2021-11-23T18:28:39.536Z, 0x00000001, 32, 0, 0, ============================================================================================================================
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>CM</cmp>, <id>0x00000001</id> <ver>3.5.15.30</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>CmpMemPool</cmp>, <id>0x0000001e</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>CmpLog</cmp>, <id>0x00000013</id> <ver>3.5.15.30</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>CmpSettings</cmp>, <id>0x0000001a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysFile</cmp>, <id>0x00000104</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysWindowFileDialog</cmp>, <id>0x0000011a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysWindow</cmp>, <id>0x00000117</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysTimeRtc</cmp>, <id>0x00000127</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysTimer</cmp>, <id>0x00000116</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysTime</cmp>, <id>0x00000115</id> <ver>3.5.15.11</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysTask</cmp>, <id>0x00000114</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysTarget</cmp>, <id>0x00000112</id> <ver>3.5.15.30</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysSocket</cmp>, <id>0x00000111</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysShm</cmp>, <id>0x00000110</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysSemProcess</cmp>, <id>0x00000119</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysSemCount</cmp>, <id>0x00000139</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysSem</cmp>, <id>0x0000010f</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysProcess</cmp>, <id>0x0000010e</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysPort</cmp>, <id>0x0000010d</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysPci</cmp>, <id>0x0000010c</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysOut</cmp>, <id>0x0000010b</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysNativeControl</cmp>, <id>0x0000012f</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysNativeCommonControls</cmp>, <id>0x00000138</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysMutex</cmp>, <id>0x0000013a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysMsgQ</cmp>, <id>0x0000010a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysModule</cmp>, <id>0x00000109</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysMem</cmp>, <id>0x00000108</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysInternalLib</cmp>, <id>0x00000107</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysInt</cmp>, <id>0x00000106</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysGraphicGDIPlus</cmp>, <id>0x0000012a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysFileStream</cmp>, <id>0x00000120</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysExcept</cmp>, <id>0x00000103</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysEvent</cmp>, <id>0x00000102</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysEthernet</cmp>, <id>0x0000011c</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysDir</cmp>, <id>0x0000011b</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysCpuHandling</cmp>, <id>0x00000101</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>SysCom</cmp>, <id>0x00000100</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>CmpMemGC</cmp>, <id>0x0000001f</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System: <cmp>CmpCodeMeter</cmp>, <id>0x0000007a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System|Dynamic: <cmp>SysCpuMultiCore</cmp>, <id>0x0000013d</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System|Dynamic: <cmp>SysReadWriteLock</cmp>, <id>0x0000013e</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, System|Dynamic: <cmp>SysCpuBreakpoints</cmp>, <id>0x00000305</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpObjectMgr</cmp>, <id>0x00000080</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpXMLParser</cmp>, <id>0x00000058</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuServer</cmp>, <id>0x00000057</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuHandler</cmp>, <id>0x00000054</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuClientControllerHost</cmp>, <id>0x00000132</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpUserMgr</cmp>, <id>0x00000061</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpUserDB</cmp>, <id>0x00000064</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpUserDBObjects</cmp>, <id>0x00000091</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpTraceMgr</cmp>, <id>0x00000070</id> <ver>3.5.15.30</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpSupervisor</cmp>, <id>0x0000008f</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpSrv</cmp>, <id>0x0000001c</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpSecurityManager</cmp>, <id>0x0000008e</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpSecureChannel</cmp>, <id>0x00000090</id> <ver>3.5.15.20</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpSchedule</cmp>, <id>0x00000019</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpRouter</cmp>, <id>0x00000018</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpRetain</cmp>, <id>0x00000017</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpPlcShell</cmp>, <id>0x00000128</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpOpenSSL</cmp>, <id>0x00000033</id> <ver>3.5.15.20</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAStack</cmp>, <id>0x0000008d</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAServer</cmp>, <id>0x00000124</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAProviderIecVarAccess</cmp>, <id>0x00000126</id> <ver>3.5.15.20</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceServer</cmp>, <id>0x00000016</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClientIec</cmp>, <id>0x0000011d</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClient</cmp>, <id>0x00000015</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpMonitor2</cmp>, <id>0x00000032</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpMonitor</cmp>, <id>0x00000014</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIpc</cmp>, <id>0x0000001d</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIoMgr</cmp>, <id>0x00000012</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIoDrvIec</cmp>, <id>0x0000005a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIoDrvC</cmp>, <id>0x00000066</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIecVarAccess</cmp>, <id>0x00000060</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIecTask</cmp>, <id>0x00000011</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpIecStringUtils</cmp>, <id>0x0000007f</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpFileTransfer</cmp>, <id>0x0000005e</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpEventMgr</cmp>, <id>0x0000005b</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpDynamicText</cmp>, <id>0x00000051</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpDevice</cmp>, <id>0x0000000e</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCryptMD5</cmp>, <id>0x0000006a</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCoreDump</cmp>, <id>0x00000083</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCommunicationLib</cmp>, <id>0x0000000c</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpChecksum</cmp>, <id>0x0000000b</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelServer</cmp>, <id>0x0000000a</id> <ver>3.5.15.30</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelMgr</cmp>, <id>0x00000009</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelClientIec</cmp>, <id>0x0000005d</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelClient</cmp>, <id>0x00000008</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATypes</cmp>, <id>0x00004006</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATimer</cmp>, <id>0x00004016</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATickUtil</cmp>, <id>0x00004010</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATick</cmp>, <id>0x00004009</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAStorage</cmp>, <id>0x0000007e</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASerialCom</cmp>, <id>0x00004012</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASegBufferMan</cmp>, <id>0x00004019</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoServer</cmp>, <id>0x00004017</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoClient</cmp>, <id>0x00004011</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAARealTimeClock</cmp>, <id>0x00004014</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAANetBaseServices</cmp>, <id>0x00004018</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAMemBlockMan</cmp>, <id>0x00004003</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAFile</cmp>, <id>0x00004008</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAADTUtil</cmp>, <id>0x00004013</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAACanL2</cmp>, <id>0x00004004</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAACallback</cmp>, <id>0x00004001</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAABehaviourModel</cmp>, <id>0x00004015</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAAsyncMan</cmp>, <id>0x00004007</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvUdp</cmp>, <id>0x00000007</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvTcp</cmp>, <id>0x00000030</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvShm</cmp>, <id>0x00000068</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvCom</cmp>, <id>0x00000006</id> <ver>3.5.15.10</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBitmapPool</cmp>, <id>0x00000050</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtilIec</cmp>, <id>0x0000005c</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtil</cmp>, <id>0x00000004</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpAsyncMgr</cmp>, <id>0x0000005f</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpAppForce</cmp>, <id>0x00000074</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpAppBP</cmp>, <id>0x00000073</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpApp</cmp>, <id>0x00000002</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, <cmp>CmpAlarmManager</cmp>, <id>0x0000007c</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, Dynamic: <cmp>CmpTargetVisuStub</cmp>, <id>0x00000053</id> <ver>3.5.15.0</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, Dynamic: <cmp>CmpWebServer</cmp>, <id>0x00000071</id> <ver>3.5.15.20</ver>
    2021-11-23T18:28:39.536Z, 0x00000001, 1, 0, 10, Dynamic: <cmp>CmpWebServerHandlerV3</cmp>, <id>0x00000072</id> <ver>3.5.15.20</ver>
    2021-11-23T18:28:39.557Z, 0x00000018, 16, 0, 19, <instances>7</instances> router instances configured, first parallel router offset <offset>8</offset>
    2021-11-23T18:28:39.559Z, 0x0000013d, 1, 0, 4, MultiCore support: [activated], all cores are used
    2021-11-23T18:28:39.559Z, 0x0000013d, 1, 0, 4, Number of available cores: 6
    2021-11-23T18:28:39.572Z, 0x00000013, 16, 0, 0, Component <CmpCodeMeter> could log more info with additional setting CmpCodeMeter.Filter=0xFFFFFFFF!
    2021-11-23T18:28:39.572Z, 0x00000013, 16, 0, 0, Component <CmpSupervisor> could log more info with additional setting CmpSupervisor.Filter=0xFFFFFFFF!
    2021-11-23T18:28:39.572Z, 0x00000013, 16, 0, 0, Component <CmpSecurityManager> could log more info with additional setting CmpSecurityManager.Filter=0xFFFFFFFF!
    2021-11-23T18:28:39.573Z, 0x00000013, 16, 0, 0, Component <CmpOpenSSL> could log more info with additional setting CmpOpenSSL.Filter=0xFFFFFFFF!
    2021-11-23T18:28:39.581Z, 0x0000000a, 1, 0, 0, <NumOfChannels>4</NumOfChannels> channels available, each of the size <BufferSize>100000</BufferSize> Bytes
    2021-11-23T18:28:39.581Z, 0x00000009, 1, 0, 2, Running as network server
    2021-11-23T18:28:39.581Z, 0x00000009, 1, 0, 1, Running as network client
    2021-11-23T18:28:39.582Z, 0x0000007e, 16, 0, 0, Using SQLite 3.28.0.
    2021-11-23T18:28:39.588Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>169.254.147.41</ipaddress>, subnetmask <subnetmask>255.255.0.0</subnetmask>
    2021-11-23T18:28:39.588Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 1</interface> at router <instance>0</instance> registered
    2021-11-23T18:28:39.588Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>169.254.80.220</ipaddress>, subnetmask <subnetmask>255.255.0.0</subnetmask>
    2021-11-23T18:28:39.588Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 2</interface> at router <instance>1</instance> registered
    2021-11-23T18:28:39.588Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>169.254.201.198</ipaddress>, subnetmask <subnetmask>255.255.0.0</subnetmask>
    2021-11-23T18:28:39.588Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 3</interface> at router <instance>2</instance> registered
    2021-11-23T18:28:39.588Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>192.168.0.1</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    2021-11-23T18:28:39.588Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 4</interface> at router <instance>3</instance> registered
    2021-11-23T18:28:39.588Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>10.61.1.1</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    2021-11-23T18:28:39.588Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 5</interface> at router <instance>4</instance> registered
    2021-11-23T18:28:39.590Z, 0x00000013, 16, 0, 0, Component <CmpApp> could log more info with additional setting CmpApp.Filter=0xFFFFFFFF!
    2021-11-23T18:28:39.743Z, 0x00000124, 1, 0, 0, No certificate for the OPC UA server available.
    2021-11-23T18:28:39.743Z, 0x00000124, 1, 0, 0, Security policy allows plain text communication. Secure communication is deactivated.
    2021-11-23T18:28:39.745Z, 0x00000124, 16, 0, 0, Opened new endpoint. URL: opc.tcp://169.254.147.41:4840
    2021-11-23T18:28:39.745Z, 0x00000124, 16, 0, 0, Opened new endpoint. URL: opc.tcp://169.254.80.220:4840
    2021-11-23T18:28:39.745Z, 0x00000124, 16, 0, 0, Opened new endpoint. URL: opc.tcp://169.254.201.198:4840
    2021-11-23T18:28:39.745Z, 0x00000124, 16, 0, 0, Opened new endpoint. URL: opc.tcp://192.168.0.1:4840
    2021-11-23T18:28:39.746Z, 0x00000124, 16, 0, 0, Opened new endpoint. URL: opc.tcp://111.222.333.444:4840
    2021-11-23T18:28:39.746Z, 0x00000124, 16, 0, 0, Opened new endpoint. URL: opc.tcp://127.0.0.1:4840
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0, **************************************************************
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0,     OPC UA Server Started: 
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0,     Hostname: <xxxxyyyyzzzz>, Port: 4840
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0,     URL: opc.tcp://111.222.333.444:4840
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0,     Loopbackadapter activated.
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0,     All available networkadapters are used.
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0, **************************************************************
    2021-11-23T18:28:39.746Z, 0x00000124, 1, 0, 0, Provider CODESYS_DefaultProvider with Version 0x3050f00 registerd at the OPC UA server.
    2021-11-23T18:28:39.752Z, 0x00000030, 1, 0, 6, Local network address: <ipaddress>10.61.1.1</ipaddress>
    2021-11-23T18:28:39.752Z, 0x00000018, 1, 0, 4, Network interface <interface>BlkDrvTcp</interface> at router <instance>5</instance> registered
    2021-11-23T18:28:39.753Z, 0x00000018, 1, 0, 4, Network interface <interface>BlkDrvShm</interface> at router <instance>6</instance> registered
    2021-11-23T18:28:39.753Z, 0x00000068, 1, 0, 9, Local address (BlkDrvShm) set to <address>1</address>
    2021-11-23T18:28:39.756Z, 0x00000124, 1, 0, 0, Provider CmpOPCUAProviderIecVarAccess with Version 0x3050f14 registerd at the OPC UA server.
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>0</instance> address to <address>(0000:9329)</address>
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>1</instance> address to <address>(0000:50dc)</address>
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>2</instance> address to <address>(0000:c9c6)</address>
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>3</instance> address to <address>(0001)</address>
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>4</instance> address to <address>(0001)</address>
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>5</instance> address to <address>(2ddc:0a3d:0101)</address>
    2021-11-23T18:28:39.792Z, 0x00000018, 1, 0, 1, Setting router <instance>6</instance> address to <address>(0001)</address>
    2021-11-23T18:28:40.031Z, 0x00000001, 16, 0, 10, IEC|Dynamic: <cmp>IECVisualization</cmp>, <id>0x0000100c</id> <ver>3.5.14.20</ver>
    2021-11-23T18:28:40.056Z, 0x00000001, 16, 0, 10, IEC|Dynamic: <cmp>OnlineLicenseManager</cmp>, <id>0x0000100d</id> <ver>3.5.14.0</ver>
    2021-11-23T18:28:40.088Z, 0x0000013d, 1, 0, 4, Number of licensed cores for IEC-tasks: 1 from 6
    2021-11-23T18:28:40.119Z, 0x0000013d, 1, 0, 4, Number of licensed cores for IEC-tasks: 6 from 6
    2021-11-23T18:28:40.120Z, 0x00000001, 16, 0, 10, IEC|Dynamic: <cmp>IoDrvEtherCAT</cmp>, <id>0x00001005</id> <ver>3.5.15.30</ver>
    2021-11-23T18:28:40.184Z, 0x00000001, 16, 0, 10, IEC|Dynamic: <cmp>IoDrvEthernet</cmp>, <id>0x000010f0</id> <ver>0.0.0.0</ver>
    2021-11-23T18:28:40.268Z, 0x00000126, 1, 0, 0, Valid license found for OPC UA IecVarAccess provider.
    2021-11-23T18:28:40.268Z, 0x00000126, 16, 0, 0, IecVarAccessProvider. New Symbols available: Trying to reconnect to symbols.
    2021-11-23T18:28:40.268Z, 0x00000126, 16, 0, 0, IecVarAccessProvider. New Symbols available: Reconnect done.
    2021-11-23T18:28:40.309Z, 0x00000002, 1, 0, 7, Retains matched to bootproject of application [<app>Application</app>]
    2021-11-23T18:28:40.310Z, 0x00000002, 1, 0, 6, Bootproject of application [<app>Application</app>] loaded
    2021-11-23T18:28:40.312Z, 0x00000002, 1, 0, 10, Application [<app>Application</app>] started
    2021-11-23T18:28:40.312Z, 0x00000001, 1, 0, 34, CODESYS Control ready
    2021-11-23T18:28:40.412Z, 0x0000100c, 1, 0, 0, Visuinitialization starting.
    2021-11-23T18:28:40.418Z, 0x0000100c, 1, 0, 0, Visuinitialization done.
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0, **************************************************************
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0,          Web Server
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0,       Root directory : $PlcLogic$/$visu$
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0,       Host :       xxxxyyyyzzzz
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0,       HTTP port  : 8080
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0,       HTTPS port : 443
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0,       Connection type : HTTP, HTTPS
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0, **************************************************************
    2021-11-23T18:28:40.419Z, 0x00000033, 1, 0, 0, TlsCreateContext: The given namespace 'WebServer' was not found in config file.
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0, The needed certificate is not available for HTTPS.
    2021-11-23T18:28:40.419Z, 0x00000071, 1, 0, 0, HTTPS is not working with your configuration. See previous log entries for details!
    2021-11-23T18:28:40.797Z, 0x00001005, 1, 0, 0, Networkadapter opened
    2021-11-23T18:28:40.797Z, 0x00001005, 1, 0, 0, Preparation successfull
    2021-11-23T18:28:40.813Z, 0x00001005, 1, 0, 0, Read slave informations
    2021-11-23T18:28:40.852Z, 0x00000018, 1, 0, 1, Setting router <instance>6</instance> address to <address>(0301:0001)</address>
    2021-11-23T18:28:40.929Z, 0x00001005, 1, 0, 0, Set physical addresses
    2021-11-23T18:28:40.942Z, 0x00001005, 1, 0, 0, All slaves init mode
    2021-11-23T18:28:40.944Z, 0x00001005, 1, 0, 0, prepare slaves
    2021-11-23T18:28:40.951Z, 0x00001005, 1, 0, 0, All slaves pre-operational
    2021-11-23T18:28:40.952Z, 0x00001005, 1, 0, 0, Configure distributed clock settings
    2021-11-23T18:28:40.953Z, 0x00001005, 1, 0, 0, Synchronize Slaves
    2021-11-23T18:28:40.953Z, 0x00001005, 1, 0, 0, Set safe operational
    2021-11-23T18:28:40.962Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C12 SubIndex: 0 Data: 16#00 Result: 16#00
    2021-11-23T18:28:40.966Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C12 SubIndex: 1 Data: 16#1600 Result: 16#00
    2021-11-23T18:28:40.969Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C12 SubIndex: 0 Data: 16#01 Result: 16#00
    2021-11-23T18:28:40.973Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C13 SubIndex: 0 Data: 16#00 Result: 16#00
    2021-11-23T18:28:40.977Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C13 SubIndex: 1 Data: 16#1A00 Result: 16#00
    2021-11-23T18:28:40.981Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C13 SubIndex: 2 Data: 16#1A02 Result: 16#00
    2021-11-23T18:28:40.985Z, 0x00001005, 1, 0, 0, SDO write ok: Address: 1004 Index: 16#1C13 SubIndex: 0 Data: 16#02 Result: 16#00
    2021-11-23T18:28:40.988Z, 0x00001005, 1, 0, 0, All slaves safe-operational
    2021-11-23T18:28:41.044Z, 0x00001005, 1, 0, 0, Set operational mode
    2021-11-23T18:28:41.048Z, 0x00001005, 1, 0, 0, All slaves operational
    2021-11-23T18:28:41.049Z, 0x00001005, 1, 0, 0, Startup finished: All slaves in operational !
    2021-11-23T18:28:42.284Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/webvisu.htm</file> requested ...
    2021-11-23T18:28:42.284Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:42.304Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/webvisu.cfg.json</file> requested ...
    2021-11-23T18:28:42.304Z, 0x00000071, 1, 0, 0, State: successful
    2021-11-23T18:28:42.325Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/application.imagepoolcollection.csv</file> requested ...
    2021-11-23T18:28:42.325Z, 0x00000071, 1, 0, 0, State: successful
    2021-11-23T18:28:42.360Z, 0x00000072, 4, 0, 2, **** ERROR: No valid license found for the webvisualization
    2021-11-23T18:28:42.573Z, 0x0000100c, 1, 0, 0, Visu_PRG: Creating Client for Extern-ID: 619051
    2021-11-23T18:28:42.573Z, 0x0000100c, 1, 0, 0, Visu_PRG: Creating Client successful for Extern-ID: 619051 Returned IEC-ID: 0
    2021-11-23T18:28:42.573Z, 0x0000100c, 16, 0, 0, Visu_PRG: Address of client with IEC-ID 0 : 2189080834768
    2021-11-23T18:28:43.261Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/element-lamp-lamp1-yellow-off.svg</file> requested ...
    2021-11-23T18:28:43.267Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:43.267Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/element-lamp-lamp1-yellow-on.svg</file> requested ...
    2021-11-23T18:28:43.272Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:43.272Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/service-tool-icon-vector-21179750.jpg</file> requested ...
    2021-11-23T18:28:43.273Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:43.294Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/element-lamp-lamp1-green-on.svg</file> requested ...
    2021-11-23T18:28:43.299Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:43.320Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/element-lamp-lamp1-green-off.svg</file> requested ...
    2021-11-23T18:28:43.324Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:43.345Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/element-lamp-lamp1-red-off.svg</file> requested ...
    2021-11-23T18:28:43.350Z, 0x00000071, 1, 304, 0, State: Not Modified
    2021-11-23T18:28:43.622Z, 0x00000071, 1, 0, 0, File <file>$PlcLogic$/$visu$/element-lamp-lamp1-red-on.svg</file> requested ...
    2021-11-23T18:28:43.626Z, 0x00000071, 1, 304, 0, State: Not Modified
    
     

    Last edit: alrcastro 2021-11-24
  • eschwellinger

    eschwellinger - 2021-11-23

    is this running on an real machine or vitual machine?

     
  • alrcastro

    alrcastro - 2021-11-23

    a real one, Windows 10, i5, DELL optiplex 7070

     
  • alrcastro

    alrcastro - 2021-11-23

    I'd attached the whole CSV file.
    Just changed the HOST name and IP, for security sake.

    Att.

     

    Last edit: alrcastro 2021-11-23
  • eschwellinger

    eschwellinger - 2021-11-23

    Hi Andre,
    could you check if the memory consumption is growing?
    We have seen similar issues, when the whole memory is out - so memory leak or handle leak maybe could be the reason for this behavior.
    Is webvisu up and running on the same machine - and if so - which browser do you use?
    Check with taskmonitor - the memory and handle consumption of all running applications.
    Sure could be cause by other applications too, beside CODESYS

     

    Last edit: eschwellinger 2021-11-23
  • alrcastro

    alrcastro - 2021-11-23

    Hi Edwin,

    I also thought alike, whenever RAM usage hold high, more frequent the incidence of PLC-getting-stuck. However, these days we had added another DDR memory card into PC mainboard, so that now it lies in the range of ~47% usage (16G) whereas before it was in the range of 80%-90% of 8G, but even after this hardware 'upgrade' in less than 24hs it was 2 occurrences.

    Regarding Webvisu, it also face to the same issue, regardless of the browser we use (sometimes not even open). In order to check if it is up, I use the Realterm tool to open a TCP Socket connection to <localhost> port <8080> which indded do not open on these circumstances. </localhost>

    BR,
    Andre

     

    Last edit: alrcastro 2021-11-23
  • alrcastro

    alrcastro - 2021-11-24

    Hi Edwin,

    I fear that the root cause might be rather related to the Licencing schema. A time ago we got a committed assistance from Codesys support for over a week, which even forwarding the issue straight to Wibu-Systems, they could not assertively state the actual cause.

    As posed at the above case, either the LOG and the DEBUG messages give indication of missing licence, although licence was properly activated there.

    BR,
    Andre

     
  • eschwellinger

    eschwellinger - 2021-11-24

    Hi Andre,

    is it possible that you have situations where the networkinterfaces are unavailable?
    2021-11-23T18:26:26.682Z, 0x0000007a, 4, 0, 0, **** ERROR: CM SDK: : can't create connection to codemeter server 127.0.0.1

    you could install MS Loopback adapter to prevent this.
    This is what I would recommend for such cases.

    BR
    Edwin

     
  • alrcastro

    alrcastro - 2021-11-24

    Interesting, never heard about that loopback.

    [Added]

    I've just installed, and I presume I need to define [IP Address] as 127.0.0.1 (I did it) but what about [gateway] and [mask] ?

    Thanks a lot.

     

    Last edit: alrcastro 2021-11-24
  • eschwellinger

    eschwellinger - 2021-11-24

    just install the loopback that's it

     
    πŸ‘
    1
  • alrcastro

    alrcastro - 2021-11-25

    Hi Edwin,

    in accordance with your tips, the MS Loopback connector was installed, as can be seen attached; however, after a couple of hours, I'd noticed the PLC getting innactive at the output, and no TCP connection to the Webvisu 127.0.0.1:8080, so once again the program got stuck.

    By checking the CODESYS Control Win V3 - x64.log content, I could notice the same pattern, the following sentence even with the loopback connector there:

    *CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.*
    

    Am I missing something ?

    11/23/21 09:52:31: --------------------------------------------------------------------------
    11/23/21 09:52:31: CODESYS Control Win V3 - x64 Service started
    11/23/21 09:52:31: Config file:
    11/23/21 09:52:31: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 09:53:28: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 09:53:33: --------------------------------------------------------------------------
    11/23/21 09:53:33: CODESYS Control Win V3 - x64 Service started
    11/23/21 09:53:33: Config file:
    11/23/21 09:53:33: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:22:48: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:22:52: --------------------------------------------------------------------------
    11/23/21 15:22:52: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:22:52: Config file:
    11/23/21 15:22:52: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:22:53: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 15:25:01: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:25:07: --------------------------------------------------------------------------
    11/23/21 15:25:07: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:25:07: Config file:
    11/23/21 15:25:07: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:25:16: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 15:26:22: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:26:26: --------------------------------------------------------------------------
    11/23/21 15:26:26: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:26:26: Config file:
    11/23/21 15:26:26: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 15:26:27: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 15:28:36: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 15:28:39: --------------------------------------------------------------------------
    11/23/21 15:28:39: CODESYS Control Win V3 - x64 Service started
    11/23/21 15:28:39: Config file:
    11/23/21 15:28:39: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 23:07:34: --------------------------------------------------------------------------
    11/23/21 23:07:34: CODESYS Control Win V3 - x64 Service started
    11/23/21 23:07:34: Config file:
    11/23/21 23:07:34: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/23/21 23:07:37: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/23/21 23:12:03: *** Shutdown command from service control manager received...
    11/23/21 23:12:04: CODESYS Control Win V3 - x64 Service stopped
    11/23/21 23:13:51: --------------------------------------------------------------------------
    11/23/21 23:13:51: CODESYS Control Win V3 - x64 Service started
    11/23/21 23:13:51: Config file:
    11/23/21 23:13:51: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/24/21 22:58:19: CODESYS Control Win V3 - x64 Service stopped
    11/24/21 22:58:26: --------------------------------------------------------------------------
    11/24/21 22:58:26: CODESYS Control Win V3 - x64 Service started
    11/24/21 22:58:26: Config file:
    11/24/21 22:58:26: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/24/21 22:58:27: CODESYS Control Service: Warning: DEMO mode activated, terminating in approx. 120 minutes.
    11/24/21 23:01:04: CODESYS Control Win V3 - x64 Service stopped
    11/24/21 23:01:10: --------------------------------------------------------------------------
    11/24/21 23:01:10: CODESYS Control Win V3 - x64 Service started
    11/24/21 23:01:10: Config file:
    11/24/21 23:01:10: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    11/24/21 23:02:04: *** Shutdown command from service control manager received...
    11/24/21 23:02:05: CODESYS Control Win V3 - x64 Service stopped
    11/24/21 23:03:49: --------------------------------------------------------------------------
    11/24/21 23:03:49: CODESYS Control Win V3 - x64 Service started
    11/24/21 23:03:49: Config file:
    11/24/21 23:03:49: C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E76864C4\CODESYSControl.cfg
    
     

    Last edit: alrcastro 2021-11-25
  • eschwellinger

    eschwellinger - 2021-11-25

    we need the Plclog.csv.. for this situation.
    If this happens check:
    1. Is there a coredump available in the /PlcLogic/Applications/ directroy (Application.core)
    2. avaiable memory in this situation / cpu load?

    BR
    Edwin

     
  • alrcastro

    alrcastro - 2021-11-25

    Hi Edwin,

    Thank you for your patience.
    As per the above points:

    1. I could find an occurrence of a coredump at the file Application.core file as an <cmp>CmpCoreDump</cmp> entry, but I'm unable to understand what this mean. Unfortunatelly there is no timestamp close to this text so that I could determine any relation with the stuck issue.
    2. In fact, I cannot check the system resources in realtime, just the average at a glance from time to time, and now that we added another SSD card, MEM lies in the range of 40% and CPU do not exceed 30%, eventually (actually, rarelly) reaching a peak of 50%.

    Just out of curiosity, I added the dwCycleTime variable of the CmpIecTask.Task_Info2 to the Webvisu, in order to take the last task execution cycle time of each one of the IEC tasks, running cyclically, and sometimes (quite rare) I can find it reaching the 1,000 us limit defined on the Task configuration in the range of 5-10% at most. In other PCs it doesnt happens so often even running the "same" application with the same OS and H/W, but since this is not too frequent, I presume this by itself is not the root of the problem, although worthy to mention.

    Anyway, back to the coredump approach, could you give a tip of what could I infer from what was found above ?

    BR,
    ANDRE.

     
  • alrcastro

    alrcastro - 2021-11-26

    Hi Edwin,

    Could you give some feedback on this ?

    • I found the word 'coredump' as you told, but don't know the meaning.
    • Seems like the addition of the MS Loopback connector did not change much.

    BR,

     

    Last edit: alrcastro 2021-11-26
  • alrcastro

    alrcastro - 2021-11-26

    The above link redirects to this thread, is it the intent ?
    I can't see here where is the answer to the question posed before:

    • I could find an occurrence of a coredump word at the file Application.core file as an <cmp>CmpCoreDump</cmp> entry, but I'm unable to understand what this mean.
     

    Last edit: alrcastro 2021-11-26
  • alrcastro

    alrcastro - 2021-11-27

    Many thanks again for your kind help.

     

Log in to post a comment.