Jump to content

web server, help me


Recommended Posts

Hi, excuse me

can anyone help me?

I used vision 350, with enhanced Vision PLC Webserver document is all ok, but i have any question for you.

 

First - Can I write the timer with the my webpage?

 

Second -  I don't link the other webpage from main page.

 

For example, is corect from the main page this string HTLM, for Linked my second Page "second.htm"

<A HREF="192.168.1.150/web/second.htm" </A>      (where 192.168.1.150 is PLC IP)

    

n.b All web pages are under the web folder on SD.

Tanks You.

Link to comment
Share on other sites

  • 2 weeks later...

Hi Ido,

1. You can write timer values in your webpage, according to the description in the attached image (also stated in the PDF help file in webserver.zip).

2. For linking other web pages, you don't need the PLC's IP address. You can use only <A href="/Web/second.htm</A>.

 

For your convenience, I attached the zip file containing the advanced web server example

post-20103-0-02242100-1408955685_thumb.png

WebServer.rar

Link to comment
Share on other sites

Hi, Eyal

 

tank you very much for your post.

 

For the attached image from the PDF help file, i think that show me the read of timers and not the write from the web page,

 

the title is

 

Timer

You can show timer values

 

Is this true?

 

Thanks you

Link to comment
Share on other sites

Hi, Eyal

 

tank you very much for your post.

 

For the attached image from the PDF help file, i think that show me the read of timers and not the write from the web page,

 

the title is

 

Timer

You can show timer values

 

Is this true?

 

Thanks you

Ido,

You are right. My reply was related to presenting timer values on web server HTML page.

There is no direct way for storing a timer values to the PLC via advanced web server.

What you can do is store an ML value to the PLC, and create logic that will convert this value to timer preset/current value. To do this use the "Store Timer Current/Preset" FB's available from the "Store" menu in Visilogic. The resolution for this conversion is 10 mS, hence for storing the value 60000 the timer value will be 10 minutes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...