As it turns out after further investigation my local SoftPLC wasn't even set up to support WebVisu as it should have been by an installer.
I tinkered around in CODESYSControl.cfg (which sets up my SoftPLC - I don't know if the name is universal) and added: to [ComponentManager] Component.3=CmpTargetVisuStub Component.4=CmpWebServer
* Component.5=CmpWebServerHandlerV3
a new section: [CmpTargetVisuStub]
Program="CODESYSControlService.exe"
CommandLine=-r targetvisu.cfg
There must be some description of these files available but as I got them handed over to me I haven't looked for documentation.
π
2
Last edit: kristiankroier 2021-11-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
Everytime i try to download a project with visualization i'm receiving the following errors:
- [FATAL ERROR] Unresolved reference: 'TARGETVISUFINDBYID'
- [FATAL ERROR] Unresolved reference: 'TARGETVISUNOTIFY'
- [FATAL ERROR] Unresolved reference: 'TARGETVISUCYCLIC'
Any idea why?
Codesys version: 3.5.12.20.
I know this post is a little dated but did you find an answer? I am seeing the exact same issue with the latest version of Codesys, 3.5.17.10.
hm.. which plc are you using?
This should be part of the delivery.
I am using a softPLC.
Control Win or Control RTE?
I don't know which but it turns out it is a matter of a missing license on the SoftPLC.
Hi. Is this confirmed to be a license issue ? I ran into precisely the same issue, see https://forge.codesys.com/forge/talk/Engineering/thread/8bdf13b8f6/?limit=25
Thank you!
As it turns out after further investigation my local SoftPLC wasn't even set up to support WebVisu as it should have been by an installer.
I tinkered around in CODESYSControl.cfg (which sets up my SoftPLC - I don't know if the name is universal) and added:
to [ComponentManager]
Component.3=CmpTargetVisuStub
Component.4=CmpWebServer
* Component.5=CmpWebServerHandlerV3
a new section:
[CmpTargetVisuStub]
Program="CODESYSControlService.exe"
CommandLine=-r targetvisu.cfg
There must be some description of these files available but as I got them handed over to me I haven't looked for documentation.
Last edit: kristiankroier 2021-11-29
No this is not the default configuration of the CODESYSControl.cfg.
Seems to be an outdated one. Maybe someone tried to change something..
Anyone solved the issue?
Codesys version: 3.5.18.40