What is the difference between the PC Adapter and the TS Adapter in communication between the PC and the S7?

Labels: ,

Configuration Notes:
The PC Adapter and TS Adapter differ with regard to their firmware, function and in the way they are parameterized:

  • The MPI/DP/PPI interface for the PC Adapter is parameterized directly in the STEP 7 software using the Set PG/PC interface... function.
  • The MPI/DP/PPI interface of the TS Adapter is parameterized from the TeleService software via the function Extras > Parameterize adapter. Unlike with the PC Adapter, the parameters are stored directly in the TS Adapter.

There are two types of application:

  • Modem connection
  • Direct connection (serial or USB)

Only direct connection is possible via the PC Adapter (6ES7 972-0CA2X-0XA0) and PC Adapter USB (6ES7 972-0CB20-0XA0). The table below explains which PC Adapters can be used for transfer and communication between the PC and the S7.

No. PC/TS Adapter
1 SIMATIC PC Adapter (serial RS232)
You can use the following PC Adapter for communication between a PC (COM interface) and a SIMATIC S7 (MPI/DP interface):
  • PC Adapter (serial conforming to MPI) - order number 6ES7 972-0CA23-0XA0

Conversion from RS232 to RS485 takes place in the PC Adapter. The PC adapter must be supplied with current via the MPI connector. More information on the power supply and connection required is available in our Entry ID: 20279422.

Note:
This PC Adapter is not approved for transferring the ProTool configuration to the operator panel.

2 SIMATIC PC Adapter USB
The SIMATIC PC Adapter USB connects a PC (also for notebooks) via a USB interface with the MPI/DP interface of an S7/C7 systems and can also be used with PRODAVE MPI as from version V5.6.
  • PC Adapter USB - order number 6ES7 972-0CB20-0XA0

Note:
Please note that PRODAVE MPI V5.6 does not work with the S7-200 USB/PPI Multi-Master Cable (6ES7 901-3DB30-0XA0).

3 TS Adapter II
You can parameterize the TS Adapter II for both modem and direct connection.
  • Modem connection: The TS Adapter II permits a component running on a PC (e.g. STEP 7) to access automation components (S7 and C7) on an MPI/DP/PPI bus via the telephone network. You need the TeleService application to set up a remote connection.
  • Direct connection: With a direct connection, the TS Adapter II permits data exchange between the PG/PC and an S7/C7 via the Universal Serial Bus (USB). In the case of a direct connection, the TS Adapter II functions like a PC Adapter USB.

You need at least TeleService V6.0 to parameterize the TS Adapter II. You can also use previous versions to set up a remote connection and, if necessary, log on on the TS Adapter II.

4 TS Adapter IE
The TS Adapter IE adapter has the following functions:
  • Teleservicing via the telephone network: Applications running on a PG/PC, e.g. STEP 7, can access the automation components S7 and C7 that are connected to the Industrial Ethernet.
  • For this, the TS Adapter IE requires
  • A connection to the automation components via the Industrial Ethernet,
  • A modem connection to the PG/PC.
  • Sending e-mails from a SIMATIC CPU via the TS Adapter IE. For this the TS Adapter IE sets up an outgoing modem connection to a dial-up server, for example an Internet Service Provider, and sends the e-mails via a mail server that is available there.
  • Standard routing: You can set up a modem connection to an Internet Service Provider and then access Internet data using a browser.

You need the application TeleService V6.1 or higher, or the Windows dial-up network to set up a remote connection via the telephone network.

Note:
Helmholtz PC adapters cannot be used for online operation in conjunction with the FM353 and the FM354.

TS Adapter (6ES7 972-0CA3X-0XA0) and TS Adapter II (6ES7 972-0Cx35-0XA0) support both types of application (direct and modem connection). Information on the two types of connection follows.

Operating the TS Adapter with direct connection

Direct connection:
The direct connection is primarily for parameterizing the TS Adapter. In the same configuration you can also go online in STEP 7 and in this way you can check the MPI/PROFIBUS/PPI parameters for bus compatibility. In this way it is possible to access S7/C7 systems via the MPI/DP interface (as with a PC Adapter).
With the direct connection there is no access protection active for the TS Adapter. Thus it is possible to change the TS Adapter's parameters without any problem, e.g. by importing adapter parameters.

