background image

PROGRAMMABLE CONTROLLERS

FP Web-Server

Hardware / Configurator

Summary of Contents for FP Web-Server

Page 1: ...PROGRAMMABLE CONTROLLERS FP Web Server Hardware Configurator ...

Page 2: ...t or its documentation even if advised of the possibility of such damages We invite your comments on this manual Please e mail us at techdoc peweu eu panasonic com Please direct support matters and technical questions to your local Panasonic representative Limited warranty If physical defects caused by distribution are found PEWEU will replace repair the product free of charge Exceptions include W...

Page 3: ...dicates 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 CAUTION Indicates a hazardous situation which if not avoided could result in minor or moderate injury NOTICE Indicates a property damage message ...

Page 4: ...tes 21 2 1 8 Mechanical installation 23 2 1 9 Connecting the power supply 27 2 2 FP Web expansion unit 28 2 2 1 Introduction 28 2 2 2 FP Web expansion unit package 28 2 2 3 Parts and functions 29 2 2 4 Technical data 29 2 2 5 Targeted peripheral list of the USB host port 30 2 2 6 Important notes 30 2 2 7 Mechanical installation 31 First steps 32 3 3 1 Getting started 32 3 2 The Ethernet network 32...

Page 5: ... 50 6 2 E mail tab input fields 51 6 3 E mail via SSL 51 FTP client and SD memory card control setup 52 7 7 1 FTP client function of the FP Web Server 52 7 2 Operation modes for FTP client and SD card storage 53 7 3 FTP client SD memory card settings 56 7 3 1 Enable FTP client and SD memory card control 56 OpenVPN client 58 8 8 1 OpenVPN client function of the FP Web Server 58 8 2 OpenVPN client s...

Page 6: ...LC data on HTML pages 88 12 1 8 1 Examples to display PLC data in an HTML page 91 12 1 8 2 Comments 94 12 1 9 Using variable names instead of absolute PLC addresses 96 12 1 10 Access protection for individual HTML pages 99 12 1 11 Inputs for controlling PLC internal flags on HTML pages 101 12 1 12 Defining input fields for PLC data on HTML pages 101 12 1 12 1 Examples on PLC data entries via HTML ...

Page 7: ... server 145 Dial out setup for PPP client 146 15 15 1 The Internet dial out function 146 15 1 1 Internet e mail settings 146 15 1 2 Notes for advanced users 149 15 1 3 When using a cellular phone GSM modem 152 15 1 4 GPRS Internet connections 152 15 2 Internet dial out settings 154 NTP server for PLC clock synchronization 155 16 16 1 S NTP servers 155 Modbus functions 157 17 17 1 Overview over Mod...

Page 8: ...awings modem 174 20 3 1 PLC connection 174 20 3 2 Cable drawings and modem 175 20 3 3 DIP switches 176 20 3 4 LEDs 178 20 3 5 Clearing passwords 178 20 4 IP and TCP IP 179 20 5 Setup of an individual Ethernet LAN 181 20 6 Preinstalled passwords and safety instructions 184 20 7 Troubleshooting 186 20 7 1 Network communication problems 186 20 7 2 Problems finding an FP Web Server unit or unable to s...

Page 9: ...with the help of the Configurator A browser e g Internet Explorer is used to display the htm file These software tools provide the logical markup i e text parts are automatically adjusted to any screen format without using a lot of memory and easy linking that define HTML Please refer to the respective software company for questions on software not provided by Panasonic mentioned in this manual or...

Page 10: ... Expansion Unit FPWEBEXP Configurator Software FP Web Configurator Tool Ver 2 810 FPWEBTOOL2 Japan AFPS30520 D FP Web Configurator Tool Ver 2 810 Upgrade FPWEBTOOLR2 Japan AFPS35520 D Software for creating HTML visualization for FP WEB2 FP Web Designer AFPS36510 You can retrieve information on the following components by clicking on the system icon see p 42 in the upper left hand corner and select...

Page 11: ... 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 FP Web Server advantages Use standard browser save Scada software Use existing Intranet save wiring Representation of PL...

Page 12: ...erface see p 123 RS232C to Ethernet redirection conversion Programming and visualization tools access via Ethernet Optional password protection and IP lock security Optional second full transparent port Web Server see p 81 PLC data presented as HTML pages Access via standard Internet browser HTML entry field for PLC data exchange Optional password protection Optional PLC data display using Java ap...

Page 13: ...rfaces IEC60870 5 104 standard telecontrol communication protocol via Ethernet Optionally with modem support Network Time Server see p 155 PLC real time clock can be synchronized via NTP server Modbus RTU TCP functions see p 157 Modbus RTU master slave functionality Modbus TCP client server functionality Modbus RTU TCP gateway MEWTOCOL Modbus gateway SNMPv1 agent see p 169 The SNMP agent see p 169...

Page 14: ... 100BaseT interface for network connections using the TCP IP protocol 2nd RS232C interface for an optional modem or for full transparent Ethernet RS232C communication The optional FP Web Expansion unit has the following functions USB 1 1 host port RS485 port Digital output SD memory card slot Configurator software see p 39 A Windows program is supplied to make the configuration and the setup of th...

Page 15: ...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 ...

Page 16: ...erface 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 remote programming monitoring and visualization Web Server http https server supplies HTML pages with PLC data see comments E mail SMTP protocol Modem Ethernet gateway PPP Server function Modbus TCP RTU functions NTP time synchronization Optional...

Page 17: ...commended for displaying the HTML pages 2 1 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 ...

Page 18: ... 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 a leaflet providing installation instructions Phoenix 3 pin screw terminal Comments The FP Web Server network will be configured via the Control FP Web Configurator Tool The Control FP Web Configurator Tool can be pur...

Page 19: ...tandard Ethernet CAT 5 W RS232C without handshake Screw terminal Connects to the PLC E 2nd RS232C SUB D 9 male Compatible to IBM PC serial port Use standard serial computer cables Connects to modem PPP or Transparent communication with 2nd PLC computer panel etc R 24V DC use Panasonic power cable brown 24V DC blue GND green framing ground T Connector for FP Web expansion unit 16 pin expansion conn...

Page 20: ...rnet connection Ethernet COM 10BASE T via RJ45 female connector 10BASE T 100BASE TX autoneg via RJ45 female connector LEDs see p 177 Power Ethernet PLC data exchange Power Ethernet Ethernet data PLC data Protocols and standards TCP IP UDP IP DHCP FTP TELNET http https SMTP ESMTP Auth POP3 PPP IEC60870 NTP Modbus DynDNS SNMPv1 Flash memory 512KBytes 8MBytes For further information refer to Availabl...

Page 21: ... 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 Mount the unit on the DIN rail on which the FP0R PLC is mounted For detailed information refer to mechanical installation see p 23 2 Before connecting the power supply please read the informati...

Page 22: ...ort and the RS485 interface are only available with the FP Web 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 Note ...

