tài liệu Siemens
Trang 1Preface, Contents
Trang 2! Warningindicates that death, severe personal injury or substantial property damage can result if proper
precau-tions are not taken
! Cautionindicates that minor personal injury or property damage can result if proper precautions are not taken
Note
draws your attention to particularly important information on the product, handling the product, or to aparticular part of the documentation
Qualified Personnel
Equipment may be commissioned and operated only by qualified personnel Qualified personnel within
the meaning of the safety notices in this manual are persons who are authorized to commission, groundand identify equipment, systems and circuits in accordance with safety engineering standards
Correct Usage
Note the following:
! WarningThe equipment may be used only for the applications stipulated in the catalog and in the technical
descrip-tion and only in conjuncdescrip-tion with other equipment and components recommended or approved by mens
Sie-Startup must not take place until it is established that the machine, which is to accommodate this nent, is in conformity with the guideline 89/392/EEC
compo-Faultless and safe operation of the product presupposes proper transportation, proper storage, erectionand installation as well as careful operation and maintenance
Trademarks
The registered trademarks of Siemens AG are listed in the Preface
Some of the other designations used in these documents are also registered trademarks; the owner’srights may be violated if they are used be third parties for their own purposes
Trang 3An overview of the entire SIMATIC HMI documentation is provided in Appendix E.
Organization of the manual
The TP 170A equipment manual is organized into the following chapters:
1 - 2 Overview of features and functional scope of the TP 170A.
7 - 9 Mechanical and electrical installation, unit description, as well as
maintenance and upkeep of the TP 170A.
10 Information on the operating system update.
Interface Assignments System Messages ESD Guidelines SIMATIC HMI Documentation
Trang 4Conventions
The following conventions are used throughout this manual:
Motor off Text in the operating unit display is presented in this
typewriter font.
presented in this italic typewriter font.
Screens Functions available for selection are presented in this italic
12/99 First release of the TP 170A equipment
S SIMATIC Multi Panel R
S SIMATIC Multifunctional Platform R
S MP 270 R
S ProAgent R
Other support
Trang 5iii
TP 170A Equipment Manual
Release 12/99
SIMATIC Customer Support Hotline
Available worldwide, at all times:
Johnson City
Nuernberg
Singapur
SIMATIC Basic Hotline
Nuernberg Johnson City Singapur
SIMATIC BASIC Hotline SIMATIC BASIC Hotline SIMATIC BASIC Hotline
Local time Mo - Fr 7:00 to 17:00 Local time Mo - Fr 8:00 to 19:00 Local time Mo - Fr 8:30 to 17:30Telephone: +49 (911) 895-7000 Telephone: +1 423 461-2522 Telephone: +65 740-7000
Fax: +49 (911) 895-7002 Fax: +1 423 461-2231 Fax: +65 740-7001
SIMATIC Premium Hotline
(charged, only with SIMATIC Card)
Time: Mo - Fr 0:00 to 24:00
Telephone: +49 (911) 895-7777
Fax: +49 (911) 895-7001
Trang 6SIMATIC Customer Online Services
SIMATIC Customer Support offers comprehensive additional information
concerning SIMATIC products through its Online services as follows:
Up-to-date general information is provided
– in Internet under http://www.ad.siemens.de/simatic
– via the Fax-Polling under 08765–93 02 77 95 00 Up-to-date product information and downloads for practical use can be found:
– in Internet under http://www.ad.siemens.de/support/html–00/
Trang 7The abbreviations used in this equipment manual have the following meaning:
AG (PLC) Programmable Logic Controller
ANSI American National Standards Institute
AS 511 Protocol of the PU interface to SIMATIC S5
ASCII American Standard Code for Information Interchange
EPROM Electric Programmable Read Only Memory
ESD Electrostatic Sensitive Device
PPI Point to Point Interface (SIMATIC S7)
A list of all the specialist terms together with their explanations is provided in the Glossary at the end of this manual.
Trang 8Preface
Trang 94 Operating the TP 170A 4-1
4.1 Operating Touch Elements 4-2 4.2 Entering Values 4-4 4.3 Operating Screens 4-6
5 Operation of Screen Objects 5-1
5.1 Overview of Screen Objects 5-2 5.2 Status Button 5-3 5.3 Messages 5-5 5.4 Logging On and Off from the Operating Unit 5-7
8 Unit Description 8-1
8.1 Dimensions 8-2 8.2 Connection Elements 8-3 8.3 Communication Options 8-4
Trang 11TP 170A Equipment Manual
Release 12/99
Introduction
Use of the TP 170A
The TP 170A is the basic touch panel for all SIMATIC S7 CPUs It is the first touch panel unit in the SIMATIC HMI product range and is based on the operating system Microsoft Windows CE.
The TP 170A is suitable for all basic functions It has an interface which can be used for both the MPI and the Profibus-DP The unit memory is designed for smaller configurations The objects used for a configuration can be buttons, bar graphs, graphics and messages
Area of use of the TP 170A
The TP 170A has been conceived for machine operation and monitoring It
provides a realistic graphical representation of the machine or system to be
monitored Its area of use includes implementation in machine and apparatus construction as well as in the packing and electronics industry.
The high degree of protection (IP65 on the front side) and non-implementation of moving storage media, such as hard disks and floppy disks, ensure the TP 170A is also suitable for use in rough industrial environments and directly on site on the respective machine.
The TP 170A can be installed in switching cabinets and operating consoles Due to the fact that the TP 170A is equipped with high performance basic
hardware and has a minimum installation depth means that it fulfills all the
requirements for operation in the vicinity of the machine.
1
Trang 12Easy to operate and observe
The TP 170A enables operating statuses and current process values concerning a connected PLC to be graphically displayed and the relevant machine or system to
be easily monitored and operated Display and operation of the TP 170A can be adapted optimally for the respective process requirements by using the
configuration software ProTool/Lite, ProTool and ProTool/Pro CS (from
Version 5.2)
The TP 170A can be used to:
control and monitor the process intuitively Setpoint values or control element settings, for instance, can be modified by entering values or touching configured buttons;
display processes, machines and systems graphically;
visualize operating and alarm messages and process tags, e.g in output fields, bar graphs or trend curves;
intervene directly in the operation by means of the touch-sensitive screen.
Trang 131-3
TP 170A Equipment Manual
Release 12/99
Operating unit configuration (principles)
Graphics, texts and operating and display elements which need to be represented
on the operating unit must first be created on a configuration computer (PC or PU) using the configuration software The configuration computer must be connected to the operating unit in order to download the project to the operating unit (refer to
“Configuration phase” in Figure 1-1)
Once the project has been successfully downloaded, connect the operating unit to the PLC The operating unit can then communicate with the PLC and respond according to the information configured for running the program in the PLC (refer to
“Process control phase” in Figure 1-1)
Create project dataStore project dataTest projectSimulate projectDownload project data
Trang 14Overview of the TP 170A
Overview: Model TP 170A Processor Type 32 bit RISC
Memory Flash EPROM for operating
system and configuration
2 MB
Software Operating system MicrosoftR WindowsR CE
Interfaces Serial interface to connect PLC,
PC/PU
1 × RS232 (9-pin)
1 × RS422/RS485
Display Type STN LCD/Blue mode
Active screen area (B × H) in mm
Information on the configuration of the operating unit is provided in the
ProTool Configuring Windows-based Systems user’s guide.
Trang 15Configuration memory Capacity, in kByte 256
Message text length 70 characters
Process values in message text 8
Message acquisition Time of occurrence Date and time
Screen objects Output field
Input fieldTextGraphicsStatus buttonBar
Message view
Limit value monitoring Inputs/outputs 4
Password protection Passwords 1
Screen settings Contrast 4
Trang 16Functionality
Trang 17This chapter provides information on:
starting up the operating unit for the first time (Page 3-2) restarting the operating unit (from Page 3-3)
the options for Download mode (from Page 3-5) testing a configuration (Page 3-7)
3
Trang 18necessary to put the unit into service:
1 Connect the interface IF1A (RS232) or IF1B (RS485) on the operating unit to theconfiguration computer, according to the setting in the Configuration menu(Figure 3-2, Page 3-5), using an appropriate standard cable
2 Switch on the power supply for the operating unit
Since no configuration has been loaded at this point, the operating unitautomatically switches to Download mode The operating unit displays themessage Connecting to host until it receives data from the configurationcomputer or the button Cancel is pressed
If the message Connecting to host does not appear, it is possible that theoption for Download mode has been set incorrectly (refer to the note onPage 3-6)
3 If data is to be transferred via an MPI connection, set the following parameters
on the configuration computer:
OP Address: 1Transmission rate: 187.5 kBaudStart the data transfer to the operating unit from the configuration computer.The configuration computer checks the connection to the operating unit If theconnection is not available or defective, it issues the corresponding errormessage
If downloading from the configuration computer is interrupted due a compatibilityconflict, please proceed according to the description in the Chapter 10
If the connection is correct, the configuration is downloaded to the operating unit.Following successful downloading, the operating unit restarts and displays thestart screen of the configuration that has just been loaded
Trang 19The following options are available for downloading a configuration:
Start downloading manually during the operating unit initialization phase Start downloading automatically while the operating unit is in operation Start downloading via a correspondingly configured operating element while the operating unit is in operation (refer to the Chapter 6.1)
Start downloading manually during the operating unit initialization phase
1 Connect the interface IF1A (RS232) or IF1B (RS485) on the operating unit to theconfiguration computer, according to the setting in the Configuration menu(Figure 3-2, Page 3-5), using an appropriate standard cable
2 Switch on the power supply for the operating unit
3 In the operating unit initialization phase, the menu illustrated in Figure 3-1appears briefly Touch the Download button to set the operating unit to Downloadmode before it is initialized
The operating unit displays the message Connecting to host until it receivesdata from the configuration computer or the button Cancel is pressed
If the message Connecting to host does not appear, it is possible that theoption for Download mode has been set incorrectly (refer to the note on Page3-6)
4 If downloading should be performed via an MPI connection, set the OP addressand transmission rate valid for the operating unit on the configuration computer(refer to the note on Page 3-4)
Start data transfer to the operating unit from the configuration computer
The configuration computer checks the connection to the operating unit If theconnection is not available or defective, the configuration computer issues thecorresponding error message
If downloading from the configuration computer is interrupted due a compatibilityconflict, please proceed according to the description in the Chapter 10
If the connection is correct, the new configuration is downloaded to the operatingunit Following successful downloading, the operating unit restarts and displaysthe start screen of the configuration that has just been loaded
Trang 20Start downloading automatically when the operating unit is in operation
The operating unit can be switched automatically to Download mode from normal operation as soon as downloading is started on the connected configuration computer This option is especially recommended for the test phase of a new configuration because the transfer is performed without intervention in the
operating unit A condition for this is that the following settings are defined in the Configuration menu (Figure 3-2):
The bus parameters (e.g MPI address, baud rate, etc.) are read out of the
configuration which has been loaded on the operating unit Important: A new project with new parameters must initially be loaded on the operating unit with the
old settings (on the configuration computer) because the old parameters apply
here.
Trang 21The following options can be set for Download mode:
The operating unit can be switched from normal operation to Download mode automatically as soon as downloading is started on the connected configuration computer.
Download mode can be restricted to a specific connection type so that downloading is only performed via a serial or an MPI connection.
Call in the Configuration menu
The options for Download mode can only be set when the operating unit is in its initialization phase During the operating unit initialization phase, the Start menu, illustrated in Figure 3-1 appears briefly Touch the Config button to call in the Configuration menu displayed in Figure 3-2.
Figure 3-1 TP 170A Start menu
Figure 3-2 Configuration menu
Trang 22Define settings
The downloading options defined in the Configuration menu have the following effects:
Option MPI Transfer Enable
If this option is deactivated, the operating unit does not permit downloading via
an MPI connection (refer to the Note below).
Option MPI Transfer Remote This option is only available for selection when the MPI Transfer Enable option
is active.
When this option is active, the operating unit automatically switches from normal operation to Download mode in the case of an MPI transfer from the configuration computer.
Option Serial Transfer Enable
If this option is deactivated, the operating unit does not permit downloading via
a serial connection (refer to the Note below).
Option Serial Transfer Remote This option is only available for selection when the Serial Transfer Enable option
is active.
When this option is active, the operating unit automatically switches from normal operation to Download mode in the case of serial transfer from the configuration computer.
Use the OK button to confirm the current settings for downloading options The Configuration menu is closed and the Start menu illustrated in Figure 3-1 is
displayed.
Note:
If both the options MPI Transfer Enable and Serial Transfer Enable are
deactivated, it is not possible to download a configuration from the configuration computer to the operating unit.
Exit the Start menu
If no configuration is loaded on the operating unit, it switches to Download mode automatically after 10 seconds Touch the Download button to switch the operating unit to Download mode manually.
If a configuration has already been loaded on the operating unit, it starts it up automatically after 10 seconds The configuration can be started manually by touching the Start button.
Trang 23Simulation on a configuration computer
A simulator is supplied with the configuration software which can be used to test your configuration without the necessity of a connection to a PLC A condition for this is that the runtime software is installed on the same configuration computer on which the configuration software is loaded The runtime software is contained on the configuration software installation CD.
The simulator is an individual application It simulates the configuration offline, i.e without the necessity of a physical connection to a PLC The PLC is simulated by the software.
Start the simulator by clicking on the symbol depicted on the left or by using the menu command File → Test → Start simulator.
Detailed information on operating the simulator is provided in the ProTool
Configuring Windows-based Systems user’s guide and in the configuration
software online help.
Note:
For the test phase of a configuration, it is recommended to initiate Download mode from normal operation automatically Further information is available on Page 3-4.
Test with connected PLC
When a PLC is connected, it is possible to test the communication between the operating unit and PLC This test also determines whether the correct data areas have been configured.
Check the following configuration elements, for example:
messages, screen selection, input field.
Trang 24Commissioning
Trang 25This chapter contains information on how to:
operate touch elements (from Page 4-2) enter values (from Page 4-4)
operate screens (Page 4-6) Information regarding operation for special screen objects is provided in Chapter 5.
4
Trang 26Operating the TP 170A
Operating concept
The screen is used to observe the operating status of the machine or system being monitored and, at the same time, to intervene directly in the process running simply by touching the buttons and input fields displayed.
Definition
Touch elements are contact–sensitive operating elements provided on the touch panel screen, such as buttons and input fields Their operation is basically no different from pressing conventional keys Touch elements are operated by
touching them lightly with your finger or a suitable object.
Note
Never use pointed or sharp instruments to operate the Touch Panel to prevent damage to the plastic surface of the touch screen.
! Caution Never touch more than one touch panel screen element at a time If you do, an
unintended action may be initiated.
Trang 27Operating the TP 170A
4-3
TP 170A Equipment Manual
Release 12/99
Operation acknowledgement
As soon as the touch panel detects valid contact with a touch element, it responds
by displaying a visual acknowledgement An acknowledgment is independent of communication with the PLC It is not an indication of the required action actually having been executed.
The type of visual acknowledgement is dependent on the operating element touched:
Buttons
In the case of 3D–effect configurations, visual representation is distinguished according to the statuses touched and untouched Examples of representation are illustrated below by means of the Status button:
Untouched Touched
Input fields
After an input field has been touched, the system keyboard illustrated in Figure 4-1 appears as the operation acknowledgement.
Password protected operating elements
If an operating element is touched which has been assigned with a password protection, without the user having logged in on the operating unit beforehand, a system message is triggered The password protected function is not executed Further information on this subject is available in the Chapter 5.4.
Trang 28Operating the TP 170A
Principles of operation
Input fields are used to enter digits and texts (characters 0 to 9 and A to F ) To do
so, touch the corresponding field The system keyboard appears.
After an entry has been made correctly, the system keyboard automatically
disappears and the entered value is accepted in the input field.
System keyboard
The buttons available for operation on the system keyboard are dependent on the type of value to be entered Buttons which are available for operation are
highlighted, and those not available appear simply as empty areas.
Figure 4-1 illustrates an example of the system keyboard for entering decimal values Table 4-1 explains the significance of each individual button.
Figure 4-1 System keyboard
Trang 29Operating the TP 170A
4-5
TP 170A Equipment Manual
Release 12/99
Meanings of buttons
Table 4-1 Significance of buttons
Button Function Purpose
Enter digits Enter digits 0 to 9
Enter characters Enter the characters A to F
Change sign Change sign from + to – and
back
Enter decimal point Enter decimal point or
comma The assignmentand labeling of this button islanguage–dependent
Move input position
Delete character Delete the character to the
left of the input position
Enter Confirm input and close the
Limit values can be configured for numeric input fields In this case, values
entered are only accepted when they lie within the limits configured.
Note:
If an attempt is made to enter a value which is outside the configured limit values, the system keyboard is closed and the original value reinserted In addition, a system message is triggered.
Trang 30Operating the TP 170A
What is a screen?
Screens visualize the progress of processes and display specified process values.
A screen contains logically related process data which the operating unit can both display and modify by operating the individual values.
Screen partitions
A screen is basically composed of static and dynamic sections The terms “static” and “dynamic” do not refer to the possibility of dynamically positioning screen partitions but to the connection to the PLC.
Static partitions, e.g text and graphics, are not updated by the PLC Dynamic partitions, e.g input and output fields and bars, can be linked to the PLC and display current values constantly read in from the PLC memory Their connection
to the PLC is established by means of tags.
Screen objects
Various screen elements are used to display and operate a screen:
Output fields Input fields Texts Graphics Status buttons Bar graphs Message view
A summary of all the screen objects which a TP 170A project may contain is provided in Chapter 5.
Trang 31This chapter introduces the screen objects which may be contained in a
configuration and explains their operation It provides the following information:
a summary of screen objects (Page 5-2) the Status button (from Page 5-3) messages (from Page 5-5) logging in and out of the operating unit (Page 5-7)
5
Trang 32Operation of Screen Objects
Table 5-1 Screen objects configurable for the TP 170A
Screen object Use/Description
Output field The output field displays the current value received
from the PLC in numeric or alphanumeric form
Input field The input field is used to enter values which are then
transferred to the PLC The characters 0 9 and A Fare available for input Entries which lie outside thespecified value range are rejected according to the limitvalues which have been configured
Input fields can be password protected Notes on inputare provided on Page 4-4
Text Text is used during configuration to label operating and
display elements, for example Text can be configuredover several lines and cannot be altered on theoperating unit
Graphics Graphics can be used in the configuration, e.g to
represent a system or as an illustrative symbol forconfigured display and operating elements
Status button A Status button is a display and input element with two
Direction, scaling and labeling the axis can beconfigured as required In order to identify limit values,limit value lines can be called in
Message view Special filter criteria for displaying pending messages
are configured in the message view
Notes on operation are provided on Page 5-6
Trang 33Operation of Screen Objects
In addition to the tags, which represent the current switch status, the configuration software can be used to define text or graphics for the two statuses ON and OFF.
Option push button:
The Status button reacts as a key-in button When pressed, the Status button changes to the status ON It remains in this status as long as the Status button
is pressed When released, it automatically switches back to OFF.
Event-related initiation
Use the configuration software to assign the Status button one or more functions and to define which events result in the respective function being triggered The events which can be configured are:
If the status of the Status button changes from the type switch due to a
modification of the configured variables, none of the described events is triggered.
Trang 34Operation of Screen Objects
Representation
When the Status button is set to switch, the configuration software can be used to assign different text or graphics to indicate the status of the button during runtime Figure 5-1 illustrates an example of a Status button when pressed (left) and not pressed (right).
Figure 5-1 The two statuses relate to the Status button when the Switch option is set
Trang 35Operation of Screen Objects
5-5
TP 170A Equipment Manual
Release 12/99
What are messages?
Messages which appear on the operating unit indicate events and statuses related
to the control process and operating unit itself A message can contain text and tags.
The operating unit differentiates between event messages and system messages:
Event messages
indicate the status in a process, e.g Motor ON Event messages are configured They are triggered when a bit is set in the PLC.
System Messages
are triggered by the operating unit They do not have to be configured.
System messages indicate incorrect operations or communication faults, for example A time period can be considered for system messages in the configuration software This defines how long a system message appears on the operating unit.
A list of the most important system messages is provided in the Appendix C.
Message events
These messages are triggered according to events Message events on the
TP 170A include:
Message arrival
A message which has been triggered is considered as having arrived As soon
as message is triggered, it is displayed in the operating unit message display and is then considered as queued.
Trang 36Operation of Screen Objects
Message view
The TP 170A can display up to 16 messages in the message view If more than 16 messages are present simultaneously on the operating unit, the oldest message in the queue is deleted.
It is possible to define specific views of the messages to be displayed in the message view Various filter criteria is available for this in the configuration
software.
The following can be configured
Message categories (event and system messages only) Number of columns
Number of lines per message Sorting (oldest or latest message at the top) Maximum number of visible messages The figure illustrates an example of a message view with the configured columns Date
Time Message number Message status Message text
12.12.99 14:27:06 110001 K
Change to operating status ’online’
12.12.99 14:27:07 140001 K
Connection discontinued: Station 2, Rack 0, Slot 0
Synchronize date and time
In order to synchronize the date and time on the operating unit with the PLC, the area pointer Date/Time PLC must be set up in the project in ProTool/Pro CS During runtime, the operating unit accesses these data areas in the PLC for reading purposes and synchronizes the date and time in the configured acquisition cycle with the PLC This data is provided, for example, in the message time stamps issued in the message display.
Detailed information concerning the area pointers is provided in the
ProTool Configuring Windows-based Systems user’s guide, in the configuration software online help and in the Communication for Windows-based Systems user’s manual.
Trang 37Operation of Screen Objects
During the configuration, input fields and buttons can be protected against
unauthorized operation by assigning passwords Important parameters and
settings can then only be modified by authorized personnel The password is defined at the moment the element is configured and cannot be modified via the operating unit.
Logon
If operating elements are to be assigned password protection in the configuration,
it must be possible for the operator to log on In this case, the function Logon_User must be linked with an operating element, preferably an input field, in the
configuration.
In order to access a password protected operating element during runtime, it is necessary to log on on the operating unit It is then possible to access all password protected operating elements up to the point of logging off from the operating unit.
Logoff
In order to rule out operation by unauthorized personnel, the logon should not remain active on the operating unit for too long a period of time The following options are available with which to log off from the operating unit:
Configured logoff time expires
If the operating unit is not operated by the user within the configured period (logoff time), he is automatically logged off from the operating unit.
Log off of the operating unit
If the configuration links the function Logoff_User with an operating element, the element can be used log off from the operating unit.
Trang 38Operation of Screen Objects
Trang 40System Settings
Conditions for changing operating modes
In order to switch between the operating modes described below, the function Change_mode must be linked to an operating element in the project.
When using this mode, processes can be operated and visualized without
restriction There is a logical connection between the operating unit and PLC or the operating unit attempts to establish one.
Online mode is the predefined operating mode each time the operating unit is started up.
Download mode
This operating mode is used to transfer a configuration from the configuration computer to the operating unit Further information on Download mode is provided
in Chapter 3.3.