Setting up the direct connection:
With the direct connection a connection is set up directly via the TS Adapter between the PG/PC on which TeleService is installed and the automation system. You do not need a modem.
With the direct connection you can work with transmission rates of 19200 bit/s or 38400 bit/s at the TS Adapter's serial interface. To switch between transmission rates you must change the switch on the TS Adapter and also change the parameters in the software using the "Set PG-PC interface..." function. In the case of direct connection, TS Adapter II works via the USB. Here there is no transmission rate to set.

The following figure shows the TS Adapter in the direct connection configuration.


Fig. 01

Operating the TS Adapter with modem connection

Setting up a modem connection:
The connection between the PG/PC on which TeleService is installed and the automation system at whose MPI/DP/PPI interface the TS Adapter is slotted is set up via a modem route.
Thus the configuration connects the PG/PC via the telephone network and the TS Adapter at the MPI/DP/PPI interface of the automation system.
The following figure shows the TS Adapter in the modem connection configuration.


Fig. 02

There are two options for the TS Adapter IE:

  1. TS Adapter IE Modem;
    with internal modem and connection for an external modem or ISDN TA.
  2. TS Adapter IE ISDN;
    with internal ISDN TA and connection for an external modem or ISDN TA.


Fig. 03

Purpose:
This configuration permits you to dial into a remote system. For this you use TeleService to set up a teleconnection via the telephone network to a remote system. Once the modem connection is set up you can then process the dialed-up system as usual with STEP 7.

Note:
The drivers for the TS Adapter are supplied with the TeleService software. Installation of TeleService is thus obligatory for setting the TS Adapter in the PG/PC interface. It is not possible to use the TS Adapter without TeleService, not even for a direct connection (as with the PC Adapter). In a direct connection configuration via the USB interface TS Adapter II can be used for communication with the automation system even without TeleService. The requirement is that the relevant driver is installed and prior correct setting of the adapter's parameters. PC Adapter USB and TS Adapter II are supplied with a driver CD.

Keywords:
Adapter, Teleservicing







STEP 7 in 7 Steps - A Practical Guide to Implementing S7-300/S7-400 Programmable Logic Controllers

Labels:


Clarence T. Jones, “STEP 7 in 7 Steps - A Practical Guide to Implementing S7-300/S7-400 Programmable Logic Controllers”
Patrick-Turner Publishing | 2006 | ISBN: 1889101036 | 464 pages | PDF | 44,5 MB

This unique new book has done it all! The book is uniquely organized to include seven practical steps associated with getting the job done efficiently and painlessly. A task-oriented guide to configuring, programming, deploying, troubleshooting, and maintaining S7-300/S7-400 PLCs and Simatic Networks. Each of the seven task areas are introduced with a brief tutorial that is followed up with a number of actual task examples. Each task is presented in an identical two-page spread layout. On the left-hand page, the task is described using a Basic Concept, Essential Elements, and Application Tips. On the right-hand page, the task is presented in a step-by-step table format. With over 175 example tasks, your tasks are surely already done! A great side-kick for every STEP 7 user! Book Highlights - 464 pages - Appendix, Glossary and Index - Brief Tutorial on each Key S7 Concept - Over 175 Examples of S7-300/S7-400 Tasks - Each Example Presented in a 2-Page Layout - Concise and Easily Read Language - STEP 7 Project/Library Tasks - Hardware Configuration Tasks - Program Design and Development Tasks - Online Operations Tasks - Monitoring and Diagnostics Tasks - Network Configuration Tasks Book Chapters (Steps) Step 1: Getting Started with STEP 7 Step 2: Working with Projects and Libraries Step 3: Working with Hardware Configurations Step 4: Working with Programs and Data Step 5: Managing Online Interactions with the CPU Step 6: Working with Monitoring and Diagnostic Tools Step 7: Working with Simatic Network Configurations

depositfiles.com
http://www.mediafire.com/?vynygmgwzlu




Automating with SIMATIC: Controllers, Software, Programming, Data Communication Operator Control and Process Monitoring

Labels:


Hans Berger, "Automating with SIMATIC: Controllers, Software, Programming, Data Communication Operator Control and Process Monitoring"

Wiley-VCH | 2006-10-03 | ISBN: 3895782769 | 223 pages | PDF | 34,8 MB