Page 23: ...ipment radio transmitters or any other equipment that would generate high switching surges If noise occurs in the power supply line even after the above countermeasures are taken it is recommended to supply power through an insolated transformer noise filter or the like Measures regarding heat discharge Always install the unit orientated with the Ethernet port facing outward on the top in order to...

Page 24: ...er 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 Otherwise the CPU cannot communicate with the expansion units Procedure ...

Page 25: ... 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 c Removal from DIN Rail You can easily remove the FP Web Server as described below 1 Insert a slotted screwdriver into the DIN rail attachment lever 2 Pull the attachment lever downwards Procedure Procedure ...

Page 26: ... 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 Without moving the upper hook press on the lower hook to fit the FP Web Server into position When using an expansion unit tighten the screws after joining all of the FP0 slim type mounting plates to be connected Tighten the screws at each of the four corners Pro...

Page 27: ...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 Install the FP Web Server on the FP0 flat type mounting plate 3 Align the expansion hooks with the plate and press the hooks back down Procedure ...

Page 28: ...s soon as the power supply has been connected When connecting the power supply class 2 circuit make sure the polarity is correct The FP Web Server unit and the PLC have to be supplied by THE SAME power supply unit If power is supplied the green POWER LED will be ON Framing Ground FG must be connected Please read the Important Notes see p 21 Please also read the FP Web Server Leaflet supplied with ...

Page 29: ...d visualization RS485 Ethernet interface remote programming monitoring and visualization High speed digital output SD card slot See the technical data sheet see p 29 for supported standards and protocols 2 2 2 FP Web expansion unit package The package for the FP Web expansion unit contains FP Web Expansion unit Leaflet providing installation instructions Phoenix 3 pin screw terminal Phoenix 2 pin ...

Page 30: ...eted peripheral list see p 30 RS485 via 3 pin screw terminal port plug Phoenix product MC1 5 3 ST 3 5 Order number 18 40 37 9 Digital output High speed digital optocoupler phototransistor output 5 to 24V DC 50mA max rise time 6µs or less fall time 20µs or less SD SDHC card slot SD memory card supported 32M to 1GB SDHC memory card supported 4GB to 32 GB Operating voltage 3 3V DC internal power supp...

Page 31: ...of the USB host port The USB host port of the FP Web expansion unit supports FP X PLCs and GT series HMIs More details can be found in the following targeted peripheral list Manufacturer Model Vendor ID Product ID Description Speed Panasonic Electric Works Ltd GT series 0x0986 0x0310 Panasonic GT USB driver ver 1 0 Full speed Silicon Laboratories Inc CP2101 USB to UART Bridge Controller 0x10C4 0xE...

Page 32: ...ns on Connecting the FP Web expansion unit to the FP Web Server2 unit Installing the units on a DIN rail For a detailed procedure about one touch attachment to DIN rails removal from DIN rails installation using FP0 Slim Type Mounting Plate or FP0 flat type mounting plate refer to the mechanical installation see p 23 instructions of the FP Web Server unit Reference ...

Page 33: ...thernet connection This type of Ethernet network uses a peer to peer 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 The FP Web Server can be connec...

Page 34: ...install the Configurator administrator rights are needed start the setup program on the CD and follow the instructions of the installation program Control FP Web Configurator Tool Various examples see Description of the HTML examples on p 173 and HTML pages are installed along with the Configurator In addition the tool DnsDisp exe which locates DNS addresses of an Internet Service Provider ISP is ...

Page 35: ... 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 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 the e mail texts and the H...

Page 36: ...ated for this initial test please turn off e mail and PPP For the initial test no other parameters have to be altered Save the changed project with SAVE Comments To receive additional help and information on the various Configurator entries please move the cursor to the respective input field and press F1 The default_project works without PLC data i e it does not need to be connected to the FP Web...

Page 37: ...ferring the project i e click INITIALIZE and answer the safety request with YES As there are HTML pages required for this initial test the check box Web files should be activated With SEND you can transfer the project configuration plus HTML pages to the respective FP Web Server Please click REBOOT after transmission Wait a little bit and then click FIND again to make sure that the FP Web Server i...

Page 38: ...re transmission and or restart SEND INITIALIZE REBOOT Please refer to Trouble Shooting see p 185 if any problems occur with the functions FIND SELECT INITIALIZE or SEND 3 8 Test the FP Web Server with an Internet browser 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 address fie...

Page 39: ... this case shut off the Proxy function of the browser for this specific IP address of the FP Web Server For the browser setup also refer to TCP IP Setup Configurator Browser Operations Via LAN 3 9 Further information Details on FP Web Server s web page functions see p 81 The PLC sends e mails alarm e mails with FPWIN Pro library see p 47 Details on Ethernet serial RS232C RS485 USB ports see p 123 ...

Page 40: ...ewlog1 bin pewlog2 bin Web files MAIN HTM HTM GIF JPG XML Certificate files for https Every Configurator project is stored in a separate folder A project consists of e mail text files INI text files and a sub folder http in which all the 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...

Page 41: ...nsmission of files initialization reboot the FP Web Configurator provides the following main components Control buttons see p 39 Base configuration see p 44 E mail configuration and texts see p 47 Web files and editor call see p 81 Ethernet Serial RS232C RS485 USB ports configuration see p 123 PPP server configuration see p 130 IEC 60870 functions of the FP Web Server see p 163 PPP Client Dial Out...

Page 42: ...f 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 4 3 Control buttons for the remote FP Web Server unit ...

Page 43: ...own in a little message box Max 8 normally 5 messages will be shown in the message box An indication for more differences is the at the end of the message box The value showed in the message box e g RS485 baud rate 19200 is always the setting of the remote unit Not all configuration parameters will be compared Here is a list of parameters that will NOT be compared Security settings like user name ...

Page 44: ... FP Web Server V2 810 EN 43 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 ...

Page 45: ...entered The parameters for the PLC interface may have to be adjusted the following figure shows the default settings We recommend that you specify a user name and password An additional static 2nd LAN IP address for the FP Web Server unit can be set DNS can be enabled the system restart function of the FP WEB2 can be activated and FTP access to the SD memory card of the FP Web expansion unit can b...

Page 46: ... a class C network is used The network is identified by 3 numbers The participants computers units FP Web Server are distinguished by the last number 1 to 254 e g 192 168 206 1 to 192 168 206 254 If this network is connected to a second network via a gateway e g the computer for configuration might be in this network the gateway address also needs to be specified e g Computer in x y 206 z network ...

Page 47: ...k 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 User name and password DNS parameter settings PLC link interface or Selection of the main functions Reference ...

Page 48: ...gurator project Optionally a file attachment holding PLC data can be generated If the HTTP HTTPS server and or the Ethernet RS232C RS485 USB ports are carrying out MEWTOCOL communication with the PLC at the same time the polling time ís longer than specified in the configuration Especially when carrying out the multi frame MEWTOCOL commands PLC program download via the Ethernet RS232C RS485 USB po...

