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

PI4 with CODESYS

2019-06-26
2020-09-24
  • eschwellinger

    eschwellinger - 2019-06-26

    Hi,
    if anyone has this new PI4 device in his hands,
    feedback on using it with the CODESYS runtime would be much appreciated!
    Thanks
    BR
    Edwin

     
  • Tobias Gall - 2019-06-28

    Hello Edwin,

    we have already tested the PI 4 with CODESYS SP14 and run into problems.

    Configuration:
    Runtime SP14
    Fresh Raspbian Buster (updated this morning on the latest version)
    RPi 4 with 1 GB RAM

    After the installation of the runtime via the CODESYS IDE, the runtime starts and is running for a short time. After a few seconds the codesys task is gone. Same thing after a reboot of the system.

    Some logs for you:

    ;****************************************************************
    ;<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>
    ;</logoptions>
    ;<entries>
    ;Timestamp, CmpId, ClassId, ErrorId, InfoId, InfoText
    ;</entries>
    ;****************************************************************
    1561709038, 0x00000013, 1, 0, 0, <logoptions>
    1561709038, 0x00000013, 1, 0, 0, <bEnable>1</bEnable>
    1561709038, 0x00000013, 1, 0, 0, <type>normal</type>
    1561709038, 0x00000013, 1, 0, 0, <timestamp>rtc</timestamp>
    1561709038, 0x00000013, 1, 0, 0, <disableable>0</disableable>
    1561709038, 0x00000013, 1, 0, 0, <Filter>0x0000000f<Filter>
    1561709038, 0x00000013, 1, 0, 0, <MaxEntries>1000</MaxEntries>
    1561709038, 0x00000013, 1, 0, 0, <MaxFiles>1</MaxFiles>
    1561709038, 0x00000013, 1, 0, 0, <MaxFileSize>1000000</MaxFileSize>
    1561709038, 0x00000013, 1, 0, 0, </logoptions>
    1561709038, 0x00000001, 1, 0, 4, CODESYS Control V3
    1561709038, 0x00000001, 1, 0, 5, Copyright (c) 3S - Smart Software Solutions GmbH
    1561709038, 0x00000001, 1, 0, 6, <version>3.5.14.0</version> <builddate>Dec 11 2018</builddate>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>CM</cmp>, <id>0x00000001</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>CmpMemPool</cmp>, <id>0x0000001e</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>CmpLog</cmp>, <id>0x00000013</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>CmpSettings</cmp>, <id>0x0000001a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysFile</cmp>, <id>0x00000104</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysTimer</cmp>, <id>0x00000116</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysTimeRtc</cmp>, <id>0x00000127</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysTime</cmp>, <id>0x00000115</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysTask</cmp>, <id>0x00000114</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysTarget</cmp>, <id>0x00000112</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysSocket</cmp>, <id>0x00000111</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysShm</cmp>, <id>0x00000110</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysSemProcess</cmp>, <id>0x00000119</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysSemCount</cmp>, <id>0x00000139</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysSem</cmp>, <id>0x0000010f</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysProcess</cmp>, <id>0x0000010e</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysOut</cmp>, <id>0x0000010b</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysMutex</cmp>, <id>0x0000013a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysMsgQ</cmp>, <id>0x0000010a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysModule</cmp>, <id>0x00000109</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysMem</cmp>, <id>0x00000108</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysInternalLib</cmp>, <id>0x00000107</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>_</cmp>, <id>0x00000103</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysEvent</cmp>, <id>0x00000102</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysEthernet</cmp>, <id>0x0000011c</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysDir</cmp>, <id>0x0000011b</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysCpuHandling</cmp>, <id>0x00000101</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, System: <cmp>SysCom</cmp>, <id>0x00000100</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpWebServerHandlerV3</cmp>, <id>0x00000072</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpWebServer</cmp>, <id>0x00000071</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpVisuServer</cmp>, <id>0x00000057</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpVisuHandler</cmp>, <id>0x00000054</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpUserMgr</cmp>, <id>0x00000061</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpUserDBObjects</cmp>, <id>0x00000091</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpUserDB</cmp>, <id>0x00000064</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpTraceMgr</cmp>, <id>0x00000070</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpSrv</cmp>, <id>0x0000001c</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpSocketCanDrv</cmp>, <id>0x00005f0d</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpSecurityManager</cmp>, <id>0x0000008e</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpSecureChannel</cmp>, <id>0x00000090</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpSchedule</cmp>, <id>0x00000019</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpRouter</cmp>, <id>0x00000018</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpRetain</cmp>, <id>0x00000017</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpRasPi</cmp>, <id>0x00000089</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpPlcShell</cmp>, <id>0x00000128</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpOpenSSL</cmp>, <id>0x00000033</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAStack</cmp>, <id>0x0000008d</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAServer</cmp>, <id>0x00000124</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAProviderIecVarAccess</cmp>, <id>0x00000126</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceServer</cmp>, <id>0x00000016</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClientIec</cmp>, <id>0x0000011d</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClient</cmp>, <id>0x00000015</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpMonitor2</cmp>, <id>0x00000032</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpKnxStack</cmp>, <id>0x0000004d</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpIoMgr</cmp>, <id>0x00000012</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpIoDrvIec</cmp>, <id>0x0000005a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpIecVarAccess</cmp>, <id>0x00000060</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpIecTask</cmp>, <id>0x00000011</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpIecStringUtils</cmp>, <id>0x0000007f</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpGwCommDrvTcp</cmp>, <id>0x00000010</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpGateway</cmp>, <id>0x0000000f</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpFileTransfer</cmp>, <id>0x0000005e</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpEventMgr</cmp>, <id>0x0000005b</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpEL6751CanDrv</cmp>, <id>0x00005f0b</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpDynamicText</cmp>, <id>0x00000051</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpDevice</cmp>, <id>0x0000000e</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCryptMD5</cmp>, <id>0x0000006a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCoreDump</cmp>, <id>0x00000083</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCommunicationLib</cmp>, <id>0x0000000c</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCodeMeter</cmp>, <id>0x0000007a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpChecksum</cmp>, <id>0x0000000b</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCharDevice</cmp>, <id>0x00000300</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpChannelServer</cmp>, <id>0x0000000a</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpChannelMgr</cmp>, <id>0x00000009</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpChannelClientIec</cmp>, <id>0x0000005d</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpChannelClient</cmp>, <id>0x00000008</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAATypes</cmp>, <id>0x00004006</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAATimer</cmp>, <id>0x00004016</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAATickUtil</cmp>, <id>0x00004010</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAATick</cmp>, <id>0x00004009</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAAStorage</cmp>, <id>0x0000007e</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAASerialCom</cmp>, <id>0x00004012</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAASegBufferMan</cmp>, <id>0x00004019</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoServer</cmp>, <id>0x00004017</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoClient</cmp>, <id>0x00004011</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAARealTimeClock</cmp>, <id>0x00004014</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAANetBaseServices</cmp>, <id>0x00004018</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAAMemBlockMan</cmp>, <id>0x00004003</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAAFile</cmp>, <id>0x00004008</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAADTUtil</cmp>, <id>0x00004013</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAACanL2</cmp>, <id>0x00004004</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAACallback</cmp>, <id>0x00004001</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAABehaviourModel</cmp>, <id>0x00004015</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpCAAAsyncMan</cmp>, <id>0x00004007</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvUdp</cmp>, <id>0x00000007</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvTcp</cmp>, <id>0x00000030</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpBitmapPool</cmp>, <id>0x00000050</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtilIec</cmp>, <id>0x0000005c</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtil</cmp>, <id>0x00000004</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpBACnet</cmp>, <id>0x00000400</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpAsyncMgr</cmp>, <id>0x0000005f</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpAppForce</cmp>, <id>0x00000074</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpAppBP</cmp>, <id>0x00000073</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpApp</cmp>, <id>0x00000002</id> <ver>3.5.14.0</ver>
    1561709038, 0x00000001, 1, 0, 10, <cmp>CmpAlarmManager</cmp>, <id>0x0000007c</id> <ver>3.5.14.0</ver>
    1561709038, 0x0000000a, 1, 0, 0, <NumOfChannels>4</NumOfChannels> channels available, each of the size <BufferSize>100000</BufferSize> Bytes
    1561709038, 0x00000009, 1, 0, 2, Running as network server
    1561709038, 0x00000009, 1, 0, 1, Running as network client
    1561709038, 0x00000007, 1, 0, 6, Network interface: <ipaddress>127.0.0.1</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    1561709038, 0x00000018, 1, 0, 4, Network interface <interface>ether local</interface> at router <instance>0</instance> registered
    1561709038, 0x00005f0d, 1, 0, 1, interface <interface>can0</interface> is not available
    1561709038, 0x00000124, 1, 0, 0, No certificate for the OPC UA server available.
    1561709038, 0x00000124, 1, 0, 0, Security policy allows plain text communication. Secure communication is deactivated.
    1561709038, 0x00000124, 1, 0, 0, **************************************************************
    1561709038, 0x00000124, 1, 0, 0,Β  Β  Β OPC UA Server Started: 
    1561709038, 0x00000124, 1, 0, 0,Β  Β  Β Hostname: raspberrypi, Port: 4840
    1561709038, 0x00000124, 1, 0, 0,Β  Β  Β URL: opc.tcp://raspberrypi:4840
    1561709038, 0x00000124, 1, 0, 0,Β  Β  Β Loopbackadapter activated.
    1561709038, 0x00000124, 1, 0, 0,Β  Β  Β All available networkadapters are used.
    1561709038, 0x00000124, 1, 0, 0, **************************************************************
    1561709038, 0x00000124, 1, 0, 0, Provider CODESYS_DefaultProvider with Version 0x3050e00 registerd at the OPC UA server.
    1561709038, 0x00000124, 1, 0, 0, Provider CmpOPCUAProviderIecVarAccess with Version 0x3050e00 registerd at the OPC UA server.
    1561709038, 0x00000030, 1, 0, 6, Local network address: <ipaddress>127.0.0.1</ipaddress>
    1561709038, 0x00000018, 1, 0, 4, Network interface <interface>BlkDrvTcp</interface> at router <instance>1</instance> registered
    1561709038, 0x00000018, 1, 0, 1, Setting router <instance>0</instance> address to <address>(0001)</address>
    1561709038, 0x00000018, 1, 0, 1, Setting router <instance>1</instance> address to <address>(2ddc:7f00:0001)</address>
    1561709045, 0x00000126, 1, 0, 0, Valid license found for OPC UA IecVarAccess provider.
    1561709045, 0x00000002, 1, 0, 22, No retain area in bootproject of application [<app>Application</app>]
    1561709045, 0x00000002, 1, 0, 6, Bootproject of application [<app>Application</app>] loaded
    1561709045, 0x00000002, 1, 0, 10, Application [<app>Application</app>] started
    1561709045, 0x00000001, 1, 0, 34, CODESYS Control ready
    1561709045, 0x0000100c, 1, 0, 0, Visuinitialization starting.
    1561709047, 0x00001000, 4, 0, 0, TrendStorageAccess: Some kind of disk I/O error occurred. Check disk space.
    1561709047, 0x00001000, 4, 0, 0, TrendStorageAccess: No more write access to the trend storage will be performed.
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelemsdatetime.tl_datetime.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelemsalarm.tl_alarmtablecolumntitles.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelemsalarm.alarmmanager.tl_alarmstatus.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelem3dpath.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visudialogs.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tltrend.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tlpwmmodeselection.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tlprescaler8bit.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tlprescaler16bit.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/system.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_ptp_movement_type.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_orientation_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_coord_system.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_circ_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_transition_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_execution_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_circ_pathchoice.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_buffer_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_toolcorrmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_smoothpathmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_smoothpathaddaxmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_smoothbspline_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_ori_convention.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_int_velmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_int_status.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_abc_slopes_no_stop.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_abc_slopes_at_stop.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_mc_direction.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_ramptype.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_movementtype.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_loggermode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_homing_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_controller_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_backlash_startstate.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_backlash_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc3_brakesetstate.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_mc_tappetmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_mc_startmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_mc_direction.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelemsdatetime.tl_datetime.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelemsalarm.tl_alarmtablecolumntitles.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelemsalarm.alarmmanager.tl_alarmstatus.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visuelem3dpath.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/visudialogs.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tltrend.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tlpwmmodeselection.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tlprescaler8bit.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/tlprescaler16bit.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/system.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_ptp_movement_type.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_orientation_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_coord_system.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_smc_circ_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_transition_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_execution_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_circ_pathchoice.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.textlistforcombobox_mc_buffer_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_robotics_visu.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_toolcorrmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_smoothpathmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_smoothpathaddaxmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_smoothbspline_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_ori_convention.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_int_velmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_int_status.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_abc_slopes_no_stop.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_smc_abc_slopes_at_stop.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.textlistforcombobox_mc_direction.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_cnc.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_ramptype.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_movementtype.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_loggermode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_homing_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_controller_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_backlash_startstate.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc_backlash_mode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_smc3_brakesetstate.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_mc_tappetmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_mc_startmode.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.textlistforcombobox_mc_direction.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/sm3_basic.globaltextlist.txt</file> could not be opened
    1561709047, 0x00000051, 4, 0, 1, The dynamic text file <file>$visu$/globaltextlist.txt</file> could not be opened
    1561709047, 0x0000100c, 1, 0, 0, Visuinitialization done.
    1561709047, 0x0000007e, 4, 16, 0, Opening file 'PlcLogic/' with flags 102 failed!
    1561709047, 0x00001000, 4, 0, 0, TrendStorageAccess: Determination of root pages for recording did not work, error code: 30440
    1561709047, 0x0000007e, 4, 16, 0, Opening file 'PlcLogic/' with flags 102 failed!
    1561709047, 0x0000007e, 4, 16, 0, Opening file 'PlcLogic/' with flags 102 failed!
    1561709047, 0x00001000, 4, 0, 0, TrendStorageAccess: Determination of root pages for recording did not work, error code: 30440
    1561709047, 0x0000007e, 4, 16, 0, Opening file 'PlcLogic/' with flags 102 failed!
    1561709047, 0x00000071, 1, 0, 0, **************************************************************
    1561709047, 0x00000071, 1, 0, 0, Β  Β Β  Β Β  Β Web Server
    1561709047, 0x00000071, 1, 0, 0,Β  Β  Β  Β Root directory : $PlcLogic$/$visu$
    1561709047, 0x00000071, 1, 0, 0,Β  Β  Β  Β Host :Β  Β  Β  Β raspberrypi
    1561709047, 0x00000071, 1, 0, 0,Β  Β  Β  Β HTTP portΒ  : 8080
    1561709047, 0x00000071, 1, 0, 0,Β  Β  Β  Β HTTPS port : 443
    1561709047, 0x00000071, 1, 0, 0,Β  Β  Β  Β Connection type : HTTP
    1561709047, 0x00000071, 1, 0, 0, **************************************************************
    1561709047, 0x0000007e, 4, 16, 0, Opening file 'PlcLogic/' with flags 102 failed!
    1561709050, 0x00000018, 1, 0, 5, Network interface <interface>ether local</interface> unregistered
    1561709050, 0x00000007, 1, 0, 6, Network interface: <ipaddress>192.168.1.166</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    1561709050, 0x00000018, 1, 0, 4, Network interface <interface>ether 1</interface> at router <instance>2</instance> registered
    1561709050, 0x00000018, 1, 0, 1, Setting router <instance>2</instance> address to <address>(00a6)</address>
    
    GewΓΌnscht=Unbekannt/Installieren/R=Entfernen/P=VollstΓ€ndig LΓΆschen/Halten
    | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
    Β  Β  Β  Β  Β Halb installiert/Trigger erWartet/Trigger anhΓ€ngig
    |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
    ||/ NameΒ  Β  Β  Β  Β  Β VersionΒ  Β  Β  ArchitekturΒ  Beschreibung
    +++-==============-============-============-=======================================
    iiΒ  codesyscontrol 3.5.14.0Β  Β  Β allΒ  Β  Β  Β  Β  V3.5.14.0, Di 11. Dez 16:11:42 CET 2018
    
    processorΒ  Β : 0
    model nameΒ  Β : ARMv7 Processor rev 3 (v7l)
    BogoMIPSΒ  Β : 270.00
    FeaturesΒ  Β : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementerΒ  Β : 0x41
    CPU architecture: 7
    CPU variantΒ  Β : 0x0
    CPU partΒ  Β : 0xd08
    CPU revisionΒ  Β : 3
    processorΒ  Β : 1
    model nameΒ  Β : ARMv7 Processor rev 3 (v7l)
    BogoMIPSΒ  Β : 270.00
    FeaturesΒ  Β : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementerΒ  Β : 0x41
    CPU architecture: 7
    CPU variantΒ  Β : 0x0
    CPU partΒ  Β : 0xd08
    CPU revisionΒ  Β : 3
    processorΒ  Β : 2
    model nameΒ  Β : ARMv7 Processor rev 3 (v7l)
    BogoMIPSΒ  Β : 270.00
    FeaturesΒ  Β : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementerΒ  Β : 0x41
    CPU architecture: 7
    CPU variantΒ  Β : 0x0
    CPU partΒ  Β : 0xd08
    CPU revisionΒ  Β : 3
    processorΒ  Β : 3
    model nameΒ  Β : ARMv7 Processor rev 3 (v7l)
    BogoMIPSΒ  Β : 270.00
    FeaturesΒ  Β : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementerΒ  Β : 0x41
    CPU architecture: 7
    CPU variantΒ  Β : 0x0
    CPU partΒ  Β : 0xd08
    CPU revisionΒ  Β : 3
    HardwareΒ  Β : BCM2835
    RevisionΒ  Β : a03111
    SerialΒ  Β Β  Β : 100000003691d0b5
    

    It would be great if you can send us information how to get it running. We want to use Pi 4 and CODESYS with out PiXtend PLC devices as soon as possible.

    Kind regards!

     
  • eschwellinger

    eschwellinger - 2019-06-28

    Hi,
    we will implement these changes and release them with the 3.5SP15 release on July.

    Thanks for the information.
    BR
    Edwin

     
  • sumkrnboy - 2019-07-18

    The latest CODESYS build (3.5.14.30) as of this post does not recognize the new Raspberry Pi 4 Build B when scanning the local subnet. It has a new OUI and the prefix is DC:A6:32.

    I can confirm that with the Buster build (Version:July 2019, Release date:2019-07-10), the runtime briefly executes, then terminates.

     
  • Kampfwurst - 2019-09-14

    any news about the PI4 with codesys

     
  • eschwellinger

    eschwellinger - 2019-09-14

    Hi,
    With 3.5.15.10 release date is 19th this month - these buster problems will be solved.
    BR
    Edwin

     
  • ocularpatdown - 2020-05-10

    Hi Edwin,

    Just tried running my Pi4 . Getting issues with the runtime stopping after a few seconds. I can connect to the Pi again if i start the runtime from the Update Pi tool.

    I have started it using Putty and watched it run on TOP from the Pi terminal.

    It runs for about 10 seconds the drops off.

    Im running V3.5 SP16.

     
  • eschwellinger

    eschwellinger - 2020-05-10

    On my PI4 this works anything special?
    we need the /tmp/codesyscontrol.log or maybe better stop the runtime and start it manually by:

    sudo /etc/init.d/codesyscontrol stop

    then for the multicore version
    cd /var/opt/codesys
    sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg

    for the singecore version
    cd /var/opt/codesys
    sudo /opt/codesys/bin/codesyscontrol_armv6l_raspberry.bin -d /etc/CODESYSControl.cfg

    Maybe a corrupt application or application with a bug lead to a crash on startup - remove it by the runtime deploytool(use disable application)?

    BR
    Edwin

     

    Last edit: eschwellinger 2020-05-10
    • ocularpatdown - 2020-05-11

      Hi Edwin ,

      Thanks for the reply. Yeah i can start and top codesyscontrol from the pi terminal and i have removed it and reinstalled it. i can see it dropping off on TOP

      I have attached the log file below .

      thanks,

       
  • eschwellinger

    eschwellinger - 2020-05-11

    ...need the output of:
    cd /var/opt/codesys
    sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg

    BR
    Edwin
    the logfile does not help in this case..

     
    • ocularpatdown - 2020-05-11

      Is this what your looking for ?

      Attached:

       
  • eschwellinger

    eschwellinger - 2020-05-12

    yes, now I need a
    cat /proc/cpuinfo
    and a ifconfig from CLI

     
  • ocularpatdown - 2020-05-12

    Thank you Edwin

     
  • eschwellinger

    eschwellinger - 2020-05-12

    Hi,
    but is this really RASBIAN Buster?
    This is a different OS image isn't it?

     
  • ocularpatdown - 2020-05-12

    Hi Edwin,

    Yes my mistake for some reason the image file was the wrong one . I downloaded buster and installed it . The run time is working perfectly now.

    thanks for your help.

     
    • ccwwppStep - 2020-09-24

      Dear,

      Would you tell me which version that you downloaded?
      because now i am facing the same problem..
      thanks!

       
  • davewkoenig - 2020-05-15

    I am using Pi4 for 3-4 months on my CNC machine, it runs great! Did have some problems in beginning, using Debian version.

    I can send you an image if you like? I use wiFi to connect to my router at Ethernet port for EtherCAT coms.

     
  • davewkoenig - 2020-05-15

    I am using Pi4 for 3-4 months on my CNC machine, it runs great! Did have some problems in beginning, using Debian version.

    I can send you an image if you like? I use wiFi to connect to my router at Ethernet port for EtherCAT coms.

     
    • Ingo

      Ingo - 2020-05-15

      Please do so, I am very curious! ;)

       
      • davewkoenig - 2020-05-16

        https://1drv.ms/u/s!AgnUL-SiE9JwgcstSOMSDCWhEfaVLA?e=cPibT1

        it is a 32mb image you can extract to sd card with program called hddraw

        Dave Koenig

        630-808-6740

        From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
        Behalf Of Ingo
        Sent: Thursday, May 14, 2020 11:43 PM
        To: [forge:talk]
        Subject: [forge:talk] Re: PI4 with CODESYS

        Please do so, I am very curious! ;)


        PI4 with CODESYS
        https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=25#89 58/6a56


        Sent from forge.codesys.com because you indicated interest in
        https://forge.codesys.com/forge/talk/Runtime/

        To unsubscribe from further messages, please visit
        https://forge.codesys.com/auth/subscriptions/

         
        πŸ‘
        1
        • Ingo

          Ingo - 2020-05-16

          Sorry, I thought of a picture of the CNC machine, rather than an SD image.
          Funny misunderstanding ;)

           
      • aliazzz

        aliazzz - 2020-05-16

        Hi!
        I am vey curious also! We would like to see pictures and video of your setup ;-)

        Plus, it's a bonus if you share your experiences here on forge with instructions on how to build a CNC machine using PI4? Personally I am very interested in such a project !

         
        • davewkoenig - 2020-05-19

          It is a 3 axis CNC that I built with Servo drives, project cost was higher
          than anticipated, a lot of CodeSYS licensing.

          https://www.youtube.com/watch?v=zR9gOND_-cE
          https://www.youtube.com/watch?v=zR9gOND_-cE&t=2s &t=2s

          Dave Koenig

          630-808-6740

          From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
          Behalf Of aliazzz
          Sent: Saturday, May 16, 2020 2:23 PM
          To: [forge:talk]
          Subject: [forge:talk] Re: PI4 with CODESYS

          Hi!
          I am vey curious also! We would like to see pictures and video of your setup
          ;-)

          Plus, it's a bonus if you share your experiences here on forge with
          instructions on how to build a CNC machine using PI4? Personally I am very
          interested in such a project !


          PI4 with CODESYS
          https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=250#8 958/6a56/efdb


          Sent from forge.codesys.com because you indicated interest in
          https://forge.codesys.com/forge/talk/Runtime/

          To unsubscribe from further messages, please visit
          https://forge.codesys.com/auth/subscriptions/

           
        • davewkoenig - 2020-05-19

          If you are interested and up for the challenge I do have extra servo drives
          I would sell.

          Dave Koenig

          630-808-6740

          From: talk@forge.forge.codesys.com [mailto:talk@forge.forge.codesys.com] On
          Behalf Of aliazzz
          Sent: Saturday, May 16, 2020 2:23 PM
          To: [forge:talk]
          Subject: [forge:talk] Re: PI4 with CODESYS

          Hi!
          I am vey curious also! We would like to see pictures and video of your setup
          ;-)

          Plus, it's a bonus if you share your experiences here on forge with
          instructions on how to build a CNC machine using PI4? Personally I am very
          interested in such a project !


          PI4 with CODESYS
          https://forge.codesys.com/forge/talk/Runtime/thread/dcef2074d0/?limit=250#8 958/6a56/efdb


          Sent from forge.codesys.com because you indicated interest in
          https://forge.codesys.com/forge/talk/Runtime/

          To unsubscribe from further messages, please visit
          https://forge.codesys.com/auth/subscriptions/

           
          • aliazzz

            aliazzz - 2020-05-19

            Hi Dave,

            That is a mighty setup you have built. Very cool to see a Raspberry Pi act as brains of the setup. The drives work via EtherCAT or Profinet?

            I have also have written/translated some nifty projects with help of the community here, like CfUnit, an open source and free unit testing framework of which we are very proud! Maybe you'll use it someday?
            It supports assertion of 3D array's of all datatypes
            https://forge.codesys.com/svn/prj,cfunit,code/landingpage/index.html?raw

            And we started a new cool IOT oriented project here also:
            https://forge.codesys.com/prj/mqttsparkplugb/home/Home/

            So, I was hoping that would share your software with us if you wish, as I'd very much want to build such a CNC machine myself.On the servo's, I have some lying around here allready, so at this moment I am not interested.

            Hope you will consider sharing the software with the community.

            Aliazzz

             

            Last edit: aliazzz 2020-05-19
          • kumareasu - 2020-05-27

            Dave ,
            What about the reliability with RPi4?
            I am trying to build an industrial application with BeagleBone Black. It has industrial version. I am not able to get good community support.
            Hence I am trying to switch over to RPi4.
            what is your recommendation for RPi4 for an industrial application?
            Thanks in advance....

            Kumar

             
  • kumareasu - 2020-05-27

    Dave ,
    What about the reliability with RPi4?
    I am trying to build an industrial application with BeagleBone Black. It has industrial version. I am not able to get good community support.
    Hence I am trying to switch over to RPi4.
    what is your recommendation for RPi4 for an industrial application?
    Thanks in advance....

    Kumar

     
    • davewkoenig - 2020-05-27

      I have had really good results with my PI, using 5v to 24v converter, opto isolation boards for GPIO connection which is nice, 17 I/0 points configurable in or out. Running with servo system running on 120v power, no noise issues on PI, but it is definitely not industrial hardened. I do not even have it in an enclosure.

      Sent from my iPhone

      On May 27, 2020, at 3:23 AM, kumareasu forge@codesys.com wrote:

      ο»Ώ
      Dave ,
      What about the reliability with RPi4?
      I am trying to build an industrial application with BeagleBone Black. It has industrial version. I am not able to get good community support.
      Hence I am trying to switch over to RPi4.
      what is your recommendation for RPi4 for an industrial application?
      Thanks in advance....

      Kumar

      PI4 with CODESYS

      Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Runtime/

      To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/

       
  • januar - 2020-06-11

    Hi Dave,

    Thank you. The complete information is on the OS-Hardware.png. It is raspbian buster.

    Januar

     

    Last edit: januar 2020-06-11
  • Morberis

    Morberis - 2020-06-30

    @davewkoenig
    Super interesting project. Unfortunately I can't justify buying any servo drives right now.

    What do I see connected to the raspberry pi 4? Is that the Opto IO?
    Did you use USB boot or network boot to get around SD corruption issues? Or just having a spare SD card on hand?
    Did you use a codemeter USB key for storing those licenses?
    Are you willing to share your program? Sorry I ask because it looks like you were above. I don't want to use it I just want to look at it and learn. I've never done any motion control work.

    @januar Could it be an issue with Codesys starting before all the drivers have booted? I've heard about that before but not encountered it myself.

    @kumareasu For using a Beaglebone Black you might be able to use IO cards that have drivers for Codesys intended for Raspberry Pi if you shift the I2C from 5v to 3v using logic level shifters. You could maybe design a converter cape decently easily for something like this. For instance https://sequentmicrosystems.com/index.php?route=product/category&path=20 The industrial IO card doesn't say it has Codesys drivers but there are, you just don't get access to PWM or the communication bus's.

     

    Last edit: Morberis 2020-06-30
    • januar - 2020-07-01

      Hi Morberis,

      I manage to solved it. After updating the edge to the latest version and use license (not in demo mode). I think the problem is the license driver takes too long to validate and the codesyscontrol cannot start.

       
      πŸ‘
      1
  • deanlaing - 2020-08-20

    Hi Edwin,

    I've run into the same issue now with the Codesys runtime on the Pi stopping after a couple of seconds. Ive attached all the logs you ask the original poster to share. Im running the very latest Codesys and RaspberryPi runtime. Ive only just started with the project so i havent bought a license yet. Will this resolve the issue as with the previous poster?

    Thanks in advance,
    Dean

     
  • edwinwlpp - 2020-09-04

    Dear All,
    Same issue I have with my testing RPi4 Codesys licensed. (Raspbian Buster + CDS v3.5.16.1)

    Codesys stops after 30 seconds.
    Change of SD card didn't solve.

     
    • deanlaing - 2020-09-04

      Hi,

      You need to use this version of raspian:
      2020-05-27-raspios-buster-full-armhf

      You also need to be careful with the updates that you do, hope that helps.

       
      πŸ‘
      1
  • Tyro - 2020-09-04

    Hi, i am using Pi4 with 3.5.16.0 and its running good. only problem is sometimes some devices say it doesnt have licence though they have a licence

     
  • eschwellinger

    eschwellinger - 2020-09-04

    check the plclogger in detail...

     
    πŸ‘
    1

Log in to post a comment.