Totally Integrated Automation is the concept by means of which SIMATIC controls machines, manufacturing systems and technical processes. Taking the example of the S7-300/400 programmable controller, this book provides a comprehensive introduction to the architecture and operation of a state-of-the-art automation system. It also gives an insight into configuration and parameter setting for the controller and the distributed I/O. Communication via network connections is explained, along with a description of the available scope for operator control and monitoring of a plant.
As the central automation tool, STEP 7 manages all relevant tasks and offers a choice of various text and graphics-oriented PLC programming languages. The available languages and their respective different features are explained to the reader.
For this third edition, the contents of all sections of the book have been revised, updated and the new data communications with PROFINET IO have been added. The STEP 7 basic software is explained in its latest version.
The book is ideal for those who have no extensive prior knowledge of programmable controllers and wish for an uncomplicated introduction to this subject.


Uploading
Depositfiles
Uploadbox



Industrial Automation Exibition 2009

Labels: , ,



HANNOVER MESSE remains the world's leading showcase for industrial technology. Please find here all trade fairs of HANNOVER MESSE 2008.

Better, faster, more effective: to survive and prosper in the face of global competition companies need to constantly maintain and improve their performance potential. Leading-edge technology plays a pivotal role in corporate competitiveness.

HANNOVER MESSE is the ideal place to obtain the latest industrial know-how. Established sixty years ago, HANNOVER MESSE today ranks as the leading international showplace for industrial technologies, materials and product ideas.

Over the years the focus has shifted from stand-alone components to end-to-end solutions. Technical innovation is one key element in the success of HANNOVER MESSE. Another is its sharp focus on the creative application of existing knowledge. Only at Hannover can the visitor experience complete value chains and swap information with experts from a complete spectrum of industrial sectors.

For More Information please check at http://www.hannovermesse.de



What should you watch out for when configuring an unspecified S7 connection for data communication between an S7-300 and an S7-400?

Labels: , ,

Configuration Notes:
For data communication between an S7-300 station and an S7-400 station, you use S7 Communication with communication blocks FB/SFB12 "BSEND" and "FB/SFB13 "BRCV". In this case, the S7 connection must be configured bilaterally, i.e. in the S7-300 and in the S7-400.
Furthermore, the S7-300 station and the S7-400 station are configured in different STEP 7 projects. For this reason, you configure an unspecified S7 connection in the S7-300 station and in the S7-400 station respectively.


Fig. 01: Configuration

Please follow the instructions below for configuring the S7 connections.
In this example, S7 communication is via Industrial Ethernet. An Industrial Ethernet CP is used in the S7-300 station and in the S7-400 station.

Note:
These instructions also apply for S7 communication via PROFIBUS.

Configuring the S7 connection in the S7-300 station:
Open the STEP 7 project of the S7-300 station. Then open NetPro via the menu "Options > Configure Network" or via the "Configure Network" button in the toolbar.


Fig. 02: Open NetPro

You configure the connection in NetPro. Mark the CPU of the S7-300 station. Insert a new connection via the menu "Insert > New Connection".


Fig. 03: Insert a new connection

In the dialog that opens you now select "unspecified" under Connection Partner and "S7 connection" as the connection type. Accept the settings with "OK".

You configure the connection partner and the type of connection in the "Insert New Connection" dialog. Select "unspecified" as connection partner and "S7 connection" as the connection type. Click "Apply" to apply the settings.


Fig. 04: "Insert New Connection" dialog

In the Properties dialog of the S7 connection you enter the address of the partner. In this example you enter the IP address of the S7-400 station.
In this example, the S7-300 station actively sets up the S7 connection. For this you enable the "Establish an active connection" function. Then click the "Address Details..." button. The "Address Details" dialog opens.


Fig. 05: Properties dialog of the S7 connection (S7-300)

In the "Address Details" dialog you specify the local TSAP of the S7-400 station as Partner TSAP. For this, you enter the slot of the CPU in the S7-400 station under Partner Rack/Slot.


Fig. 06: Address Details (S7-300)

Close the "Address Details" dialog and the Properties dialog of the S7 connection with "OK".
Mark the S7-300 station in NetPro. Save and compile the complete configuration and load it into the CPU of the S7-300 station. Then you call communication blocks FB12 "BSEND" and FB13 "BRCV in the user program of the S7-300. These communication blocks are available in the Standard Library -> Communication Blocks.

Now configure the S7 connection in the S7-400 station.