Page 49: ...st 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 e mail sending can be used The PLC should periodically try to send an e mail but the e mail recipient address should not be set empty string Then a DNS request is sent by FP Web Server after ...

Page 50: ...ddress These parameters are available from your network administrator Optionally you can use the server name DNS is required and you can log in with a POP3 server More detailed information can be found in the online help under e mail server settings B Internet e mail The FP Web Server can also use a modem connected to the 9 pin port to establish a dial up connection to the Internet and send e mail...

Page 51: ...ase also make sure that no ASMTP special encrypted login method is needed The FP Web Server only supports plain SMTP after POP3 and ESMTP authentication If possible find out the names IP addresses You can request them from the e mail 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 ...

Page 52: ...L Since 2014 most e mail providers have changed their server from normal connections to SSL TLS connections Secure Socket Layer Transport Layer Security This SSL TLS connection should ensure that all transmitted e mails are encrypted so that they cannot be read by a third party The FP Web Server supports SSL 3 0 TLS 1 0 TLS is the successor of SSL If your e mail provider only works with SSL TLS pl...

Page 53: ...e the FTP client function can also be used in existing projects with small changes Some additional commands for SD memory card operation see p 53 are implemented After a predefined interval e g every 7 seconds the FP Web Server checks an internal data register of the PLC via MEWTOCOL to find out if the PLC wants to send a file The polling interval between PLC requests and the address of the PLC in...

Page 54: ... be known for the connection To set up the dial up function the e mail function is needed Please refer to Internet e mail settings see p 146 7 2 Operation modes for FTP client and SD card storage It is possible to generate a file with PLC data with a syntax similar to the e mail attachment to send via FTP or to store on the SD card of the FP Web Expansion unit see p 29 The PLC can send data as a u...

Page 55: ... A_ A_ 3 PLC register type PLC register type D DT F FL L LD D_ 5 Pointer 1 to start of data 1 CSV First PLC register address to read TXT Start of Control FPWIN Pro string header 00200_ 11 Number of registers or Pointer 2 to start of data 2 CSV Number of PLC registers to read TXT Indicator 00001_ to transmit data or 00000_ for a test command with P TXT function m or r Start of Control FPWIN Pro str...

Page 56: ...ile from the SD card via FTP D Delete file from the SD card Note The lowercase characters will store the data without sending them via FTP 18 Number CSV Number of CSV columns TXT r and m number of lines to search for All other functions Always indicator 01_ 04_ 21 File name Attachment file name up to the You can use file names with all characters that are typically allowed in file systems includin...

Page 57: ...ress F1 7 3 1 Enable FTP client and SD memory card control If this function is enabled an FTP server must be available The PLC program should also be prepared for FTP client administration As soon as the FTP client function see p 52 is enabled certain internal data registers in the PLC will be polled by the FP Web Server at regular intervals to detect when an FTP client operation has to be started...

Page 58: ...FTP client and SD memory card control setup FP Web Server V2 810 EN 57 For further information please refer to the online help under the keyword FTP client SD memory card settings ...

Page 59: ... OpenVPN for an open VPN connection example A Using OpenVPN technology with Ethernet LAN Please ask your network administrator whether the following requirements are met An OpenVPN server is required as a communication partner Also refer to setup of an individual Ethernet LAN see p 181 The address of the OpenVPN server has to be stated correctly in the FP Web Configurator project To establish a co...

Page 60: ... Please refer to Internet e mail settings see p 146 8 2 OpenVPN client settings The input fields for the tab VPN client are described in this section For context sensitive help highlight the button or entry field using Tab and press F1 8 2 1 Enable OpenVPN client If this function is enabled the FP Web Server can communicate with an OpenVPN server e g to specify security and participate in a virtua...

Page 61: ... 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 For more detailed information refer to the online help under the keyword OpenVPN client settings Note ...

Page 62: ...d 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 You must activate the NTP function see p 155 of the FP Web Server and or the PLC real time clock with backup battery because the clock information is necessary in order to trigger logging activities ...

Page 63: ...ing written to it e g by setting a register for Stop writing In case of a power failure stop logging data and creating logging files in time by using an appropriate device Specifications on the logging area and log files Item Description Number of log files 1 to 16 Number of data points devices per file 50 version V2 6 and lower Up to 700 V2 7 and newer Total number of devices that can be stored i...

Page 64: ...ata logger setup FP Web Server V2 810 EN 63 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 ...

Page 65: ...o Item Description Q Logging device information Line 1 registration no Line 2 name specified by user Line 3 kWh unit specified by user W Trigger setting Specified time with e g 30s interval E No of records Number of records stored in a file R No of data points Number of data points that can be executed simultaneously ...

Page 66: ... can be placed in the project folder The name of the configuration files must end with log cfg Rules and syntax in the configuration file Only multibyte ASCII text is allowed Comments starts with the character The comment ends with the end of the line End of the line is defined with the characters CR LF Individual text must be set between quotation marks Variables need to be written as follows wit...

Page 67: ...p 66 FP Web Server V2 810 EN 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 ...

Page 68: ...nfigure 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 68 itself 9 5 1 Log file details Configure basic settings for the log file here ...

Page 69: ...ervals 9 6 Logging device setup The device list allows you to insert duplicate or delete records The insert function increases the device address and the device name With the copy and paste function a record will be duplicated without changes It is also possible to insert varibles from a CSV list e g complete variable list of an Eco POWER METER or to export your prepared device list These options ...

Page 70: ...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: ...created files No PLC is needed to control the data transmission Preset the additional settings in the FTP client see p 52 tab In the default configuration all files of the configured data logging function will be transferred After successful transmission the files will be renamed e g Myfile CSV to MyFile CS_ The file which is currently used to log will not be transferred FTP transmission base time...

Page 72: ...ile as transmitted Choose any text with up to 16 characters The word DELETE case sensitive will delete the file instead of renaming 10 1 4 Start e mail transmission If this function is enabled the FP Web Server checks the SD card on the expansion unit and transmits the stored files of the data logger function see p 61 or manually created files No PLC is needed to control the data transmission Pres...

Page 73: ...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 E mail file extension replacement Preset the file extension replacement If a file is sent successfully it will be renamed The right part of the original file name will be replaced...

Page 74: ...ed character Windows systems usually use CR LF Comments start with the character and terminate at the end of a line Variables The script can handle variables There are two different types of variables available Flags and Data registers Flags are designed for two status FALSE and TRUE Each flag starts with the character R and a number in square brackets e g R 1C Valid range of flags 0000 255F Note ...

Page 75: ... The IF will operate when the condition is not 0 Functions Internal fixed functions can be used A function starts with the characters FPWEB_ and a clear function name followed by parameters in round brackets The parameters of the function are divided by commas The number of parameters are fixed as specified by each function Parameters in are static Numeric parameters can be dynamic when DT or R ar...

