GS_c7-613_e.pdf

(267 KB) Pobierz
SIMATIC
C7-613 Control System
Getting Started
Edition 01/2004
812743025.052.png 812743025.063.png 812743025.073.png 812743025.084.png 812743025.001.png 812743025.003.png
Introduction
This instruction manual introduces you to the functions of the C7-613 using operator
steps and add-ons to the existing sample project “ZXX31_01_C7-613.” References to the
“C7-613 Control System” manual are provided to give you an initial overview of the infor-
mation you can find there.
You will need 1 to 2 hours to perform the sample project, depending on you level of expe-
rience.
Siemens
SIMATIC C7
Micro
Memory
Card
I/O
connector
Backplane
bus
(I/O bus)
SF
5 VDC
FRCE
RUN
Program-
ming
device
connection
(MPI)
24 VDC
0 V
STOP
Supply
connector
I/O connector
Analog output
C7-613 with Connectors and Sockets
Task Definition
Start up the C7-613, perform simple input operations, and expand the existing configura-
tion by creating new HMI objects. You use the S7 program “C7-613 Basic” as the basis.
For comparison, the S7 program “C7-613 Extended V2” has been included with all the
expansions.
Requirements
The following requirements must be met to perform this task:
You have a C7-613 with an inserted Micro Memory Card (recommended size of
128 Kbytes) and a 24 V DC power supply module.
You have jumpered the authorization bridge Pin 1 (AT2) with Pin 2 (AT1) on the supply
connector (see Figure “C7-613 with Connector and Sockets”).
You have connected the C7-613 to the 24 V DC power supply using the supply con-
nector (see Figure “C7-613 with Connector and Sockets”).
STEP 7 V5.2 is installed correctly on your programming device/PC.
You have the CD “Configuration Tools for SIMATIC C7-613”. The CD includes the
“C7 613” library with the required FBs, UDTs, and the sample program
“ZXX31_01_C7-613”.
The programming device/PC is connected to the C7-613 using the MPI connector.
2
Getting Started – C7-613
A5E00138955-02
812743025.004.png 812743025.005.png 812743025.006.png 812743025.007.png 812743025.008.png 812743025.009.png 812743025.010.png 812743025.011.png 812743025.012.png 812743025.013.png 812743025.014.png 812743025.015.png 812743025.016.png 812743025.017.png 812743025.018.png 812743025.019.png 812743025.020.png 812743025.021.png 812743025.022.png 812743025.023.png 812743025.024.png 812743025.025.png 812743025.026.png 812743025.027.png 812743025.028.png 812743025.029.png 812743025.030.png 812743025.031.png 812743025.032.png 812743025.033.png 812743025.034.png 812743025.035.png 812743025.036.png 812743025.037.png 812743025.038.png 812743025.039.png 812743025.040.png 812743025.041.png 812743025.042.png 812743025.043.png 812743025.044.png 812743025.045.png 812743025.046.png 812743025.047.png 812743025.048.png 812743025.049.png 812743025.050.png 812743025.051.png
Notes on the installation guidelines for fail-safe installation are provided in Section 2.5 of
the manual.
Warning
Operating the C7-613 as part of a plant or system requires that certain rules and stan-
dards be followed, depending on the application.
Observe the applicable safety and accident prevention standards, such as
IEC 204 (Emergency OFF devices).
Failure to observe these standards may cause serious bodily injury, and may damage
machines and facilities.
!
Warning
You may come into contact with live electrical wires if the power supply module is swit-
ched on or the supply lead of the power supply module is connected to the network.
Wire the C7-613 only when it is disconnected!
!
Step 1: Installing the sample project and the library
Se-
quence
Action
Result
1
Close all applications (for example, STEP 7, MS Word,
etc.). Insert the “Configuration Tools for
SIMATIC C7-613” CD into the drive. Start the installa-
tion program on the CD by double-clicking the
SETUP.EXE file in the SETUP folder.
This starts the installation program.
2
Follow the instructions of the installation program.
If the installation was successful, the
“C7 613” library and the sample program
“ZXX31_01_C7-613” are stored on your
programming device/PC.
The library contains all of the FBs required
for the HMI functions, as well as the UDTs
and DBs for storing the HMI configuration
data.
The sample program “ZXX31_01_C7-613”
is stored in the ...\Siemens\Step7\Examples
directory.
Step 2: Setting up your own project
Se-
quence
Action
Result
1
In the ...\Siemens\STEP7\Examples directory, open the
“ZXX31_01_C7-613” project with
File > Open... > Sample projects .
A split window appears containing the title
of the project.
2
Create a copy of the project with File > Save As
The “Project Save As” window is displayed.
3
Enter your choice of name for the new project in the
“Name” field, and then click “OK”.
Your project is created and opened.
4
In your project, double-click the
“SIMATIC C7-613 V2”.
The station is opened.
Getting Started – C7-613
A5E00138955-02
3
812743025.053.png 812743025.054.png 812743025.055.png 812743025.056.png 812743025.057.png 812743025.058.png 812743025.059.png 812743025.060.png 812743025.061.png 812743025.062.png 812743025.064.png 812743025.065.png 812743025.066.png 812743025.067.png 812743025.068.png 812743025.069.png 812743025.070.png 812743025.071.png 812743025.072.png
 
