i run into a problem on my PFC200 PLC
i have 14 nodes with i communicate with the RS-485 protocol and everyting works
now comes the problem
i want to intergrate the sound of a alarm on the visu(remote)
i use codesys 3.5 SP15 and tryed SP14 patch2 with 32 bit and 64 bit becose one libarary didnt load on 64Bit
i have used the soundcheck_filecopy_V1.2 project but it works stand alone but when i copy the object to my project it stops working
i have a picture of a few errors
hope someone can help me out
for the information i have bought a licence for the PLC and is activated it
hard to say, without the project .. compare the libs from the example project to your project.
Execute a clean all... it should work.
the libs are different
some libs i cant copy to my project
i think becose its raspberry related
or the version is different
have someone any other idea of playing remote sound of the client like a alarm or someting?
or meby a better solution
there isnt a option in codesys that plays sound on clients, i presume?
With kind regards
Are you using this? https://store.codesys.com/sound-demo.html
Sure, it uses a dll and talks about control win v3. No chance of getting it working on a PFC200 as is.
I don't think there is a play sound, but there is a browser control that you can link to any URL. Probably even say, a local sound file that you have downloaded to your PFC. I haven't tried this for you, but I think it puts you more in the right direction than trying to get DLLs running.
i am going to go a other way
i am going to add a html code into the webvisualisation that plays sound
but can i add in webvisu a html5 code or add a html5 page ( a html page with a sound playing and hide it somehow)
i have the html page with the sound ready to only thing is to let it load in the webvisu
how do i call a page in a iframe?
i have added a iframe but dont know where to add the adres to to html page
can someone help me with this ?
https://help.codesys.com/webapp/_visu_e ... n=188.8.131.52
i have it almost working
i have made a PRG
THEN GVL.alarmurl:= GVL.alarmja;
and in the browserelement where the url is it says GVL_alarmurl
and if the button is true it must display URL1
and if the button is False it must display url2
alarmja: STRING:=' https://192.168.61.98/alarm.html ';
alarmnee: STRING:=' https://192.168.61.98/alarm1.html ';
but the browser element didnt work
did i do someting wrong?
if i put the url directly in the url browserelement iut works but becose its in a loop it dasnt stop
with kind regards
why not simply use this example from here:
l viewtopic.php?f=23&t=6247&p=22581#p23781 l
i tried but the PFC200 danst know some commands and i cant transfer the libararys
so i need to try some other option
Log in to post a comment.