Page 76: ...eb Server receives a response it will write the response to the PLC If no response is received an error flag will be set Possible applications are for example Read files e g logfiles from the own expansion unit using the FP Web Server s own IP address or 127 0 0 1 Read files e g logfiles from an external HTTP server Read PLC data from an external FP Web Server Find out your external IP address dyn...

Page 77: ...eives a response it will write the response to the PLC If no response is received an error flag will be set Possible applications are for example Set PLC registers via Post requests 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 ...

Page 78: ... 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 The platform is available in several languages 2 Emoncms cloud server Insert data e g into Emoncms cloud server ...

Page 79: ...awing editor Visit the homepage of Emoncms for more information 11 3 HTTP client setup In this section the input fields of the HTTP client 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 HTTP client setup 11 3 1 Use Dynamic Server IP Name Use this option to set the ser...

Page 80: ...nection For a secured connection between the client and server you can use a SSL connection For the SSL connection a certificate is needed Certificate name and path Copy the certificate to the subfolder certs of your FP Web Configurator project folder The certificate must have the following name cacert der For more information about certificates and how to create certificates please visit the Open...

Page 81: ...eed 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 SSL connections are only available for connections without a proxy server Note ...

Page 82: ...TML files e g input name DT200_6_d HTML Examples see Description of the HTML examples on p 173 Descriptions for the supplied configuration samples Info The http server of the FP WEB2 can handle up to 9 simultaneous browser connections Each HTML page frame or browser needs a separate connection and an additional MEWTOCOL port if the MEW JAR Java applets are used 12 1 1 Testing the FP Web Server fun...

Page 83: ... 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 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 Brow...

Page 84: ...e called up with the browser For the format see p 88 and the input in HTML code see also HTTP address CGI function PLC and calling parameter see p 84 HTML pages that should also display PLC data need to be marked with the data name extension MTM instead of HTM This is done with the assistance of a HTML Compiler integrated into the Configurator before the transmission to the FP Web Server is carrie...

Page 85: ...sed to the PLC with the C Net MEWTOCOL Address xx 0 32 0 is equivalent to the universal address EE The default address if no A parameter is used can be determined in the base configuration setting PLC MEWTOCOL Address The A operator does not affect the default addressing for input fields http 199 199 26 52 plc yyy I xx All following PLC data displayed including yyy MTM are routed through the inter...

Page 86: ...nsmission 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 FP WEB2 see p 16 Long file names without special characters can be used For programming examples in C and Java to control PLC flags via the HTTP function please refer to the online help under the keyword...

Page 87: ...er to Configurator HTTP administration and functions see p 116 Alternatively you can select an installed editor by pressing Edit With The editor can be an HTML editor or a standard ASCII text editor ASCII text editor With a standard text editor like the NotePad of the operating system all HTML features can be used in an ideal manner Nevertheless it takes time to get used to the HTML format For tra...

Page 88: ...so provide an integrated editor 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 Recommended browsers are current up to date version of the standard browsers like e g Mozi...

Page 89: ... file If the compilation is carried out error free the file MTM is created and transferred to the FP Web Server An MTM file corresponds to an HTM file except for the following issues A Java Script sub function has been added to the Header to display submit confirmations A meta tag has been inserted into the Header to control the optional automatic reload of the page The PLC data fields are replace...

Page 90: ...ML editor ASCII Text Editor and are replaced by the respective number of spaces by the HTML Compiler Such a file is then named an MTM file and saved on the FP Web Server Upon the request of an Internet browser the fields are filled with he current data by the FP Web Server and displayed by the browser A maximum of 1000 PLC data fields are allowed and will be checked by the HTML Compiler Display on...

Page 91: ...he FPWIN Pro project e g VarName _aa_bb or name _5_i There is no space allowed between the curly bracket and the first character For example DT3_4_u or name _5_i is not allowed It will be interpreted as a Java Script command and copied unchanged into the final HTML file The setup of the format specification bb for numbers is flags width precision l type Only the specification type is obligatory Th...

Page 92: ...e minimum length of the field If the number is shorter the field is filled up with spaces or zeroes flags The following characters are permitted The algebraic sign or is always indicated 0 Leading zeroes are indicated blank character Prefix the output value with a blank if the output value is signed and positive Forces the output value of the e E or f format to contain a decimal point but only if ...

Page 93: ...display Format PLC value Display DT202_8_f DDT202 6 7 40D66666hex 6 700000 DT202_8_7 2f DDT202 12345 4640E400hex 12345 00 DT202_8_7 2f DDT202 23 456 41BBA5E3hex 23 46 DT202_8_ 7 2f DDT202 1234 56 449A51EChex 1234 56 DT202_13_e DDT202 123 4 42F6CCCDhex 1 234000e 002 DT202_13_E DDT202 1234000 4996A280hex 1 234000E 006 DT202_10_g DDT202 123 4 42F6CCCDhex 123 4 DT202_10_g DDT202 1234000 4996A280hex 1 ...

Page 94: ...01_7_05 2d DT201 17 000 17 DT201_16_ 4lu DDT201 12 0 0012 DT201_5_ 2X DT201 12 0 0C Flag register 1 bit display Format Display FALSE Display TRUE R901D_0_1 0 1 R901D_off_on off on R901D_0_1_2_3 0 1_2_3 R901D_ img SRC icn1 gif _O N Image icn1 gif ON Note Do not use spaces or the character _ in file names System time UTC in seconds since January 1 1970 of the FP Web Server unit Format FP Web Server ...

Page 95: ... in the VALUE field of the SUBMIT input fields to indicate an editable output value Strings to be displayed have a maximum length of 52 characters The exception are PLC data input fields where the maximum length is only 48 characters per string The special characters and are transcribed as and characters when a string is displayed on an HTML page Please refer to ASCII character codes for strings s...

Page 96: ...d rate problems with cables an HTML page with an error message will be displayed instead of the requested page If an HTML page with PLC data shows Err 1 then the field length of the data is too low E g DT200_5_ld and the value of DDT200 is 31235933 So the value has 8 digits but the webpage can only display 5 digits because of the entry _5_ld Change the field length e g to DT200_12_ld ...

Page 97: ...case sensitive in the HTML pages too During the compilation and the transfer of the HTML page the variable name is replaced by the absolute global PLC address found in the CSV file The CSV file is exported by FPWIN Pro and has to be stored in the Configurator project root folder There is only one CSV file allowed in the Configurator project folder The CSV file can have any name but it must have th...

Page 98: ... 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 Project Export Variables as CSV file Global variables 2 Select the folder where the Configurator project is stored Please choose CSV Global Variable List files Multibyte csv as the file type Procedure ...

Page 99: ...ave 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 1 If a Configurator project also has an FPWIN Pro CSV file the PLC addresses in an HTML page can be referenced by its global variable name Procedure ...

