We have chosen Codesys V3.5 for Modeling a Smart home, we have done everything and the visualization works as we want it to, we were wondering if we can connect the buttons of the simulation to a server that we can instead control the simulation from a mobile phone and not only the computer?
This is exactly this feature of the Automation Server:
When you say 'simulation', do you mean only that you are simulating a home? Or do you mean that you are using simulation mode?
For web visualization your 'simulation' must be running in a PLC, even if it is the Control Win V3 which installs with the CODESYS Development System. Simulation Mode just runs in the IDE and has no connection to anything outside the IDE.
We don't have a PLC its only on the program, will there be a way to do that?
a good start point is:
project & apps:
you could use on your Android:
or any Browser to view the webvisu of your smart home
We need a PLC to be able to do that?
we Dont have the PLC itself, we just modeled it on the program itself
hamalaw, if you use the simulation mode (Menu >> Online >> Simulation) then it will not work.
Instead, you can use the SoftPLC which you installed when you installed the IDE. In your project, use the PLC CODESYS Control Win V3 (or CODESYS Control Win V3 x64). Then start the softPLC from the system tray.
This is actually a full featured PLC.
Now you can follow eschweillinger's instructions from above.
Thanks, I Followed every Instruction but i it says no visualization is available even though the project has 2 visualization files
is there a way to fix this?
and this is how device tab looks
hm.. is there really a webvisu in your project and the application deployed via server?
if you call localhost:8080/webvisu.htm does it show the webvisu from your pc?
I made this video so that you can understand what I want to explain
as you can see there is no web visualization
and everything is in the way it should be I guess
looking forward to hear from you
and sorry i dont know what you mean by calling localhost:8080/webvisu.htm
There is a big red banner at 0:07 in your video which says simulation. (Towards the middle bottom of screen)
Please turn off simulation at Menu >> Online >> Simulation.
thanks for replying
I did turn off the Simulation mode and now i am able to access the device tab
still it doesn't show any visualization
hm... should work please check if it works by executing:
in the browser
im getting this error.
write to CODESYS store - my question bug report - to check
is the CmpWebServer activated in your runtime ?
;The handling of startup/shutdown of the webserver:
;0->automatically start, shutdown only on shutdown of the runtime;1->automatically start, could be shutdown on demand
;2(default)->start/shutdown on demand;3->start on demand, shutdown only on shutdown of the runtime
;The TCP port the webserver listens on
Log in to post a comment.