Home

WEB SERVER Web Functionality and HTML page construction

image

Contents

1. FILE BROWSER VIRTUAL FTP FREE Studio Device offers the facility of opening a virtual FTP for the management of files di rectly on the Evolution target Simply click on Open File browser to open the browser using an FTP gateway service mn vani i p i FtpGateway Active connections 1 TCP IP port 15000 Settings CEECEE sees d3 d 2 22a s a e Other operations BIOS download Open file Web site download lt The browser will open a window showing the files present in the target The files can be copied from the PC to the target and from the target to the PC by dragging and dropping The content of the file can be displayed by double clicking the filename When the connection is established the FTP Gateway icon appears on the applications bar Double click on the bar to view the active connections and the TCP IP port To close the connection click on Shutdown 16 connection with the target having been established previously Invensys Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 26 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 APPENDIX LIBRARIES Listed below are the functions available in
2. I Parmeter herpes Options He Oe HOCmO i was tiitiit i mm T RAES Pugin Passiot CAN Plugn Posave T RSPR Plugin Passie Lthernet Plugn Passive J Modem J WO Valas Ow watch Values J Led amp Backlight Values System Clock Valves Other operations UIOS download Open fie browser Winds tre wel a Web ate pr 10 see relative sections Invensys Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 1 3 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 View and Preview web site Once the web site has been downloaded to the target it can be viewed using any browser en tering the IP address as the URL For example if FREE WEB is configured as 10 0 0 100 type the string http 10 0 0 100 in the address bar of the browser The browser will open the first page of the web site saved in FREE WEB or INDEX HTM To preview the site locally on a PC click Web Site preview or simply access the project web folder and select any html page from among the contents Template A site template is a template based on XML files that defines all the rules for building and showing a web page generated automatically All templates must reside in the catalogue lt C Programs lt Eliwell
3. Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com www eliwell it Invensys Controls page 12 IIL free lt lill FREE Application Notes rel 07 06 12 Generate web site To generate the web site automatically select the relative command from the drop down menu Developer gt Build Web Site The resulting HTML pages will be visible in the web folder internally of the Application project directory Download web site If compiled correctly the project can be opened with FREE Studio Device menu Developer gt Open with Free Studio Device To download the site on FREE WEB from the main menu Edit menu click on Web Site download Note Before proceeding with the download the user can create edit or copy e pages stored in the project web folder irrespective of whether these were created or edited with FREE Studio or copied from other sources e support files such as for example additional text datalogging or PDF files All files in the folder at the moment of downloading will be loaded onto FREE WEB It is possible at any given moment to create or edit the files of web pages for downloading di rectly to FREE WEB via the FREE Studio USB TFTP or virtual FTP connection testi voz O N Clwell tree Studio Device Fie Fa View 7 er ea E
4. Web server user name string max 15 chars psw STRING Web server password string max 19 chars The function returns a DUINT that could have the following meanings file length length of file 1 An error occurred or function was timed out SySHTIP Lista ablerilesExt Load Clear extension list for listable file from Web browser Invoking this function with action TRUE the extension ext will be put into the list of the listable files from the Web browser if permitted No more than three extensions can be put into the list Invoking this function with action FALSE will clear the list and no files can be listed by the browser At power up the exten sions list is empty Extensions must be written in uppercase Input vars num 2 action BOOL TRUE put extension into list FALSE clear list ext STRING File extension string max 3 chars The function returns a USINT that could have the following meanings O Extension correctly loaded in the extension list 255 Extension too long extension not loaded in extension list 254 Extension list full extension not loaded in extension list Invensys Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 30 www eliwell it IIL free lt lill FREE Application Notes
5. 3 Enter the values in the relative fields PC FREE WEB IP address 10001 IP aadress 10 0 0 100 Subnet mask 255 255 255 0 Subnet mask 255 255 255 0 As the connection is on point to point LAN the Default Gateway and Net mask parameters are of no significance in this instance FREE WEB default functionalities include a number of native web pages that can be viewed with the browser installed on the PC by entering the preset static IP address 10 0 0 100 The login page of the embedded web site will appear allowing the configuration of FREE WEB When accessing the site for the first time enter the preset UserName and Password User Name administrator Password password http 10 0 0 100 80 evoindex htm free Evolution free Evolution embedded Web server Human inheface Oip Sartch amp Leda Tren Clock fead 3 Uo values Analegue inputs Dighal inpuis Dig tal Gubputs Parameters 2 example for FREE Evolution EVD FREE Evolution EVC and FREE Panel are the same See user manual for I O and LED differences invenss Ss Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 4 www eliwell it MS lt lill FREE Application Notes rel 07 06 12 The user can view the F
6. D 0 0 0 0 0 0 0 15807 Netisk_2_ETH_PI 0 255 0 0 0 0 0 0 0 0 0 0 0 255 Secondary DNS server 2 nd part 255 255 1 8 after changing parameters FREE WEB must be switched off and switched on again Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com www eliwell it Secondary DNS server 3 rd part Secondary DNS server 4 th part Enable DHCP inven s o Ss Controls page 21 IIL free lt lill FREE Application Notes rel 07 06 12 TEXT E MAILS With FREE WEB text e mails can be sent by way of an SMTP Client Any files to be sent can be included as text in the body of the mail Note The maximum size of the message that can be sent depends on the e mail provider In order to send an e mail the IP address of the selected e mail server must be known Client DNS The conversion of the e mail service provider name to IP address is made possible by the Client DNS service This enables easier utilization of the e mail service and can be useful for identifying the IP address of the selected e mail server If this address is already known and fixed the DNS may not be needed FREE Studio provides the following DNS client management functions SySDNS GetIpByName Get IP address from host name Invoking this funct
7. EVD EVC will always require the connection of an EVS ETH Plug in FREE PANEL conversely has the ETHERNET connection built in Invensys Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 8 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Types of page Table Page this is the main type of page generated automatically by FREE Studio The page is essentially a list of parameters displayed in table format one parameter per line so that it can be viewed as an HTML representation of parameters visible on a Device Overview Table Web table page Fal Add Remove f Up E Down Refresh ms 1000 O disable refresh Password Page title Plant variables Overview Filename pagel Site template FreeEvolution WwebsiteTemplates Basebase sitetempl Choose Name Control Label Section Text size Img filename Img X Img Y Enum values ares ere A 2 _OUTLETAIRTEMPERATURE Text Outlet Ait Temperature 10 _INLETAIRRELATIVEHUMIDITY Text Inlet Air Humidity Humidity 10 _OUTLETAIRRELATIVEHUMIDITY Text Outlet Air Humidity 10 SP40_RH_DehumidificationSetpoint Text Humidification Set 10 SP50_RH_HumidificationSetpoint Text Dehumidification Set 10 S5t20_ChangeOverSelectProbe Select Controls St00_SelectOperating
8. Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 2 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 WEB SERVER FREE Studio can be used to create and manage web pages internally of FREE WEB effectively a personal website in miniature WEB functionalities can be used to create a complete local or remote access solution by way of a simple browser Note The PC can always be connected to FREE WEB by way of FREE Studio Connection method These notes describe the different methods of installing FREE WEB so as to allow configuration of the communication between FREE WEB and the target LAN Connection with Ethernet cable Note The recommended procedure is to connect FREE WEB via ETHERNET cable to a PC having a static IP and then change the settings to connect FREE WEB to the LAN In effect FREE WEB is provided with a static IP address as default a dynamic IP is assigned by changing the relative settings Setting the static IP address Direct connection between PC and FREE WEB with ETHERNET cable Note Disable any wireless or other networks allowing connection to the PC For the web site to launch correctly the PC to which the FREE WEB is connected must have a static IP address Access the TCP IP settings of the PC by way of the following st
9. For example associated parameter type enum1 with values O Off 1 On 2 Disable All the values are displayed but if 0 1 is specified in the Enum values column only the first two will be shown in the list Button lt button gt Enumerative or Boolean values Values to be entered write only with the key function or by clicking on the button or a series of buttons The values will be displayed unless there are restrictions see Select 4 values separated by comma Pho eee Se eS Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 1 0 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Image lt img gt Enumerative or Boolean values In the Img filename column specify a filename and supported image format indicate a width and a height for the image With each value read by the target the screen shows an associated image unless there are re strictions as described previously A single image is associated with each enumerative e g Boolean ON OFF enumerative white red green consisting in a combination of the relative images dimensions Img X Img Y and the single values of the enumerative The resulting image file contains the single images arranged vertically as illustr
10. IP addresses and vice versa Used by FREE Studio to send text e mails strings e FTP File Transfer Protocol A very simple protocol used to transfer data between hosts based on User Data gram Protocol UDP e HTTP HyperText Transfer Protocol Protocol for the transfer of hyper text allowing transmission of data over the web The specifications of the protocol are managed by the World Wide Web Consortium W3C An HTTP server generally listens on port 80 using TCP protocol e TFTP Trivial File Transfer Protocol A simple to use file transfer protocol having the basic functionalities of FTP advantageous when using routers or devices without mass storage memory Typical use transfer of small files between hosts on a network TFTP uses port 69 e target FREE controller R mm o invensys Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 DESCRIPTION These Web Server Application Notes describe the WEB functionalities of FREE Evolution and FREE Panel Eliwell prod ucts offering complete remote access for makers of machines and system integra tors Similarly the facility of connecting machines over the Internet is offered to end users who can
11. free Studio Catalog FreeEvolution WebSiteTemplates with the extension SITETEMPL The sections of the template are pageHeader the header of the first page fixed tabheader header of the navigation tabs tabactive navigation tab open and active tabinactive navigation tab open and inactive tabclose closes the navigation tab tabfooter footer of the navigation tab menuheader header of the drop down menu in navigation tabs menuitem item of drop down menu open in navigation tabs menuclose close menu item menufooter footer of drop down menu sectionheader header of a section param parameter record line in table sectionfooter footer of a section PageFooter fixed file additional files to be copied without editing 11 without using the FREE WEB target 12 the page will be read only and therefore static as it is not possible to read or write variables from the target Q invens os Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 14 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 address Hane walie uira HHH OUTLE TAR TEMPERATURE contac i asad ILINLETARTEMPERATURE FEER _EXTERNALTEMPERATURE zaram i 1 OUTLETARRELATWEHUMICHT Y ase 1_INLE TARRELATMEHLIMIDIT
12. management J HMI remote 1 J HMI remote 2 15808 HMI remote 3 15809 J HMI remote 4 15810 J HMI remote 5 HMI remote 6 J HMI remote 7 15812 HMI remote 8 16813 J HMI remote 9 15814 HMI remote 10 Ethernet On Board Address Name vawe Uum Detam min ma Description 15796 Port_HTTP_PI 0 num 0 Port_ETH_PI 502 num 502 Ip_1_ETH_PI 10 10 15799 Ip_2_ETH_PI a 0 Ip_3_ETH_PI 0 0 Ip_4_ETH_PI DefGtwy_1_ETH_PI 65535 HTTP Port number 0 is equal to default port 80 65535 TCP IP Port number 255 Ethernet IP address 1 st part 255 Ethernet IP address 2 nd part 255 Ethernet IP address 3 rd part 255 Ethernet IP address 4 th part 255 Default Gateway 1 st part 255 Default Gateway 2 nd part 255 Default Gateway 3 rd part 255 Default Gateway 4 th part 255 Net mask 1 stparh Net mask 2 nd part 255 Net mask 3 rd part 255 Net mask 4 th part 255 Primary DNS server 1 st part 255 Primary DNS server 2 nd part 255 Primary DNS server 3 rd part 255 Primary DNS server 4 th part 255 Secondary DNS server 1 st part 15803 DefGtwy_2_ETH_PI DefGtwy_3_ETH_PI DefGtwy_4_ETH_PI NetMsk_1_ETH_PI NetMsk_3_ETH_PI NetMsk_4_ETH_PI PriDNS_1_ETH_PI 15811 PriDNS_2_ETH_PI PriDNS_3_ETH_PI PriDNS_4_ETH_PI SecDNS_1_ETH_PI PLC Application 15816 15817 16818 _ Recipes SecDNS_3_ETH_PI SecDNS_4_ETH_PI EnableDHCP_ETH_PI 15815 SecDNS_2_ETH_PI 25 2 130 False 0 0 0
13. rel 07 06 12 List of SMTP functions SyYSSMTP SendEmail Send an e mail Invoking this function an e mail will be sent To monitor the progress of the mail the function has to be invoked again Mail parameters must not be changed while an e mail is being sent To send another e mail or resend the same e mail the sysSMTP_Reset function must be in voked once before sysSMTP_SendEmail Input vars num 9 ip BYTE lp address of the SMTP server port UINT SMTP port allowed by SMTP server i e port 25 from STRING e mail address of sender to STRING e mail address of recipient user STRING User name for authentication osw STRING Password for authentication sub STRING e mail subject msg STRING e mail text message filename STRING Filename of file to be printed in the e mail The function returns a USINT that could have the following meanings Tole state E mail send request activated No file found abort send E mail send in progress E mail successfully sent Mail Server timeout try again a Ol amp U N H oO Error sending e mail SySoMTP Reset Reset DNS Finite State Machine See also sysSMTP_SendEmail The function returns a BOOL that could have the following meanings TRUE Done FALSE Not done Wait and retry Invensys Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d A
14. 1 st part 255 Ethernet passive Plug In IP address 2 nd part 255 Ethernet passive Plug In IP address 3 rd parh 255 Ethernet passive Plug In IP address 4 th part 255 Default Gateway 1 st part 255 Default Gateway 2 nd part 255 Default Gateway 3 rd part 255 Default Gateway 4 th part 255 Net mask 1 st par 255 Net mask 2 nd part 255 Net mask 3 rd part 255 Net mask 4 th part 255 Primary DNS server 1 st part 255 Primary DNS server 2 nd part 255 Primary DNS server 3 rd part 255 Primary DNS server 4 th part 255 Secondary DNS server 1 st part 255 Secondary DNS server 2 nd part 255 Secondary DNS server 3 rd part 255 Secondary DNS server 4 th part 1 Enable DHCP oo co co co cop cop CoOClUcUDWCCcUOCCcUOUlUCcUOCUCUchUOCUCUcOCCcUOUcUCcOCUCcUOUCUcOCUCcOmUCc OUcOUCcOmUlUCOD FREE PANEL EVP TCP IP parameters are available in the BIOS parameters folder gt All parameters gt Ethernet On Board Senza titolo Eliwell Free Studio Device File Edit View Parameters Recipes Options Help Deke eCHBl Avr unAn la Project x eed Untitled E FreeEvolution E P_1 i BIOS parameters 6 All parameters J Acknowledgement Calibration AI 15797 J Analogue Inputs 15798 R5485 On Board CAN On Board Ethernet On Board 15800 Display 15801 J Buzzer 15802 Inputs Values Led amp Backlight Values System CLock Yalues 15804 Buzzer Values 15805 Protection Password 15806 J HMI
15. 3 eg Auto Enum 0 1 2 13 WEB_TimeBands TimeBands Button Toggle Mode4 eg Timezones BOOL 14 WEB_TimeBandsLed TimeBands Active Image Current status for Mode4 eg Timezones BOOL _ 15 WEB_AlarmLed ALARMS Image Current Alarms status BOOL The Home template includes e 2 settable parameters e g a temperature set point e 2 read only parameters e g actual temperature e 1 status parameter ON OFF 1 read only parameter for viewing current status e 4 parameters used to request the activation of 4 different operating modes 4 read only parameters for viewing status e g HEAT COOL AUTO time bands e 1 read only parameter for viewing Alarms status e current date and time at the bottom of the page e astandard set of icons designed to indicate operating status Note The Label column is customizable with strings according to preference as in the example Example of how HTML pages are created in this instance the Home page for an actual applica tion developed by Eliwell Parameters set value ste Parameters read only Date Time e Ce IAVenS SS Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 17 www eliwell it lt lill rel 07 06 12 FREE Application Notes CUSTOM WEB SITE As
16. B IP address or host name To allow communication on the Modbus TCP IP side with FREE WEB in Modbus RTU having ad dress 3 for example enter the value as address in the Modbus TCP IP frame At y n gt INTERMET Switehy Router Ethernet _ ar frend See FREE Studio FREE Studio Supervisor n f amp amp amp x lt lt a preteen a FERRERO WEB BROWSER WEB BROWSER i T ID985 S FREE Smart SLAVE 10 0 0 100 Modbus TCP IP config 10 0 15 0 omrin gt IP or hostname 10 0 0 100 Fort 502 Protocol fo N Modbus Address a Jbus Time out ris fio Connect timeout js000 Sas Modbus TCP In the case of Eliwell Modbus or third party tools use a supervision software to connect FREE WEB to the device via Modbus TCP and observe the following rules e program FREE WEB so as to execute the sysBridge function e set the FREE WEB address as the IP address of the Modbus TCP recipient e set the address of the target Modbus RTU slave as the encapsulated Modbus address of the device inven s os Controls 15 by way of Connection only Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 25 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12
17. IIL free lt lill FREE Application Notes code 91S24252 0 rel 07 06 12 WEB SERVER Web Functionality and HTML page construction Contents DEFINITIONS wacccdiccicesecscccascnccecsveesecissesscane 1 DATA PU SS iivosecicccecencicesscetacaseccscesoswesecsaess 23 DESCRIPTION weseccsscccscccacccscteswsssiecnexsccessers 2 BRIDGE os scnncaveccuxs sevsecaeseececucasecsnaccacscesceetes 24 WEB SERVER gececceccecessedcesesecscsevenseccsestsneses 3 FILE BROWSER VIRTUAL FTP csesees 26 CREATION OF WEB SITE ccccscscscscees 8 APPENDIX LIBRARIEG cscccscsccscsccees 27 CUSTOM WEE SITE scccsssccsccccccsccccscces 18 APPENDIX COMMANDS ccccccsccees 32 TEXT E MAILS scssicccscvccseconssccsscesescssvecsecsess 22 APPENDIX WEB BROWSER cccsccces 33 TELP sanbecaseweteececessusesecewesccersssccseeaevectnncvecss 23 APPENDIX CODEG cccscscsccscscscscces 34 DEFINITIONS e DHCP Dynamic Host Configuration Protocol Dynamic IP configuration protocol Each time the devices of a local network attempt to access an IP network e g Internet DHCP provides them dynamically with the configuration needed in order to establish a connection and oper ate on a wider network using Internet Protocol This allows the exchange of data with all other sub networks provided that they are integrated with the Internet Protocol in the same way e DNS Domain Name System Converts the symbolic names of networked machines to
18. KB Documento HTML 15 05 2012 10 46 EMODE PNG 12KB File PNG 17 04 2012 16 08 64 x 192 Gh TIME PNG 13KB File PNG 17 04 2012 16 08 64x 126 HTM pages The Home Page main page of the site is represented by the file INDEX HTM the following pages are numbered PAGE1 HTM PAGE2 HTM etc The HTM pages contain basic instructions and headings for the objects presented on the page CGX pages Associated with each page NOME HITM is a text file NOME CGX managed directly by the Web Server including special directives for the association of controls shown on the web page with parameters and with variables of the Evolution application Rules by which the file is built e Lines that are not to be processed by the built in CGI interpreter are prefixed by the charac ter t e Lines manipulated by the CGI interpreter are prefixed with the letter ce HUH N e The last line must be Invensys Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com www eliwell it page 18 IIL free lt lill FREE Application Notes rel 07 06 12 Example t lt xml version 1 0 gt ct lt LOrm c t16406 lt text gt lt id gt s lt id gt lt value gt 3f lt value gt lt text gt c t16410 lt text gt lt id gt s lt id gt lt value
19. Mode Image MODES PNG 50 50 A number of general fields can be edited on each page e page name name of the node visible and editable from Resources gt Web Site tree e Refresh ms the rate at which target data is read and updated continuously interval ex pressed in milliseconds Minimum value 500 ms zero 0 disables the continuous refresh function 0 disable refresh e Page title main title of the page Unless specified otherwise the name of the node will be used e Password if specified access via the browser will be protected Site template FREE Studio provides a basic default template page structure with a style and a graphic look and feel suitable for most users Selecting Choose the user can apply spe cific templates for generating the page The selected template will determine the structure of the page the style and the look and feel See Templates section for more information e Filename read only field Displays the filename for the generated page useful for editing or certification purposes In the table illustrated above the user can enter the relative EEPROM parameters or Status variables defined previously by clicking the Add button or simply dragging and dropping the filename these will appear on the web page 2 there is no need to keep entering the password with each refresh the system remembers the password for 1 hour default setting 3 simply drag the relative variable paramet
20. Notes rel 07 06 12 Page template The page template determines all the rules for building and showing a specific page developed for a given purpose with a fixed number of parameters As described previously FREE Studio provides only a Home page as the Page Template nonetheless expert users with advanced knowledge of PPJS XML HTML can create custom templates to suit their own needs and preferences All templates must reside in the catalogue lt C Programs lt Eliwell free Studio Catalog FreeEvolution WebPageTemplates in a dedicated sub folder e g Home containing a file of the same name Home pagetempl The template includes the following sections e TemplateData records will be inserted directly in the PPJS files when this template is added to fill up the grid e extraheader text to be inserted in the lt head gt of the destination page this contains the lt style gt selected for the page e pagebody content of the body of the page refers to lt param gt see below with syntax PARAM_id e extracgx text to insert in the CGX destination without editing params content for each parameter to be inserted in the lt pagebody gt if used e file additional files to be copied without editing Each section can contain a number of placeholder variables these will be replaced during the process of generating the HTML file 14 see Types of page section 15 see also home sitetempl file for more informat
21. REE WEB resources display Inputs and Outputs and set Outputs date and time and LEDs BPAH LHE L LET peii pim Afo see Gece Hrn be ee Spates hri L sa E m mnyr iis Wel FEL ae a r bat reid ih WEES Evolution n WEEE Evolution System Clock Adjust Analogue inputs Statue read fem value fen Wahie nma ph t hp ofa ai ke Conte pimin fc vie Jp AL Es Cipy ai fi ALI Emmo Arari Fase ala ay i AL m ooo System clock Read only inputs date and time Analogue Inputs Status read In the Parameters sections the user can change the configuration values of the probes and the analogue outputs and change the ETHERNET plug in parameters see next page Tipi ai Lisen Hala torrie j Te a akii i a a l e mehe pem Geja ia e daa Loe dod pe mii beet Le mmm Ph a at WEEE Evolution free Evolution Digital Guputs Status readiwrite Analogue Inputs Parameters H acre om Lemp UF EE Crit z Al ET tS ony CEK c EE aw E Ez ki abt E TE at Read write digital outputs Configuration of inputs Digital Outputs Status read write Analogue Input Parameters Late et ee moman rar W pi pea pebi g em jis E a mT gt j pesto its Evolution _ free Evolution Analogue Outputs Vil Parameters Elhemel paranveters Hame tiaras wahi Tg aot AGA Set HIP P pa ated PETHA fe Tf o Thy aoe pai Ea arpa paH m t a a a i Surig a05 Parts ETH Pt ae a 1 UNS EHA Ce C
22. TH Net mask part 4 PriDNS_1_ETH_PI Primary DNS server part 1 PriDNS_ 2 ETH _PI Primary DNS server part 2 PriDNS_3_ETH_PI Primary DNS server part 3 PriDNS_4 ETH _PI Primary DNS server part 4 SecDNS_1_ETH_PIl Secondary DNS server part 1 SecDNS_2 ETH Pl Secondary DNS server part 2 SecDNS_3_ETH_PI Secondary DNS server part 3 SecDNS_4 ETH _PIl Secondary DNS server part 4 EnableDHCP_ETH Enable DHCP o Fale Ue IP address The IP address relative to the Web Module can be changed manually by entering a new IP address or automatically if there is a DHCP server in which case the system will prompt the user to confirm whether or not DHCP is in use As shown in the table EnableDHCP_ETH_PI is set at 0 or in effect DHCP is disabled static IP 4 Parameters are also configurable by way of the connection with Free Studio Device BIOS parameters folder gt Ethernet passive plug in for Evolution Ethernet on board for FREE Panel See connection with FREE Studio section Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 6 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 If the IP address or network submask values entered are inconsistent the system will generate an err
23. Y WRH B293 _LESTERM4LFELATVERUMDITY 3 ARH pegefooter secorfooter Each section can contain a number of placeholder variables these will be replaced during the process of generating the HTML file Basic Template Basic template FREE Studio provides only a basic template with the standard Eliwell look amp feel as the default although expert users can define and use their own templates All templates must reside in the catalogue lt C Programs lt Eliwell free Studio Catalog FreeEvolution WebSiteTemplates in a dedicated sub folder e g Base containing the styles definition file base css and the file defining the structural elements of the pages base sitetempl The Basic template includes e atab navigation interface for first level pages e a drop down menu for each tab for nested page levels e Eliwell logo at top right of the page e multiple table sections internally of the page e for each table the following columns address name value UM 13 see also base sitetempl file for more information comments internally of the file Invensys Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 1 5 www eliwell it IIL free lt lill FREE Application
24. _Cool WWEB_CoolLed YWEB_Auto WWEB_AutoLed WWEB_TimeBands WWEB_TimeBandsLed WEB_AlarmLed Humidity Set Text ON OFF ON OFF status HEAT Mode Request HEAT COOL Mode Request COOL AUTO Mode Request AUTO TimeBands TimeBands Active ALARMS Setpoint 2 eg humidity Numeric Toggle ON OFF BOOL Current status for ON OFF Enum 0 1 2 Activate Mode1 eg Heat BOOL Current status for Mode1 feg Heat Enum 0 1 2 Activate Mode eg Cool BOOL Current status for Mode eg Cool Enum 0 1 2 Activate Mode3 eg Auto BOOL Current status for Mode3 eg Auto Enum 0 1 2 Toggle Mode4 eg Timezones BOOL Current status for Mode4 eg Timezones BOOL Current Alarms status BOOL The use and configuration of this page is broadly the same as for a normal Table page the fields are the same whilst the grid is already filled in with the list of all the fields possible Each field is optional appearing on the site only if selected On each line it is possible to select only the associated EEPROM parameter or the Status vari able Name column and the corresponding label if this field is empty the Name field will be displayed whereas if the Name field is left empty the web page will appear blank 8 the project folder contains a sub folder named web Each page selected will be copied automatically into this same web sub folder 9 filename home pagetempl Eliwell Controls s r l
25. a push connection Input vars num 5 ip BYTE lp address of the remote server port UINT Port allowed by remote server ident STRING Identification string max 32 chars match STRING Match string max 32 chars tmo UINT Underflow timeout in seconds 0 65535 Invoking this function a Data Push connection will be established 1 a connection to the remote server is requested 2 if established Evolution sends its identification string 3 if match string is NULL Evolution awaits Modbus TCP IP frames from the remote server oth erwise Evolution awaits the match string from the remote server If match is good Evolution awaits Modbus TCP IP frames from the remote server To monitor its progress the function has to be invoked again Data push parameters must not be changed while a session is in progress To run another Data Push session the sysDataPush_Reset function must be invoked before sysDataPush_Start inven s so Ss Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 28 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 List of DNS functions SySDNS_ GetIpByName Get IP address from host name Input vars num 2 name STRING Host name to be resolved i
26. are nodes of the Modbus RTU network To reach the desired node the sysBridge function is set with the number of nodes 0 127 and attributed enable status enable TRUE To remove the sysBridge node the sysBridge function is set with the number of nodes 0 127 and attributed disable status enable FALSE It all nodes are reachable it will be sufficient to invoke the sysBridge function entering the number of nodes 255 and selecting enable TRUE To deactivate all nodes enter number 255 and select enable FALSE 13 press F1 from the FREE Studio Application work environment for details 14 valid for Smart Evolution or third party targets inven s so Ss Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 24 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Smart Evolution Slave If there are Smart Evolution targets in the Connection project FREE WEB is used as a gateway gt allowing communication between the FREE Studio Application PC connected via Modbus TCP IP with FREE WEB and the Smart Evolution slave in the Modbus RTU network For each Smart Evolution target the Modbus TCP protocol must be configured appropriately via the FREE Device Enter the FREE WE
27. ated Note The height will be Img Y number of values Accordingly the cumulative image is associated with each enumerative variable The number of images will be consistent with the number of enumerative variables A library function is used type EVO_DivlmgMap 116385 MODE PNG 0 1 2 64 64 The user can make up customized html pages in which an indexed image e g MODE1 PNG MODE2 PNG MODE3 PNG etc is associated with each enumerated value Note This syntax will be assembled by the programmer who must invoke the relative library function EVO_ImgMap e g function EVO_ImgMap 116385 MODE_ PNG 0 1 2 The filename has suffix in the position of the number the image can reflect the values inter nally of the list 0 1 2 creating the full series of image files N B Use this function with care if the images are updated on the browser in effect this could slow down the operation of the system due to the server being overloaded with requests Note All image files are saved manually within the web folder in readiness for download to the target Radio lt input tyoe radio gt Enumerative or Boolean values Associated enumerative values will be displayed as a series of mutually exclusive options unless there are restrictions in the Enum column as described above Check box lt input type checkbox gt For Boolean types only select deselect 5 browsers support the
28. e the node invoke sysBridge stating the node number and selecting enable FALSE If all the nodes can be reached simply invoke sysBridge function stating node 255 and se lecting enable TRUE To disable all nodes state nodes 255 and select enable FALSE To reach a node in modbus TCP IP e g node 2 simply set the ID to 2 instead of 255 The function returns a BOOL which could have the following meanings TRUE Done FALSE Not done Node value not allowed Invensys Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 27 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 List of Data Push functions SysDalarusn Reser Reset Data Push Finite State Machine Invoking this function a Data Push connection will be reset To monitor its progress the function has to be invoked again The function can request a Data Push reinit 0x14 only if sysDataPush_ Start returns codes from 0x07 to 0x13 otherwise it will have no effect The sysDataPush_Start function can be invoked when sysDataPush_Reset returns idle state 0x00 See also sysDataPush_Start The function returns a USINT that could have the following meanings 0x00 Idle state 0x14 Reinit request sysDataPush Start Start dat
29. eps Windows XP e Click Start Menu gt Control Panel gt Network Connections 1 Open the Properties of the Local Area connection 2 Select Internet Protocol TCP IP from the list Click the Properties button 3 Inthe dialogue box that appears select Use the following IP address Propriet Connessione alla rete locale LAN Sa db Propriet Protecolla Internet TCP IP Cret bere phobi otenste laniegnacone aulonatcn dele mpata P ae li deia marta De Conniencte e ritan cordate tak recess m Broadcom Metiveme Thea Bigota e Confira achercete of grermnmit ohne oh rote ke arilar I gria a Connedsicne usin i concord bhuani D pien sutstusicaresia un raaa IF d piena i yeguerie eviezeo IE PE Coredeciiore Ma Hanpinii pa eb Micrel Indra iP Protocols nere TOPAP Insta r proprali TERAP Probanki preciniealy pew be WAH cha perrin ba Oe kesa iiag rin parra DNS Server DUS majorka F Hapis unicons faea d notice quands conneio cin iy E hipici cans ch cornet breil o acer COUP mos Ing derhe Mel MEI DORNES TE invenss Ss Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 3 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Windows 7 e Click Start Menu gt Cont
30. er with the mouse e Invensys Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 9 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 The columns of the table are e Name select the parameter from this drop down menu EEPROM parameters BIOS or Status Variables e Control defines the type of HTML control to be generated see below e Label written description of the parameter optional if not filled in the system will use the string in the Name column whereas if the string is entered no label will be displayed on the web page e Section field utilized as a table heading optional for organization of the page layout entering multiple sections on different lines groups of mutually consistent parameters can be created Type of HTML control Note Not all types of control are compatible with the Device Type of the relative parameter The name appearing in the drop down menu and the HTML control are shown Text lt input type text gt standard text box Text size establishes the maximum number of characters allowed Select lt select gt Drop down menu showing enumerative or Boolean values The drop down menu lists all values unless there are restrictions specified in the Enum column
31. gt 2f lt value gt lt text gt bOS9G1 c 108960 c t08740 lt text gt lt id gt s lt id gt lt value gt 02 0f lt value gt lt text gt c t08741 lt text gt lt id gt s lt id gt lt value gt 02 0f lt value gt lt text gt E lt form gt The CGX file and its rules allow parts of the HTML page associated and varying with the applica tion to be created dynamically The number 16406 shown in the example represents the Modbus address of the PLC variable presented in a text box Template and Style sheet BASE CSS is the style sheet to W3C standard linked by all HTM pages containing the tem plate settings common to all pages generated colours background fonts etc Example html body background color d8dae0 padding Upx margin Ops title fonts bold 30px Arial sSans serit text align center color 717871 table width 100 font normal 14px Arial sans serif Marogin bocttom JUP border collapse collapse border lpx solid b4b7bb invens ss Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 1 9 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Libraries The EVO JS file is a javascript containing library functions for generating HTML c
32. ing parsed data to XML URL decoding Percent encoding reserved characters supported in a URL Reserved characters after percent encoding Invensys Ss Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 34 www eliwell it
33. ion comments internally of the file inven a ss Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 1 6 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Home template Home Web template page Refresh ms 1000 O disable refresh Password Page title fair Handling Unit Main Page Filename finde Site template FreeEvolution WwebSiteTemplates Base base sitetempl Choose tt Name Label Control Note 1 2 RH_RegulationProbe Humidity Probe Text Current value 2 eg humidity Numeric a SP10_T_CoolingSetpoint Temperature Set Text Setpoint 1 eg temperature Numeric aa SP40_RH_DehumidificationSetpoint Humidity Set Text Setpoint 2 eg humidity Numeric 5 WEB_onoff ON OFF Button Toggle ON OFF BOOL 6 VWEB_OnOffLed ON OFF status Image Current status for ON OFF Enum 0 1 2 7 VWEB_Heat HEAT Mode Request Button Activate Mode eg Heat BOOL o WEB_HeatLed HEAT Image Current status for Mode1 eg Heat Enum 0 1 2 3 weB_cool COOL Mode Request Button Activate Mode eg Cool BOOL 40 WEB_CoolLed COOL Image Current status for Mode eg Cool Enum 0 1 2 11 WEB_Auto AUTO Mode Request Button Activate Mode3 eg Auto BOOL 12 WEB_AutoLed AUTO Image Current status for Mode
34. ion the system will search for the IP address of the host The host name must not be changed during the search procedure To search for another IP or for the same IP the reset function must be invoked SysDNS_ Reset SMTP The default port for the e mail service is port 25 To allow the allocation of alternative ports the user is provided with the facility of changing their value FREE Studio provides the following SMTP client management functions sysSMTP SendEmail Send an e mail Invoking this function an e mail will be sent The function serves to monitor the progress of e mails when sending Send parameters must not be changed during the monitoring process The SMTP service adopted includes compulsory authentication The input variables available are user and psw To send a new e mail or resend the same e mail the reset function is invoked SsysSMTP Reset function 9 STRING type filename input variable see Appendix 10 see Appendix for details of functions 11 value passed to the relative function SySSMTP SendEmail inven s os Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 22 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 TFTP FREE WEB allows the use of a TFTP server TFTP i
35. ll parameters gt Ethernet Passive Plug in Senza titolo Eliwell Free Studio Device File Edit view Parameters Recipes Options Help Cee PAC Av se snaps Bs Ethernet Plugin Passive des __ tame d ave an fn ee Port_HTTP_PI 0 num 0 Part_ETH_PI 502 num 502 Ip_1_ETH_PI 10 num 10 15799 Ip_2_ETH_PI 0 num 0 15800 Ip_3_ETH_PI 0 num 0 Ip_4_ETH_PI num DefGtwy_1_ETH_PI num 15803 DefGtwy_2_ETH_PI num DefGtwy_3_ETH_PI num DefGtwy_4_ETH_PI num NettMsk_1_ETH_PI num 15807 NetMsk_2_ETH_PI num NettMsk_3_ETH_PI num NetWisk_4_ETH_PI num PriDNS_1_ETH_PI num PriDNS_2_ETH_PI num 15812 PriDNS_3_ETH_PI num 15813 PriDNS_4_ETH_PI num A Recipes 15814 SecDNS_1_ETH_PI num 15815 SecDNS_ _ETH_PI 25 num 15816 SecDNS_3_ETH_PI 2 num 15817 SecDNS_4_ETH_PI 130 num 15818 EnableDHCP_ETH_PI False flag El FreeEvolution E YD_1 h BIOS parameters lf all parameters Acknowledgement 15796 Calibration AI 15797 Calibration 40 15798 Analogue Inputs Analogue Outputs T R5485 On Board CAN On Board 16801 R5485 Plugin Passive 15802 CAN Plugin Passive R5232 Plugin Passive Ethernet Plugin Passive 15804 E Modem 15805 Display 15806 10 values Dip Switch values Led amp Backlight values 15808 System CLock Yalues 15809 Protection Password 15810 G Application 15811 65535 HTTF Port number 0 is equal to default port 80 65535 TCPIIP Port number 255 Ethernet passive Plug In IP address
36. lpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 31 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 List of TFTP functions SyslFIP Enabling Enable Disable TFTP function Invoking this function with enable TRUE the TFTP server will be enabled Invoking this function with enable FALSE the TFTP server will be disabled At power up TFTP is disabled NOTE care must to be taken when selecting FALSE In effect if a TFTP session involving more than one file is in progress it could fail The function returns a BOOL that could have the following meanings TRUE Done APPENDIX COMMANDS The following DOS prompt commands are available Windows TFTP command Windows TFTP command linet Transfer files from and to a remote computer running TFTP service TFTP 1 host GET PUT origin destination al Specifies transfer in binary image mode octet In binary image mode the file is transferred one byte at a time Use this mode to transfer binary files host Specifies the local or remote host GET Transfers the remote host dest file to the local host orig file PUT Transfers the local host orig file to the remote host dest file orig Specifies the file to be transferred dest Specifies where the file is to be transferred 17 Open Start Menu gt Run gt cmd From DOS prompt Type TFTP Invens
37. monitor their systems both locally and from distance using the easy to understand graphics interface of any common browser via Smartphone Tablet or PC Air Handling Unit Main Page Temperature Set 25 0 c example of WEB page We will look at how the FREE WEB module consists in a FREE Evolution controller EVD with display or EVC without display equipped with Ethernet Plug in or with a FREE Panel System requirements WEB functionalities are available for e FREE Studio versions 3 0 1 or higher e FREE Evolution EVD with display updated to version FW 423 12 or later e FREE Evolution EVC without display updated to version FW 477 12 or later e FREE Panel updated to version FW 489 12 or later These versions support HTML connectivity via the Ethernet port Recommended browsers Web pages can be viewed on PCs Tablets and Smartphones viewable content depends on whatever apps happen to be downloaded On Apple products the native Safari browser is recommended On other tablets and on PCs Mozilla Firefox is recommended N B See Appendix Web Browser for more detailed information Important reminder for developers using FREE Studio the Library includes a target blocks chart containing the functions to utilize when managing WEB functionalities See Appendix FREE Studio Libraries and Manual for details 1 Press F1 from the FREE Studio Application work environment Q Invensys Controls Eliwell Controls s r l
38. most common formats gif png jpg etc 6 see Libraries section 7 see Libraries section inven s o Ss Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 11 www eliwell it lt lill rel 07 06 12 FREE Application Notes Custom Page the user will be able to add one or more existing web pages to the web site cre ated previously with an HTML editor Template Page as default FREE Studio provides only a Home page as the Template Page in other words a self generating page created to a specific template The Home Page is a starting page for a typical Evolution application and is located lt C Programs gt Eliwell free Studio Catalog FreeEvolution WebPageTemplates Home Web template page Refresh ms 1000 O disable refresh Password Page title Jair Handling Unit Main Page Filename finde Site template FreeEvolution Website Templates Base base ssitetempl Choose Name Label Control 1 2 RH_RegulationProbe Humidity Probe Text Temperature Set Text Current value 2 eg humidity Numeric Setpoint 1 eg temperature Numeric hae Hay 6 td ES 9 10 11 i 13 SP10_T_CoolingSetpoint SP40_RH_DehumidificationSetpoint YWEB_OnOff YWEB_OnOffLed WWEB_Heat WWEB_HeatLed WWEB
39. oed Ce Ce DHCP ETH mag Configuration of analogue outputs Ethernet Analogue Outputs V I Parameters Ethernet parameters see FREE Evolution and FREE Panel user manual for details IN Ve NS 5 Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 5 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 Indicated below is the summary table of FREE WEB parameters that can be used to configure TCP IP connectivity these are accessible from the embedded pages mentioned previously ETHERNET Default Notes Port_TFTP TFTP communication Port number 0 Default 0 corresponds to port 69 Port_HTTP HTTP communication Port number 0 Default 0 corresponds to port 80 Ip_1_ETH Ethernet Passive Plug In IP address part 1 Ip_2_ ETH Ethernet Passive Plug In IP address part 2 Ip_3_ETH Ethernet Passive Plug In IP address part 3 Also used to define Ip_4 ETH Ethernet Passive Plug In IP address part 4 Host name See next page DefGtwy_1_ETH Default Gateway part 1 DefGtwy_2_ETH Default Gateway part 2 DefGtwy_3_ETH Default Gateway part 3 DefGtwy_4_ETH Default Gateway part 4 NetMsk_1_ETH Net mask part 1 NetMsk_2_ ETH Net mask part 2 NetMsk_3_ETH Net mask part 3 NetMsk_4 E
40. ontrols associ ated with FREE WEB variables and communicating with the web server The file is used by all auto generated HTM pages whatever the template BASE CSS selected EVO XML is an auxiliary file used by EVO JS in communication with the web server when gener ating asynchronous requests for the update of FREE WEB parameters and variables This file is created for all auto generated HTM pages Images PNG files are image files associated with certain HTML controls See the section Type of HTML control Image lt img gt for details Other image formats are supported such as GIF or JPG in the interests of efficient management however PNG is the recommended format the resources of the server are limited Icons are also displayed in PNG format with a transparent background inven s o Ss Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 20 www eliwell it lt lill rel 07 06 12 FREE Application Notes Connection by way of FREE Studio Direct connection between PC and FREE WEB Using FREE Studio Device TCP IP parameters can be configured by way of a standard Modbus or CAN connection USB RS485 or USB CAN cable or ETHERNET cable FREE EVO TCP IP parameters are available in the BIOS parameters folder gt A
41. or message Impossible to apply new values because out of range Setting the dynamic IP address PC FREE Web connection in a home or business network Enabling the DHCP client service EnableDHCP_ETH_PI 1 the FREE WEB target assumes its own host name and the parameters shown in the preceding table become significant Host name e FREE Evolution EVD EVC prefix EVO Ip_4 ETH dipswitch e FREE Panel prefix EVP Ip_4 ETH Examples ies parameter dec Dipswitch hex 43 2 1 Eri Ip_4_ETH LOW Address 0001 hex e 1 dec EVO101 43 2 1 Ip_4_ETH LOW Address 000010 hex 2 dee EV0102 EEE E EE ee See SSS Sa ee aero 43 2 oe EVO Ip_4_ETH LOW Address EVO EVO 5 If connecting to a corporate Ethernet network contact the network administrator 6 enable becomes active only after the target is restarted Z Ethernet Passive Plug In IP address part 4 Eliwell Controls s r l g p Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 e E mail eliwell freeway invensys com page 7 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 CREATION OF WEB SITE FREE Studio Application provides the tools needed for construction of the web site The ob jects to display and or edit on the web pages are defined by the PLC application created with Applica
42. p BYTE lp address of Host Invoking this function the IP address of the host will be searched To monitor the progress of the search the function has to be invoked again The host name must not be changed while a search is in progress To search another IP or the same IP again the sysDNS_Reset function must be invoked once before sysDNS_GetIpByName The function returns a USINT that could have the following meanings Irale stare Host Address search request activated Host Address search in progress Host Address successfully resolved All DNS Resolver retries used up and timeouts expired DNS Protocol Error invalid or corrupted reply received oO OF obe G NM H Il Host Name does not exist in DNS record database SYSDNS Reser Reset DNS Finite State Machine See also sysDNS_GetlpByName The function returns a BOOL that could have the following meanings TRUE Done FALSE Not done Wait and retry inven s so Ss Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 29 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 List of HTTP functions SyoHTIP Aathentigation File length Input vars num 3 realm STRING Web server realm string max 19 chars user STRING
43. rol Panel gt Network and sharing centre and open Network Connections 1 Access the Proprieties of the Local Area Network LAN 2 Select Internet Protocol version 4 TCP IPv4 from the list Click the Properties button 3 Inthe dialogue box that appears select Use the following IP address y Stato di Local Area Connection pom z Proprsti leal dona Conner peze rapiielh Pratocotles byteret yeri 4 TER Dd pmm dai ge Gere ole Rin Auherdaciemera Gener sia Comestere Conn irene pode olin liana auth debe merle OF et k Tele supports bake cerethenshos In Orso ONTA BH meceEserio Comme ttti Pv 4 Internet E Aircon Mefr Coppa Rhene theese af amre Ataa d eta eels D iaee Cometevits vs Nessun accesso aha rete Coma Stalo apporto Abitato i f ien automa cements un ndings iP SoRgSne UIE gi Sree AT j urata DREES a if a a Uim i sequente ndio IF gt E i Beain Advanced Seever Peg Dever Vette 300 0 Maes F F i ja ME i Pasiecall intemal wernine G TCP IP bin 4 2 Ee Subnet mack T i Drie d LCi maona cl iniae oaa lev i r Gateway meemi f a ammai kasa Ereid s 1 Dirrie E Liters segues airinn server HE Inad A Paces TCR AP Peeters preciofests oer in WAH che perete be inks i vf OTUs ia aves rab ines Server OFS presente Byte 1 058 961 6941 91 Server OFS aieeaa Becca AP Qsanere segi Gages Cimyaits npese mar afte ata ana CE ima i 2
44. s a very simple protocol used for transferring files the acronym stands for Trivial File Transfer Protocol TFTP is easy to implement and compared to FTP allows only the reading writing of files or e mails from or to a remote server TFTP does not involve user authentication Change of TFTP port is determined by a parameter ETHERNET PLUGIN Default PLUG IN Port_TFTP_PI TFTP communication Port number 0 Default 0 corresponds to port 69 NOTE If parameter Port_TFTP_PI 0 FREE WEB will assign the default value 69 to the TFTP port The service is enabled using the function in the FREE Studio Application work environment SysTFTP Enabling Activates Deactivates the TFTP function Invoking the function with Enable true the TFTP server will be activated Invoking the function with Enable false the TFTP server will be deactivated When FREE WEB powers up the TFTP server is disabled NOTA passing Enable false to the function requires caution If there is a TFTP session in progress involving multiple files the outcome could be adversely affected Only one TFTP session is available DATA PUSH FREE WEB allows connection to a remote server The connection is made via Modbus TCP IP FREE Studio provides the following connection management functions sysDataPush Start Starts the Ethernet connection with a remote server Invoking this function a connection will be established once requested and obtained FREE WEB
45. sends an identification string which can be followed by a match string from the remote server To establish a new connection or renew the same connection the reset function is invoked sysDataPusn Reser 12 see Appendix for details of functions amp InIVveEns Y S Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 23 www eliwell it IIL free lt lill FREE Application Notes rel 07 06 12 BRIDGE Web Server functionalities are available for FREE Evolution and FREE Panel There is also the option of connecting the FREE Smart target by way of FREE Studio over the Internet using a FREE Evolution controller canOpen Ethernet MODBus TCP RS 485 MODBus RS 485 MODBus N stees FREE Smart Sasssssisssssssssses FREE WEB allows ETHERNET based monitoring of FREE Smart tools or third party tools as Modbus RTU slaves with FREE WEB functioning as Modbus RTU Master In a Connection project this involves addition and appropriate configuration of the various Modbus RTU Slaves selected from the catalogue as Generic Modbus RTU nodes To enable the FREE WEB Bridge functionality the following function is used sysBridge Activates Deactivates Bridge function for each Modbus RTU slave The various Slaves
46. shown in the example above the user can build custom web pages by direct adaptation of files generated in FREE Studio and downloaded to the internal memory of FREE WEB Custom web pages can also be imported from FREE Studio from Resources using the Import Custom Page menu as already described in the Types of page menu The expert user will be able to create complex html pages at will containing a variety of images animations and links to external sites Illustrated below are a number of settings and file contents for creating custom pages based on those generated automatically by FREE Studio The files described are held in the project web folder and after downloading to FREE WEB in the FREE WEB internal memory Example of web folder AHU project File Modifica Visualizza Preferiti Strumenti i vr i A 5 9 f Indietro gt Pa Cerca Cartelle gt y HEF Sincronizzazione carl Indirizzo jo ictlpdafil01v Shared_Data Documentation Public WEB _project web Vai Nome Dimensione Tipo Data ultima modifica _ Formato Gb ALARMS PNG File PNG 17 04 2012 16 08 64 x 126 base css 3KB Documento C55 16 03 2012 12 13 base ico 2K6 Dimensione icone 16 03 2012 12 13 16x16 EJbase png 1KB File PNG 16 03 2012 12 13 200 x 40 Zlevo js 12KB JScript Script File 17 04 2012 16 08 evo xml 1KB Documento XML 16 03 2012 12 13 E index cax 1KB File CGX 15 05 2012 10 46 index htm 3
47. the Library gt Target blocks section of FREE Studio Ap plication as described also in FREE Studio Library TF svstnsweelayincTime Jif sysDataPush_ Start JF eysHTTP Authentication Jif sysSetD _ SamplingMode Jif sysSTREXT TF eyst0as0C TF eys0NS_GetlpByName dA eysHTTP_ListableFilesExt Jf syeSMTP_Reset TF eysSTRINGtolNT TF eysBridge JE eysDNS_Reset F eysINT_TO_STRING TF eysSMTP_SendE mail TF eysTFTP_Enabling TF sysClockwite IF eysEvecutionPassword TF eysPluglnRelay TF sysSTRCAT TF sysUART_getbuf TF eysDataPush Reset TF eysHmi_Message TF eyePumD0 TF eysS TREQU TF eysUAAT_init qF Target blocks Operator and standard blocks Target variables List of Bridge functions sysBridge Enable Disable bridge function for each modbus RTU slave Input vars num 5 node USINT node value 0 127 and 255 enable BOOL TRUE Enable FALSE Disable tmo1 UINT Timeout for Read Registers command ms tmo2 UINT Timeout for Write Registers command ms tmo3 UINT Timeout for Packet command ms Any slave modbus RTU node defined in a Connection project can be reached by modbus TCP IP via FREE Evolution s ETH Plug In using modbus commands 0x03 and 0x10 If the slave node is part of FREE Way it can be reached using FREE Studio in modbus TCP IP To reach the node the relative bridge function must be enabled by invoking the sysBridge function stating the node number and selecting enable TRUE To remov
48. tion EEPROM parameters BIOS or status variables Open a new Application project entering an EVD EVC or EVP target Creation and cancellation of web pages Pare ropectWEe Flwell Frer Stadin Applicabion 3 10 35 33 8 arcane Aeara NEE hee rn ject WEEDS ERr Web Site Fle wen Project Debug Communication Took Developer rely Cerio Or cer E143 menu Piet a ee eee d r a a submenu 1 1 Sm eS eed ek By See A ed meny Fata el menus ZEAE KR Ow EAR In RRP SEE Sale 3 A adi EP Proect Detivtions E Recources ey submenu 3 2 C Configuration a a TE E E Freetvolution 423p12 R Rename EHRE Hodbus objects 4 CEPR Pareneters Move Lip Shatun variahle Move down Add Table Page Import Custom Page Add Template Page imet Cures Page Add Template Page Delete Page To add one or more web pages go to Resources and right click on the Web site node The options are see Page types for the description e Add Table Page insert a generic web page e Import Custom Page upload a web page customized or created by the user e Add Template Page insert a page having a predetermined layout Basic template The pages can be nested so as to construct and manage a complex tree of whatever depth to create sub menus right click once on the Web site node or on the page just created 1 the screenshots illustrated are taken from a project with EVD target FREE Evolution with display NB
49. ys Controls Eliwell Controls s r l Via dell Industria 15 e Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 e Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 32 www eliwell it IIL free liL All FREE Application Notes rel 07 06 12 APPENDIX WEB BROWSER The Web Browsers on tested PCs are e MS Internet Explorer 7 0 1 and later e Mozilla Firefox 7 0 1 and later A number of functional tests using the Web Server on Tablets and Smartphones gave the following results Air Handling Unit Main Page Air Handling Unit Main Page ORWOFF recanted Temperature Probe 20 7 al CMCFF rgan Temperature Probe 30 7 E Humidity Probe 39 RH dase tomaest Humidity Probe 29 SRH Temperature Set 25 0 Humidity Set s WRH Temperature Set 25 0 g Humidity Set 50 WRH TAB style TAB style rounded rectangular Q inivens2 Controls Eliwell Controls s r l Via dell Industria 15 Zona Industriale Paludi e 32010 Pieve d Alpago BL ITALY Telephone 39 0437 986 111 Fax 39 0437 989 066 Technical helpline 39 0437 986 250 E mail eliwell freeway invensys com page 33 www eliwell it MES lt lill FREE Application Notes rel 07 06 12 APPENDIX CODES The following table shows a number of standard codes and decodes for XML developers and reserved characters XML encoding Escape Characters supported when writ

Download Pdf Manuals

image

Related Search

Related Contents

PG-FP5 Flash Memory Programmer Setup Manual  製品組立・取扱説明書  Video doorbell Videotürklingel  TEC SourceMeter® Autotuning TEC SourceMeter®  Stamina Products 55-4700A User's Manual  contents - RPGamers  ALERTA AL CONSUMIDOR  Sunbeam 6165-33 Toaster User Manual  CMS Manual - Tri-Ed Distribution  Manuel  

Copyright © All rights reserved.
Failed to retrieve file