hcg_manual.pdf

(1009 KB) Pobierz
Microsoft Word - HTML Code Generator Manual.doc
HTML Code Generator V 1.0
For Simatic IT Modules
CP 443-1 IT, 343-1 IT, 243-1 IT
Manual
This manual and program are freeware. Every user can use, copy or forward this
program and documentation FREE OF CHARGE. The authors and owners of this
program take no responsibility whatsoever for the functionality and compatibility of
this software. Use of the software is entirely at the users own risk. Since this
software is free of charge, there is no warranty, nor claim for error correction and
hotline support.
404963935.004.png 404963935.005.png
Table of Contents
Welcome to HTML Code Generator! ... 3
Software Requirements ..................... 3
Hardware Requirements.................... 3
Current Features:............................... 4
Features Coming Soon!..................... 4
The Main Setting Screen....................... 5
HTML Page Title.............................. 5
CPU Type.......................................... 5
Rack Number .................................... 5
CPU Slot Number ............................. 5
Language........................................... 5
Create Index ...................................... 6
Create selected S7 Applets................ 6
The S7 Get Applet Selection Tab ......... 7
Applet Name ..................................... 7
Variable Name .................................. 7
Data Area .......................................... 7
Data Type.......................................... 7
Cycletime .......................................... 7
Format ............................................... 7
DB Number ....................................... 7
Address ............................................. 8
Bit Number........................................ 8
No of Variables ................................. 8
Width................................................. 8
Height................................................ 8
Debug Level...................................... 8
Edit Parameters Online ..................... 8
Use Symbolic Access........................ 8
Symbol Name.................................... 9
Auto Append Rack/Slot .................... 9
Use Graphic Display ......................... 9
Min Value / Max Value .................... 9
Dimension ......................................... 9
The S7 Put Applet Selection Tab........ 10
Applet Name ................................... 10
Variable Name ................................ 10
Data Area ........................................ 10
Data Type........................................ 10
Format: ............................................ 10
DB Number ..................................... 10
Address ........................................... 10
Bit Number...................................... 11
No of Values ................................... 11
Width............................................... 11
Height.............................................. 11
Debug Level.................................... 11
Edit Parameters Online ................... 11
Use Symbolic Access...................... 11
Symbol Name.................................. 11
Auto Append Rack/Slot .................. 12
The S7 Ident Applet Selection Tab..... 13
Width............................................... 13
Height.............................................. 13
Debug Level.................................... 13
Edit Parameters Online ................... 13
Ident Selection Check boxes ........... 13
Rack/Slot......................................... 13
Text Field ........................................ 13
The S7 Status Applet Selection Tab ... 14
Width............................................... 14
Height.............................................. 14
Debug Level.................................... 14
Edit Parameters Online ................... 14
Cycletime ........................................ 14
Status Selection Check boxes ......... 14
Rack/Slot......................................... 14
Text Field ........................................ 14
Generator Button................................. 15
Generating your HTML Page ......... 15
The Output Screen .............................. 16
Print................................................. 16
Save to File ..................................... 16
Save to IT CP .................................. 16
The FTP Screen................................... 17
CP IP Address ................................. 17
User Name ...................................... 17
Password ......................................... 17
Filename.......................................... 17
Transfer File.................................... 17
Cancel ............................................. 17
All Files........................................... 17
Save Password ................................ 17
HCG Index-Page Example.................. 18
2
Welcome to HTML Code Generator!
Introduction:
Welcome to the HTML Code Generator (HCG) and Applet generation Utility V 1.0 for
the Simatic IT Modules: CP 443-1 IT, CP 343-1 IT, CP 243-1 IT. With this program,
any user can generate web pages quickly and effectively for the Simatic IT Module
family. The focus is on the use of the S7 Applets, which are part of the CP file system.
We have up to 4 possible applets and multiple combinations of them. The 4 main applets
are the S7 Get (get data from PLC), S7 Put (write/put data to PLC), S7 Ident
(Identification), and S7 Status (Status of module in rack). For the most part, the
generation process creates the HTML and applet code automatically. But, if necessary,
you can refer to the manual for the IT CP’s to make code changes or find further
information which is located on Siemens customer support website at:
http://www4.ad.siemens.de/view/cs/en/16832609
You can also use this program to change the HTML Code to build your own web pages
and use the utility as a helpful tool to learn about the applets.
Software Requirements
Operating Systems tested: Windows 98SE, NT, 2000 and XP.
Internet Explorer (4.02 or higher) tested 6.0 + Sp1.
Microsoft Java VM or Sun Java (1.4.1 or higher)
The Microsoft Java VM is no longer downloadable on Microsoft’s website, but can be
obtained through many 3 rd party sites by searching on the web.
Latest File system for IT Cp’s, which can be downloaded from:
http://www4.ad.siemens.de/WW/view/en/19000429 //200 file system 2.5.3
http://www4.ad.siemens.de/WW/view/en/19026376 //300 file system 2.5.3
http://www4.ad.siemens.de/WW/view/en/18644576 //400 file system 2.5.3
This program requires Internet Explorer version 4.02 or higher.
V 6.0 + SP1 or greater is recommended!
Hardware Requirements
Cp 243-1 IT or Cp 343-1 IT or Cp 443-1 IT with latest firmware (latest firmware
available on customer support website.) It might be necessary to reformat the file
system of the IT CP. Read the firmware instructions carefully for this information)
Valid Ethernet Network/Cabling arrangement between PC and CP
PC w/ Software requirements above
Comments or suggestions on the HTML Code Generator can be submitted to the
hotline e-mail address: Simatic.Hotline@sea.siemens.com with ATTN: HTML Code
Generator in the subject line. We can’t make any promises that we will be able to
grant all requests or follow up on all comments, but will try our best! All ideas for
the HTML code generator will become SE&A property.
3
404963935.006.png
Current Features:
Generation of HTML and Applet code for the 200/300/400 IT Module family
CP 443-1 IT, CP 343-1 IT, CP 243-1 IT using the built in applets S7 Get, S7 Put, S7
Ident and S7 Status.
You can use the built-in Ident and Status page on the S7 200 if necessary.
Applets can be adjusted to support almost all of the different features such as applet
color, data areas, data types, symbolic access, graphical display, and multi-read with S7-
Get.
Note: The generator cannot currently create a multi-variable Put.
Generated Pages can be printed directly to the printer and/or saved to local files.
Generated Pages can also be saved directly to the IT Modules via the built in FTP
functionality and be displayed automatically by Internet Explorer using a hotkey (hit
Shift key while pressing the Transfer button).
If selected, the utility can create a HTML page structure with a main index page and sub-
index for all of the applets created in the HTML Code Generation sessions.
Warning!
If you select to use the Index feature, be forewarned that this will overwrite the existing
index page! An example of using the index / sub-index feature is located on the last page
of the manual. This should not be a problem, because the links to the standard page can
still be used by selecting your IT Cp version from the menu bar, on the HCG index page.
(200,300, or 400). See last page for example.
The file system can always be restored if necessary. If you have files on the CP which
you don’t want to be overwritten, please back up all files beforehand.
See the information above in the software requirements section.
This manual covers the different screens and functions of the HTML Code Generator
program and explains how to use them.
Features Coming Soon!
Multi-put
New Applets w/ selectable graphic display support!
IT File System Restore Utility embedded.
4
Note: Ident and Status are not currently supported by the Cp 243-1!
404963935.007.png
The Main Setting Screen
Let’s first get started by looking at the main screen.
Tip: If you hold your mouse over the different fields in the program, help text will
automatically be displayed!
HTML Page Title
Please enter the HTML Page title (displayed in the Browser Title).
Tip: If you have the index option checked, the HTML Page title is automatically
added to the sub-index column on the index page.
CPU Type
Select the CPU Type you are working with. S7 200 or 300/400.
Rack Number
Select the Rack number in which your CPU is located. (Normally 0 unless CPU is in an
expansion rack)
CPU Slot Number
Select the CPU Slot number in which your CPU is located.
Tip: Make sure you don’t use the CP slot here because the applets will not work!
Language
Please select English or German.
Background Color
Please select the color of your applets / page
with this setting. You can choose to use
default colors or select your own with the
‘User Defined’ Option. If you opt to select
your own color, another screen will appear
and allow you to customize it.
Using the R (Red), G(Green) and B(Blue)
selectors, please change the output window
to the desired color and hit the ‘OK’ button
to continue.
5
404963935.001.png 404963935.002.png 404963935.003.png
Zgłoś jeśli naruszono regulamin