Configuring the S7 connection in the S7-400 station:
Open the STEP 7 project of the S7-400 station. In NetPro, likewise you configure an unspecified S7 connection.
In the Properties dialog of the S7 connection you enter the address of the partner. In this example you enter the IP address of the S7-300 station.
Since in this example the S7-400 station participates passively in setting up the connection, you disable the "Establish an active connection" function. You must also disable the "Operating state messages" function.
Then click the "Address Details..." button. The "Address Details" dialog opens.


Fig. 07: Properties dialog of the S7 connection (S7-400)

In the "Address Details" dialog you specify the local TSAP of the S7-300 station as Partner TSAP. For this, you enter the slot of the CP in the S7-300 station under Partner Rack/Slot.


Fig. 08: Address Details (S7-400)

Close the "Address Details" dialog and the Properties dialog of the S7 connection with "OK".
Mark the S7-400 station in NetPro. Save and compile the complete configuration and load it into the CPU of the S7-400 station. Then you call communication blocks FB12 "BSEND" and FB13 "BRCV in the user program of the S7-400. These communication blocks are available in the Standard Library -> System Function Blocks.

Note:
For data communication via bilaterally configured S7 connection, you can also use communication blocks FB/SFB14 "GET" and FB/SFB15 "PUT". These communication blocks are based on the client-server principle, i.e. you can also use a unilaterally configured S7 connection for data communication. In the case of a unilaterally configured S7 connection, the "Establish an active connection" function is enabled. You specify the following Partner TSAP: 03.0x (x = slot of the CPU).

The following entries contain sample programs for the following communication blocks:

The following entry contains information on which modules support S7 Communication as server and client: 24352751.

More information is also available in the Online Help of STEP 7 under:

  • Creating cross-project subnetworks.
  • Configuring cross-project connections.
  • Creating a new connection to an unspecified partner.
  • Creating a connection to "Another Station", "PG/PC", "SIMATIC S5".




How can you load projects to a memory card and back again to a PG/PC?

Labels: , , , ,

Instructions:
From STEP 7 V5.1, you can save all the data for a project on a memory card using the "Store on memory card..." function and then retrieve it again, to use later on for example, with "Retrieve from memory card...". To do this, you can insert the memory card into a CPU or into the memory card programming device on a PG or PC. However, project data storage and retrieval on a memory card is only available for modules which support this function. At present, they are S7-400 CPUs and S7-300 CPUs with MMC memory cards".

Before being saved to memory card the project data is compressed and decompressed when retrieved. Here you must choose the size of the memory card that is able to store not only the project data, but also the user data. The size of the project data to be saved corresponds to the size of the project's archive file. If the capacity of the memory card is not sufficient, you are informed of this by a message.

The table below describes the procedure for a number of applications.

No. Procedure:
1 Memory card is located in the CPU
If the memory card is located in a module which supports this function, only the complete content (user program and project data) can be transferred when applying the two "Store on memory card..." and "Retrieve from memory card..." functions for technical reasons.

In the project window of the SIMATIC Manager you select a project level that is uniquely assigned to the CPU (e.g. CPU, program, sources or blocks) and select the menu command "PLC > Save to Memory Card..." or "PLC > Retrieve from Memory Card...". Now the complete project data is written to the memory card or retrieved from it.


Fig. 01

2 Project data not available in the programming device (PG/PC)
If the project data is not available in the programming device (PG/PC), then the source CPU can be selected in the "Accessible Nodes" dialog.
  • Open the "Accessible Nodes" dialog via the menu command "PLC > Show Accessible Nodes" and select the desired connection/CPU with the project data on the memory card.
  • Now select the menu command "Retrieve from Memory Card...".
3 Memory card in the memory card programming device
If the memory card is in the memory card programming device of a PG or PC, then proceed as follows:
  • Open the S7 memory card window with the menu command "File > S7 Memory Card > Open".
  • Select the menu command "PLC > Save to Memory Card..." or "PLC > Retrieve from Memory Card..." (see Fig. 01).

In the dialog that then opens you can select the source project or target project respectively.


Fig. 02

4 "Download User Program to Memory Card" function
The "Download User Program to Memory Card" function downloads a user program to the memory card of a CPU. Under the following conditions you can also save the STEP 7 project to the memory card:
  • The CPU must have a slot for a memory card.
  • The CPU must support this function (e.g. CPU416).
  • A memory card must be slotted.

