I'm using V3.5.15.40 and within my VisualisationManager, I changed the name of the htm file from "webvisu" to "test', then did a full download and run my application.
I previously downloaded and tested "webvisu.htm" which worked fine in my web browser. However, after changing to "test.htm", the visualisation will not load, but "webvisu.htm" still works within the web browser.
So I tried deleting the application from my RP and also deleting all files from the RP, re-generated the code and downloaded, but the issue still remains.
Any ideas on how to resolve this issue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[CmpLog]
Logger.0.Name=/tmp/codesyscontrol.log
Logger.0.Filter=0x0000000F
Logger.0.Enable=1
Logger.0.MaxEntries=1000
Logger.0.MaxFileSize=1000000
Logger.0.MaxFiles=1
Logger.0.Backend.0.ClassId=0x00000104 ;writes logger messages in a file
Logger.0.Type=0x314 ;Set the timestamp to RTC
here's more funny things going on within my project and I'll do my best to explain the situation.
I have 2 x Visualizations i.e. Visualization1 and Visualization2.
I have 2 Webservers i.e. webserver1.htm and webserver2.htm.
Webserver1.htm points to Visualization1 and webserver2.htm points to Visualization2.
Now, 2 very strange things are happening. Firstly when I download and run my project on my RP, in my web browser i can successfully load servers webvisu.htm, webserver1.htm and webserver2.htm. Note that webvisu.htm does not appear anywhere in my project and ALL 3 web servers display Visualization1 ONLY.
Secondly, while in the development environment, if i open Visualization2, then go online, Codesys automatically closes Visualization2 and opens Visiualization1 in it's place.
So far I've tried the following to fix this issue:
1. Menu 'Build' --> 'Clean All'
2. Menu 'Build' --> 'Generate Code'
3. Right click on 'CODESYS_Control_for_Raspberry_Pi_SL' and select 'Reset Origin Device'
4. Menu 'Tools' --> 'Update Raspberry Pi' --> Removed and re-installed V3.5.15.40
5. Tested with Internet Explorer, Firefox and Chrome
I'm not sure what to try next and any suggestions would be greatly appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using V3.5.15.40 and within my VisualisationManager, I changed the name of the htm file from "webvisu" to "test', then did a full download and run my application.
I previously downloaded and tested "webvisu.htm" which worked fine in my web browser. However, after changing to "test.htm", the visualisation will not load, but "webvisu.htm" still works within the web browser.
So I tried deleting the application from my RP and also deleting all files from the RP, re-generated the code and downloaded, but the issue still remains.
Any ideas on how to resolve this issue?
Hello @celliott,
I was not able to reproduce this issue with a normal controlwin.
Any specific settings you have in your CODESYSControl.cfg?
Best regards,
Marcel
Marcel
Here's the CODESYSControl.cfg file.
Is there any other information you need?
[SysFile]
FilePath.1=/etc/, 3S.dat
PlcLogicPrefix=1
[CmpLog]
Logger.0.Name=/tmp/codesyscontrol.log
Logger.0.Filter=0x0000000F
Logger.0.Enable=1
Logger.0.MaxEntries=1000
Logger.0.MaxFileSize=1000000
Logger.0.MaxFiles=1
Logger.0.Backend.0.ClassId=0x00000104 ;writes logger messages in a file
Logger.0.Type=0x314 ;Set the timestamp to RTC
[CmpSettings]
FileReference.0=SysFileMap.cfg, SysFileMap
FileReference.1=/etc/CODESYSControl_User.cfg
[SysExcept]
Linux.DisableFpuOverflowException=1
Linux.DisableFpuUnderflowException=1
Linux.DisableFpuInvalidOperationException=1
[CmpBACnet]
IniFile=bacstacd.ini
[CmpWebServer]
ConnectionType=0
[CmpOpenSSL]
WebServer.Cert=server.cer
WebServer.PrivateKey=server.key
WebServer.CipherList=HIGH
[SysMem]
Linux.Memlock=0
[CmpCodeMeter]
InitLicenseFile.0=3SLicense.wbb
[SysEthernet]
Linux.DisableFpuInvalidOperationException=1
[CmpBACnet]
IniFile=bacstacd.ini
[CmpWebServer]
ConnectionType=0
[CmpOpenSSL]
WebServer.Cert=server.cer
WebServer.PrivateKey=server.key
WebServer.CipherList=HIGH
[SysMem]
Linux.Memlock=0
[CmpCodeMeter]
InitLicenseFile.0=3SLicense.wbb
[SysEthernet]
Linux.ProtocolFilter=3
[CmpSchedule]
ProcessorLoad.Enable=1
ProcessorLoad.Maximum=95
ProcessorLoad.Interval=5000
DisableOmittedCycleWatchdog=1
[CmpSecureChannel]
CertificateHash=245e534c8e2ad50cbc6cbede2dffdd62e6bb
here's more funny things going on within my project and I'll do my best to explain the situation.
I have 2 x Visualizations i.e. Visualization1 and Visualization2.
I have 2 Webservers i.e. webserver1.htm and webserver2.htm.
Webserver1.htm points to Visualization1 and webserver2.htm points to Visualization2.
Now, 2 very strange things are happening. Firstly when I download and run my project on my RP, in my web browser i can successfully load servers webvisu.htm, webserver1.htm and webserver2.htm. Note that webvisu.htm does not appear anywhere in my project and ALL 3 web servers display Visualization1 ONLY.
Secondly, while in the development environment, if i open Visualization2, then go online, Codesys automatically closes Visualization2 and opens Visiualization1 in it's place.
So far I've tried the following to fix this issue:
1. Menu 'Build' --> 'Clean All'
2. Menu 'Build' --> 'Generate Code'
3. Right click on 'CODESYS_Control_for_Raspberry_Pi_SL' and select 'Reset Origin Device'
4. Menu 'Tools' --> 'Update Raspberry Pi' --> Removed and re-installed V3.5.15.40
5. Tested with Internet Explorer, Firefox and Chrome
I'm not sure what to try next and any suggestions would be greatly appreciated.
@eschwellinger @i-campbell do you guys have a PI available? Could you take a look at this?
Thx
seems to be a bug, the workaround is:
-> do a reset original on device to clean up all downloaded files.
Then it works like expected.
Last edit: eschwellinger 2020-04-21
I have tried this already and I just tried again but the problem still remains.
I so fixed this issue by creating a new clean project and exporting/importing objects from the old to the new project which seemed to work.
I think my original project was corrupted which produced this error.