FP Web-Server Hardware / Configurator FP Web-Server Hardware / Configurator Programmable Controller Panasonic Electric Works Europe AG ACGM0151V2.
BEFORE BEGINNING 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, therefore, we reserve the right to change the manual/product without notice.
Important Symbols One or more of the following symbols may be used in this manual: Warning. The warning triangle indicates especially important safety instructions. If they are not adhered to, the results could be: • fatal or critical injury and/or • significant damage to instruments or their contents, e.g. data Contains important additional information. Contains an illustrative example of the previous text section. Indicates that a step-by-step procedure follows.
Summarizes key points in a concise manner. Provides helpful keyboard shortcuts. Provides brief explanation of a function, e.g. why or when you should use it. next page Indicates that the text will be continued on the next page. The manual uses the following conventions to indicate elements from the user interface or the keyboard: "Data Field" Data field entries and option names are rendered in quotation marks. [Button] Buttons are indicated by square brackets.
FP Web-Server V2.11 Table of Contents Table of Contents 1. 2. Getting Started....................................................................... 1 1.1 BEFORE YOU START .............................................................................. 2 1.2 Product Numbers and Versions................................................................. 3 1.3 New in This Version................................................................................... 4 1.4 System Requirements ..............
Table of Contents 3. 4. 5. 6. First Steps............................................................................ 31 3.1 Generalities on How to Get Started..........................................................32 3.2 The Ethernet Network ..............................................................................33 3.3 Connection of the FP Web-Server ...........................................................34 3.4 Installation of the Configurator Program................................
FP Web-Server V2.11 6.2 7. Table of Contents 6.1.3 Email Function Used for Communication Tests....................................... 60 6.1.4 PLC Program with Function Block from the Library M_CE_LIB .............. 61 6.1.5 Generalities on the Email-Server ............................................................. 64 6.1.6 How to Find out the Address of the Email Server .................................... 66 Email Configurator Input Fields ...................................................
Table of Contents 9. FP Web-Server V2.11 Dial-In Setup for PPP-Server ............................................ 109 9.1 9.2 Dial-up Networking Setup for Computer/ FP Web-Server......................110 9.1.1 TCP/ IP Network Installation of a Windows Client .................................110 9.1.2 Modem and Dial-up Networking Installation of a Windows Client..........111 9.1.3 Setup of the Modem Connected to the FP Web-Server for PPP-Communication ..............................................
FP Web-Server V2.11 Table of Contents 13. IEC 60870 Functions of the FP Web-Server .................... 151 13.1 IEC 60870 General Functions ............................................................... 152 13.1.1 Details of the IEC 60870 Configuration: Modem and Multipoint Settings.............................................................. 153 13.2 Parameters for IEC 60870 ..................................................................... 155 13.3 IEC 60870 Library for Control FPWIN Pro.........
Chapter 1 Getting Started
Getting Started FP Web-Server V2.11 1.1 BEFORE YOU START Please read the following notes on HTML. It will make working with the FP Web-Server easier for you: Make sure that you have worked through the First Steps (see page 31) before you try out the HTML functions of the FP Web-Server. In order to use HTML you do not have to be able to tag or program HTML. Various software is at your disposal: • Word, Frontpage (delivered with MS Office), Netscape Composer (delivered with Netscape Navigator) et.al.
1.2 Product Numbers and Versions FP Web-Server V2.11 1.2 Product Numbers and Versions Item Product name Part number FP Web-Server (Hardware) FP WEB-SERVER UNIT FP-WEB (Japan: AFP0610) FP WEB-SERVER2 UNIT FP-WEB2 (Japan: AFP0611) FP WEB Configurator Tool Ver.2.11 FPWEBTOOL2 (Japan: AFPS30520-D) FP WEB Configurator Tool Ver.2.
FP Web-Server V2.11 Getting Started 1.3 New in This Version The latest FP WEB Configurator Tool has the following new features: Version 2.11 07.12.2006 SchB ZH Update Release 2.11 New Hardware Type Description New feature Also supports the new FP Web-Server hardware model 2 (see page 15). The selected model is indicated in the status line. Email Enhancements Type Updated feature Description - The FP Web-Server can now also log in on email servers which require ESMTP authentication.
FP Web-Server V2.11 1.3 New in This Version Several Minor Updates Type Updated feature Description - Long file names with hardware model 2 - The "Find" function now finds all units. The list is sorted in order of IP address. - The dialogs file "Save As" and "New" have been updated. - The button 'Initialize' no longer changes/resets the IP configuration of the unit.
Getting Started FP Web-Server V2.11 1.4 System Requirements The FP Web-Configurator Tool has the following system requirements: • MS Windows NT/ XP/ 2000 (or 95/ 98/ ME) • Hard disk with at least 10 MB free disk space • Color or monochrome monitor • Internet Explorer version 5.0 or 5.1 is recommended. Netscape 7.0, Internet Explorer 6.0 and Opera 7.03 have been tested also.
FP Web-Server V2.11 1.5 Advantages and Functions of the FP Web-Server 1.5 Advantages and Functions of the FP Web-Server The multifunctional FP Web-Server unit allows you to access FP Series PLCs via Ethernet networks (Intranet and Internet) for data exchange. Access can be carried out by a computer and a standard browser, such as MS Internet Explorer or Netscape Navigator, by specifying the target unit's IP address, which can be changed.
Getting Started FP Web-Server V2.11 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.
FP Web-Server V2.11 1.
Getting Started 1.6 FP Web-Server Block Diagram 10 FP Web-Server V2.
FP Web-Server V2.11 1.7 System Sample Network 1.7 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.
Chapter 2 Hardware Description
Hardware Description FP Web-Server V2.11 2.1 Introduction ATTENTION ! Please read the safety instructions in Important Notes (see page 21) and also the section on Mechanical Installation (see page 24) 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.
2.2 Hardware Version FP Web-Server V2.11 2.2 Hardware Version The unit hardware model and version is printed on the type plate. Two different hardware models are available: Model 1: "FP Web-Server" Unit (FP-WEB) The hardware version 1.2 (available since 2003) is identical to hardware version 1.1 except that the pin assignment of the 9-pin RS232C connector was optimized and the UL approval sign is printed on the unit label. The latest hardware version is 1.3 (available since the beginning of 2006).
Hardware Description FP Web-Server V2.11 2.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 • a leaflet providing installation instructions • Phoenix 3-pin screw terminal Comments: 16 • The FP Web-Server network will be configured via the Control FP WEB Configurator Tool. • The Control FP WEB Configurator Tool can be purchased separately.
2.4 Parts and Functions FP Web-Server V2.11 2.4 Parts and Functions Below are two illustrations of the FP Web-Server's parts and their functions: FP Web-Server FP0 CPU Ethernet RS232C 1 Ethernet (RJ45) 2 RS232C (without handshake) 3 2nd RS232C (Sub-D 9 pin male) 6.0 60.0 3.5 90.0 25.0 4 24V DC, use Panasonic power cable Units: mm Note: The green wire MUST be connected to FG! Ethernet (RJ45) (Ethernet 10-Base-T / 100-Base-Tx) use Standard Ethernet CAT.
Hardware Description FP Web-Server V2.11 2nd RS232C (SUB-D 9 male) • Compatible to IBM PC serial port. • Use standard serial computer cables. a) Connects to modem (PPP) or b) Transparent communication with 2nd PLC, computer, panel, etc.
2.5 Technical Data FP Web-Server V2.11 2.
Hardware Description FP Web-Server V2.11 2.6 Installation ATTENTION! Be sure to install the FP Web-Server unit in locations designed for electrical equipment, e.g. in a closed metal cabinet such as a switch cabinet. Make sure you are not electrostatically charged before you touch the FP Web-Server or one of its units: the discharge of static electricity can damage parts and equipment. Please install the FP Web-Server in the following order: 1.
FP Web-Server V2.11 2.7 Important Notes 2.7 Important Notes Please also see the installation sheet "FPWEB_Server_Leaflet" supplied with your FP Web-Server for important notes, cables and installation. Please read the following notes carefully before installing your FP Web-Server. 1.
Hardware Description FP Web-Server V2.11 - Do not install the unit above devices which generate heat, such as heaters, transformers or large scale resistors. 4. Installation space: - Leave at least 50mm/1.97in. of space between the wiring ducts of the unit and other devices to allow heat radiation and unit replacement.
FP Web-Server V2.11 2.7 Important Notes - Maintain a minimum of 100mm/3.937in. between devices to avoid adverse affects from noise and heat when installing a device or panel door to the front of the FP Web-Server unit. - Keep the first 100mm/3.937in. from the front surface of the FP Web-Server unit open in order to allow room for programming tool connections and wiring.
Hardware Description FP Web-Server V2.11 2.8 Mechanical Installation a) Adding to FP0: 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 way. Note: Make sure that the FP Web-Server is the last unit attached.
2.8 Mechanical Installation FP Web-Server V2.11 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. 1. Fit the upper hook of the FP Web-Server onto the DIN rail 2. Without moving the upper hook, press on the lower hook to fit the FP Web-Server into position 1 Device Mounting panel DIN rail 2 c) Removal from DIN Rail: • You can easily remove the FP Web-Server as described below. 1.
FP Web-Server V2.11 Hardware Description 3. Lift up the FP0 unit and remove it from the rail Device DIN rail 3 DIN rail attachment lever 2 1 Slotted screwdriver 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. 1. Fit the upper hook of the FP Web-Server onto the FP0 slim type mounting plate 2.
FP Web-Server V2.11 2.8 Mechanical Installation 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. 1. Raise the expansion hooks on the top and bottom of the unit 2.
FP Web-Server V2.11 Hardware Description 3. Align the expansion hooks with the plate and press the hooks back down 1 3 FP0 flat type mounting plate 2 3 1 An FP Web-Server with an attached FP0 flat type mounting plate can also be installed sideways on a DIN rail.
FP Web-Server V2.11 2.9 Connecting the Power Supply 2.9 Connecting the Power Supply The FP Web-Server unit will turn ON as soon as the power supply has been connected. 1. When connecting the power supply (class 2 circuit) make sure the polarity (+/-) is correct. 2. The FP Web-Server unit and the PLC have to be supplied by THE SAME power supply unit. 3. If power is supplied, the green POWER LED will be ON. 4. Framing Ground (FG) must be connected. 5. Please read the Important Notes (see page 21). 6.
Chapter 3 First Steps
First Steps FP Web-Server V2.11 3.1 Generalities on How to Get Started For an initial demo of the FP Web-Server's http function, you can access the Panasonic Internet demo unit. To carry out the test, you need an Internet browser. Please enter the following address: "http://62.134.44.202/" (second demo unit: http://62.134.44.204/) In the following, putting the FP Web-Server into operation for the first time is described.
FP Web-Server V2.11 3.2 The Ethernet Network 3.2 The Ethernet Network The FP Web-Server is supplied with a 10BaseT Ethernet connection. This type of Ethernet network uses a pier to pier connection with twisted pair cables. To establish a network, hubs and switches are used to connect the participants in a star-shaped manner. To be able to configure the FP Web-Server, a Windows computer with an Ethernet network interface card has to be connected to the same network as the FP Web-Server.
First Steps FP Web-Server V2.11 3.3 Connection of the FP Web-Server For an initial function test (without the PLC data), the FP Web-Server has to be connected to the Ethernet and be supplied with operating voltage (24V DC and FG). In the second step, the FP Web-Server has to be connected to the PLC (via RS232C). The RS232C setting of the PLC must correspond to that of the FP Web-Server. This setting can be defined in the PLC program (FPWIN Pro) under the system parameter settings.
FP Web-Server V2.11 3.4 Installation of the Configurator Program 3.4 Installation of the Configurator Program To be able to configure the FP Web-Server, a Windows computer with an Ethernet network interface card has to be connected to the same network as the FP Web-Server. The computer must be configured in such a way that it supports the TCP/ IP network protocol.
FP Web-Server V2.11 First Steps 3.5 Determination of the IP Configuration 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 (see page 166) consists of 4 numbers (0 to 255). The first numbers define the 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. 1. In a "self set-up" network (e.g.
FP Web-Server V2.11 3.6 Generate a New Configurator Project 3.6 Generate a New Configurator Project After having started the Configurator, a Configurator project can be opened from the local hard drive with [OPEN]. A Configurator project consists of the configuration plus the email texts plus the HTML pages. Upon the initial start the "default_project" is automatically offered with [OPEN].
First Steps FP Web-Server V2.11 configurator. • 38 The "default_project" works without PLC data, i.e. it does not need to be connected to the FP Web-Server. Nevertheless, in case "Example1" is used a PLC should be connected.
FP Web-Server V2.11 3.7 Transfer a Configurator Project to the FP Web-Server 3.7 Transfer a Configurator Project to the FP Web-Server With [FIND] the network is searched 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 ).
First Steps 40 FP Web-Server V2.11 • 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 asked before transmission and/or restart. ([SEND], [INITIALIZE], [REBOOT]). • Please refer to "Trouble Shooting (see page 172)" if any problems occur with the functions FIND, SELECT, INITIALIZE or SEND.
FP Web-Server V2.11 3.8 Internet Browser to Test the FP Web-Server 3.8 Internet Browser to Test the FP Web-Server The HTML pages of the FP Web-Server can be displayed with a standard Internet browser. Start the Internet browser and enter the IP address of the FP Web-Server into the "Location" field. The HTML page "MAIN.HTM" of the FP Web-Server will be displayed.
First Steps FP Web-Server V2.11 MAIN.HTM to use password protection. • 42 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. In this case, shut off the Proxy function of the browser for this specific IP address of the FP Web-Server. For the browser setup refer also to TCP/IP Setup: Configurator/Browser Operations Via LAN.
FP Web-Server V2.11 3.9 Further Information 3.
Chapter 4 Configurator Software
Configurator Software FP Web-Server V2.11 4.1 General Information on the FP Web-Server Configurator The FP Web-Server Configurator administers "Configurator projects". These consist of: • FP Web-Server project file (FP-Web.fpw) • FP Web-Server configuration (CHIP.INI file) • IEC 60870 configuration (mew60870.ini) • Email texts (MAIL_x.TXT files) • Web files (MAIN.HTM; *.HTM; *.GIF; *.JPG; *.XML ...) Every "Configurator project" is stored in a separate folder. Email text files, .
FP Web-Server V2.11 4.
Configurator Software FP Web-Server V2.11 4.2 Control Buttons for the Administration of the "Configurator Project" For a detailed description on the control buttons, refer to the online help under the respective keyword of the button.
FP Web-Server V2.11 4.3 Control Buttons for FP Web-Server Control 4.3 Control Buttons for FP Web-Server Control For a detailed description on the control buttons, refer to the online help under the respective keyword of the button.
Chapter 5 Base Configuration
Base Configuration FP Web-Server V2.11 5.1 Main Configuration The main settings for the FP Web-Server are adjusted on the "Config" Configurator page. At least the following entries need to be made: 52 • The IP configuration has to be entered. • The RS232C parameter to the PLC might have to be readjusted (19200 8O1 is pre-adjusted). • It is recommended to enter an individual user name and password. • Depending on which settings are required, the main functions have to be enabled.
FP Web-Server V2.11 5.2 Ethernet IP Configuration 5.2 Ethernet IP Configuration 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 (any 0 to 255, see also IP and TCP/ IP (see page 166)). The first numbers define the 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 using a DHCP-Server. 1.
Base Configuration FP Web-Server V2.11 - 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 "Username and password", "DNS parameter settings", PLC link interface" or "Selection of the main functions".
Chapter 6 Email Setup
Email Setup FP Web-Server V2.11 6.1 Email Functions of the FP Web-Server The FP Web-Server can send out emails, e.g. in case of an alert. An existing Email-Server (see page 64) is used to distribute the emails triggered by the PLC. The PLC can use predefined text messages (stored in the FP Web-Server) as well as variably created email texts (stored as ASCII strings in the PLC). The FP Web-Server informs the PLC if the email has been sent out correctly. After a predefined time interval (e.g.
FP Web-Server V2.11 6.1 Email Functions of the FP Web-Server The communication parameters for RS232C to the PLC for email handling is defined in Configurator's tab "Config". Open the "Email" tab in the Configurator for all further settings: "Email sending enable": This setting is used to turn the email function of the FP Web-Server on or off. Disable this checkbox if the email function is not used. This saves the FP Web-Server's memory.
Email Setup FP Web-Server V2.11 "PLC control relay": The PLC internal relay Rxy is prompted by the FP Web-Server and is set by the PLC in case an email has to be sent. Rxy is reset by the FP Web-Server after the email has been sent. If an error occurs, the Rxy+1 is set by the FP Web-Server after the email transmission. Otherwise the Rxy+1 will be reset. This setting also has to correspond to the PLC Program (see page 61).
FP Web-Server V2.11 6.1 Email Functions of the FP Web-Server With the [Spin] buttons (arrow up/ down) you can choose among the 4 input fields for the email text input. A predefined text can be selected by using the numbers 0 to 3 in the PLC program (see page 61). Optionally a PLC data file attachment (see page 59) can be defined in the email text. 6.1.
FP Web-Server V2.11 Email Setup or for a text attachment is: {A_D_00200_00001_T01_filename.txt} The parameters in this tag have the following meanings: Char.
FP Web-Server V2.11 6.1 Email Functions of the FP Web-Server For continuous Internet connections (Router, VPN, GPRS ...) it is sometimes necessary to test the communication, i.e. to test the availability of radio connections or to distribute the end unit's IP address after a restart in case bridges or routers are used. In such cases the DNS request function for email sending can be used. The PLC should periodically try to send an email ... but the email recipient address should not be set (empty string).
FP Web-Server V2.11 Email Setup 8. Double-click "Global Variables" under "M_CE_Lib" 9.
6.1 Email Functions of the FP Web-Server FP Web-Server V2.11 The RS232C parameter of the PLC can be adjusted in FPWIN Pro. The RS232C communication parameter of FP Web-Server to the PLC for the email handling is determined in the Configurator "Config" tab, see also PLC Interface. These settings have to correspond to the settings of the respective RS232C ports (TOOL or COM port) of the PLC.
Email Setup FP Web-Server V2.11 Output "Active" "Active" indicates if the function block "M_Send_Email" or the FP Web-Server is still busy sending the email. Output "MailDone" "MailDone" is set as soon as the sending of the email has been completed. Output "Active" is reset simultaneously. Output "MailError" "MailError" is reset when the function block is activated. It is set together with "MailDone" in case an email transmission error has occurred. 6.1.
FP Web-Server V2.11 6.1 Email Functions of the FP Web-Server Email-Server needs to have access to the Internet. This poses no problem if you are using an Email-Server in your LAN that uses the Proxy to the Internet. You only need to set the following email server parameters (also refer to the online help under the keyword "Example2" of the HTML examples) • Server IP address (SMTP server) • Email sender address These parameters are available from your network administrator.
Email Setup FP Web-Server V2.11 B) Internet email The FP Web-Server can also use a modem connected to the 9-pin port to dial up the Internet and send emails via an Internet Service Provider. When using this function you need a modem (or GSM module) and the following parameters (also refer to "Example7" of the description of HTML examples).
FP Web-Server V2.11 6.1 Email Functions of the FP Web-Server If possible it is recommended to find out the names' IP addresses. You can request from the email-ISP or by using a Windows computer: 1. Configure and establish a remote network connection to the Internet (via modem) 2. At the DOS command prompt, enter the command “PING xyz” which displays the IP address 'xyz’ indicates where the SMTP (POP3) email server name is.
Email Setup FP Web-Server V2.11 6.2 Email Configurator Input Fields In the following the individual input fields of the Configurator are described: For a detailed description of each field or button in the dialog, set the cursor into the field and press or highlight the button with and press .
Chapter 7 Http Server Functions/ Web Pages
Http Server Functions/ Web Pages FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions For an initial demo of the FP Web-Server's http function, you can access the Panasonic Internet demo unit. To carry out the test, you need an Internet browser. Please enter the following address: "http://62.134.44.202/" (second demo unit: http://62.134.44.204/) For further information see: • Calling Parameter (see page 73) Browser addressing, e.g. http:\\....
FP Web-Server V2.11 7.
Http Server Functions/ Web Pages FP Web-Server V2.11 Or for 'Example2': 7.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 long time. In this case, shut off the Proxy function of the browser for this specific IP address of the FP Web-Server. For the browser setup refer also to TCP/IP Setup: Configurator/Browser Operations Via LAN. 7.1.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions Here is the HTML page 'MAIN.HTM' of the FP Web-Server displayed. By clicking the links you can test the individual pages. For example, by clicking [Display] the DT200 page (with PLC data) is displayed: By clicking on [On] or [Off] the output of the PLC can be set. This page contains PLC data fields whose data address has been entered in the HTML source text. The address is replaced by PLC data upon the calling of the browser.
FP Web-Server V2.11 Http Server Functions/ Web Pages Http Address Function http://199.199.26.52/plc?yyy Downloads HTML page yyy.MTM including PLC data. The file format .MTM is equivalent to the .HTM format plus PLC data. The .MTM file is generated by the Configurator. http://199.199.26.52/plc?yyy&U=xx With automatic reload/ update after xx seconds. The maximum refresh rate is reached with the input &U=0.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions 1. Password Protection 2. PLC Interface Settings 3. Http Server enable (see page 100) 4. Automatic page reload (see page 94) upon submitting PLC data 7.1.6 Editing HTML Pages All web pages the FP Web-Server should be able to display should be created and/ or edited on a computer.
Http Server Functions/ Web Pages FP Web-Server V2.11 http://WDVL.com/Authoring/HTML/ http://whatis.techtarget.com/ http://selfaktuell.teamone.de/links/ The first HTML page that displays PLC data might look as follows (text file): HTML Editor: Standard HTML editors like "Frontpage" (Microsoft Browser), "Composer" (Netscape Browser) and "MS-Word" provide many user-friendly functions to design HTML pages.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions to be transformed into an .MTM file by the "HTML-Compiler" and transferred to the FP Web-Server afterwards. This is done automatically upon pressing the [SEND] button of the Configurator. If the 'HTML Compiler' discovers an input error, you receive an error message and the location of the error found in the HTML code is displayed. If the compilation is carried out error free, the file .
Http Server Functions/ Web Pages FP Web-Server V2.11 Display on the HTML editor (Netscape Composer): Display on the browser (Netscape Browser): The setup of the field for PLC data display always has the format {TTxxxy_aa_bb} with the following parameters: TT PLC Data Type. Implemented PLC data identifiers: DT, FL, LD, R, X, Y xxxy Address of the PLC Data, e.g. DT200 or Y7. The address range supported by the FP Web-Server is 0 ... 32765.
FP Web-Server V2.11 Type 7.
FP Web-Server V2.11 Http Server Functions/ Web Pages Format PLC value Display {DT201_6_+d} 12345 (3039hex) "+12345" b) Spaces and zeros Format PLC value Display {DT201_6_i } DT201=17 "17 {DT201_6_06i} DT201=17 "000017" " (HTML suppresses multiple spaces) {DT201_6_ 6i} DT201=17 " 17" (HTML suppresses multiple spaces) {DT201_6_6.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions to insert a decimal sign into an integer display. Format PLC value Display {DT201_7_.3i} DT201=1234 1.234 {DT201_6_.4d} DT201= -12 -0.0012 {DT201_7_05.2d} DT201= 17 000.17 {DT201_16_.4lu} DDT201= 12 0.0012 {DT201_5_.2X} DT201= 12 0.0C g) Relay register (1-bit) display: Format Display FALSE Display TRUE {R901D_0_1} "0" {R901D_off_on} "off" "on" "0" "1_2_3" {R901D_0_1_2_3} {R901D_PAGE 93
Http Server Functions/ Web Pages FP Web-Server V2.11 displayed on an HTML page. Please refer to ASCII Character Codes for Strings (see page 99). • The "default" MEWTOCOL address can be modified for the current browser's request of this page with the calling parameter &A=x . If an HTML page from FP Web-Server is requested by the browser but the PLC data cannot be read out from the PLC (Baud Rate, Problems with Cables...), an HTML page with an error message will be displayed instead of the requested page.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions In the following example based on "Example4" the FPWIN Pro project with the following global variable list is used: Carry out the following steps in FPWIN Pro to export the global variable list as a CSV file: Generating a CSV File 1. Use the menu items "Extras -> Export CSV File..." 2.
Http Server Functions/ Web Pages FP Web-Server V2.11 3.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions Accessing a CSV File via an HTML Page 1. If a Configurator project also has a FPWIN Pro CSV file, the PLC addresses in a HTML page can be referenced by its (global) variable name In the HTML editor the use of these variable names instead of absolute address values can look as follows: 2.
Http Server Functions/ Web Pages FP Web-Server V2.11 7.1.10 Access Protection for Individual HTML Pages With the FP Web-Server, Password protection for ALL HTML pages containing PLC data can be switched on or off. To protect individual pages only, enter the {PW} command in the HTML code. The text {PW} is no longer displayed on the browser after sending the page using [SEND] to the FP Web-Server. Three variations are possible: 1. Default password: {PW} protects the page by user name and password 2.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions 7.1.11 Inputs for Controlling PLC internal relays on HTML Pages To control PLC internal relays via HTML pages, hyperlinks, as they are described under Calling Parameters (see page 73), are used. In the example projects you can find "links" for controlling in the DT200.HTM and MENT.HTM pages: 7.1.12 Defining Input Fields for PLC Data on HTML Pages HTML [SUBMIT] fields are used to integrate PLC data input fields into an HTML page.
Http Server Functions/ Web Pages FP Web-Server V2.11 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. After that, the input editor is started in the HTML page. NAME="DT205_6_d" If the input editor is ended with or [SUBMIT], the input field is interpreted as a signed decimal number with 6 positions and saved as DT205 on the PLC.
7.1 Details on the FP Web-Server's Web Page Functions FP Web-Server V2.11 The 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" Enter precisely like this. CGI function of the FP Web-Server. METHOD="POST" TARGET="SUBWIN" Enter precisely like this.
FP Web-Server V2.11 Http Server Functions/ Web Pages Entry format User entry Data in PLC register DT201_16_X 8000 DT201= -32768 (8000 hex) DT202_16_lx 01E240 DDT202= 123456 (0001E240 hex) Complete example to enter a 16-bit hex value for DT210:
d) Format specification for integer values With the latest version the '.precision' (range 1...FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions the SIZE="x" command. Secondly, this string can be shortened even further with the format command .xs. Thirdly, the maximum memory permitted (Header 1st Word) has to be taken into account. After the transmission of the string to the PLC, the "header" (2nd Word) with the new length will be updated. - Un-initialized String: If a string variable is not initialized by the FPWIN Pro project, the 1st Word (maximum string length) is zero.
Http Server Functions/ Web Pages FP Web-Server V2.11 7.1.13 Example on Formatting Display and Input Fields The file TEST.HTM of the "Example2" project shows a multitude of formatting methods: TEST.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions TEST.
Http Server Functions/ Web Pages FP Web-Server V2.11 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" on page 87). 7.1.14 Automatic Page Reload upon Submitting PLC Data If the html file "s_m_done.
FP Web-Server V2.11 7.1 Details on the FP Web-Server's Web Page Functions