This function can only be executed in the STOP mode of the CPU. During the transfer, all the blocks in the load memory of the CPU and on the memory card are deleted. Proceed as follows:

  1. Slot the memory card into the CPU.
  2. In the "Offline" view, mark the block folder whose blocks are to be copied to the memory card.
  3. Select the menu command "PLC > Download User Program to Memory Card".


Fig. 03

More information on the memory card is also available in the STEP 7 Online Help.

5 "Upload Station to PG" function
With the menu command "PLC > Upload Station to PC..." you can read back the complete project data from the CPU to a PG/PC. For this, however, a new station is created in the current project and the configuration and blocks copied into the new station. In the blocks in the uploaded station there are no symbolic designations like temporary tags, markers, formal parameters and all comments.

Therefore it is only useful to use this function for service when there is no offline project available, for example. More information on the restrictions when using the above-mentioned function is available in the STEP 7 Online Help.

6 "Upload to PG" function
With the menu command "PLC > Upload to PG" you can copy blocks from the online block container to the offline block container on the PG. In contrast to the "Upload Station to PG" function, this function permits you to retrieve blocks from the CPU to the data management of the original project on the PG/PC. Similarly you can copy blocks from the online block container to the offline block container.

Note:
A user program contains all the functions required for processing the specific solution for the automation task. The user program's tasks are:

  • To define the requirements for rebooting and restarting the CPU.

  • To process the process data (link binary signals and define them for output, read, evaluate and output analog values).

  • To respond to alarms and process faults in the normal course of the program.

A project is the entirety of all the data and programs of an automation solution and is at the top of the object hierarchy. The project contains the following objects:

  • S7 hardware setup (hardware configuration) of the S7-300/400 station.

  • Programmable modules CPUxx, CPxx and FMxx.

  • S7 program (folder for the software).

  • Source folder (with the source programs) and the block folder (SDBs, DBs, UDTs, FBs, FCs and OBs).

Keywords:
Data backup, Project backup, Read-back, MMC





How do you integrate an existing WinCC project into a STEP 7 project?

Labels:

Configuration Notes:
The following WinCC components must be installed to be able to import a WinCC project into a STEP 7 project:

  • SIMATIC Device Drivers
  • Object Manager
  • AS-OS Engineering

These components are on the WinCC Installations CD (Fig. 01). Furthermore, WinCC and STEP 7 have to be installed on the same computer. By importing the WinCC project into a STEP 7 project you can use the existing compression tool (packer) for archiving the WinCC project.


Fig. 01

Instructions:
You have the following options for importing a previously separate WinCC project into your STEP 7 project:

1. Procedure for WinCC V6.0 SP4 and higher

No. Procedure
1 In the SIMATIC Manager you execute the menu command "Options > OS Import...".


Fig. 02

2 Press the button marked to open the selection window shown in Fig. 04.


Fig. 03

3 Select the Projectname.mcp file that you wish to import and press the "Open" button.


Fig. 04

4 Check the project path for the OS to be imported and press the "Import OS" button.


Fig. 05

Note:
More information on importing WinCC projects with the SIMATIC Manager is available in the WinCC Information System > Working with WinCC > The Integration of WinCC in SIMATIC Manger > Managing WinCC Projects and Objects with SIMATIC Manager > Importing a WinCC Project with SIMATIC Manager.

2. General procedure for all versions of WinCC

No. Procedure
1 Insert an Operator Station (OS) into your STEP 7 project.


Fig. 06

2 Change the name of the OS to the one in your WinCC project.


Fig.07

3 In the Windows Explorer, delete the WinCC project created in the STEP 7 project path, which is generated because of the newly created OS.
Sample project path:
C:\Programs\Siemens\Step7\EXAMPLES\exie\wincproj\'Name of the OS'
4 Now store the existing WinCC project in the STEP 7 project path using the Project Duplicator via the menu item "Save as...". You start the Project Duplicator in the Start menu under "Start > Simatic > WinCC > Tools".

Note:
More information on importing WinCC projects with the SIMATIC Manager is available in the WinCC Information System > Working with WinCC > The Integration of WinCC in SIMATIC Manger > Managing WinCC Projects and Objects with SIMATIC Manager > Importing a WinCC Project with SIMATIC Manager.