Page 100: ...he example above with the browser it should look as follows 12 1 10 Access protection for individual HTML pages With the FP Web Server Password see PLC access rights on p 118 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...

Page 101: ...ip ip to display the page hence enabling designated computers to display certain HTML pages The enabled IP address ip ip ip ip can be a single address such as 192 168 200 55 or it can define an address range by using asterisks For example the tag PW_192 168 200 allows clients with an IP address from 192 168 200 1 to 192 168 200 254 to access the protected HTML page If the computer has the wrong IP...

Page 102: ...ely you can use HTML input fields and HTML buttons see Defining input fields for PLC data on HTML pages on p 101 to control PLC internal flags 12 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 The same PLC data field definition as for the display field is used except for the curly brackets Make sure that the de...

Page 103: ...mal number with 6 positions and saved as DT205 on the PLC The setup of the format specification for numbers is comparable to the format see p 88 of the input fields The data type and address part TTxxxy can be replaced by the corresponding variable name from the FPWIN Pro project e g VarName _aa_bb or name _5_i For details refer to Variable Names see p 96 A little browser window is generated after...

Page 104: ... in one HTML page does not necessarily need a button of its own it can be sent to the PLC immediately by pressing ENTER A confirmation dialog box OK or ERROR is generated In the following HTML code the current value of DT260 is displayed in the input fields initially after that the input editor is started The input can be edited and then sent to the PLC by pressing Enter The input is interpreted a...

Page 105: ...u Initial value of the input field Pre allocation of the Edit field Only for the definition of buttons in case A TYPE submit Enter precisely like this Function of the SUBMIT buttons NAME Button Enter precisely like this Name of the SUBMIT button VALUE set Variable labeling of the SUBMIT buttons Only for the definition of buttons in case C TYPE hidden Enter precisely like this if the value to send ...

Page 106: ...B hex 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 form action plcpost method POST target SUBWIN onsubmit opensubwin 200 100 Enter DT210 input SIZE 6 name DT210_6_X in hex form Format specification for integer values With the latest version the precision range 1 9 format specification for integer values is...

Page 107: ... string in LO HI sequence in the word Firstly the entered string will always be shortened to the length that is depicted in 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 u...

Page 108: ...n the current version octal numbers cannot be entered i e format specifier _o has not been implemented yet The default MEWTOCOL address of the PLC cannot be modified by the calling parameter Address Modifier A x for input fields If you send several input fields to a PLC with a button see Defining input fields for PLC data on HTML pages on p 101 the maximum number of characters is limited to 300 fo...

Page 109: ...4 02 2009 System reboot of the FP Web Server SR_999_9_770_ i Any value SR_999_9_770_ i 0 Get a list of existing file names from the log files folder as plain text file names separated by cr lf GF_999_9_8192_ S asterisk Read all files name Read a specified name e g to test if it is existing name in combination with or to get a group of files GF_999_9_8192_ S GF_999_9_8192_ S MyName CSV GF_999_9_819...

Page 110: ...r Valid format identifiers are details see manual or FP Web Configurator online help ld li d i lu lo lx lX u o x X f e E g G s S c If DT204 unsigned 16 bit integer should be set to 123 and DT205 signed 16 bit integer to 456 the following data packet is to be sent to the FP Web Server POST plcpost r nContent Length 42 r n r n DT_20_4_514_ u 123 DT_20_5_770_ d 456 See also the code examples for some...

Page 111: ...HTTP server functions web pages 110 FP Web Server V2 810 EN TEST HTM In the HTML Editor Input fields in the HTML editor ...

Page 112: ...HTTP server functions web pages FP Web Server V2 810 EN 111 ...

Page 113: ...es on Strings Defining input fields for PLC data on HTML pages see Defining input fields for PLC data on HTML pages on p 101 12 1 14 Automatic page reload upon submitting PLC data If the html file s_m_done htm is uploaded to the FP Web Server before you start the unit the html code of this file will be reloaded to the browser after submitting PLC data The following default window will be replaced ...

Page 114: ...after sending PLC data The file s_m_done htm must not contain PLC data fields e g DT100_6_d Restart the FP Web Server unit after you have modified the file s_m_done htm When modifying other HTM files the unit does not have to be restarted Example 2 Automatic refresh of an HTML page after sending PLC data but without closing the OK window automatically Using this script you have to click OK to clos...

Page 115: ...ifferent file display format The transformNode function of the Microsoft Internet Explorer is used to take the XML data and an XSL format definition to generate an HTML page XML file handling is carried out in four steps 1 For example the user generated XML file including PLC data tags Producn xml may look like xml version 1 0 encoding ISO8859 1 Production xmlns xsi http www w3 org 2001 XMLSchema ...

Page 116: ...Hex Char Dec Hex Char Dec Hex Char 0 00 NUL 32 20 Blank 64 40 96 60 1 01 SOH 33 21 65 41 A 97 61 a 2 02 STX 34 22 66 42 B 98 62 b 3 03 ETX 35 23 67 43 C 99 63 c 4 04 EOT 36 24 68 44 D 100 64 d 5 05 ENQ 37 25 69 45 E 101 65 e 6 06 ACK 38 26 70 46 F 102 66 f 7 07 BEL 39 27 71 47 G 103 67 g 8 08 BS 40 28 72 48 H 104 68 h 9 09 HT 41 29 73 49 I 105 69 i 10 0A LF 42 2A 74 4A J 106 6A j 11 0B VT 43 2B 75...

Page 117: ...D 125 7D 30 1E RS 62 3E 94 5E 126 7E 31 1F US 63 3F 95 5F _ 127 7F 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 All Web pages for the FP Web Server are created and or edited on the computer To do this it is best to select the respective file of the project in the Co...

Page 118: ...ll receive an error message Alternatively you can select an installed editor by pressing Edit With The editor can be an HTML editor or a standard ASCII text editor We recommend installing the following programs and defining them as default for this type of file HTM e g KompoZer NotePad GIF JPG PhotoEdit can be installed with MS Office To test which editor is installed click while in Windows Explor...

Page 119: ... scc files are ignored by the Web file functions and not displayed in the list Press F5 to reload and refresh the file list display For more detailed information please refer to the online help under the following keywords Open file with default editor edit with an alternate editor available memory uploading the selected file to the remote unit or PLC access rights 12 2 1 PLC access rights 12 2 1 ...

Page 120: ...y gateways Also enhanced Web pages Java applet Ajax scripting can directly communicate with the PLC For example to read register DT200 via HTTP Get the MEWTOCOL command should look like this http 199 199 26 52 plc 01_RDD0020000200 Please note that the sign is replaced by a _ character The HTTP response holds the raw MEWTOCOL data such as 01 RD375D63 In case of access limitations or other problems ...

Page 121: ...number 443 The secure HTTPS communication is based on X 509 certificates The default HTTPS certificates are copied into the configuration project folder These certificates can be replaced by customer specific certificate files The HTTPS Web server supports SSL 3 0 and TLS 1 0 protocol versions For more information e g on how to get individual certificates and prevent the Web browser warning messag...

