CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Feb 18, 2020 8:33 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Jun 02, 2016 6:59 pm 
Offline

Joined: Thu Jun 11, 2015 12:40 pm
Posts: 11
Good afternoon,

We have a PLC/HMI product that will run a shareware pdf reader called FoxIt. Does anyone know if there is a way to use a button in Visu that will open this reader, maybe to a specified document?


Top
   
PostPosted: Sat Jun 04, 2016 5:50 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3624
Hi,
in which Visu type do you want to see this pdf viewer?
Internal Visu CODESYS , TargetVisu on the plc, Webvisu in the Browser ?


BR
Edwin


Top
   
PostPosted: Thu Jun 16, 2016 10:11 pm 
Offline

Joined: Thu Jun 11, 2015 12:40 pm
Posts: 11
Good afternoon Edwin,

My apologies, I got away from this project for a while.

I am using the TargetVisu on the PLC.

I almost have it working - I can activate the PDF viewer. My only issue is that I can only specify a document to open that is in the same folder as the pdf viewer.

Is there a way, with the 2nd parameter when you activate a file, to specify a file path to the document to be opened?? I have attached a picture below.

Thank you!

Attachment:
Execute Program.jpg


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Tue Jan 14, 2020 6:59 pm 
Offline

Joined: Fri Jun 26, 2015 6:23 pm
Posts: 50
Could you explain how you to open PDF on browser ? Which program you use to do this ?
Thank you very much.


Top
   
PostPosted: Wed Jan 15, 2020 12:19 am 
Offline

Joined: Tue Mar 26, 2019 4:28 pm
Posts: 91
Add the WebBrowser visu element
point to the url of the pdf.

https://help.codesys.com/webapp/_visu_e ... n=3.5.15.0


Top
   
PostPosted: Wed Jan 15, 2020 8:52 am 
Offline

Joined: Fri Jun 26, 2015 6:23 pm
Posts: 50
Pdf are store on sd card of raspberry, not with url....


Top
   
PostPosted: Wed Jan 15, 2020 8:56 am 
Offline
Frequent User
Frequent User

Joined: Thu Aug 30, 2018 8:40 am
Posts: 189
galexis how is the browser supposed to download the file and view it, if it is not available for the client to get it?

E.g. you have a pdf called "manual.pdf".
Put the pdf file into your $PlcLogic$/$visu$ folder.
You should then be able to download the file using http://localhost:8080/manual.pdf (or include it into your website as I-Campbell described two posts ago).

Best regards,
Marcel


Top
   
PostPosted: Wed Jan 15, 2020 9:23 am 
Offline

Joined: Fri Jun 26, 2015 6:23 pm
Posts: 50
Ok,
it work with:
- Put the pdf file into your: $PlcLogic$/$visu$ folder.
- Add button with internal command navigate to : 'http://ip_of_plc:8080/your_PDF.pdf '


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited