hit counter script
Table of Contents

Advertisement

Quick Links

PROGRAMMABLE CONTROLLERS
FP Web-Server
Hardware / Configurator

Advertisement

Table of Contents
loading

Summary of Contents for Panasonic FP Web-Server2

  • Page 1 PROGRAMMABLE CONTROLLERS FP Web-Server Hardware / Configurator...
  • Page 2 Liability and copyright for the hardware This manual and everything described in it are copyrighted. You may not copy this manual, in whole or part, without written consent of Panasonic Electric Works Europe AG (PEWEU). PEWEU pursues a policy of continuous improvement of the design and performance of its products.
  • Page 3 Warnings used in this manual One or more of the following warnings may be used in this documentation: DANGER Indicates a hazardous situation which, if not avoided, will result in death or serious injury. WARNING Indicates a hazardous situation which, if not avoided, could result in serious or moderate injury.
  • Page 4: Table Of Contents

    Table of contents Table of contents Getting started .......................... 8 BEFORE YOU START ........................8 Product numbers and versions ......................9 System requirements........................... 9 Advantages and functions of the FP Web-Server ................10 FP Web-Server block diagram ......................14 System sample network ........................14 Hardware description ......................
  • Page 5 Table of contents Configurator Software ......................39 General information on the FP Web-Server Configurator ..............39 Control buttons for administering the "Configurator Project" ............. 41 Control buttons for the remote FP Web-Server unit ................41 4.3.1 Compare ..........................42 System icon menu ..........................43 Base configuration .........................
  • Page 6 Table of contents 10.1.2 Start PPP connection ......................70 10.1.3 Start FTP transmission ......................70 10.1.4 Start e-mail transmission ....................... 71 10.2 FPWEB Script function of the FP Web-Server .................. 73 HTTP client ..........................75 11.1 HTTP client ............................75 11.2 Cloud client ............................
  • Page 7 Table of contents Ethernet and serial (RS232C, RS485, USB) ports .............. 123 13.1 General information on the Ethernet and serial ports ..............123 13.1.1 Server ..........................123 13.1.2 Client ........................... 125 13.1.3 FP Web-Server and PLC timeouts ..................127 Dial-in setup for PPP server ....................130 14.1 Dial-in networking setup for computer/FP Web-Server ..............
  • Page 8 Table of contents 19.2.1 SNMP Version ........................171 Additional information ......................173 20.1 Contents of the CD and auxiliary programs ..................173 20.2 Description of the HTML examples ....................173 20.3 PLC connection, cable drawings, modem ..................174 20.3.1 PLC connection ........................174 20.3.2 Cable drawings and modem ....................
  • Page 9: Getting Started

    HTML. Please refer to the respective software company for questions on software not provided by Panasonic mentioned in this manual (or on the software you chose to work with HTML). There are two ways to create HTML files: ...
  • Page 10: Product Numbers And Versions

    Getting started In case you lack knowledge about HTML, Panasonic provides you with a brief introduction in the section First HTML Page Including PLC Data. In addition, we have inserted examples on HTML (see "Description of the HTML examples" on p. 173) on the CD (supplied with the FP Web-Server).
  • Page 11: Advantages And Functions Of The Fp Web-Server

    Opera, by specifying the target unit's IP address, which can be changed. The HTML page can be generated with standard tools, such as Frontpage, Dreamviewer or MS Word (not supplied with the Configurator). Panasonic offers the FP Web Designer (Product Number: AFPS36510) for easily designing HTML pages without any knowledge of programming languages for HTML, PHP, Java or Javascript.
  • Page 12 Getting started  Modem gateway functions to other PLCs equipped with an FP Web-Server FP Web-Server functions: The FP Web-Server works as an interface between a LAN or a WAN network (Internet/ Intranet) and all PLCs of the FP series. The following main features are supported: RS232C/ Ethernet interface: (see p.
  • Page 13 Getting started  E-mail sending via LAN or Internet dialup  Optionally with PLC data attachments Modem/ Ethernet gateway: (see "Dial-in networking setup for computer/FP Web-Server" on p. 130)  FP Web-Server can be dialed-up via modem for local or network access ...
  • Page 14 Getting started Data logger: (see p. 61)  The FP Web-Server unit can log PLC data (see p. 61) and store it on the optional SD memory card or send it via FTP (see p. 52). Secure data transmission and authentication: (see p. 58) ...
  • Page 15: Fp Web-Server Block Diagram

    Getting started 1.5 FP Web-Server block diagram 1.6 System sample network Any combinations of the LAN and the dial-up functions are possible, e.g. an Ethernet network connecting several FP Web-Servers with one FP Web-Server set up as a gateway for the dial-up connections. FP Web-Server V2.810 EN...
  • Page 16: Hardware Description

    N o t e the section on mechanical installation (see p. 23) carefully. The FP Web-Server allows you to connect the Panasonic FP Series PLCs to an Ethernet Network (LAN). The FP Web-Server works as an Interface between a LAN or a WAN network (Internet/ Intranet) and all PLCs of the FP Series.
  • Page 17: Hardware Version

    UL approval sign is printed on the unit label. Hardware version 1.3 (available since the beginning of 2006) is identical to hardware version 1.2 but with the Panasonic logo and RoHS conformity. Model 2: "FP Web-Server2" unit (FP-WEB2) Version 1.0 of this new hardware model has been available since December...
  • Page 18: Fp Web-Server Unit Package

    Comment: The FP Web Configurator Tool (Ver.2.3 and higher) can configure all available hardware types and versions. 2.1.3 FP Web-Server unit package The FP Web-Server unit package of Panasonic contains:  one FP Web-Server unit  a 24V DC power cable ...
  • Page 19: Parts And Functions

    Use standard serial computer cables.  – Connects to modem (PPP), or – Transparent communication with 2 PLC, computer, panel, etc. 24V DC, use Panasonic power cable brown = +24V DC  blue = GND   green = framing ground...
  • Page 20: Technical Data

    Hardware description  LEDs (see p. 177). N o t e  The expansion connector is for the FP Web expansion unit only.  FP0 expansion units are not supported and may damage the FP-WEB2 unit.  Only FP-WEB2 units with hardware version greater than 1.1 are equipped with the connector for the FP Web expansion unit.
  • Page 21: Installation

    Hardware description Feature Description: Type 1 Type 2 Weight Approx. 110g Operating conditions Free of corroding gases and excessive influence of dust CE conformity EMC Standard 89/336/EEC 1989EN 55022/Class B EN 55022/Class B; EN 61000-4-2/A1; EN 61000-4-3 EN 61000-4-4 +A1:2010; EN 61000-4-6 UL approval UL number "2LD7"...
  • Page 22: Important Notes

    N o t e Expansion Unit. 2.1.7 Important notes Please also see the Installation Instruction leaflet "FP Web-Server2 Unit" supplied with your FP Web-Server for important notes, cables and installation. Please read the following notes carefully before installing your FP Web-Server.
  • Page 23 Hardware description Avoid installing the unit in the following locations:  N o t e – Ambient temperatures outside the range of 0°C to 55°C/32°F to 131°F – Ambient humidity outside the range of 30% to 85% RH – Sudden temperature changes causing condensation –...
  • Page 24: Mechanical Installation

    Hardware description 2.1.8 Mechanical installation a) Adding to FP0: P r o c e d u r e 1. Raise the expansion hooks on the top and bottom sides of the unit with a screwdriver 2. You can align the pins and holes in the four corners of the control unit and expansion unit, and insert the pins into the holes so that there is no gap between the units However you need not necessarily connect the FP Web-Server in this...
  • Page 25 Hardware description 3. Press down the expansion hooks raised in step 2 to secure the unit b) Attachment to DIN Rails:  The FP Web-Server unit enables a one-touch attachment to DIN rails. P r o c e d u r e 1.
  • Page 26 Hardware description 3. Lift up the FP Web-Server unit and remove it from the rail d) Installation Using FP0 Slim Type Mounting Plate  Use M4 size pan-head screws for attachment of FP0 slim type mounting plate (AFP0803) to mounting panel. P r o c e d u r e 1.
  • Page 27 Hardware description Example: Two Expansion Units e) Installation Using FP0 Flat Type Mounting Plate  Use M4 size pan-head screws to attach FP0 flat type mounting plate (AFP0804) and install according to the dimensions shown below. P r o c e d u r e 1.
  • Page 28: Connecting The Power Supply

    Hardware description An FP Web-Server with an attached FP0 flat type mounting plate can also N o t e be installed sideways on a DIN rail. 2.1.9 Connecting the power supply The FP Web-Server unit will turn ON as soon as the power supply has been connected.
  • Page 29: Fp Web Expansion Unit

    N o t e the section on mechanical installation (see p. 23) carefully. The FP Web expansion unit allows you to extend the interfacing possibilities of the Panasonic FP Web-Server unit. The following main features are supported:  USB/ Ethernet interface (remote programming monitoring and visualization) ...
  • Page 30: Parts And Functions

    Hardware description 2.2.3 Parts and functions USB host port USB 1.1 host port for Panasonic products that are supported by the FP-WEB2. RS485 Screw terminal. High-speed digital output Optocoupler, phototransistor output. SD card slot SD/SDHC memory card support 2.2.4 Technical data...
  • Page 31: Targeted Peripheral List Of The Usb Host Port

    GT series HMIs. More details can be found in the following targeted peripheral list. Manufacturer Model Vendor Product Description Speed Panasonic GT series 0x0986 0x0310 Panasonic GT Full speed Electric Works, USB driver ver. Ltd. Silicon CP2101 USB 0x10C4 0xEA60 Panasonic FP-X Full speed Laboratories,...
  • Page 32: Mechanical Installation

    Refer to the installation instructions leaflet provided with the product for R e f e r e n c e instructions on: Connecting the FP Web expansion unit to the FP Web-Server2 unit  Installing the units on a DIN rail.
  • Page 33: First Steps

    First steps Chapter 3 First steps 3.1 Getting started This section describes putting the FP Web-Server into operation for the first time. The subsequent step-by-step example depicts the general configuration and use of the FP Web-Server for displaying HTML pages. Refer to the e-mail function of the FP Web-Server (see p.
  • Page 34: Installation Of The Configurator Program

    Contents of the CD and Auxiliary Programs (see p. 173) The Configurator can be started in the Windows start menu under Program files  Panasonic-ID SUNX Control  FP Web Configurator 2  FP Web Configurator 2. 3.5 Determination of the IP configuration Every Ethernet participant must have an individual IP address.
  • Page 35: Generate A New Configurator Project

    First steps network address, the other numbers define the participant's address. The IP address of the FP Web-Server can be fixed or it can be allocated dynamically by a DHCP-Server. P r o c e d u r e 1. In a "self set-up" network (e.g. with only one hub) the IP addresses can be assigned by yourself In this case, do not use DHCP.
  • Page 36 First steps  The serial interface parameter used by whatever functions have been configured. the PLC may have to be adjusted (RS232C, 19200 8O1 is pre-adjusted).  It is also recommended to enter an individual user name and a password of your own. ...
  • Page 37: Transfer A Configurator Project To The Fp Web-Server

    First steps 3.7 Transfer a Configurator project to the FP Web-Server Use [FIND] to search the network for all FP Web-Servers. A list of all FP Web-Servers found will be displayed. Please select the ID number of the respective FP Web-Server (double-click or press <ENTER>). If the FP Web-Server is put into operation for the first time (or a new version of the Configurator has been installed), please initialize the FP Web-Server ONCE before transferring the project, i.e.
  • Page 38: Test The Fp Web-Server With An Internet Browser

    First steps  If an error message is displayed, click [YES]. This sets the FP Web-Server to the IP address entered in the current Configurator project. After a short waiting period, click [FIND] again.  If the current password of the FP Web-Server is not the same as the password of the project, the user name and the password are requested before transmission and/or restart ([SEND], [INITIALIZE], [REBOOT]).
  • Page 39: Further Information

    First steps Or for "Example - First web page with PLC data" (with PLC data): Comments:  Main.htm has the following restrictions: You cannot use PLC data items and you cannot use password protection.  If the FP Web-Server is operated in an office network with a Proxy gateway to the Internet, accessing the FP Web-Server HTML pages might take a long time.
  • Page 40: Configurator Software

    Web pages for the FP Web-Server are stored. There are 3 ways to start the FP Web Configurator: 1. Start  Program Files  Panasonic-ID SUNX Control  FP Web Configurator 2  FP Web Configurator 2 2. Double-click the project file *.fpw of the project within the file explorer 3.
  • Page 41 Configurator Software Enter e.g.: C:\Program Files (x86)\Panasonic-ID SUNX Control\FP Web Configurator 2\FP Web Configurator 2\FPWebConfigurator.exe Example - AJAX basics\FPWEB_AJAX\FP-Web.fpw To administer ([OPEN], [SAVE]...) "Configurator projects", edit the configuration (including e-mail texts and Web files) and to control the FP Web-Server (transmission of files, initialization, reboot...), the FP Web Configurator provides the following main components: ...
  • Page 42: Control Buttons For Administering The "Configurator Project

    Configurator Software In the following sections, the individual command buttons of the first page ("Project" page) of the Configurator are described in detail: 4.2 Control buttons for administering the "Configurator Project" For a detailed description of the control buttons, refer to the online help under the respective keyword of the button.
  • Page 43: Compare

    Configurator Software For a detailed description of the control buttons, refer to the online help under the respective keyword of the button. 4.3.1 Compare [Compare] will download the configuration file of the project from the remote unit to the local disk. When the download is completed, the file will be compared with the opened project configuration file.
  • Page 44: System Icon Menu

    Configurator Software 4.4 System icon menu Click the system icon on the title bar to open a menu, e.g. to:  change the user interface language of the FP Web Configurator  open a comment dialog  find out the software version FP Web-Server V2.810 EN...
  • Page 45: Base Configuration

    Base configuration Chapter 5 Base configuration 5.1 Main settings ("Config") The main settings for the FP Web-Server are adjusted on the "Config" tab.  An Ethernet IP address (see p. 45) must be entered.  The parameters for the PLC interface may have to be adjusted (the following figure shows the default settings).
  • Page 46: Ethernet Ip Address

    Base configuration 5.1.1 Ethernet IP address Every Ethernet participant must have an individual IP address. This address may not be used a second time in the same network. The IP address consists of 4 numbers (all numbers must be between 0 and 255, see also IP and TCP/ IP (see p.
  • Page 47 Base configuration  Netmask: How is the network address set up (length of the network address and/or the participant's address)?  Gateway: What is the gateway's IP address? (0.0.0.0 if there is no gateway to be used). For further information please refer to the online help under the keywords R e f e r e n c e "User name and password", "DNS parameter settings", PLC link interface"...
  • Page 48: E-Mail Setup

    E-mail setup Chapter 6 E-mail setup 6.1 E-mail functions of the FP Web-Server The FP Web-Server can send e-mails, e.g. in case of an alert. An existing e-mail server (see p. 49) is used to distribute the e-mails triggered by the PLC.
  • Page 49: E-Mail Function Used For Communication Tests

    E-mail setup See the Configurator project "Example - Web pages and e-mail" for E x a m p l e Ethernet LAN usage. B) Dialing up an e-mail server in the Internet:  A modem is needed to dial up an ISP. ...
  • Page 50: E-Mail Server For Lan Or Internet

    E-mail setup 6.1.2 E-mail server for LAN or Internet A) E-mail server in the LAN The FP Web-Server was developed to cooperate with an e-mail server in your local network. Often, e-mail servers also allow the transmission of SMS and FAX via e-mail. To send an e-mail to someone via the Internet, the e-mail server needs to have access to the Internet.
  • Page 51: How To Find Out The Address Of The E-Mail Server

    E-mail setup 6.1.3 How to find out the address of the e-mail server Normally the name of the e-mail servers can be found on the Internet pages of the e-mail ISP. See sections on the Internet page called "Technical details", "Experts" or "How to set up e-mail client program". Please also make sure that no ASMTP (special encrypted login method) is needed.
  • Page 52: E-Mail Tab Input Fields

    E-mail setup 6.2 E-mail tab input fields In this section, the input fields on the "E-mail" tab are described. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>. For further information please refer to the online help under the keywords "E-mail tab input fields".
  • Page 53: Ftp Client And Sd Memory Card Control Setup

    FTP client and SD memory card control setup Chapter 7 FTP client and SD memory card control setup 7.1 FTP client function of the FP Web-Server The FP Web-Server can send files via FTP, e.g. a daily report or a data logger file (see p.
  • Page 54: Operation Modes For Ftp Client And Sd Card Storage

    FTP client and SD memory card control setup download) via the Ethernet<->RS232C/RS485/USB ports, the e-mail polling of the PLC internal flag is delayed. A) Using an FTP server via Ethernet LAN: Please ask your network administrator whether the following requirements are met: ...
  • Page 55 FTP client and SD memory card control setup To replace the contents of a line of a stored file, the following syntax can be used (00200: string start address of the text to find, 00300: address of the new text) {A_D_00200_00300_m01_filename.txt} To read the contents of a line of a stored file, the following syntax can be used (00200: string start address of the text to find, 00300: address of the...
  • Page 56 FTP client and SD memory card control setup Char. offset Parameter Description Example – m*: Replace a line of a file with the text of data Each line must be terminated with LF (line feed control code). If the text of data 1 is starting with * (asterisk), the search text can be at any position within the line.
  • Page 57: Ftp Client / Sd Memory Card Settings

    FTP client and SD memory card control setup 7.3 FTP client / SD memory card settings The input fields for the tab "FTP client / SD control tab" are described in this section. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>.
  • Page 58 FTP client and SD memory card control setup For further information please refer to the online help under the keyword "FTP client / SD memory card settings". FP Web-Server V2.810 EN...
  • Page 59: Openvpn Client

    OpenVPN client Chapter 8 OpenVPN client 8.1 OpenVPN client function of the FP Web-Server The FP Web-Server can connect to an OpenVPN server, e.g. to use a virtual private network with a set of IP addresses or for security issues. The FP Web-Server can use the OpenVPN tunnel for all communication routes and functions of the unit.
  • Page 60: Openvpn Client Settings

    OpenVPN client B) Dialing up an OpenVPN server via a mobile network or the Internet:  An additional wireless unit (e.g. GPRS, HSPA, LTE) or a modem is needed to dial up an ISP.  To set up the dial-up function, the e-mail function or a dial-up PLC signal is needed.
  • Page 61 OpenVPN client control. As soon as the OpenVPN client function (see p. 58) is enabled, certain internal data registers in the PLC will be polled by the FP Web-Server at regular intervals to detect when an OpenVPN connection has to be started. Disable this function if not used to save the FP Web-Server's memory.
  • Page 62: Data Logger Setup

    Data logger setup Chapter 9 Data logger setup 9.1 Data logger function Data from specified devices is collected and stored in the FP Web-Server unit's RAM and written as log files to an SD memory card of the FP Web expansion unit in CSV format when specified.
  • Page 63 Data logger setup NOTICE To prevent data from being inadvertently lost or deleted from the SD memory card, take appropriate precautionary measures.  If you do not want data to be overwritten in the RAM logging area when the SD memory card is full, set up a device to send a notification when the SD memory card has little space left.
  • Page 64: Log File And Csv File Structure (Default)

    Data logger setup 9.2 Log file and CSV file structure (default) Log file structure The file name, date and time of the logging data is recorded in CSV format on the SD memory card. FP Web-Server V2.810 EN...
  • Page 65 Data logger setup CSV file structure The CSV files created are structured as illustrated. Item Description Logging device information Line 1: registration no. Line 2: name (specified by user) Line 3: kWh: unit (specified by user) Trigger setting Specified time with e.g. 30s interval. No.
  • Page 66: Log File And Csv File Structure (Individual Format)

    Data logger setup 9.3 Log file and CSV file structure (individual format) With configuration files, users are able to create their own formatted log files. Some predefined files like KW_Watcher_log.cfg can be found in the installation folder of the FP Web Configurator (sub folder ..\BaseFiles). You can define your own user definitions, but at your own risk.
  • Page 67: Data Logger Tab Input Fields

    Data logger setup 9.4 Data logger tab input fields In this section, the input fields on the "Data logger" tab are described. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>. FP Web-Server V2.810 EN...
  • Page 68: Configure Log Files

    Data logger setup 9.5 Configure log files On the data logger tab, when you press [Configure log files], a list of logging files opens. To configure the individual log files, click on the file to highlight it and press [Log file setup]. You can then specify log file details (see p. 67) and configure the logging device (see p.
  • Page 69: Logging Device Setup

    Data logger setup Restriction: the same settings can be used for multiple logging files. N o t e However, a 1-second trigger can only be set for 1 file to avoid performance problems resulting from overly fast polling for triggers and intervals.
  • Page 70: Fpweb Script

    FPWEB Script Chapter 10 FPWEB Script 10.1 FPWEB Script settings The input fields for the tab "FPWEB Script" tab are described in this section. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>. 10.1.1 Enable FPWEB Script If this function is enabled, the FP Web-Server starts a script command interpreter to operate internal functions and commands.
  • Page 71: Start Ppp Connection

    FPWEB Script Disable this function if not used to save the FP Web-Server's memory. N o t e 10.1.2 Start PPP connection If this function is enabled, the FP Web-Server starts a PPP connection before transmitting files via FTP or sending e-mails. Additional settings in the section Dial-out (see p.
  • Page 72: Start E-Mail Transmission

    FPWEB Script FTP immediately repeats If a file has not been transmitted successfully, the FP Web-Server tries to resend it immediately. Specify the number of transmissions (1..9) before the function ends with an error. Enter 1 if the FP Web-Server should not try to resend the file.
  • Page 73 FPWEB Script E-mail transmission base time Preset the transmission time. Starting from this time of the current day, the internal function FPWEB_e-mail( ) checks the SD card for files to transmit. E-mail sending cycle Preset the time before checking the SD card again for files to transmit. If files could not be sent before, this time (in seconds) defines the retry time.
  • Page 74: Fpweb Script Function Of The Fp Web-Server

    FPWEB Script 10.2 FPWEB Script function of the FP Web-Server The FP Web-Server can process an internal script as a user program. With this program it is possible e.g. to use the unit without a PLC to send e-mails or a file to a specified destination automatically. ...
  • Page 75 FPWEB Script Operations:  Assignment: :=  Arithmetic operator addition: +  Arithmetic operator subtraction: -  Arithmetic operator multiplication: *  Arithmetic operator division: / Condition:  IF (variable) THEN operation END_IF;  The condition is set in round brackets. Supported conditions: <, >, =, <>...
  • Page 76: Http Client

    HTTP client Chapter 11 HTTP client 11.1 HTTP client The FP Web-Server is able to act as a HTTP client. Two http request standard methods are supported: HTTP GET and HTTP POST. HTTP GET: The FP Web-Server sends a HTTP GET request to the HTTP server. The HTTP server sends its response to the request to the FP Web-Server.
  • Page 77: Cloud Client

    Send data to cloud server via Post  Set values to an external HTTP server and many more..11.2 Cloud client The FP Web-Server2 can insert data into a cloud server. 1. Dexcell cloud server (http://www.dexmatech.com/): Insert data to Dexcell cloud server: FP Web-Server V2.810 EN...
  • Page 78 HTTP client Dexcell (http://www.dexmatech.com/) is a cloud software platform from the company Dexma (originally from Barcelona (Spain)). It is probably the most famous cloud server for Energy Management applications in Spain and also well known in Europe, USA and South America. Its main task is to collect energy consumption data from any Modbus device and to show them with a very advanced technology regarding reports, future consumption predictions, alarms and so on.
  • Page 79: Http Client Setup

    HTTP client Emoncms is an open-source (free of charge) cloud server. You can also download the software to set up your own server for inserting and logging data. The server offers many different trends to log and visualize inserted data (e.g. realtime, bar graph, multigraph, comparison and many more). You can also draw your own dashboards with an integrated drawing editor.
  • Page 80: Http Client Ssl Connection

    HTTP client If you use this option, stop using the variable "pFilenameOrURL" (from the function block FPWEB_HTTP_Client). Add the file name or URL directly at the input "pServerNameOrIP". 11.4 HTTP Client SSL Connection For a secured connection between the client and server you can use a SSL connection.
  • Page 81 HTTP client FP Web Configurator setting: To use the SSL connection you need to enable the "https" check box on the tab "Web". As long as this check box is not activated the certificate(s) will not be sent to the FP Web-Server. Make sure to use the Port 443 (on the HTTP client tab) for SSL connections.
  • Page 82: Http Server Functions/Web Pages

    HTTP server functions/web pages Chapter 12 HTTP server functions/web pages 12.1 Details on the FP Web-Server's web page functions For further information see:  Calling Parameter (see p. 84) Browser addressing, e.g. http:\\..\plc?file&Y0=1&A=5&R0=1  Data Fields (see "Data fields for displaying PLC data on HTML pages" on p.
  • Page 83: Internet Browser Settings

    HTTP server functions/web pages The HTML page "MAIN.HTM" of the FP Web-Server will be displayed. For the "default_project" (without PLC data, FP Web-Server may not be connected to a PLC) for example: Or 'Example - First web page with PLC data': 12.1.2 Internet browser settings If the FP Web-Server is operated in an office network with a Proxy gateway to the Internet, the access to the FP Web-Server HTML pages might take a...
  • Page 84: Generalities On Plc Data Fields In Html

    HTTP server functions/web pages 12.1.3 Generalities on PLC data fields in HTML pages "Example - Web pages and e-mail" (provided in your installation directory) is used for the following explanation: Here you see the HTML page 'MAIN.HTM' of the FP Web-Server. By clicking the links you can test the individual pages.
  • Page 85: Http Address, Cgi Function Plc And Calling Parameter

    HTTP server functions/web pages 12.1.4 HTTP address, CGI function PLC and calling parameter Please also note the display/input in the "Location" field: "http://199.199.26.52/plc?dt200" of the browser. Using the parameter following the IP address, you can control various functions. HTTP address Function http://199.199.26.52/ Downloads MAIN.HTM (in MAIN.HTM you can...
  • Page 86: Configurator Settings Concerning The Http Server

    HTTP server functions/web pages  The functions &Y and &R can be limited with [Add. Range] (see p. 118).  The name of the CGI function must be in small letters, i.e. "http://199.199.26.52/PLC?yyy" will not work.  The PLC address of the &R and &Y commands cannot be replaced by a variable name, i.e.
  • Page 87: Editing Html

    HTTP server functions/web pages 12.1.6 Editing HTML pages All web pages the FP Web-Server is supposed to display should be created and/or edited on a computer. To do so, it would be best to mark the respective file of the project in the Configurator in the "Web" screen and start the preinstalled editor of the operating system by double-clicking (or pressing <Enter>...
  • Page 88 An easy way to design web pages (without the knowledge of programming languages like HTML) is to use the FP Web Designer software from Panasonic (AFPS36510), an easy-to-use editing tool to help the users to create websites for visualizing process data collected by the FP Web-Server.
  • Page 89: Compiling And Transferring Html

    HTTP server functions/web pages 12.1.7 Compiling and transferring HTML pages To insert PLC data fields into an HTML page, the PLC address information is enclosed in {...} curly brackets. You will find a detailed description of the format of the {...} PLC data fields in the following section. If an HTML page with {...} PLC data fields has been created/ changed, it has to be transformed into an .MTM file by the "HTML-Compiler"...
  • Page 90 HTTP server functions/web pages  Number of display locations on the page (for numbers)  Specification of the format displayed (format of numbers or text ON/OFF for internal flag) The {...} fields can only be seen in the HTML editor (ASCII Text Editor) and are replaced by the respective number of spaces by the "HTML-Compiler".
  • Page 91 HTTP server functions/web pages The setup of the field for PLC data display always has the format {TTxxxy_aa_bb} (for FP7 {TTxxxxy_aa_bb}) with the following parameters: PLC Data Type. Implemented PLC data identifiers: DT, FL, LD, WI, R, X, Y xxxy Address of the PLC Data, e.g.
  • Page 92: Examples To Display Plc Data In An Html Page

    HTTP server functions/web pages (STRING[]) S = string without "Header". Generated like with F95. (WORD[]) c = a single ASCII character long Type ld = 32-bit decimal, whole-numbered (DINT) = 32-bit decimal, whole-numbered (DINT) lu = 32-bit unsigned decimal, whole-numbered (DWORD) lo = 32-bit unsigned octal (DWORD) lx = 32-bit unsigned hexadecimal, lower case (DWORD) lX = 32-bit unsigned hexadecimal, upper case (DWORD)
  • Page 93 HTTP server functions/web pages Format PLC value Display {DT201_6_ 6i} DT201=17 " 17" (HTML suppresses multiple spaces) {DT201_6_6.0i} DT201=17 " 17" (HTML suppresses multiple spaces)  Hex display Format PLC value Display {DT201_4_4X} DT201=17 " 11" (HTML suppresses multiple spaces) DT201=17 "0011"...
  • Page 94 HTTP server functions/web pages Format PLC value Display GHIJ" {DT602_5_c} DT602-DT606="ABCDEF "A " GHIJ" {DT602_1_c} DT602-DT606="ABCDEF "A" GHIJ"  Examples of displaying integers with a decimal point With the latest version the '.precision' (range 1–9) format specification can be used to insert a decimal sign into an integer display. Format PLC value Display...
  • Page 95: Comments

    HTTP server functions/web pages 12.1.8.2 Comments  The PLC data tag can also be used in XML files for data exchange. Please find details under "Notes on XML files with PLC data (see p. 114)".  In the text parameters aa and bb, which specify texts for the internal flag's statuses, it is also possible to use complex HTML blocks, e.g.
  • Page 96 HTTP server functions/web pages If an HTML page from the FP Web-Server is requested by the browser, but the PLC data cannot be read out from the PLC (wrong baud rate, problems with cables...), an HTML page with an error message will be displayed instead of the requested page.
  • Page 97: Using Variable Names Instead Of Absolute Plc Addresses

    HTTP server functions/web pages If an HTML page with PLC data shows Err 2 then addresses of FP7 have been used, but the protocol set in the Config Com tab is not Mewtocol7. 12.1.9 Using variable names instead of absolute PLC addresses The data type and address part TTxxxy of a PLC data display or input field can be replaced by the corresponding variable name from the FPWIN Pro project, e.g.
  • Page 98 HTTP server functions/web pages The same mechanism can be used for .XML and .JS files, too. Carry out the following steps in FPWIN Pro to export the global variable list as a CSV file: Generating a CSV File P r o c e d u r e 1.
  • Page 99 HTTP server functions/web pages 3. Save the CSV file by clicking on [Export] These steps have generated a CSV file in the Configurator project folder If a text editor is used the contents of the CSV file looks like this: Accessing a CSV file via an HTML page P r o c e d u r e 1.
  • Page 100: Access Protection For Individual Html

    HTTP server functions/web pages In the HTML editor the use of these variable names instead of absolute address values can look as follows: 2. If this HTML page is now downloaded to the FP Web-Server the variable names are replaced by the absolute PLC addresses found in the CSV file Looking at the example above, with the browser it should look as follows: 12.1.10...
  • Page 101 HTTP server functions/web pages 2. Individual password: With the marker {PW_pppp} set in the HTML code, the user name specified in the base configuration and the password pppp of the new command will be asked for before displaying the data. Hence you can assign different passwords to different HTML pages.
  • Page 102: Inputs For Controlling Plc Internal Flags On Html

    HTTP server functions/web pages 12.1.11 Inputs for controlling PLC internal flags on HTML pages To control PLC internal flags via HTML pages, hyperlinks, as described under calling parameters (see p. 84), are used. In the example projects, you can find "links" for control in the DT200.HTM and MENT.HTM pages: Alternatively, you can use HTML input fields and HTML buttons (see "Defining input fields for PLC data on HTML pages"...
  • Page 103 HTTP server functions/web pages It is also possible to use a PLC display field to obtain an editable pre-allocation of the input field. This has to be interpreted as follows: VALUE="{DT205_6_+d}" DT205 is read out of the PLC and interpreted as a signed decimal number and displayed in the input field with the algebraic sign.
  • Page 104 HTTP server functions/web pages In general, there are three ways of defining an input field: A) Send input with button: Several input fields can be summed up in one 'input field' and sent to the PLC with a separately defined button. A confirmation dialog box (OK or ERROR) is generated.
  • Page 105: Examples On Plc Data Entries Via Html Page

    HTTP server functions/web pages Individual HTML commands can be entered (exactly as described above) into the HTML code of the page and then adjusted respectively. Some HTML editors provide additional help and automatic generation for creating submit fields. The commands have the following significance: ACTION="/plcpost"...
  • Page 106 HTTP server functions/web pages Entry format User entry Data in PLC register DT202_16_f 1.2e4 DDT202=12000 (463B8000 hex)  Strings Entry format User entry Data in PLC register DT602_16_S 1234 DT602-DT603="1234" DT602_16_S DT602-DT603="123?" (? is unchanged) DT600_16_s 1234 DT601=4 DT602-DT603="1234" (DT600 >...
  • Page 107: Notes On Strings

    HTTP server functions/web pages Further examples: More PLC data entry examples can be found in "Example - Web pages and e-mail". 12.1.12.2 Notes on strings The format definition S is used for ASCII strings without "header", i.e. an ASCII  N o t e string is generated with the F95 command in the PLC.
  • Page 108: Comments On Defining Input Fields For Plc Data On Html

    HTTP server functions/web pages 12.1.12.3 Comments on defining input fields for PLC data on HTML  In the current version, DT, FL, LD values as well as R and Y can be defined in input fields.  In the definition of the input field NAME="DT205_6_d", only numbers from 0 to 9, letters from A to Z and the underscore are permitted! Do not use special characters like * - <...
  • Page 109 HTTP server functions/web pages In the standard definition each PLC data value is defined by a special data tag “{dd_x_y_z_f}”. Multiple data tags can be combined by using the “&” character (up to 440 characters) Command Fix command in the <input VALUE>...
  • Page 110: Example On Formatting Display And Input Fields

    HTTP server functions/web pages signed 16-bit integer 1028 unsigned 32-bit long integer 1284 signed 32-bit long integer 2052 32-bit floating point number (IEEE format) 4096 + add number of characters for FPWIN Pro strings (having a 2-word header) 8192 + add number of characters for a character array string (no header) Formatting flag as specified with the receiving data tag (plus a leading % character).
  • Page 111 HTTP server functions/web pages TEST.HTM: In the HTML Editor: Input fields in the HTML editor: FP Web-Server V2.810 EN...
  • Page 112 HTTP server functions/web pages FP Web-Server V2.810 EN...
  • Page 113: Automatic Page Reload Upon Submitting Plc Data

    HTTP server functions/web pages TEST.HTM: Displayed in the Browser: Please note that the string at DT600 needs to be initialized by the PLC program before data can be stored there. Also see second note in "Notes on Strings", Defining input fields for PLC data on HTML pages (see "Defining input fields for PLC data on HTML pages"...
  • Page 114 HTTP server functions/web pages Example 1: Automatic refresh of an html page after sending PLC data Enter the following lines in the file "s_m_done.htm": <html><head><title>DONE</title></head><body> <script language="JavaScript"> opener.location.reload(true); window.close(); </script></body></html> Comments:  This script also automatically closes the default window OK or DONE ...
  • Page 115: Notes On Xml Files With Plc Data

    HTTP server functions/web pages 12.1.15 Notes on XML files with PLC data The FP Web-Server can deliver XML files The FP Web-Server's http server can also deliver PLC data within XML files. Similar to an HTML file, the XML file can include the special PLC data tag (see "Data fields for displaying PLC data on HTML pages"...
  • Page 116: Ascii Character Codes For Strings

    HTTP server functions/web pages <?xml version="1.0" encoding="ISO8859-1"?> <Production xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance"> <Unit> <Type>Standard </Type> <Produced>332 </Produced> <Rejected>54 </Rejected> <State>off</State> </Unit> </Production> In this example the following PLC data was currently available on the PLC: String at DT10 = "Standard" Integer value at DT18 = 332" Integer value at DT19 = 54"...
  • Page 117: Configurator Http Administration And Functions

    HTTP server functions/web pages Dec. Hex. Char Dec. Hex. Char Dec. Hex. Char Dec. Hex. Char (ETB) 55 (CAN) 56 (EM) (SIB) (ESC) 59 (FS) < (GS) (RS) > (US) 12.2 Configurator HTTP administration and functions The FP Web-Server unit's http and https server can be enabled or disabled. If enabled, you can handle Web files with this dialog.
  • Page 118 HTTP server functions/web pages After double-clicking, the file name extension (type) is analyzed and the computer tries to find an installed program in the registry that can open and edit that type of file. If no such program is installed on the computer, you will receive an error message: Alternatively you can select an installed editor by pressing [Edit With].
  • Page 119: Plc Access Rights

    HTTP server functions/web pages  If spaces or Japanese characters are used, an error message pops up N o t e before transmission to the FP Web-Server.  All file names have to correspond to the DOS 8.3 format, i.e. the name may only have up to 8 characters and the extension (type) only up to 3 characters after the period.
  • Page 120: Mewtocol Communication Via Http Server

    HTTP server functions/web pages  User names and passwords of the configuration will not be displayed. N o t e  In case of full access the programmer is responsible for checking the new settings before they will be written to the configuration file. The settings will not be validated by the FP WEB-Server unit.
  • Page 121: Https Server

    HTTP server functions/web pages DT: DT area 250000: Start register 000001: Number of registers 52C0: CRC 12.3 Https server Under the tab 'Web', an HTTPS server can be switched on. This is possible in addition or alternatively to the standard HTTP server. MEWTOCOL communication (see p.
  • Page 122 HTTP server functions/web pages The FP Web-Server will not read each data register separately if the data registers are "close" enough to each other. The following pictures explains the mechanism: FP Web-Server V2.810 EN...
  • Page 123 HTTP server functions/web pages To get the best performance for your visualization, please use data registers in sequence. This will ensure that the registers will be read in less requests. This mechanism is available for FP WebDesigner and HTML visualizations with the N o t e syntax e.g.
  • Page 124: Ethernet And Serial (Rs232C, Rs485, Usb) Ports

    Ethernet and serial (RS232C, RS485, USB) ports Chapter 13 Ethernet and serial (RS232C, RS485, USB) ports 13.1 General information on the Ethernet and serial ports The FP Web-Server can work as an Ethernet-to-serial interface converter. Thereby all data the FP Web-Server receives via an Ethernet port, e.g. from a computer, is routed to its respective port (RS232C, RS485 or USB) and vice versa, i.e.
  • Page 125 Ethernet and serial (RS232C, RS485, USB) ports Comments: The Modbus-TCP client for PLC, the MEWTOCOL client for PLC and the IEC60870 function use the full 3-pin RS232C bandwidth. Other functions are delayed. Enter high timeout values whenever these functions are used. Alternatives for these functions (except IEC60870) are: Modbus-TCP client gateway for any Modbus RTU master or MEWTOCOL client via 9-pin RS232C.
  • Page 126: Client

    Ethernet and serial (RS232C, RS485, USB) ports data monitoring, but up to ten GT panels can access the FP Web-Server at the same time because the GT panels do not use MEWTOCOL monitor commands.  To eliminate the problem of only one client being allowed to use FPWIN Pro or FPWIN GR for data monitoring, permit only one client.
  • Page 127 Ethernet and serial (RS232C, RS485, USB) ports The following settings are required: Do not activate the check box "Use ET-LAN unit"! b. Using a second FP Web-Server setup as transparent port client, RS232 communication via Ethernet can be established. Such a port client can be used for: Programs (DOS programs) with no Ethernet support that use the RS232 port only...
  • Page 128: Fp Web-Server And Plc Timeouts

    Ethernet and serial (RS232C, RS485, USB) ports c. Also the FP2 ET-LAN unit can communicate with the FP Web-Server ports. Using the ET1 library for FPWIN Pro makes PLC programming easy: d. Program your own MEWTOCOL client application: For more information refer to the C++ and Java programming example in the R e f e r e n c e online help under the keyword "A.) Client Programming Example to Access PLC Data (Via MEWTOCOL Server Port 9094)".
  • Page 129 Ethernet and serial (RS232C, RS485, USB) ports However, in certain applications or workarounds, you may have to adapt the timeout values, e.g. for very slow, fluctuating or instable network connections (e.g. GPRS) between client and FP Web-Server or between FP Web-Server and PLC.
  • Page 130 Ethernet and serial (RS232C, RS485, USB) ports For further information, refer to the online help under the keywords: R e f e r e n c e Configurator parameters to the MEWTOCOL port server  Configurator parameters for the transparent port ...
  • Page 131: Dial-In Setup For Ppp Server

    Dial-in setup for PPP server Chapter 14 Dial-in setup for PPP server 14.1 Dial-in networking setup for computer/FP Web-Server The FP Web-Server can administer a modem that permits logging onto a PPP client and establishing a TCP/IP connection to the FP Web-Server via modem.
  • Page 132: Tcp/Ip Network Installation Of A Windows Client

    Do not forget to set the optional parameters correctly before closing "modem", "system settings". Comments:  We recommend the Panasonic FP Modem-56k for our customers in Europe.  The driver "PAN_FP56.inf" for the FP Modem-56k can be found on the Configurator setup CD in the folder: "Other-Tools/PPP_Cable"...
  • Page 133 Dial-in setup for PPP server  For a null modem cable connection please find the necessary driver "mdmcisc2.inf" on the Configurator setup CD in the folder: "Other-Tools/PPP_Cable" P r o c e d u r e 1. Open the dialog "Phone and Modem Options" FP Web-Server V2.810 EN...
  • Page 134 Dial-in setup for PPP server 2. Select [ADD] to add a new modem The modem used must support RTS/CTS flow control. Use command AT%K0&K3 to enable this for the FP Modem-56k. FP Web-Server V2.810 EN...
  • Page 135 Dial-in setup for PPP server 3. Select "Create a new connection" under "Network Connections" 4. Select Dial-up connection, enter company name and phone number FP Web-Server V2.810 EN...
  • Page 136 Dial-in setup for PPP server 5. Finish the wizard 6. After having completed the "New Entry", check the "Properties" FP Web-Server V2.810 EN...
  • Page 137 Dial-in setup for PPP server 7. Enter the password that was defined in the Configurator project before in lower case only For further information on passwords, please refer to Base Configuration/ User name and password and preinstalled passwords and safety instructions (see p. 184). Example: FP Web-Server V2.810 EN...
  • Page 138 Dial-in setup for PPP server Even if the password was "Abc1", it has to be entered as "abc1" for dial-up networking. The Windows computer and the FP Web-Server should NOT be connected additionally via Ethernet. 8. As soon as the connection is established, the application that accesses the FP Web-Server (via TCP/ IP protocol) can be started The browser, Configurator, FPWIN Pro, etc.
  • Page 139: Setup Of The Modem Connected To The Fp Web-Server For Ppp-Communication

    Dial-in setup for PPP server If a Windows computer is set up to call up an Internet provider and to log N o t e on to the Internet via modem (as with private Internet access), you simply have to replace the telephone number of the Internet provider with that of the FP Web-Server (i.e.
  • Page 140: Fp Web-Server Ppp Gateway Functions

    Dial-in setup for PPP server 14.1.4 FP Web-Server PPP gateway functions The PPP server can be called up via modem by a PPP client, e.g. laptop with dial-up networking functions (see "Modem and dial-up networking installation of a Windows client" on p. 131). As soon as the connection is established, you cannot only access the PLC and the FP Web-Server functions of the PPP server with this distant PPP client, but also contact all the other FP Web-Servers in the network via Ethernet!
  • Page 141 Dial-in setup for PPP server Configuration for an Initial Test: E x a m p l e All FP Web-Servers in the Ethernet network need to have entered the gateway address of that FP Web-Server that implemented the PPP server access. Configuration example for the FP Web-Server that implemented the PPP server access: The following parameters need not to be changed and can also be used for your...
  • Page 142: Fpwin Pro Setup To Use The Remote Dialup Network

    Dial-in setup for PPP server 14.1.5 FPWIN Pro setup to use the remote dialup network The standard function 'Remote Dialup Networking' of Windows is used for FPWIN Pro to communicate with an FP Web-Server via modem dialup. You can see how to set up Windows, FPWIN Pro and the FP Web-Servers in the following diagram: See example setup in "Configuration for an Initial Test"...
  • Page 143: Ppp Communication Via Null Modem Cable

    Dial-in setup for PPP server  FPWIN Pro settings to access Unit_2: IP address: computer IP: 192.168.206.5 IP address: destination Web-Server IP: 172.148.180.x There are 3 IP sub-networks involved in this setup:  133.254.83.x: Computer Ethernet (any IP except 192.168.206.x or 172.148.180.x) ...
  • Page 144 Dial-in setup for PPP server 'Dial-up' and test the FP Web-Server: 1. On the main 'Dial-up Networking' screen double-click on the new icon "FP Web-Server null modem cable" 2. Enter the name and password as defined in the FP Web-Server configuration (see above) The 'dial-up' process can take a few seconds.
  • Page 145 Dial-in setup for PPP server The dial-up, connect screen is displayed. 'Dial-up' and test the FP Web-Server: If the dial-up, connect screen is not displayed use: Start  Control Panel  Network and Dial-up Connections  “Null modem with COM1 and 19200bps to PPP server” 1.
  • Page 146: Dial-In Inputs And Parameters For Ppp Server

    Dial-in setup for PPP server 14.2 Dial-in inputs and parameters for PPP server In the following, the input fields of the "Dial-In" tab of the Configurator for the PPP server configuration are described. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>.
  • Page 147: Dial-Out Setup For Ppp Client

    Dial-out setup for PPP client Chapter 15 Dial-out setup for PPP client 15.1 The Internet dial-out function 15.1.1 Internet e-mail settings The following step-by-step procedure enables e-mails to be sent via Internet dialup: P r o c e d u r e 1.
  • Page 148 Dial-out setup for PPP client 5. In the "Dial-out (see p. 153)" tab, enable the option button "E-mail triggered" and the check box "Dial-up Internet (modem at 9-pin connector)" 6. Enter the telephone number for modem dial-up If you use a PBX, set the string "0" or "0w" (with delay after first zero) in front of the number.
  • Page 149 Dial-out setup for PPP client  For a "dial-out" connection, enable the PPP server function in the N o t e "Dial-in" tab. This ensures that upon restart of the FP Web-Server, the modem is switched to offline (hang-up with +++ ATH). Moreover, the ‘User modem init command’...
  • Page 150: Notes For Advanced Users

    Dial-out setup for PPP client  In the Internet, e-mail server(s) are normally addressed with a name rather than with its direct IP address. But for name resolution, the IP address of an Domain Name Server (DNS) is necessary. (FP Web-Server hardware version using BIOS v1.03 simplifies DNS usage).
  • Page 151 Dial-out setup for PPP client  Before dial-up connection. The FP Web-Server can find all E x a m p l e stations.  During dial-up connection. Both stations (e.g. 168.128.36.53 and 168.128.36.54 without using the gateway) can communicate with the FP Web-Server during the Internet dialup connection. The other stations (e.g.
  • Page 152 Dial-out setup for PPP client documentation or explanation could be found at GMX. It can be assumed that GMX blocks sending 'swamp mail'. Modem connection and setup The FP Web-Server's dial-out (PPP client) function is set up for RTS/CTS handshake (pin 7 and 8 of the 9-pin connector). The following two paragraphs describe how to setup the modem to also support RTS/CTS handshake.
  • Page 153: When Using A Cellular Phone (Gsm) Modem

    Dial-out setup for PPP client PPP server, works as a dialup gateway for a LAN where an e-mail server can be used to send e-mails. 15.1.3 When using a cellular phone (GSM) modem Please note the following when a cellular phone (GSM) module is used by the FP Web-Server to call an ISP before sending an e-mail: 1.
  • Page 154 Dial-out setup for PPP client  A special +CGDCONT parameter (provider-dependent) is needed to set up the module We have tested the Siemens MC35 and the Wavecom Fastrack GPRS units. Both are to be set up in a similar way. For the Siemens MC35 the two parameters +CGDCONT and +CGQREQ are automatically set up with the SIM card.
  • Page 155: Internet Dial-Out Settings

    Dial-out setup for PPP client 15.2 Internet dial-out settings Open the "Dial-out" tab, select the control method, and activate the check box "Dial-up Internet (modem at 9-pin connector)" to configure the settings for:  ISP Dial-up  Modem  Continuous Internet connection The modem must be set up to support the RTS/CTS flow control.
  • Page 156: Ntp Server For Plc Clock Synchronization

    NTP server for PLC clock synchronization Chapter 16 NTP server for PLC clock synchronization 16.1 (S)NTP servers The (S)NTP server function is found on the "Time" tab and is used to synchronize the PLC clock with a network time server. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>.
  • Page 157 NTP server for PLC clock synchronization Additionally the FP Web-Server can be set up in this way so that a PLC-controlled internal flag can trigger a PLC clock update. The FP Web-Server can also save clock information in a user-definable DT register address.
  • Page 158: Modbus Functions

    Modbus functions Chapter 17 Modbus functions 17.1 Overview over Modbus-TCP functions of the FP Web-Server General information on Modbus-TCP The Modbus-TCP is a standard global communication protocol (IAONA, Modbus-IDA) and is used to connect the PLC to third-party PLC equipment, SCADA systems, OPC servers, and Modbus RTU gateways. A Modbus-TCP server waits for an incoming connect from a Modbus-TCP client.
  • Page 159: Modbus-Tcp Server Of The Fp Web-Server In General

    Modbus functions Function Comment A1 Modbus-TCP Modbus-TCP client  FP Web-Server  server PLC (see note 2) Modbus-TCP server (see p. 158) A2 Modbus-TCP Modbus-TCP client  FP Web-Server  server multiple PLCs (see note 1 and note 2) A3 Modbus-TCP Modbus-TCP client ...
  • Page 160 Modbus functions unit. The 9-pin RS232C can alternatively communicate via Modbus RTU protocol with a Modbus RTU slave unit. Modbus-TCP communication can also occur via modem. To do so, the client must first dial up the FP Web-Server's PPP server to establish a modem connection.
  • Page 161: Modbus-Tcp Client Of The Fp Web-Servers In General

    Modbus functions Detailed information: For more information on Modbus-TCP server settings and the respective server functions, please refer to the online help under the keyword "Modbus-TCP server Settings".  This function uses the configurable Modbus to PLC address translation table. ...
  • Page 162 Modbus functions  Any Modbus RTU master connected to the 9-pin RS232C of the FP Web-Server can access a remote Modbus-TCP server. This gateway routes all Modbus RTU function requests to the Modbus-TCP server. Optionally the Modbus RTU master can address different Modbus-TCP servers (IP address and/or unit ID is calculated by the accessed RTU slave address) or the local PLC directly.
  • Page 163: Appendix For Modbus Functions

    Modbus functions 17.4 Appendix for Modbus functions The following sections are described here: - Combining multiple Modbus functions - Address translation table - Supported Modbus functions - Modbus-TCP server performance - PLC buffer definition for the Modbus-TCP client - Sample PLC programs to control the Modbus-TCP client functions For more information, please refer to the online help under the keyword "Appendix for Modbus Functions".
  • Page 164: Iec 60870 Functions Of The Fp Web-Server

    IEC 60870 functions of the FP Web-Server Chapter 18 IEC 60870 functions of the FP Web-Server 18.1 IEC 60870 general functions The following connections to the FP Web-Server are possible: 1. The PLC is connected to the FP Web-Server via a 3-pin RS232C up to 115200 bps (see PLC connection to the FP Web-Server (see p.
  • Page 165: Details Of The Iec 60870 Configuration: Modem And Multipoint Settings

    IEC 60870 functions of the FP Web-Server  Using IEC 60870 communication the PLC needs to execute N o t e special IEC 60870 function blocks. These PLC function blocks are delivered as an FPWIN Pro library together with the FP Web Configurator Tool.
  • Page 166 IEC 60870 functions of the FP Web-Server  terminator: see manual of FP Modem-EU or FP Modem-56k  Modem setup: initialization with PC and terminal program  set all DIP switches of the modem to OFF and connect to the PC ...
  • Page 167 IEC 60870 functions of the FP Web-Server Multipoint with C-Net adapter   Line parameter: half duplex RS485  baud rate: format as RS232C (up to 19200bps)  terminator: see manual of the adapter used  C-Net adapter: AFP8536 is tested only ...
  • Page 168: Parameters For Iec 60870

    Control FPWIN Pro is delivered with your Installation CD. For details, refer to the online help of the Library. Click [Start] -> Programs -> Panasonic-EW SUNX Control -> FPWIN Pro Libraries -> FPWIN Pro IEC60870 Library 2 -> M_IEC60870.chm to open the online help for the FPWIN Pro Library.
  • Page 169 IEC 60870 functions of the FP Web-Server Please find the library "M_IEC60870_LIB.sul" for FPWIN Pro with the respective examples and the description of the interoperability that came on your installation CD. IEC 60870 functionality is only enabled when both the library and the Configurator are set up accordingly. It does not matter whether the Configurator or the library is installed first.
  • Page 170: Snmp Functions

    SNMP functions Chapter 19 SNMP functions 19.1 Overview of SNMP on the FP Web-Server General Information on SNMP Simple Network Management Protocol (SNMP) is a UDP-based network protocol. It is used mostly in network management systems to monitor network-attached devices for conditions that warrant administrative attention.
  • Page 171 SNMP functions FP-WEB2 MIB file specifies the OIDs to use. Panasonic Electric Works has its own Enterprise ID 396. The MIB file is fixed and is supplied by PEWEU on the CD for the FP Web Configurator Tool. A selection of standard MIB-2 OIDs are supported to allow interaction with popular network management packages.
  • Page 172: Parameters For Snmp

    SNMP functions 19.2 Parameters for SNMP Select the "SNMP" tab to make your SNMP settings. For context-sensitive help, highlight the button or entry field (using <Tab>) and press <F1>. 19.2.1 SNMP Version There are two SNMP version available (1 and 2c). The version 2c is compatible to version 1 (get, getnext and set).
  • Page 173 SNMP functions Difference between the two versions: Version 1 Version 2c Function Get request GetNext request GetBulk request Yes (up to 50 repetitions) Set request Sending traps Yes (Version 1 format) Yes (Version 2c format) Compatible to other Yes (Get, GetNext and Set) version FP Web-Server V2.810 EN...
  • Page 174: Additional Information

    Additional information Chapter 20 Additional information 20.1 Contents of the CD and auxiliary programs You will find the following folders on the CD: Folder Subfolder Comment FP Web Configurator Configurator Setup including examples for http and FPWIN Pro FP-Web Documents Various documentation, Manuals FP-IEC60870 Library Setup of FPWIN Pro IEC 60870...
  • Page 175: Plc Connection, Cable Drawings, Modem

    Additional information Web-Server under "Program Files/ Panasonic-ID SUNX Control/ FP Web Configurator 2/ Example..". All examples are saved as "read-only" projects. If these examples are changed, the project has to be saved (Save As..) in a different location. R e f e r e n c e For a detailed description of each example, please refer to the online help under the keyword "Example".
  • Page 176: Cable Drawings And Modem

    Additional information 20.3.2 Cable drawings and modem The possible cables for connecting the FP Web-Server to a Panasonic PLC:  G (GND) = System Ground  R (RxD) = Receive Data  S (TxD) = Transmit Data The 3-pin screw terminal is from Phoenix: Phoenix product: MC1,5/3-ST-3,5 Order number: 18 40 37 9 FP Web-Server V2.810 EN...
  • Page 177: Dip Switches

    Additional information PPP server with modem: Use a standard computer/ modem cable to connect the FP Web-Server to a modem: PPP server without modem: Use a null modem cable to connect the FP Web-Server directly to a computer:  A minimum, self-made adapter can be built by using two female connectors and 9-pin SUB-D connectors.
  • Page 178 Additional information Type 1: FP-WEB Type 2: FP-WEB2 The DIP switches are located inside the housing underneath the top ventilation slots. Remove the seal to change the DIP Use a screw driver to change the DIP switch settings. switch settings without removing the housing.
  • Page 179: Leds

    Additional information 20.3.4 LEDs Name FP WEB FP WEB2 Power OFF: unit is not connected to power supply ON: unit is connected to the 24V DC (and internal DC converters are Ethernet OFF: no network connection link/activity (no Ethernet cable) ON: unit is connected to the Ethernet network (without data traffic)
  • Page 180: Ip And Tcp/Ip

    4. If requested, enter user name and password If you have forgotten the password, clear the password with DIP switch 4. For further questions, please contact your local Panasonic provider. 20.4 IP and TCP/IP Every Ethernet participant must have an individual IP address. This address may not be used a second time in the same network.
  • Page 181 Additional information The following recipient's addresses are fixed:  255.255.255.255. broadcast "to all"  Network address = 0 "the own network" Computer: For information of the TCP/ IP installation on a Windows computer refer the online help under TCP/ IP Setup for Configurator/Browser Operations via LAN.
  • Page 182: Setup Of An Individual Ethernet Lan

    Additional information  IP address: Which fixed IP address can be assigned to the FP Web-Server?  Netmask: How is the network address set up (length of the network address and/ or the participant's address)?  Gateway: What is the gateway's IP address? (0.0.0.0 if there is no gateway to be used).
  • Page 183 Additional information Ethernet 10-Base-T / 100-Base-Tx Crossover Cable RJ45 #1 Pin RJ45 #2 Pin 1TX_D1+ 3RX_D2+ 2TX_D1- 6RX_D2- 3RX_D2+ 1TX_D1+ 6RX_D2- 2TX_D1- 2. Standard network connection: If more than one FP Web-Server should be connected with one (or several) computer, a hub or switch has to be used as a star coupler. A standard Ethernet 10BaseT hub can be used as a star coupler.
  • Page 184 Additional information respective connection. The other segments are not concerned by this data transfer and can be run in parallel operation mode. With the help of switches you can cut the likelihood of collisions drastically or even eliminate them totally (e.g. in the extreme case of a "totally switched" network). Unfortunately, the case that several stations want to send a message to the same recipient cannot be defused by a switch.
  • Page 185: Preinstalled Passwords And Safety Instructions

    Additional information 20.6 Preinstalled passwords and safety instructions User name and password can be preset in the Configurator project. Overview of the preset passwords: Service User Name: Password: Factory Default Factory Default Telnet user user user user ppps user ppps user HTML Pages and PLC Data user...
  • Page 186 Additional information Always change the password. Leaving the default password can cause security  N o t e problems. For the definition of the user name and the password, see also password protection in the online help under the keyword "User Name and Password".
  • Page 187: Troubleshooting

    Additional information 20.7 Troubleshooting Some functions of the unit can be disabled with the function upload N o t e configuration with security options. This can cause some error messages if you try to change the configuration afterwards. Please check the security options (or reset (see p.
  • Page 188 Additional information 4. Verify the FP Web-Server configuration in the FP Web-Configurator Tool under “Config” If a static IP address setup should be used (private network or cross-over cable) Check the IP address settings of your computer and the FP Web-Server configuration.
  • Page 189: Problems Finding An Fp Web-Server Unit Or Unable To Send Configuration

    Additional information 20.7.2 Problems finding an FP Web-Server unit or unable to send configuration If with FP Web Configurator Tool, you cannot:  find ([Find]) or select (double-click) an FP Web-Server unit  send the configuration ([Send])  send an HTML file ([Send File]) FP Web-Server V2.810 EN...
  • Page 190 Additional information try the following: a. Disable the Windows firewall on your LAN connection For this go to "Settings / Network connections" and open the properties of the Ethernet/LAN card. Under "Advanced" disable the firewall function. b. If [Send] or [Send File] does not work You receive an error message: "The computer is disconnected from the network".
  • Page 191 Additional information c. Start the Internet Explorer, open menu "Tools / Internet Options / Connections" and select "never dial a connection". Verify that there are valid settings in the sub-dialog "LAN Settings". d. Reset all Windows and Internet-Explorer security settings for a test. FP Web-Server V2.810 EN...
  • Page 192 Especially disable virus scanner and spy software blocker for a test. f. Use the latest FP Web Configurator Tool version. g. Edit the file "tool.ini" at "C:\Program Files\ Panasonic-EW SUNX Control\FP Web Configurator2" with Notepad. Change [FTP] PASSIV=1 from 0 to 1. And then test function again.
  • Page 193 Record of changes Manual No. Date Description of Changes ACGM0151END August 2001 First European Edition March 2002 Update of First European Edition: Optimized Graphics Corrected Errors ACGM0151V1.1END Sept. 2002 Complete update in accordance with hardware version 1.2 ACGM0151V1.2END Oct. 2002 Changed pictures of configuration examples on pages 9-14 to 9-16 ACGM0151V1.3EN...
  • Page 195 ▸ Germany Panasonic Electric Works Europe AG Robert-Koch-Straße 100, 85521 Ottobrunn, Tel. +49 (0) Tel. +49 (0) 45354-1000, Fax +49 (0) 45354-2111, www.panasonic-electric-works.de ▸ Hungary Panasonic Electric Works Europe AG Magyarországi Közvetlen Kereskedelmi Képviselet, 1117 Budapest, Neumann János u. 1., Tel. +43 2236 26846-25, Mobile: +36 20 264 9896, Fax +43 2236 46133, www.panasonic-electric-works.hu...

This manual is also suitable for:

Fp web-server

Table of Contents