Page 122: ...er functions web pages FP Web Server V2 810 EN 121 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 ...

Page 123: ... 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 syntax e g DT200_5_d Note ...

Page 124: ...up as a pair transparent port server and client two FP Sigmas can communicate with each other via the PLC link function PC link protocol Take into account the timeout set in the PLC For a detailed description refer to the online help under the keyword Configurator parameters to the MEWTOCOL port server or Configurator parameters for the transparent port 13 1 1 Server For this kind of data exchange...

Page 125: ...carried out via the USB port of the FP Web expansion unit If the PLC interface is set to RS232C or RS485 the MEWTOCOL GT USB host port can be used additionally for communication with a PLC or GT panel connected via the USB host port ot the FP Web expansion unit Up to 10 clients possible TCP IP MEWTOCOL GT protocol for data and program exchange Preset TCP IP port number 9096 server Comments If the ...

Page 126: ... executed MEWTOCOL communication for the other clients including e mail and http functions is temporarily stopped For more information regarding the multi frame communication timeout setting please refer to the PLC s timeout settings Both the MEWTOCOL server port and transparent server port can define an idle timeout Normally this timeout is not necessary because the client controls the disconnect...

Page 127: ... 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 To upgrade any RS232 device with Ethernet connectivity set up the transparent port as follows ...

Page 128: ...er to the C and Java programming example in the online help under the keyword A Client Programming Example to Access PLC Data Via MEWTOCOL Server Port 9094 e PC COM Port Redirection for FP Web Server Ports 13 1 3 FP Web Server and PLC timeouts Usually the PLC is directly connected to the 3 pin RS232C of the FP Web Server unit or RS485 USB port of the FP Web Expansion unit so the timeout values for...

Page 129: ...t need to get set PLC data Http server Web page data email client R20 polling MEWTOCOL server FPWIN Pro Java applets Modbus TCP functions IEC60870 interface etc Note The default 3s need only be changed if a very slow communication system is used between FP Web Server and PLC Multiframe originator timeout In case of a running MEWTOCOL multiframe communication PLC program download the FP Web Server ...

Page 130: ... V2 810 EN 129 For further information refer to the online help under the keywords Configurator parameters to the MEWTOCOL port server Configurator parameters for the transparent port Configurator parameters for the MEWTOCOL GT USB host port server Reference ...

Page 131: ...485 USB Ethernet ports Modbus communication Remote configuration In addition the FP Web Server provides a Gateway function that allows other FP Web Servers that are connected to the Gateway FP Web Server via the Ethernet to be accessed via a long distance modem connection A description of the gateway setup can be found under PPP gateway functions see p 139 In this section the installation of a Win...

Page 132: ...unication is carried out via the Ethernet or via the dial up networking modem For details on TCP IP installation on a Windows computer please refer to the online help under TCP IP setup for Configurator browser operations via LAN Comment The following screenshots were taken from a Windows XP operating system The layout of other Windows operating systems may differ slightly 14 1 2 Modem and dial up...

Page 133: ...er 132 FP Web Server V2 810 EN 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 1 Open the dialog Phone and Modem Options Procedure ...

Page 134: ...Dial in setup for PPP server FP Web Server V2 810 EN 133 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 ...

Page 135: ...Dial in setup for PPP server 134 FP Web Server V2 810 EN 3 Select Create a new connection under Network Connections 4 Select Dial up connection enter company name and phone number ...

Page 136: ...Dial in setup for PPP server FP Web Server V2 810 EN 135 5 Finish the wizard 6 After having completed the New Entry check the Properties ...

Page 137: ...N 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 ...

Page 138: ... 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 can be used in the same way as with an Ethernet connection ...

Page 139: ...d and it only needs to be connected via a 1 1 cable to the FP Web Server RTS CTS flow control needs to be enabled with AT K3 To connect the modem to the FP Web Server refer to PPP server with modem see p 175 Standard modem Standard computer modems should be reset to the factory default state with the command AT F W If there are connection problems disabling the autoanswer mode with ATS0 0 or the K...

Page 140: ...t The Ethernet LAN network and the dial up networking connection have to be regarded as two separate networks each with its own network address For notes on IP addressing and distinguishing the network s and the unit s address refer to IP and TCP IP see p 179 Within the LAN there is only one PPP server gateway allowed i e if several FP Web Servers are connected in a network via the Ethernet only o...

Page 141: ...o 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 PPP gateway setup Configuration example of a second FP Web Server in the LAN Exam ple ...

Page 142: ...t up Windows FPWIN Pro and the FP Web Servers in the following diagram See example setup in Configuration for an Initial Test of FP Web Server PPP Gateway Functions see p 139 The PPP server gateway Unit_1 can also be set up to establish a dial up connection to the Internet to send an e mail Comment The Windows computer is set up as follows with Remote Dialup to Unit_1 gets the PPP IP from FP Web S...

Page 143: ...P Web Ethernet any IP except 192 168 206 x or 133 254 83 x Comments Additionally and in parallel the FP Web Server Gateway Unit_1 can be set up to use the modem for Internet dialup and e mail sending For details on the PPP server settings of the FP Web Server refer to configuration example for the FP Web Server that implemented the PPP server access see p 139 14 1 6 PPP communication via null mode...

Page 144: ...TM as set up with the Configurator should be displayed Windows XP setup for IP communication via RS232C null modem cable Create a new direct connection 1 Start Control Panel Network and Dial up Connections Make New Connection 2 Click Next and select Connect directly to another computer Click Next 3 Select Guest to define the PPP client Click Next 4 At Select a device locate the Communication cable...

Page 145: ...rnet Browser to Test the FP Web Server see p 37 3 In the location field the IP address of the PPP server can be entered e g http 192 168 206 4 see FP Web Server settings under PPP server see p 130 The page MAIN HTM as setup with the Configurator should be displayed Pin assignment of the RS232C null modem cable The computer s COM port is directly connected to the FP Web Server s 9 pin port via a nu...

Page 146: ...sing Tab and press F1 Comments The PPP Client has to be set up in such a way that it accepts the remote IP address from the PPP server The modem and the transparent TCP RS232C port cannot be used at the same time except when a second FP Web Server unit is used The modem has to be connected to the 9 pin RS232C port of the FP Web Server The modem must be set up to support the RTS CTS flow control Fo...

Page 147: ...e sent via Internet dialup 1 Register an Internet e mail account with your e mail ISP if you do not have an Internet e mail account 2 Register an Internet dial up account with your dial up ISP if you do not have an Internet dialup account 3 In the E mail tab see p 50 enter the e mail sender address of your account 4 Select E mail server to define the e mail server settings including a POP3 login n...