Se-
quence
5
Action
Result
Open the “C7-613 Basic” S7 program of the
C7 CPU 613 and click the “Block” container. If needed,
change to the detail view with View > Details .
The blocks listed below are displayed.
Block
Name
Description
(in the toolbar)
System data
System data blocks for the C7-613
OB1
CYCL_EXEC
Cyclic program processing
FBs from the “C7-613” library (called up in OB1):
FB1
HMI API
FB for the basic HMI functions
FB2
HMI EVENT
FB for the message output
FB3
HMI MENU
FB for the screen hierarchy/display sequence
FB11
TIME
FB for setting the time
DB1
API_IDB
Instance DB of FB1 HMI API
DB2
EVENT_IDB
Instance DB of FB2 HMI EVENT
DB3
MENU_IDB
Instance DB of FB3 HMI MENU
DB10
WORK_DB
DB for work data
DB11
TIME_DB
Instance DB of FB11 TIME
Basic parameter assignment for the HMI functions:
DB99
MENU_DB_APP
DB for the screen hierarchy/sequence
(language-independent)
DB100
CONFIG
Configuration DB (language-independent)
DBs containing the HMI configuration data in English :
DB101
SCREEN_1_LANG_1
DB for screens in English
DB102
MESSAGE_1_LANG_1
DB for messages in English
DB103
INFO_LANG_1
DB for info texts in English
DBs containing the HMI configuration data in German :
DB104
SCREEN_1_LANG_2
DB for screens in German
DB105
MESSAGE_1_LANG_2
DB for messages in German
DB106
INFO_LANG_2
DB for info texts in German
DBs containing the HMI configuration data in French, Spanish, and Italian:
DB107 to 115
DB127
EVENT_BUFFER
DB for backing up the event buffer
UDT 1...6 , 11...16
UDTs for the formation of the DBs for the
HMI configuration data
DIAGNOSIS
DIAGNOSIS
Variable table for diagnostics
MESSAGES
MESSAGES
Variable table for message output
SFC0,1,...
C7 CPU 613 system functions
4
Getting Started – C7-613
A5E00138955-02
812743025.074.png 812743025.075.png 812743025.076.png 812743025.077.png 812743025.078.png 812743025.079.png 812743025.080.png 812743025.081.png
Se-
quence
6
Action
Result
Switch the C7-613 to the STOP state.
The following message is output on the
LCD display:
“$ 008
CPU is in STOP!”
To do so, press the operating mode key:
7
In the STOP state of the CPU download all the blocks
of the “C7-613 Basic” S7 program with PLC > Down-
looad User Program to Memory Card into the
C7-613 connected to your programming device/PC.
The programming device/PC loads the pro-
gram and the HMI configuration to the MMC
of the C7-613.
8
After the loading operation is completed, switch the
C7-613 to RUN mode.
To do so, press the operating mode key:
The HMI configuring data are loaded from
the MMC to the memory of the integrated
HMI module. The following message is out-
put on the LCD display:
“$ 002 transfer
Downloading user data”
After the downloading process has been
completed, the idle message
“SIMATIC C7-613 V...” is displayed.
Step 3: Performing operator inputs
You will next perform the following actions:
Select a language
Select a screen
Enter a value
Display info texts
Output and acknowledge fault messages
Selecting a Language:
The sample project is prepared in several languages in which the HMI objects (screens,
messages, info texts) can be displayed. By switching the language, you change the lan-
guage that is currently displayed.
Getting Started – C7-613
A5E00138955-02
5
812743025.082.png 812743025.083.png 812743025.085.png 812743025.086.png 812743025.087.png 812743025.088.png 812743025.089.png 812743025.090.png 812743025.091.png 812743025.092.png 812743025.093.png 812743025.094.png 812743025.002.png
Zgłoś jeśli naruszono regulamin