Web Server

Enhanced Vision controllers can host web pages. The controller must comprise a TCP/IP port, and must be connected to an Ethernet network. If the controller contains web pages, a remote user can enter the IP address of the controller into a web browser and view the pages.

Ladder Application

  1. Configure Ethernet in your application by building a net that comprises the following elements:

  1. Com>TCP/IP> Card Init function.

  2. Com>TCP/IP>Socket Init function, set to HTTP.

    Selecting HTTP sets the local port to 80 and the controller to slave.

Configuring Web Pages

  1. Click the Web Server Configuration icon on the VisiLogic toolbar to open the utility.

  2. Click in the Web Page Name field and type in a page name.

  3. You can also edit the Marquee text, which scrolls across the web page. The default causes the words 'Unitronics PLCs' to scroll across the page; clicking those words opens the Unitronics web site. You can replace the default text, change the website to another, or delete all of the text to remove the Marquee.
     

 

  1. Select Editable if you want to enable users to edit register, counter, timer, and even text messages values online via the web page. Click on the different fields in the line to assign a Description and Operand.
    Note that the Operand type you select determines other options such as: Value, Timer/Counter Format, Base Format, Decimal, and Alarms and Warnings.

     

    Note

    When data is being edited, the page will not refresh.

You can also configure Alarm colors for register values by clicking in the Alarms & Warnings column.



 

  1. Use the toolbar to add and delete line and pages. You can use the slider to adjust the refresh time; this controls the frequency at which values are updated when the page is viewed via PC. Note that you cannot display an ASCII string longer than 32 characters.
     

 

  1. Click Page>Preview Pages to check your work.

 

When the page in the PLC is viewed via PC, the page will look as it did in preview mode, with the real-time values displayed.

 

Logos

You can customize the logo via the Advanced menu. You can either import a logo, or link to a .url.

Import/Export

You can export and import the configuration by selecting option on the Web Server menu.

 

Web Page Capacity

The capacity for controllers from the ERROR: Variable (V570V1040V1210) is undefined. and V350 series is 128k. The capacity of the V130 series is 64K. You can check the requirements of your pages by clicking the Compile button and then checking Pages>Calculate Memory Allocation.

Flickering

By default, the controller displays the web page  using AJAX technologies to automatically refresh variable data on the page. Note that AJAX may not be compatible with certain older browsers. If this applies to your application, you can disable AJAX by clicking it on the Web Server> Use AJAX option.