Page 148: ...ly set to PAP 8 Set a baud rate that complies with the modem used The FP Web Server always connects with the internal settings of 8 bits none parity and 1 stop bit 9 Set the idle timeout The idle timeout can be lowered to approx 2 minutes 120s After this interval if no data communication has occurred the FP Web Server disconnects from the dial up ISP and hangs up the modem connection For the setti...

Page 149: ... from a remote client to the PPP server is established and an e mail is to be sent via Internet dialup by the FP Web Server the PPP server connection will be cancelled automatically so that it can call the ISP via modem After the e mail is sent to the ISP the PPP server is enabled again For the user name and password only ASCII characters are allowed Do not use umlauts or Japanese characters You c...

Page 150: ... the user name and password before an e mail can be sent Most of the time a POP3 login is used You can also set up an FP Web Server that is configured as a PPP server which can the be dialed up by a distant FP Web Server s PPP client instead of an ISP This FP Web Server i e the PPP server works as a dialup gateway for a LAN where an e mail server can be used to send e mails For further details on ...

Page 151: ...ver during the Internet dialup connection The other stations e g 11 11 13 129 and 11 11 13 109 that use the gateway may get communication errors while Internet dialup is active This is valid for all connection modes of TCP communication e g http e mail port communication and configuration Telnet FTP Blocked e mails Some e mail ISPs e g GMX may block sending e mails if the PLC sends too many e mail...

Page 152: ...P Web Server The FP Web Server assumes the FP Modem EU or FP Modem 56k factory default settings To make sure that the FP Modem has factory settings please use a terminal program on your computer and enter the command AT F W Please also make sure that all DIP switches of the FP Modem are set to the OFF position If a standard computer modem is to be used it can also be connected by a 1 1 9 pin RS232...

Page 153: ... the FP Web Server after changing cables and connectors Especially after connecting a modem GSM module to the FP Web Server it is necessary to restart the unit for modem initialization and recognition 6 Most of the GSM providers also offer Internet services In this case these providers will not allow you to dial up other Internet Service Providers via GSM I e if you have a GSM contract with compan...

Page 154: ... for the German GPRS provider T Mobile were used Please ask your GPRS provider for the correct parameters The Modem init command in the Dial Out section can also be used for additional modem setup commands such as AT CGDCONT Or it can be used for the PIN code entry The AT commands listed here are transferred to the modem shortly before the dial up command for the Internet For GPRS dial out connect...

Page 155: ...onnector 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 Together with the PPP client we recommend enabling the PPP server see p 145 You can also enter an optional additional user defined modem initialization command For context sensitive help highlight the button or entry field using Tab and press F1 Note ...

Page 156: ...e Server NTP or SNTP is available to synchronize the real time clock RTC and calendar date of the network units computers Such NTP servers provide accurate world date time information in UTC format Universal Time Coordinate The FP Web Server can request the current UTC time from the NTP server Optionally the FP Web Server can calculate the local time with a daylight saving time DST offset And then...

Page 157: ... to request the current time from an NTP server located in the LAN to update the PLC clock Example PPP VPN NTP SMS also shows how to establish a dial up connection to the Internet to request the time from an Internet NTP server to update the PLC clock For more information on world time and DST see http www worldtimezone com http www twinsun com tz tz link htm http www weltzeituhr com http www pool...

Page 158: ...ient Ethernet is comparable to a Modbus RTU master serial A Modbus TCP server is addressed with a unique IP address and a port number default 502 Using a unit ID address in the Modbus TCP data packet various interfaces of the Modbus TCP server can be addressed The unit ID is comparable to the slave address in Modbus RTU communication Modbus communication is based on a number of specified function ...

Page 159: ...B4 Modbus RTU slave Modbus RTU master see note 1 FP Web Server PLC For an overview on all functions please refer to the block diagram see p 14 This function uses the 2nd RS232C 9 pin Sub D connector Since Modbus protocol in contrast to the PLC only recognizes 4 different memory areas a configurable address translation table was implemented This allows you to configure offsets so that Modbus coils ...

Page 160: ... handle up to 6 client connections simultaneously If there are already 6 connections and another client wishes to establish a connection the oldest connection can be ended automatically Up to 3 different port numbers are possible Alternatively these ports can be switched to UDP communication where each UDP port is assigned one task Both of the FP Web Server s RS232C ports can be addressed Features...

Page 161: ...TCP server NumberMaxOfServerTransactions 6 SO RCVBUF SO SNDBUF 4kB with TCP and 2kB with UDP other IP stack parameters can be defined 17 3 Modbus TCP client of the FP Web Servers in general Either the PLC the data logging function of the FP Web Server or a Modbus RTU master unit can control the Modbus TCP client functions of the FP Web Server For PLC control a shared buffer in the PLC s memory is ...

Page 162: ... Features This function uses the configurable Modbus to PLC address translation table The gateway routes all Modbus function requests The Modbus TCP client can also handle UDP broadcast messages all responses from the servers are ignored An integrated setup wizard helps you to configure the Modbus TCP client NumberMaxOfClientTransactions 6 if all are busy then the oldest is disconnected SO RCVBUF ...

Page 163: ...bining 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: ...p to 19200 bps Multipoint via FP Modem EU or FP Modem 56k V 23 via twisted pair cable with 1200 bps PSTN modem dialup connection extension specified by OHP This connection receives calls from and or dials out to the central station Analog modem or GSM module can be used 3 IEC 60870 5 104 communication via RJ45 Ethernet connector of the FP Web Server unit via Ethernet TCP IP communication also poss...

Page 165: ...e enabled at the same time as the IEC 60870 protocol the reaction time and performance of the FP Web functions may slow down If the 9 pin RS232C port is set up for IEC60870 5 101 communication MEWTOCOL communication can take place The IEC60870 polling from the central station must be stopped before MEWTOCOL communication can be used MEWTOCOL commands are sent directly to the PLC This version only ...

Page 166: ...line is busy RTS initializes sending CTS after RTS means OK to send Settings for RTI Lian98 from Ver 1 0 1 2 onwards baud rate data bits parity stop bits set to same values as the modem see notes timeout 280ms minimum modem half duplex transmission unbalanced Settings of RTU IEC Communicator baud rate data byte parity stop bits set to same values as the modem see notes handshake RTS CTS mode Multi...

Page 167: ... 4 pin 5 bridge pin 7 pin 8 bridge pin 8 pin 9 bridge pin 4 pin 6 Settings for RTI Lian98 from Ver 1 0 1 2 onwards baud rate 19200bps data bits parity stop bits set to same values as RTU timeout 200ms minimum modem full duplex transmission unbalanced Settings for RTU IEC Communicator baud rate 1200bps data bits parity stop bits set to same values as RTI handshake NONE mode RS232C Optimized IEC6087...

Page 168: ...figurator to make your settings For context sensitive help highlight the button or entry field using Tab and press F1 18 3 IEC 60870 library for control FPWIN Pro To use the IEC 60870 functionality of the FP Web Server a library for 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 L...

