I'm trying to start a MOdbus RTU comm between RPI2 and PC using usb/485 converter on RPI side.
The converter is properly recognized by Raspbian : using the
I get:
I sent some char from RPI to PC by
and it works
and I add the following lines
into /etc/CODESYSConfig.cfg
but the runtime stay forced to stop cause of this:
That seems to be correct..
version i 3.5.8.0
Some suggestion?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to start a MOdbus RTU comm between RPI2 and PC using usb/485 converter on RPI side.
The converter is properly recognized by Raspbian : using the
I get:
I sent some char from RPI to PC by
and it works
and I add the following lines
into /etc/CODESYSConfig.cfg
but the runtime stay forced to stop cause of this:
That seems to be correct..
version i 3.5.8.0
Some suggestion?
Hi,
check the plc logger.. for more details.
BR
Edwin
the log seems do not show strange stuff..
hi,
could not see any problem in the plc log...
Could you give me a
cat /tmp/codesyscontrol.log
output here
BR
Edwin
Linux version 4.1.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prere lease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 SMP PREE MPT Fri Nov 13 20:19:03 GMT 2015
PlcStartRasPI[760]: fork child: ppid: 408
* CoDeSysControl DEMO VERSION - runs 2 hours*
machine: armv7l
timer resolution: 1nsec
SysFileGetSize_[254]: stat(.UserMgmtDB.csv):No such file or directory
(0001)SysFileGetSize_[254]: stat(UserMgmtDB.csv):No such file or directory
SysFileGetSize_[254]: stat(.UserMgmtRightsDB.csv):No such file or directory
SysFileGetSize_[254]: stat(UserMgmtRightsDB.csv):No such file or directory
SysEthernetOSHookFunction[100]: changed protocol filter to 0x3
[394]: setting fpu-exceptions failed
Socket_CanMiniDriver_Setup[1007]: registering can interface 0
openRxSocket[576]: Opened socket for reading (can0)
openRxSocket[582]: ioctl(SIOCGIFINDEX): No such device
SysTaskCreate[296]: create SchedProcessorLoad(prio:64,interval:0us,stacksize:131 072)
SysTaskCreate[296]: create SchedException(prio:31,interval:0us,stacksize:131072)
SysTaskFrame[230]: SchedProcessorLoad(tid:480,OSprio:0) running
SysTaskFrame[230]: SchedException(tid:481,OSprio:68) running
SysTaskCreate[296]: create Schedule(prio:5,interval:1000us,stacksize:131072)
SysTaskFrame[230]: Schedule(tid:482,OSprio:94) running
SysTaskCreate[296]: create CAAEventTask(prio:30,interval:0us,stacksize:131072)
SysTaskFrame[230]: CAAEventTask(tid:483,OSprio:69) running
SysFileDelete[192]: unlink(Application.xml):No such file or directory
SysTaskCreate[296]: create IoMgrDiagTask(prio:192,interval:0us,stacksize:131072)
SysTaskCreate[296]: create MainTask(prio:33,interval:20000us,stacksize:131072)
SysTaskFrame[230]: IoMgrDiagTask(tid:484,OSprio:0) running
SysTaskFrame[230]: MainTask(tid:485,OSprio:66) running
SysFileGetSize_[254]: stat(Application.boot.xml):No such file or directory
SysTaskCreate[296]: create BlkDrvTcp(prio:95,interval:0us,stacksize:131072)
SysTaskCreate[296]: create BlkDrvUdp(prio:95,interval:0us,stacksize:131072)
SysTaskFrame[230]: BlkDrvTcp(tid:486,OSprio:0) running
SysTaskFrame[230]: BlkDrvUdp(tid:487,OSprio:0) running
SysTaskCreate[296]: create OPCUAServer(prio:128,interval:0us,stacksize:131072)
SysTaskCreate[296]: create GwCommDrvTcp(prio:95,interval:0us,stacksize:131072)
SysTaskFrame[230]: OPCUAServer(tid:488,OSprio:0) running
=======================================================================
1452182088: Cmp=CM, Class=1, Error=0, Info=4, pszInfo= CODESYS Control V3
1452182088: Cmp=CM, Class=1, Error=0, Info=5, pszInfo= Copyright (c) 3S - Smart Software Solutions GmbH
1452182088: Cmp=CM, Class=1, Error=0, Info=6, pszInfo= <version>3.5.8.0</version> <builddate>Dec 8 2015</builddate>
SysTaskFrame[230]: GwCommDrvTcp(tid:489,OSprio:0) running
=======================================================================
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CM</cmp>, < id>0x00000001 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CmpMemPool< /cmp>, <id>0x0000001e</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CmpLog</cmp>, <id>0x00000013</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CmpSettings </cmp>, <id>0x0000001a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysFile, <id>0x00000104</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysCpuHandl ing</cmp>, <id>0x00000101</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>_, <id>0x00000103</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysMem</cmp>, <id>0x00000108</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysOut</cmp>, <id>0x0000010b</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysModule, <id>0x00000109</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysCom</cmp>, <id>0x00000100</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysDir</cmp>, <id>0x0000011b</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysEvent, <id>0x00000102</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysInternal Lib</cmp>, <id>0x00000107</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSem</cmp>, <id>0x0000010f</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSocket, <id>0x00000111</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTarget, <id>0x00000112</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTask, <id>0x00000114</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTime, <id>0x00000115</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTimeRtc< /cmp>, <id>0x00000127</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTimer, <id>0x00000116</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysFileStre am</cmp>, <id>0x00000120</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysShm</cmp>, <id>0x00000110</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysMsgQ, <id>0x0000010a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSemProce ss</cmp>, <id>0x00000119</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysEthernet </cmp>, <id>0x0000011c</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysMutex, <id>0x0000013a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSemCount </cmp>, <id>0x00000139</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysProcess< /cmp>, <id>0x0000010e</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpApp</cmp>, <id>0 x00000002</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAppBP</cmp>, <id>0x00000073</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAppForce</cmp>, <id>0x00000074</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAsyncMgr</cmp>, <id>0x0000005f</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChecksum</cmp>, <id>0x0000000b</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpDevice</cmp>, 0x0000000e <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpEventMgr</cmp>, <id>0x0000005b</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpFileTransfer, <id>0x0000005e</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIecStringUtils, <id>0x0000007f</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIecTask</cmp>, < id>0x00000011 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpMonitor</cmp>, < id>0x00000014 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpMonitor2</cmp>, <id>0x00000032</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIoDrvC</cmp>, 0x00000066 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIoDrvIec</cmp>, <id>0x0000005a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIoMgr</cmp>, <id>0x00000012</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpRetain</cmp>, 0x00000017 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpRouter</cmp>, 0x00000018 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpSchedule</cmp>, <id>0x00000019</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpSrv</cmp>, <id>0 x0000001c</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBlkDrvTcp</cmp>, <id>0x00000030</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBlkDrvUdp</cmp>, <id>0x00000007</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBinTagUtil</cmp> , <id>0x00000004</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelMgr</cmp> , <id>0x00000009</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelServer, <id>0x0000000a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpNameServiceServe r</cmp>, <id>0x00000016</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCommunicationLib </cmp>, <id>0x0000000c</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCoreDump</cmp>, <id>0x00000083</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIecVarAccess, <id>0x00000060</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpPlcShell</cmp>, <id>0x00000128</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpTraceMgr</cmp>, <id>0x00000070</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpNameServiceClien t</cmp>, <id>0x00000015</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelClient, <id>0x00000008</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAAsyncMan</cmp>, <id>0x00004007</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAABehaviourMode l</cmp>, <id>0x00004015</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAACallback</cmp>, <id>0x00004001</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAADTUtil</cmp>, <id>0x00004013</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAFile</cmp>, < id>0x00004008 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAMemBlockMan, <id>0x00004003</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAANetBaseServic es</cmp>, <id>0x00004018</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAARealTimeClock </cmp>, <id>0x00004014</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASegBufferMan< /cmp>, <id>0x00004019</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASerialCom, <id>0x00004012</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATick</cmp>, < id>0x00004009 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATickUtil</cmp>, <id>0x00004010</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATimer</cmp>, <id>0x00004016</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATypes</cmp>, <id>0x00004006</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelClientIec </cmp>, <id>0x0000005d</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpNameServiceClien tIec</cmp>, <id>0x0000011d</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBinTagUtilIec, <id>0x0000005c</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpUserDB</cmp>, 0x00000064 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpUserMgr</cmp>, < id>0x00000061 <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCryptMD5</cmp>, <id>0x0000006a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCharDevice</cmp> , <id>0x00000300</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpRasPi</cmp>, <id>0x00000089</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBitmapPool</cmp> , <id>0x00000050</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpDynamicText</cmp>, <id>0x00000051</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpVisuHandler</cmp>, <id>0x00000054</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpVisuServer</cmp> , <id>0x00000057</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpOPCUA</cmp>, <id>0x00000125</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpWebServer</cmp>, <id>0x00000071</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpWebServerHandler V3</cmp>, <id>0x00000072</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAStorage</cmp> , <id>0x0000007e</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAlarmManager, <id>0x0000007c</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpGateway</cmp>, < id>0x0000000f <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpGwCommDrvTcp, <id>0x00000010</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCodeMeter</cmp>, <id>0x0000007a</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASdoClient, <id>0x00004011</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASdoServer, <id>0x00004017</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAACanL2</cmp>, <id>0x00004004</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpEL6751CanDrv, <id>0x00005f0b</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= Dynamic: <cmp>CmpOpenSSL </cmp>, <id>0x00000033</id> <ver>3.5.8.0</ver>
1452182088: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= Dynamic: <cmp>CmpSocketC anDrv</cmp>, <id>0x00005f0d</id> <ver>3.5.8.0</ver>
1452182089: Cmp=CM, Class=16, Error=0, Info=24, pszInfo= Call CH_INIT...
1452182089: Cmp=SysFile, Class=1, Error=0, Info=1, pszInfo= PlcLogicPrefix=0: Ex ecute online command ResetOrginDevice to enable backup/restore feature
1452182089: Cmp=CmpRouter, Class=16, Error=0, Info=19, pszInfo= <instances>7 router instances configured, first parallel router offset <offset>8
1452182089: Cmp=CM, Class=16, Error=0, Info=25, pszInfo= CH_INIT done
1452182089: Cmp=CM, Class=16, Error=0, Info=26, pszInfo= Call CH_INIT2...
1452182089: Cmp=CmpBlkDrvUdp, Class=1, Error=0, Info=6, pszInfo= Network interfa ce: <ipaddress>127.0.0.1</ipaddress>, subnetmask <subnetmask>255.255.255.0
1452182089: Cmp=CmpRouter, Class=1, Error=0, Info=4, pszInfo= Network interface <interface>ether local</interface> at router <instance>0</instance> registered
1452182089: Cmp=CmpChannelMgr, Class=1, Error=0, Info=2, pszInfo= Running as net work server
1452182089: Cmp=CmpChannelMgr, Class=1, Error=0, Info=1, pszInfo= Running as net work client
1452182089: Cmp=CmpChannelServer, Class=1, Error=0, Info=0, pszInfo= <numofchann els="">4 channels available, each of the size <buffersize>100000 Bytes
1452182089: Cmp=CM, Class=16, Error=0, Info=27, pszInfo= CH_INIT2 done
1452182089: Cmp=CM, Class=16, Error=0, Info=47, pszInfo= Call CH_INIT201...
1452182089: Cmp=CM, Class=16, Error=0, Info=48, pszInfo= CH_INIT201 done
1452182089: Cmp=CM, Class=16, Error=0, Info=28, pszInfo= Call CH_INIT3...
1452182089: Cmp=CmpBlkDrvTcp, Class=1, Error=0, Info=6, pszInfo= Local network a ddress: <ipaddress>127.0.0.1</ipaddress>
1452182089: Cmp=CmpRouter, Class=1, Error=0, Info=4, pszInfo= Network interface <interface>BlkDrvTcp</interface> at router <instance>1</instance> registered
1452182089: Cmp=CmpCodeMeter, Class=16, Error=0, Info=0, pszInfo= WIBU CmCompact version: 1.7.3391.0 - Build=2.4.2015
1452182089: Cmp=CmpCodeMeter, Class=16, Error=0, Info=0, pszInfo= --- CodeMeter detected [0]: SN=32767--269967677, Version=1.18, Chip=0, Rev=0
1452182089: Cmp=CmpCodeMeter, Class=16, Error=0, Info=0, pszInfo= [0] - Firm Code=0, ProductCode=0
1452182089: Cmp=CmpCodeMeter, Class=16, Error=0, Info=0, pszInfo= [1] - () Firm Code=5000304, ProductCode=0, Features: 0x0
1452182089: Cmp=CmpCodeMeter, Class=16, Error=0, Info=0, pszInfo= [2] - () Firm Code=5000304, ProductCode=0, Features: 0x0
1452182089: Cmp=CM, Class=16, Error=0, Info=29, pszInfo= CH_INIT3 done
1452182089: Cmp=CM, Class=16, Error=0, Info=74, pszInfo= Call CH_INIT_SYSTEM_TAS KS...
1452182089: Cmp=CM, Class=16, Error=0, Info=75, pszInfo= CH_INIT_SYSTEM_TASKS do ne
1452182089: Cmp=CM, Class=16, Error=0, Info=30, pszInfo= Call CH_INIT_TASKS...
1452182089: Cmp=CmpApp, Class=16, Error=0, Info=0, pszInfo= Allocate area: app=A pplication, area=0, size=1048576, type=0xfedf, addr=0x0x76a44000
1452182089: Cmp=CM, Class=16, Error=0, Info=10, pszInfo= IEC|Dynamic: <cmp>Onlin eLicenseManager</cmp>, <id>0x0000100d</id> <ver>3.5.8.0</ver>
1452182089: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= Valid license found for OPC UA server.
1452182089: Cmp=CmpApp, Class=1, Error=0, Info=22, pszInfo= No retain area in bo otproject of application [<app>Application</app>]
1452182089: Cmp=CmpApp, Class=1, Error=0, Info=6, pszInfo= Bootproject of applic ation [<app>Application</app>] loaded
1452182089: Cmp=CmpApp, Class=16, Error=0, Info=3, pszInfo= application=<app>App lication</app>, codeid=<codeid>{5440b0f3-00000000-00000000-00000000}</codeid>
1452182089: Cmp=CmpApp, Class=16, Error=0, Info=4, pszInfo= application=<app>App lication</app>, dataid=<dataid>{41454f1b-00000000-00000000-00000000}</dataid>
1452182089: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <in stance="">0 address to </in></buffersize></numofchann></subnetmask></offset></instances></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp></cmp>
1452182089: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <in stance="">1 address to (2ddc:7f00:0001)
1452182089: Cmp=CM, Class=16, Error=0, Info=31, pszInfo= CH_INIT_TASKS done
1452182089: Cmp=CM, Class=16, Error=0, Info=32, pszInfo= Call CH_INIT_COMM...
1452182089: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= *** *******
1452182089: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= OPC UA S erver
1452182089: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= URL: opc.tcp: //raspberrypi:4840
1452182089: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= URL: opc.tcp: //127.0.0.1:4840
1452182089: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= ** ******
1452182089: Cmp=CM, Class=16, Error=0, Info=33, pszInfo= CH_INIT_COMM done
1452182089: Cmp=CM, Class=16, Error=0, Info=32, pszInfo= Call CH_INIT_FINISHED.. .
1452182089: Cmp=CmpApp, Class=1, Error=0, Info=10, pszInfo= Application [<app>Ap plication</app>] started
1452182089: Cmp=CM, Class=16, Error=0, Info=33, pszInfo= CH_INIT_FINISHED done
1452182089: Cmp=CM, Class=1, Error=0, Info=34, pszInfo= CODESYS Control ready
Runtime received SIGSEGV (address: 0x18 reason: address not mapped to object)
handleException[79]: getting the context...
1452182099: Cmp=CmpRouter, Class=1, Error=0, Info=5, pszInfo= Network interface <interface>ether local</interface> unregistered
1452182099: Cmp=CmpBlkDrvUdp, Class=1, Error=0, Info=6, pszInfo= Network interfa ce: <ipaddress>10.0.0.132</ipaddress>, subnetmask <subnetmask>255.255p</subnetmask></in>
Related
Talk.ru: 1
Talk.ru: 2
hi,
hm strange,
could you please remote the application and restart teh runtime?
sudo -s
rm /root/App*
/etc/init.d/codesyscontrol stop
/etc/init.d/coidesyscontrol start
then check if a new download lead to the same problem.
If yes we need the projectarchive.
BR
Moderator3S
I did as you suggest. Trying to go online again there is not program loaded (correct).
Then rebuild->online..the same. Stay stopped..
where can i send the archive?
to e support@codesys.com e
I sent the archive.. Thanks in advance for any help
if I remove the
[SysCom]
Linux.Devicefile=/dev/ttyUSB
portnum := COM.SysCom.SYS_COMPORT1;
and reboot, then runtime get back running (without any RTU capability of course..)
Hi,
this is a bug.
Workaround is to use:
3.5.5.0 library
This will be fixed hopefully a.s.a.p
BR
Edwin
Thanks a lot for your help Edwin!