Showing posts with label SIMATIC. Show all posts
Showing posts with label SIMATIC. Show all posts

S7-300/400 CPUs: Temperature Recording in the S7-CPU by Means of Pt100 Resistivity Thermometer and SITRANS TK-L Measuring Transducer

Labels: , , ,

Problem

Almost everywhere where products or materials are processed or worked, the temperature has a decisive influence on the quality of the final product and the course of the process respectively. It is thus necessary to record the temperature, to interpret its influence and to specifically react to changes in temperature using control technology.

Solution

The device combination of SIMATIC products and SIEMENS temperature sensors including measuring transducers is an excellent solution to the mentioned problem. In this application, a Pt100 sensor records the temperature of a measuring object and a SITRANS TK-L measuring transducer converts the sensor's measuring signal into an injected current which is supplied to an analog input of the compact CPU. The current temperature measurement value is displayed both numerically and as a bar chart on a TP170A touch panel.

Using the special STEP7 application software, which you can download (see below), it is additionally possible to ...

  • define seven temperature ranges which are displayed on the touch panel and represented by DO bits. These bits can be used to trigger various user actions.

  • display limit temperature violations requiring acknowledgement, react to them (in the program) and acknowledge them.

  • provide the last insufficient or excess temperature with a time stamp.

The WinCC flexible configuration of the TP170A is integrated in the STEP7 project. The user interface languages German and English can be selected.

Downloads

Content of Downloads

Download

Documentation (German)
Application Description
23541638_Temperaturmessung_DOKU_V20_d.pdf ( 1094 KB )
Documentation (English)
Application Description
23541638_Temperaturmessung_DOKU_V20_e.pdf ( 1044 KB )
Code
STEP7 Project
23541638_Temperaturmessung_V20.zip ( 3007 KB )

History

Version

Modification

07/2002 First edition (V1.0)
08/2006 Second edition (V2.0) complete revision and update

Filter criteria:
Hardware platform: SIMATIC S7-300/S7-400
Software: STEP 7
Entry contents: Application Examples






The Graphical Language S7-GRAPH

Labels: , , ,

Topic
SIMATIC software is the integrated system environment for all SIMATIC systems and provides you with the ideal tool for every task at each phase of your project for optimizing your engineering workflow. If there are sequential operations in a facility which are dividible into single processing steps, the automation solution will be considerably simplified with the use of sequence charts by means of the graphical language S7-GRAPH which can be applied easily and intuitively.

Content
Taking a technological example we demonstrate how to employ the S7-GRAPH engineering tool to realize a sequence chart.You will learn how a technological runtime structure can simply be turned into a runnable user program. This module shows in graphically animated scenes

  • the customer benefits that the tool provides for each relevant project phase,
  • the basic functions of the tool
  • live projection of sequence charts..

Presentation
The following properties are contained in all technically-oriented demonstration systems:

  • All graphic animations are explained by a spoken text which has been read by German, respectively English native professional speakers.
  • The respective sections of the demonstration system can be clicked on by means of navigation elements. You may, for example, repeat any section any time.
  • Continuative links and support pages have been integrated.

The following picture shows the home page of the demonstration system.

Downloads

Content of Downloads

Download

Demonstration System "The Graphical Language S7-GRAPH"(German)
Duration of Animation: 16 min
Download size 34 MB
21062148_S7_GRAPH_v20_d.exe ( 33545 KB )
Demonstration System "The Graphical Language S7-GRAPH"(English)
Duration of Animation: 16 min
Download size 52 MB
21062148_S7_GRAPH_v20_e.exe ( 51571 KB )

Just load the EXE data file at hand on your computer and start it with a mouse click. You may as well start the EXE data file directly out of your browser.

History

Version

Modification

12/2004 First edition
09/2008 Update to version v20: correction for the correct execution of the demonstration system on PC/Notebooks have been made. The content of the demonstration system has not been changed.





S7-400 CPU 41x -- Configuring and programming communication -- Configuring the PROFIBUS interface

Labels: , , , , , , , , , , ,

What differences are there when configuring S7 connections?

Description:
In this description of how to configure S7 connections it is assumed that all the stations are in one S7 project.

Types of S7 connections:
With S7 connections you differentiate between bilaterally configured and unilaterally configured S7 connections.

Bilaterally configured S7 connections
You recognize bilaterally configured connections by the fact they they receive a connection ID at both endpoints. The partner ID can be identical for both connection partners, but doesn't have to be. The remote endpoint of the S7 connection created is entered automatically in the connection table on the partner side.

Unilaterally configured S7 connections
Unilaterally configured S7 connections are configured on the module that actively sets up the S7 connection. If an S7-300 or S7-400 station actively sets up the S7 connection, then you call communication blocks FB/SFB14 "GET" and FB/SFB15 "PUT" in the CPU's user program (client). You can use these for data communication via unilaterally and bilaterally configured S7 connections. You can only use the communication blocks FB/SFB12 "BSEND" and FB/SFB13 "BRCV" and FB/SFB8 "USEND" and FB/SFB9 "URCV" for data communication via bilaterally configured S7 connections.
In NetPro there is a connection table with all the configured communication connections. Unilaterally configured S7 connections have no entry in the "Partner ID" column of the connection table. This field remains empty in the connection table. No S7 connection is configured on the server and no communication blocks are called. The server is managed independently by the CPU's operating system and has resource 0x03. No system data is created for this in the connection partner.


Fig. 1: Bilaterally and unilaterally configured S7 connection

Summary:

  • All S7 connections that have a connection ID at both connection endpoints are bilaterally configured S7 connections.

  • S7 connections that have no partner ID are unilaterally configured S7 connections or have been created via "unspecified" S7 connections with resource 0x03.

Important:

  • With bilaterally configured S7 connections you must load the configuration in both connection partners after creating the S7 connection.
  • With unilaterally S7 connections you must load only the one station in whose connection table the S7 connection is shown.

Note:
In the sample S7 connection configuration given above all the stations are in one S7 project. You can also set up an S7 connection to an unspecified partner and the endpoints of these connections can be in different projects. More information on this is available in the Online Help of STEP 7:

  • Configuring cross-project connections.
  • Connection types for partners in other projects
  • Creating cross-project subnetworks.

Keywords:
Connection configuration, S7-300, S7-400, SIMATIC, Connections, Creating a connection, Client, Server, Connection setup, NetPro