Info CS Getting Started 24 en
Info CS Getting Started 24 en
Warning
! Means that death, severe injury or extensive damage to equipment can be
caused, if the respective safety measures are not taken.
Caution
! Means that material damage or minor injuries can result if the corresponding
safety precautions are not followed carefully.
Caution
Means that material damage can result if the corresponding safety precautions
are not followed carefully.
Attention
Refers to important information on the product, handling of a product or a
corresponding segment of the documentation to which special attention should be
given.
Qualified Personnel
Commissioning and operation of a device may only be performed by qualified personnel. Qualified personnel, in
regards to the technical safety notices in this product information are persons, who have been assigned with the right to
operation, to ground and to certify devices, systems and power circuits according to the applicable safety standards.
Intended Utilization
Warning
! The device may only be utilized for the applications described in the catalog and the technical
description and only in conjunction with external devices and components that are approved or
recommended by Siemens.
Fault-free and safe operation of the product depend on proper transport, proper storage, assembly,
installation, operation and maintenance.
iv SIWAREX FTA
SIWAREX CS
Safety Instructions
Table of Contents
Preface 1
“Getting started” for SIWAREX CS Scope of Delivery 2
Overview 3
Information
Operator Info 4
Configuring 5
Technical Data
6
Accessories
7
Issue 06/2004
SIWAREX FTA v
Contents
1 Preface.................................................................................................................................... 1-1
1.1 PURPOSE OF THE INFORMATION ................................................................................................ 1-1
1.2 PREPARATIONS FOR THE “GETTING STARTED” SOFTWARE ........................................................ 1-1
1.3 REQUIRED BASIC KNOWLEDGE ................................................................................................. 1-1
1.4 FURTHER SUPPORT .................................................................................................................... 1-1
2 Scope of Delivery .................................................................................................................. 2-2
2.1 SYSTEM PREREQUISITES ............................................................................................................ 2-2
3 Overview................................................................................................................................. 3-3
3.1 GENERAL .................................................................................................................................. 3-3
3.2 BENEFITS................................................................................................................................... 3-3
3.3 APPLICATION RANGE ................................................................................................................ 3-3
3.4 STRUCTURE ............................................................................................................................... 3-3
3.5 FUNCTION ................................................................................................................................. 3-4
3.6 COMMISSIONING- AND SERVICE WITH SIWATOOL CS ........................................................... 3-5
4 Operator Info.......................................................................................................................... 4-6
4.1 GENERAL .................................................................................................................................. 4-6
4.2 START SCREEN .......................................................................................................................... 4-6
4.3 SCALE VIEW .............................................................................................................................. 4-6
4.4 MENU ........................................................................................................................................ 4-7
4.5 OPERATING AND MONITORING .................................................................................................. 4-8
4.6 SERVICE SECTION ...................................................................................................................... 4-8
4.7 SCALE PARAMETERS .................................................................................................................4-12
4.8 MEANING OF THE FUNCTION KEYS ..........................................................................................4-13
5 Configuring .......................................................................................................................... 5-15
5.1 COMMAND GROUPS..................................................................................................................5-15
5.2 PROGRAM INSTALLATION IN STEP7.........................................................................................5-15
5.3 COMMAND MANAGER FC30 ....................................................................................................5-15
5.4 CALLING THE SCALE FB...........................................................................................................5-17
5.5 ALARMS ...................................................................................................................................5-18
5.6 CONFIGURING WITH PROTOOL .................................................................................................5-18
5.7 PROGRAM INSTALLATION IN PROTOOL ....................................................................................5-18
5.7.1 Setting up another CPU...................................................................................................5-18
5.7.2 Setting up another TP/OP................................................................................................5-19
6 Technical Data ..................................................................................................................... 6-20
6.1 PROGRAM SCOPE ......................................................................................................................6-20
6.2 CYCLE TIME .............................................................................................................................6-20
7 Accessories and Expansions............................................................................................. 7-21
Images
FIGURE 3-1 PROGRAM STRUCTURE STEP7 FOR SIWAREX CS “GETTING STARTED”.... 3-4
FIGURE 3-2 INITIAL COMMISSIONING WITH SIWATOOL CS ............................................... 3-5
FIGURE 4-1 START SCREEN FOR TOUCH PANEL TP270 ........................................................ 4-7
FIGURE 4-2 SCREEN – MENU FOR SIWAREX CS ..................................................................... 4-7
FIGURE 4-3 SCREEN – OPERATING AND MONITORING ........................................................ 4-8
FIGURE 4-4 SCREEN – SCALE ADJUSTMENT PAGE 1............................................................. 4-9
FIGURE 4-5 SCREEN – SCALE ADJUSTMENT PAGE 2............................................................. 4-9
FIGURE 4-6 SCREEN – SCALE ADJUSTMENT PAGE 3............................................................4-10
FIGURE 4-7 SCREEN – SCALE ADJUSTMENT PAGE 4............................................................4-10
FIGURE 4-8 SCREEN – SCALE ADJUSTMENT PAGE 5............................................................4-11
FIGURE 4-9 SCREEN – READ MODULE DATA .........................................................................4-11
FIGURE 4-10 SCREEN – SETTINGS FOR THE TOUCH PANEL .................................................4-12
FIGURE 4-11 SCREEN – EXTERNAL TARE DEFINITION ..........................................................4-12
vi SIWAREX FTA
SIWAREX CS
Tables
TABLE 6-1 REQUIRED MEMORY ..............................................................................................6-20
TABLE 6-2 CYCLE TIME .............................................................................................................6-20
1 Preface
All of the information required for setting up the system with SIWAREX CS “Getting
started” is in this information.
This demo-software shows the setup work required for the SIWAREX CS in
SIMATIC S7 through a set of examples. This demo-software may be changed,
copied or expanded. Any claims resulting from the use of the demo-software
are excluded.
Do you have any more questions about using the SIWAREX CS ? Then please
contact your Siemens representative in the office or business location that is
responsible for your area or technical support for SIWAREX
Tel.: +49 (0)721 595 2811.
Updated information on SIWAREX weighing technology can be found on the
relevant Internet site.
http://www.siwarex.com
SIWAREX CS 1-1
Scope of Delivery
2 Scope of Delivery
The project has been created for the following ET 200S – heads:
- CPU head and Touch Panel TP270B (Full version)
- CPU 315-2 DP and High Feature – Head and Touch Panel TP270B (Full
version)
- CPU 315-2 DP and Standard head (Mini-version without data record
communication) and Touch Panel TP270B
- CPU 315-2 DP and Basic head (Mini-version without data record
communication) and Touch Panel TP270B
The project is made up of two parts:
- STEP7 Software for the CPU
- ProTool Software for the Touch Panel TP270B.
Both parts can set up again to be used with other devices:
- STEP7 Software with all CPUs from series S7-300 and S7-400 and a head ET
200S.
- ProTool Software can be converted in the devices TP/OP/MP 170/270/370.
The message system (FC2) is bit-based. This way, incoming messages from
SIWAREX CS are shown to the operator.
The basic equipment is also required for the setup work – the configuration
package SIWAREX CS for SIMATIC S7 (Order number 7MH4910-0AK01). This
configuration package consists of the following:
- SIWATOOL CS Commissioning program for Windows
- Hardware Update for the SIMATIC Manager hardware catalog
- Standard software for operating the SIWAREX CS in SIMATIC S7
- Device manuals in several languages
System prerequisites for using SIWAREX CS “Getting started”:
- SIMATIC STEP7 Version 5.2 and higher
- ProTool Version 6.0 and higher
SIWAREX CS 2-2
Overview
3 Overview
3.1 General
3.2 Benefits
3.4 Structure
SIWAREX CS 3-3
message block (FC2). Of course the message system can be integrated into the
customer's message system.
3.5 Function
3-4 SIWAREX CS
Overview
SIWAREX CS 3-5
4 Operator Info
4.1 General
The description for the operator should describe the operation and monitoring of
the weighing installation. The description corresponds with the current status of the
SIWAREX CS “Getting started” software.
The descriptions for individual scale parameters and scale functions can be found
in the SIWAREX CS and are not explained individually in the display of the
individual SIWAREX CS “Getting started” screens.
All of the existing screens are shown in this product info.
The program starts with the SIMATIC – Configuration screen . The scale view can
be selected from this screen. The start screen can be replaced with another image
such as a customer logo.
The operator of the scale can perform operations and monitoring from the Scale
View image. The weight is displayed In the center of the screen.
The explanation of the function of the buttons is found in chapter: Meaning of the
Function Keys 4.8.
4-6 SIWAREX CS
Operator INFO
4.4 Menu
The operator can control and observe from this menu screen or he can select the
service section for commissioning the scale.
SIWAREX CS 4-7
4.5 Operating and Monitoring
In the scale view screen, the current scale status can be observed. Commands can
be sent to the scale by pressing buttons.
- Adjustment (5 screens)
- Read module data (1 screen)
- Settings for language and the Touch Panel
4-8 SIWAREX CS
Operator INFO
SIWAREX CS 4-9
Figure 4-6 Screen – Scale adjustment Page 3
4-10 SIWAREX CS
Operator INFO
SIWAREX CS 4-11
Figure 4-10 Screen – Settings for the Touch Panel
The tare weight and the limit values can be predefined as weighing parameters for the
SIWAREX CS.
4-12 SIWAREX CS
Operator INFO
Next page
Previous page
Tare
SIWAREX CS 4-13
Delete tare weight
Previous screen
4-14 SIWAREX CS
Configuring
5 Configuring
The SIWAREX CS “Getting started” software is defined for operation with a scale.
You can find the SIWAREX CS module in SIMATIC HW catalog in PROFIBUS DP,
ET 200S in the group of function modules.
If you can not find SIWAREX CS in the SIMATIC Manager the SIWAREX CS
module must first be inserted in the HW catalog. Select the function "Install HW
updates" from the „Tools“ menu. Then select „Install from file“. The file for updating
the SIWAREX CS module is located in the UPDATE_FOR_SIMATIC_S7 directory
of the SIWAREX CS configuration package for S7 (Order number 7MH4910-
0AK01). After the update, SIWAREX CS can be found under the FM modules for
ET 200S.
If you are using the same SIMATIC CPU, as in the project, you can simply load the
software from the project into the CPU. The program can be run immediately
afterward.
If you are using a different CPU, the hardware must be planned in the HW_Konfig
first. The current CPU must be deleted and replaced with the new CPU in this
case. When asked whether the program should also be deleted, enter "No".
Then transfer the program modules (FBs, FCs, OBs, DBs but not the SDB) to the
module folder in the new CPU.
The commands of a scale are controlled by the appropriate function FC30. Using
function FC30 the commands can be executed on the scale by three different job
slots with different priorities.
CMD1 has the highest priority, CMD3 the lowest.
Calling the command manager is done in the OB1 in network 3. The commands
are actuated through various points in the program:
- by the operator at OP/TP with priority 2
- by time OB35 with priority 3
Priority 1 is not occupied.
SIWAREX CS 5-15
CALL "Fc Execute command"
iCmdInput :="DB_SCALE_CS".i_CMD_INPUT
boCmdEnable :="DB_SCALE_CS".bo_CMD_TRIGGER
boCmdInProgress:="DB_SCALE_CS".bo_CMD_IN_PROGRESS
boCmdFinishedOk:="DB_SCALE_CS".bo_CMD_FINISHED_OK
boCmdErr :="DB_SCALE_CS".bo_CMD_ERR
sCmd_1 :=DB21.DBD24
sCmd_2 :=DB21.DBD28
sCmd_3 :=DB21.DBD32
The input variable s_Cmd_1 contains the command code and the control bits for
the command handling.
If FC30 is used as a command manager, the commands may not be transferred
directly to the SIWAREX by calling FB42/FB43, but through structure CMD1,
CMD2, CMD3.
5-16 SIWAREX CS
Configuring
Calling the FB SICS_DR or SICS_BA is done in OB1. The FB is called with the
following parameters:
SIWAREX CS 5-17
5.5 Alarms
The scale messages are decoded with the FC2 and converted into a bit message
field. The message texts and help texts (German and English) are integrated in the
control unit.
Of course, the user can delete these program sections and use his own message
system.
CALL FC 2
db_DB_ALARM :=DB100
i_FIRST_DBB :=20
bo_CMD_ERR :="DB_SCALE_CS".bo_CMD_ERR
b_CMD_ERR_CODE :="DB_SCALE_CS".b_CMD_ERR_CODE
b_OPR_ERR_MSG :="DB_SCALE_CS".b_OPR_ERR_MSG
bo_FB_ERR :="DB_SCALE_CS".bo_FB_ERR
b_FB_ERR_CODE :="DB_SCALE_CS".b_FB_ERR_CODE
bo_DEL_BIT_AREA:=M20.0
bo_EDGE_1 :=M20.1
bo_EDGE_2 :=M20.2
If you are using the planned CPU and TP270B, the program is ready for operation
immediately after loading into the TP270B (or Start of Runtime in ProTool). When
loading with the MPI interface, use MPI-address=1 for TP270B, MPI-address=2 for
the CPU and address 4 for the PROFIBUS head station.
If you are using another CPU, the project must be integrated into the new
environment.
5-18 SIWAREX CS
Configuring
Select the controller from the Controllers menu in ProTool and link the controller for
the communication with the OP/TP in the Parameter menu.
Then, activate the Restore symbol in the Edit menu.
In the last step, the project must be loaded to the target OP/TP.
If another SIMATIC-HMI device is used, the project must be integrated into the new
environment.
After activating the menu for project conversion, you are offered a list of possible
target devices. Select the device from the list and perform the conversion.
The following procedures are handled as they are when using a new CPU – see
Setting up another CPU 5.7.1.
SIWAREX CS 5-19
6 Technical Data
6-20 SIWAREX CS
Accessories AND EXPANSIONS
SIWAREX CS 7-21