Page 169: ... 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: ...pose management data on the managed systems as variables The protocol also permits active management tasks such as modifying and applying a new configuration through remote modification of these variables The variables accessible via SNMP are organized in hierarchies These hierarchies and other metadata such as type and description of the variable are described by Management Information Bases MIBs...

Page 171: ...er are supported The following standard SNMP data types can currently be displayed IpAddress DisplayString Counter INTEGER OCTET_STREAM TIMER_TICKS Gauge String ObjectID The SNMPv1 2c protocol does not support Floats The current version of the SNMP agent can send SNMP traps The following trap types are currently supported Cold Start Trap Authentication Failure Trap Enterprise Specific Trap PLC fla...

Page 172: ...ld 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 If version 2c is used and the SNMP Manager is using version 1 the Manager can request data by sending get getnext and set requests But keep in mind that traps will be sent in version 2c which the manager will not understand ...

Page 173: ...he two versions Function Version 1 Version 2c Get request Yes Yes GetNext request Yes Yes GetBulk request No Yes up to 50 repetitions Set request Yes Yes Sending traps Yes Version 1 format Yes Version 2c format Compatible to other version No Yes Get GetNext and Set ...

Page 174: ...saves it as formatted files on disk of local PC Other Tools COM_IP RS232C to Ethernet Redirector RS232C_TCP Redirector Redirector using two COM Ports PPP Cable PPP Connection via Null Modem Cable plus driver for the FP Modem EU now supports all versions of Windows NT and the FP Modem 56k TCP_Server_Client Visual Basic and C examples for programming a TCP server or client application for windows Pl...

Page 175: ...fferent location For a detailed description of each example please refer to the online help under the keyword Example 20 3 PLC connection cable drawings modem Please also see the installation sheet FPWEB_Server_Leaflet supplied with your FP Web Server for important notes cables and installation To connect and wire to an Ethernet please refer to Setup of an Individual Ethernet LAN see p 181 20 3 1 ...

Page 176: ...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 ...

Page 177: ...s follows 2 3 3 2 5 5 This is the minimum number of wires required Or use a standard null modem adapter with full 25 pin female RS232C connectors on both sides to create a connection between the FP Web Server with 25 9 adapter and the computer s COM port The full wiring of a standard 25 pin null modem adapter should be as follows 1 1 2 3 3 2 4 5 8 6 20 7 7 8 4 5 20 6 20 3 3 DIP switches Upon deliv...

Page 178: ...hout removing the housing DIP1 MEWTOCOL port DIP2 HTML write to PLC DIP3 Second transparent port DIP4 ON The DIP switches can only switch OFF a function that has been enabled i e activated in the Configurator before If a function has not been enabled in the Configurator the DIP switch has no function The DIP switch settings are read by the FP Web Server every second i e the FP Web Server recognize...

Page 179: ...nnection no Ethernet cable ON unit is connected to the Ethernet network R Ethernet activity OFF no data traffic on the network Blinking data traffic detected on the network LED is ON during data reception T PLC COM OFF the FP Web Server unit is not communicating with the PLC ON during communication with the PLC MEWTOCOL via serial interface 20 3 5 Clearing passwords To reset the unit i e clear the...

Page 180: ... define the network address the other numbers define the participant s address The Internet Address To be independent from the medium as well as the platform one should not adjust the addressing of a single bus system when specifying the communication system The concept of the Internet is based on one s own address i e the Internet address The Internet address is comprised of 32 bits and is divide...

Page 181: ... with only one hub the fixed IP addresses can be assigned by yourself In many cases a class C network is used The network is identified by 3 numbers The participants Computers Units FP Web Server are distinguished by the last number 1 to 254 e g 192 168 206 1 to 192 168 206 254 In case this network is connected to a second network via a gateway e g the computer for configuration might be in this n...

Page 182: ...e mail server For using the e mail functions in such a mini network an E Mail Server has to be installed on the or on one of the computer For further information refer to Details on the E Mail Server see p 49 Following two different Ethernet cables are used 1 Direct 1 1 connection In the following example only one computer should be used for carrying out the configuration of one or several FP Web ...

Page 183: ...can be used as a star coupler When using a hub you can use standard Ethernet twisted pair cables along with it Hub or switch If the IP address and or the data rate 10 100 MBPS are not modified very often a switch might increase the performance of the network in comparison to a hub A switch is an intelligent unit with which you can subdivide the Ethernet in sub segments that are widely independent ...

Page 184: ... on one side Based on the destination address the unit decides via which output bus the message should be forwarded You have to differentiate between switches that receive whole messages at once analyze them and forward them afterwards Store and forward and other switches that are toggle controlled by the hardware as soon as the recipient s address is defined Cut through Of course the latter ones ...

Page 185: ...The use of capital letter or small letters in the user name and passwords are not analyzed i e the user name and password check are not case sensitive User name and password should have 1 to 9 characters Only ASCII characters are allowed Do not use umlauts or Japanese characters Exception For a remote dial up connection PPP connection only lower case letters are to be entered for the password on t...

Page 186: ...e default password can cause security 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 The password of the PLC can be adjusted with the help of FPWIN Pro via Online Security Settings Note ...

Page 187: ... IP via UDP configuration No files can be transferred to the unit Unit cannot be restarted 20 7 1 Network communication problems If you have problems with the FP Web ConfiguratorTool finding Find and selecting double click an FP Web Server unit please check the network settings If an automatically generated IP address setting is to be used Make sure that the computer and the FP Web Server s config...

Page 188: ...nfiguration 1 Under Settings Network Connections open the properties dialog of the computer s Ethernet LAN card 2 Open the Internet Protocol TCP IP properties dialog The Subnet mask setting should be the same as with your FP Web Server configuration Also the left part of the IP address identified by the 255 value in the subnet mask should be identical to the FP Web Server configuration However the...

Page 189: ...V2 810 EN 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 ...

Page 190: ...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 Start the Internet Explorer open File menu and remove the checkmark at Work Offline ...

Page 191: ...N 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 ...

Page 192: ... 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 h Uninstall all recently installed Windows security updates and patches for a test ...

Page 193: ...ion 2 21 For details and version history please refer to the online help topic New in this version ACGM0151V4EN October 2011 Complete update in accordance with software version 2 23 For details and version history please refer to the online help topic New in this version ACGM0151V4 1EN December 2011 Complete update in accordance with software version 2 231 For details and version history please re...

Page 194: ......

Page 195: ...engo VR Tel 39 0456752711 Fax 39 0456700444 www panasonic electric works it Nordic Countries Panasonic Electric Works Europe AG Panasonic Eco Solutions Nordic AB Filial Nordic Knarrarnäsgatan 15 164 40 Kista Sweden Tel 46 859476680 Fax 46 859476690 www panasonic electric works se Jungmansgatan 12 21119 Malmö Tel 46 40 697 7000 Fax 46 40 697 7099 www panasonic fire security com Poland Panasonic Ele...

Reviews: