SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 1
Content 6
6. Station and Network configuration........................................................................3
6.1 Station and network configuration – Principles and relationships ..........................................3
6.1.1 The “classic” way in STEP 7...................................................................................................3
6.1.2 The PCS 7 “fashioned” way....................................................................................................4
6.1.3 Extension of ES by a single OS..............................................................................................8
6.2 PC Station Configuration ......................................................................................................10
6.2.1 PC Station Configuration on the PC .....................................................................................10
6.2.2 PC Station Configuration in the project ................................................................................11
6.2.3 Function “PLC Configure”.....................................................................................................13
6.2.4 Task and checkpoint.............................................................................................................14
6.3 AS Station Configuration in the project.................................................................................15
6.3.1 Basic Steps...........................................................................................................................15
6.3.2 Inserting a SIMATIC S7-400 Station ....................................................................................15
6.3.3 Editing the station configuration of a SIMATIC S7-400 Station............................................16
6.3.4 Configuring the CPU.............................................................................................................20
6.3.5 Configuring the Ethernet interface........................................................................................22
6.3.6 Configuring the DP master ...................................................................................................23
6.3.7 Configuring the DP slaves ....................................................................................................28
6.3.8 The final Download...............................................................................................................31
6.3.9 HW Config - Diagnostics.......................................................................................................32
6.3.10 Task and checkpoint.............................................................................................................33
6.3.11 Comparing PROFIBUS DP and PROFINET IO....................................................................34
6.3.12 Configuring the IO Controller................................................................................................35
6.3.13 Configuring the IO Devices...................................................................................................37
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 2 Training Documentation, V1.00, ST-PCS7SYS
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 3
6. Station and Network configuration
6.1 Station and network configuration – Principles and
relationships
6.1.1 The “classic” way in STEP 7
IE
DP
Image 1:1
PG/PC Interface:
e.g. MPI or
ISO Industrial Ethernet
ESProject
Typical field of application
Service and maintenance on the AS hardware configuration.
Steps of classic way
1. Configure of the AS in the project on the Field PG as an image 1:1 of the real
hardware.
2. Connect the Field-PG to the AS and set the corresponding PG/PC interface.
3. Download of configuration data to the AS.
4. Disconnect the Field PG from AS.
The Field-PG respectively its PG/PC interface is not part of the project, but it works only
as "loading station".
The interface has to be set individually for the selected connection type to be able to
reach the target station.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 4 Training Documentation, V1.00, ST-PCS7SYS
6.1.2 The PCS 7 “fashioned” way
Overview about ES tools to configure stations and networks
PCS 7 Project, administrated in the Engineering System
AS in HW Config PC-Station in HW Config
ESAS
NetPro
Plant bus, IE
PG/PC Interface
real existing rack
Station Configurator
„virtual“ rack
Image 1:1 Image 1:1
real existing CP
„virtual“ interface:
PC internal (local)
Inserting an separate station for the ES
For every AS or PC to be used in a PCS 7 project, a station configuration is to be made.
In contrast to a Field-PG, the ES is involved into the project and into the common
network of all stations. Thus, all downloads can be handled with one PG/PC interface.
Configuration of stations:
• Make an “image” 1:1 to the real existing hardware of every station in the project.
• Configuration conforming to slots:
AS hardware is structured by slots in a rack. Each slot is allocated by a hardware
component like power supply, CPU, CP…
Properties of the component in a slot include type, addresses…
Since there is no real existing slot orientation of components in a PC station, a structure
with slots similar to an AS rack is simulated by the Station Configurator.
From this follows, that the PC hardware has to be described in 2 different localizations:
• Hardware of the station, represented by the Station Configurator of the PC station
• Hardware description in the HW config of the PCS 7 project
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 5
Configuration of network and communication connections:
• You specify the network assignment of components capable of communication during
hardware configuration of a station in the HW Config.
• The SIMATIC Manager tool NetPro graphically displays all configured stations and
networks of a project. All bus systems and stations have their own representatives.
PG/PC Interface
The interaction of your PC Station with various bus systems for networking of
automation systems (e.g., MPI bus, Industrial Ethernet,…) requires specialized
interfaces. Each of your integrated and installed interfaces is represented by an
interface parameter assignment.
“PC internal”
"PC internal" is a centrally configurable interface, which can be loaded with project-
specific settings for all stations on the plant bus. The settings are made on the ES in the
PCS 7 multiproject and downloaded from the ES.
As soon as "PC internal" is activated, the network adapter begins working in
"configured mode", otherwise it is in "PG mode".
target system
(CPU)
Field-PG
working in „PG mode“
PG/PC-interface:
DIRECT Selection of a „driver-instance“
for STEP 7 communication (S7ONLINE)
Download
MPICP1613ISO3COMISO
target system
(AS-CPU or
other PC stations)
ES/PC station
Working in „Configured mode“
MPICP1613ISO3COMISO
PC internal
Download
Target system?
Own or other PC
or AS-CPU??
PC station
configuration
„virtual rack“
(Station Configurator)
PG/PC-interface:
INDIRECT Selection of „driver-instance“
for STEP 7 communication (S7ONLINE)
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 6 Training Documentation, V1.00, ST-PCS7SYS
Activating PC internal
Activate the “PC internal” interface via the Dialog “Set PG/PC Interface” in SIMATIC
Manager:
Configuration Console
All communication modules, on this station available for PCS 7, are listed here.
All access point and their assignments are listed here and can be changed
 See [102] PCS 7 V8.0 PC Configuration and Authorization - 12_2011, 4.7.7 for more
details about use of SIMATIC NET configuration console as possible alternative
procedure.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 7
Download to ES
AS in HW-Config PC-Station in HW-Config
ES
AS
NetPro
Plant bus, IE
real existing rack
Image 1:1
PG/PC Interface
„virtual“ interface:
PC internal (local)
PCS 7 Project, administrated in the Engineering System
Image 1:1
The central ES has to be loaded at first with all information to get the capacity for
download to all other station (AS and OS) involved in the PCS 7 project.
The configuration data are checked during the download. Both the configuration in the
PCS 7 project and the configuration in the Station Configurator have to contain the
same information as precondition for a successful download.
Status information about "download successful / unsuccessful" is displayed in the
Station Configuration Editor.
After successful download, the ES has access to the IE network, and within access to
all connected stations:
AS and PC stations (e.g. server) can be reached and loaded via ES-CP and “its
network".
The ES got this information by configuration data of the PCS 7 project!
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 8 Training Documentation, V1.00, ST-PCS7SYS
Download to AS
PCS 7 Project, administrated in the Engineering System
AS in HW-Config PC-Station in HW-Config
ES
AS
NetPro
Plant bus, IE
real existing rack
Image 1:1 Image 1:1
PG/PC Interface
„virtual“ interface:
PC internal (local)
real existing CP
After successful downloading to ES the AS hardware configuration can be downloaded
to the AS station. The configuration data are checked during the download. LEDs on the
front side of CPU give status information about "download successful / unsuccessful".
6.1.3 Extension of ES by a single OS
Insertion of an application for a PC station
Each PC station requires additional information for what purpose it is applied in the PCS
7 project (e.g. OS, OS server or client, Batch…).
The desired software component is represented as an object of type “WinCC
Application” and has to be placed like a hardware component:
• in the virtual rack of the Station Configurator
• in the HW config of the regarding station in the PCS 7 project
 The following phrase may give a hint:
The CPU of AS needs a partner on the PC: a "CPU of visualization" for the OS. This
is the job of the "WinCC Application". Following this analogy, the WinCC application
is placed in the hardware configuration of a PC station like a CPU in the AS rack.
Several WinCC Applications are available being specialized for different types of PC
stations (e.g. OS, OS server or client, Batch…)
An example for single OS stations is the application WinCC Application.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 9
If you want to use the ES also as OS Single Station, then you have to extend the PC
configuration of ES by a WinCC application for single OS stations:
Configuration of network and connections
PCS 7 Project, administrated in the Engineering System
AS in HW-Config PC-Station in HW-Config
ESAS
NetPro
Plant bus, IE
Image 1:1
OS
Communication connections (connections, for short) must always be configured, when
data exchange between the automation systems or the automation system and a PC
station (for example, an OS station) is required.
The figure above illustrates the relation between communication partners.
• The "true communication partners" are CPU of AS at the one side and the CPU of
OS / WinCC at the other side ( red point): they are the end of a "logical
connection".
• The CPs are interface of the network ( green line): they are the end of a "physical
connection".
Once the stations have been arranged and configured, the connections between the
ES/OS station and the automation systems, as well as those between the automation
systems themselves, are configured (as 1:1 image) and downloaded to the concerned
stations – just like the configuration of stations.
 See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.10 for more details
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 10 Training Documentation, V1.00, ST-PCS7SYS
6.2 PC Station Configuration
6.2.1 PC Station Configuration on the PC
Select the PCinternal interface in your ES via the Dialog “Set PG/PC Interface” in
SIMATIC Manager:
Options -> Set PG/PC Interface
For a combined Engineering / Operator Station with a single network connection
• a network interface for Industrial Ethernet (CP or IE General)
• the WinCC Application
have to be added. You are free choosing a slot (see column "Index"), because it is "only
a virtual rack" for the PC.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 11
6.2.2 PC Station Configuration in the project
In the project a SIMATIC PC Station is to be inserted:
It is to be renamed to the computer name.
This applies to all PC stations. The name of the PC station must match the station name
in the Station Configuration Editor, which already has the preset computer name.
 Rename the PC station so that its name matches that of the computer.
To do this, you can activate the "Computer name identical to PC station name"
option, which means you do not have to make as many entries and the potential for
typing errors is reduced.
A yellow arrow then appears on the PC station icon in the SIMATIC Manager to indicate
the capability of the ES to establish a connection to the plant bus via the "PC internal"
interface.
After renaming its configuration is to be opened:
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 12 Training Documentation, V1.00, ST-PCS7SYS
On the same position as in the Station Configuration Editor an IE interface is to be
inserted and supplied with the proper addresses and network assignment:
After completing the configuration, it is to be saved and compiled and downloaded.
2
6
1
7
4
3
5
Main components:
1. CPs for high performance applications:
− higher number of communication partners;
− redundant connections
− time synchronization
2. standard network adapter
3. standard object for single or multi user system
4. object for OS Client
5. object for referenced OS client
6. object for central archive server
7. (stby) stands for redundant partner
 See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.5 for more details
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 13
6.2.3 Function “PLC Configure”
From PCS 7 V7.0, the function „PLC configure“ provides a comfortable approach for
configuration of SIMATIC PC stations. With this function, you must no longer twice work
on the configuration (in the project on the ES and in the station configuration editor on
the local PC station).
However, there are important prerequisites:
• The PCS 7 software is installed on the station to be configured.
• The station has to be accessible in the network.
2
1
3
Procedure for configuration of PC station of the ES
1. Configure the SIMATIC PC station of the ES in the project (ending with a Save and
Compile, not a Download)
2. In SIMATIC Managers Component view, transfer the PC configuration of the project
to the PC by the function “PLC configure“. The virtual rack of Station Configuration
Editor is overtaking the PC configuration already prepared in the project.
3. Download of the configuration.
 See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.4.10 for more details
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 14 Training Documentation, V1.00, ST-PCS7SYS
6.2.4 Task and checkpoint
Task: Station Configuration PC
Goal
A configured SIMATIC PC Station, both in the project and the Station Configurator.
Checkpoint
Two questions …
• What additional components can
be added in the Station
Configuration Editor?
• What makes these components to
be listed here?
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 15
6.3 AS Station Configuration in the project
6.3.1 Basic Steps
Inserting a preconfigured station into SIMATIC Manager
Opening HW Config
Setting the object properties of the CPU and CP
Inserting and configuring decentral stations
Saving and compiling the configuration
Downloading the configuration into the AS
6.3.2 Inserting a SIMATIC S7-400 Station
To represent the automation system, a SIMATIC S7-400 station is inserted into the
project:
1
2
1. In this “empty“ station, all components are to be inserted using the HW config tool
2. Alternative: After creating a multiproject with the wizard, a project with a
preconfigured S7-400 is available then.
Adjusting is always possible using HW Config.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 16 Training Documentation, V1.00, ST-PCS7SYS
6.3.3 Editing the station configuration of a SIMATIC S7-400 Station
To open the HW Config tool, select the object of the AS station in the component view
of SIMATIC Manager:
The configuration of an AS station must contain all real placed components and
modules:
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 17
User interface
1 2 3
4
5
6
7
7
Main elements:
1. Switching between Offline and Online window
From the HW Config you can read information from modules directly (e.g. for
diagnostics)
2. Save and Compile
After configuration of the components, the data can be saved and compiled.
3. Download to station
After compilation the data can be downloaded to the station.
4. Station window
This area is filled with racks as the main parts of a station. Also objects for
distributed IO and field devices and the required master systems (networks for IO).
5. Window for hardware catalog
To select the required components: e.g. racks, modules, interface modules.
6. Object for distributed IO device
7. Configuration table
Represents the racks and their modules, offers a certain number of slots in the
same way the real racks do.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 18 Training Documentation, V1.00, ST-PCS7SYS
Working with the Hardware Catalog
When the window “Hardware Catalog“ is not display, select the menu command:
View -> Catalog
1
2
3
4
Main areas
1. Find field
Entrance possibilities:
− In the Find field you can enter any text, catalog info or order number.
Not case sensitive
− wildcards (*, ?,….) are supported
− you can also enter a part of an key word (e.g. 331)
2. Using the pull down list “Profile“ you can select several catalog profiles.
You can adapt the profiles to your needs.
3. Object for the required module (in this case with a firmware version).
4. Information of the selected component
Versions
Many modules are available in different versions (Firmware versions).
During operation of a plant it may happen that you are forced to replace an older version
of a module by a new one with a higher version. In that case the old version remains in
the HW Config and the new module is placed.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 19
Save and compile
At Save and Compile a consistency check is performed, e.g.:
• Do all modules fit to each other?
• Are addresses assigned twice?
This is the case in the result window below:
Download
When the consistency check is error free, the required system blocks are created,
without any user interference. After that they can be downloaded into the AS.
The AS contains all the required information to test if the real configuration fits to the by
HW Config created configuration.
I will be hidden for the user that many additional features are activated, so that in the
events of failures the related messages and alarms will be generated.
To download the HW Config data into the AS, the entire communication path from the
ES PC up to the Ethernet CP in the AS must be configured properly.
For the initial download into the AS, a number of configuration steps are to be done
using the tool NetPro. It will be explained in a later stage.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 20 Training Documentation, V1.00, ST-PCS7SYS
6.3.4 Configuring the CPU
SIMATIC PCS 7 uses default optimized settings for a CPU, so just a limited number of
properties are to be adjusted to the project conditions.
Startup properties
In the Startup properties the most important is the activated option “Warm restart“.
This causes the actual process values not to be reset to the initial values.
It is a default setting for PCS 7 that is not to be changed!
 Please note, that a PCS 7 AS is always to be equipped with a buffer battery and a
RAM memory card.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 21
Organization blocks, cyclic interrupts and Process image partitions
1 32
1. List of OBs assigned to cyclic interrupts (grayed out = not available fort his CPU)
2. Interval of the cyclic interrupt
3. Assigned Process image partition (PIP)
Organization blocks (OBs) form the interface between the CPU operating system and
the user program. OBs are called by the operating system and control the cyclic and
acyclic program sequence, the startup behavior of the automation system and the
processing of faults.
Start events triggering some groups of OBs are called interrupts.
Cyclic interrupts do their job with predefined time interval. They are represented by
OB30 – OB38.
OBs also control the sequence of processing the individual program blocks. The
processing of one OB can be interrupted by another OB (determined by the priority).
Before any program run, the CPU loads the signal values of the input modules into a
memory, the Process Image Inputs (PII). Because of this PII, the signal values will be
constant during the program run. During the execution of the user program, output
values are assigned to the Process Image Outputs (PIQ). At the end of the program run,
the values of the PIQ are transferred to the output modules.
To control the update of the PII at the start of a program run triggered by a cyclic
interrupt, and the update of the PIQ at the end of a program run, the so called Process
Image Partitions (PIP) are assigned to the cyclic interrupts in use.
 In process automation with PCS 7, the Cyclic Interrupts (OB30-OB38) are to be used
with an assignment to a Process Image Partition.
The Process Image Partitions are required at the configuration of the signal modules.
Automation functions are “inserted” into the run sequence of an (Cyclic Interrupt) OB.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 22 Training Documentation, V1.00, ST-PCS7SYS
6.3.5 Configuring the Ethernet interface
An S7-400 automation system can include a CP443-1 as an interface to the plant bus.
Both the ISO protocol and the TCP/IP can be used.
1
4
3
2
5
1. Device name is not relevant when this module is used for the plant bus only.
2. ISO connections
3. TCP connections, ISO over TCP connections, UDP connections
4. Creating a new subnet object
5. List of available subnet objects
The connection to the plant bus is made by selection of the related subnet object in the
properties of the Ethernet CP.
When a multiproject has been created by the wizard, the project does not contain a
subnet object for Industrial Ethernet. The required subnet can be created in the
properties of the Ethernet interface.
On a with ISO protocol running plant bus, every MAC address can be assigned only
once.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 23
6.3.6 Configuring the DP master
Objects
1
2
3 4
5
1. Internal Profibus interface of the CPU, default set with a DP Master system.
2. External Profibus interface: is realized by the CP 443-5 Ext.
The module can be placed to have additional DP master systems.
3. Subnet: object for a Profibus net. In its Properties you can adjust the transmission
rate and the profile. Always assign a useful name (default: PROFIBUS(1)).
4. DP master system: All slaves assigned to a master form together with the master a
master system. A master system is a part of a PROFIBUS subnet.
5. Object for a Profibus slave. Distributed IO devices or field devices are assigned a
master system as a slave object. In case of a ET200M it can be the IM 153-2, for
connecting to the Profibus.
Every node (master and slave) is assigned a Profibus address (0…126)
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 24 Training Documentation, V1.00, ST-PCS7SYS
Adding (inserting) and disconnecting, orphaned master systems
The internal Profibus interface is default assigned a DP master system. When more
Profibus CPs are available, then additional master systems are to be assigned.
1
2
1. External Profibus interface
2. Already existing DP master system
It may happen, an already completely configured master system is to be assigned to
another DP interface (e.g. from the internal Profibus interface of the CPU to the
additional CP 443-5 Ext).
In that case the master system is disconnected from the interface, and will be available
as an “Orphaned” master system. The configuration of the distributed IO will remain
unchanged.
1
2
3
1. Already completely configured master system
2. Internal Profibus interface as Profibus master
3. Orphaned master system
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 25
Orphaned master systems are put into a list that will appear when you want to assign a
master system to a Profibus interface. In that way you can connect an existing master
system, including the included configuration of distributed IO to another Profibus
interface.
1
2
1. Orphaned master system
2. External Profibus interface as Profibus master
Connecting with Profibus subnet and assigning the address to the interface
1
4 5
2
3
1. For diagnostics: assign useful name
2. Available Profibus addresses
3. Disconnecting from the subnet
4. Connecting to the subnet
5. Adjusting Profibus properties.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 26 Training Documentation, V1.00, ST-PCS7SYS
For assigning Profibus addresses, only the for that subnet available addresses can be
used.
 A Profibus interface must not be assigned as a master system, but can still be
connected to a subnet. I that case the Profibus address is still in use.
Independent from separating the master system, you must disconnect the Profibus
interface from the subnet, before the address can be used by another node (another
Profibus interface).
Operating mode of the Profibus interface
Check in the Properties dialog, in tab “Operating mode”, if the DP mode “DPV1”is used.
The DP mode “DPV1” contains extensions for process automation.
More specific: acyclic data exchange for parameter settings, operating, visualization,
and interrupt control of intelligent automation devices, parallel to the cyclic data
exchange.
 With the setting DPV1 also DP slaves, not supporting DPV1 can be connected and
operated.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 27
Properties of a Profibus subnet
1
2
3
1. The default Profile “DP” should not be changed for PCS 7.
2. Set the Transmission Rate dependent of the connected DP slaves and the segment
length. The default Transmission Rate of 1.5 Mbit/s can be increased to 12 Mbit/s in
individual cases, to achieve shorter cycle times.
3. Using the button “Options” you can enter your cable configuration, to have the DP
bus parameters optimized for your process.
 See [403] Source name, for more details on configuring PROFIBUS hardware.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 28 Training Documentation, V1.00, ST-PCS7SYS
6.3.7 Configuring the DP slaves
Placing the modules
1
2
3
4
5
6
8
7
1. Finding using an order number
2. Profile with released modules
3. open the tree under the field bus
4. DP slave “family”
5. Select the interface module as a DP slave. Drag & Drop it on top of the DP master
system. The dialog “Properties – PROFIBUS interface …”opens, where you can set:
− Properties of the PROFIBUS subnet (transmission rate etc.)
− the address of the DP slave
6. Profibus address. The address must fit to the address set on the module (for
ET200M Dip switches are used).
7. Configuration table of the DP slave. A symbol for the DP slave is connected to the
line representing the DP master system. In the lower window pane a table is
displayed with the available slots.
8. Signal module: Drag & Drop the modules in the Configuration table. For modular
DP slaves, the usable modules are organized in the “Hardware catalog” in lower
level folders representing the DP slave “family”. For the family ET200M S7-300
modules are used.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 29
Configuring the ET200M interface module
Be sure, there is a check mark at “Replace modules during operation”.
 For use in PCS 7 the racks of ET200M should be equipped with active bus modules.
Configuring signal modules
1
2
1. Select useful names (diagnostics)
2. Select a Process Image Partition (PIP). It should have been set in a earlier stage in
the CPU properties of a cyclic interrupt OB. Doing so, the IO signals are
synchronized with the Process images due to the cyclic interrupt OBs.
This setting affects all channels of the module.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 30 Training Documentation, V1.00, ST-PCS7SYS
Diagnostics enabled
Modules with diagnostic recognize internal and external module faults and generate
diagnostic alarms.
With the enabling of the diagnostic interrupt, the diagnostic alarms will be generated
automatically through the PCS 7 drivers after an OS compilation.
Channel specific settings
In general, a channel of a module should only be activated, when the related sensor,
actuator or replacement resistor has been connected.
That is to prevent unwanted diagnostic messages on the PCS 7 OS in Runtime.
At some modules, channels are grouped to channel groups. In that case the settings are
common for the channels of the channel group, e.g. for the AI8x12Bit module: 4 groups
of 2 channels each. The group is to be activated when a signal is connected to 1
channel. Then a resistor is to be connected to the other channel.
Example: Configuring an Analog Input module
1
2 3
4
5 6
1. Measuring type must fit the Position of Measuring Range Selection Module.
2. Active channels
3. Inactive channels
4. Channel group specific Diagnostics settings
5. Enabling the diagnostic alarms for the entire module
6. Not to be set for PCS 7. This function is covered by the channel drivers.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 31
6.3.8 The final Download
1 2
3
4
5
6 7
1. In HW Config, perform a Save and Compile. There should be no error.
2. Initiate the download procedure, using the button Download to Module.
3. The target module should be the CPU, click on OK.
4. Select the protocol for downloading (only when both TCP/IP and ISO have been
selected at the properties of the Ethernet interface module).
5. The download will start, but will be interrupted when the CPU is in Run mode …
6. Click on OK when you agree to put the CPU in Stop mode, the download will
continue then.
7. After completing the download, you can have the CPU in the Run mode again.
Therefore, click the Yes button.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 32 Training Documentation, V1.00, ST-PCS7SYS
6.3.9 HW Config - Diagnostics
In brief the Online view of HW Config:
2
3
4
1
5
1. In the tool bar, click on the Offline <-> Online button. This will switch between the
Offline and Online window, not closing the earlier window. Icons represent states
and modes. To have an impression 4 examples:
2. The CPU Stop and Run mode. Run mode is active now in the window.
3. Mismatch between preset and actual configuration: the configured module does not
exist or a different module type is inserted.
4. Diagnostics not possible: No online connection, or the module does not return
diagnostic information.
5. Fault: module has a fault.
Possible causes: diagnostic interrupt, I/O access error, or error LED detected
More diagnostic information is available after double click on the regarding module. The
Module information window allows to read the diagnostic buffer:
1
3
2
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 33
1. Status of the module from the viewpoint of the CPU
2. In the diagnostic buffer the diagnostic events are displayed in the order they occur.
The first entry contains the newest event.
3. If you select an event in the list, a detailed description will appear in this box:
− Name of the event and event number
− Additional information, depending on the event, such as the address of the
command that caused the event and the mode transition that was caused by the
diagnostic event.
− Event state being entered or left
6.3.10 Task and checkpoint
Task: Station Configuration AS
Goal
A configured SIMATIC S7-400 Station, to be used as the AS in the training application.
Checkpoint
Find out:
• What IO address ranges are in use,
set by HW Config?
• Be sure the address range 100 …
299 is not used, it will be used by
the process simulation.
• If used, please modify the
addresses now !
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 34 Training Documentation, V1.00, ST-PCS7SYS
6.3.11 Comparing PROFIBUS DP and PROFINET IO
Why PROFINET IO?
Future requirements regarding system performance and sizing will have field busses
reach their limits.
Because of continuous technological development Ethernet provides future-proof
communication platform with high performance.
Merging the areas office and automation, vertical integration offers productivity
improvement potential.
In the office sector, Ethernet is the unchallenged standard in the fields of installation
technology and protocols.
Stations-Nummer
PB-Adr. 0...127
PROFIBUS DP
Master Classe 2
DP-Slave
DP-Master
DP-Mastersystem
PROFIBUS / RS 485
PROFIBUS DP
IO-SupervisorAdministrative Services
IO-DeviceField Device Name
Device Name
Address Assignment of
Equipment
Device NumberNumber allocation
PROFINET IOName at Hardware Catalog
IO-Controller
Designation of System
Controller
IO-SystemSubsystem Name
EthernetNetwork type
PROFINET IOAttribute
Typically Line structure; Tree or Ring
possible with restrictions; terminal
resistance at the last participant needed
Max. 12 Mb/s (Token)
Over DIP-Switch or by Telegram
Only one priority possible
From several participants, possible only
reading
Not allowed
Maximum 126 participants
Same priority of data traffic
Only an exactly defined data channel
between Master and Slave
PROFIBUS DP
100 Mb/s (full duplex, i.e. 200 Mb/s)Baud rate
Simple designation of Address/Name of
the device at the project (through
Controller with support from Engineering-
Tool)
Addressing set up
Line, Star, Tree, Ring and mixed
configuration possibleTopology
Can be differently prioritizedAlarms and Diagnosis
From several participants, possible
reading and writing
Access to Data of a
Field Equipment
It can be integrated without restrictions.IT Services
Maximum 256 participants per Controller.
Unlimited throughout the Network
segment.
Amount of
Participants
Possible, through flexible
parameterization of actualization rate.Data Priorization
Several data channels between
Controller/Supervisor and Device can be
realized
Data Channel
PROFINET IOFunctionality
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 35
6.3.12 Configuring the IO Controller
Addressing
Profibus DP: Individual
addressing in each station
Profinet IO: Simple name designation
through Controller with support of
Engineering System
Before the distributed IO can be used by the central station it must have an address:
• For DP slaves: a number: 0 …126
• For IO devices: a device name
The device name can be assigned in different ways, e.g. by the HW Config tool of
STEP 7.
Initial Steps
Open the Properties of the Ethernet interface:
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 36 Training Documentation, V1.00, ST-PCS7SYS
Then proceed with the following steps:
2
3
5
6
1
4
1. Enter the required Device name.
2. Notice that the interface is not assigned an Ethernet subnet yet. Continue with the
Properties button.
3. Enter the required IP address and subnet mask fort the new Ethernet subnet.
4. Click the New button to actually create the subnet.
5. Enter the required name of the subnet.
6. After closing the last window, notice that a subnet has been created and assigned
to the interface module.
Inserting the PROFINET IO System
1
2
1. In the Ethernet interface module, select in the context menu:
Insert PROFINET IO System
2. The PROFINET IO System is displayed now, based on the connected subnet.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 37
6.3.13 Configuring the IO Devices
Inserting the ET200M Interface module
1
2
3
4
1. Select in the catalog: the PROFINET IO tree, the required “family” and the Interface
module.
2. Open the device properties
3. Enter the required name. Press the Ethernet button to continue.
4. Enter the required IP address.
After closing the windows the modular IO device is ready to accept the modules.
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
6 - 38 Training Documentation, V1.00, ST-PCS7SYS
Inserting the IO modules
1 2
4
3
1. Select the IO Device. The Configuration tables lists the possible slots.
2. Open the tree under the placed ET200M interface module.
3. Open the folder representing the type of modules.
4. Place the required module on the proper slot.
Assigning the Device name to the real IO device
2
1
PCS 7 System Course
SIMATIC PCS 7 – Station and network configuration
Training Documentation, V1.00, ST-PCS7SYS 6 - 39
1. From SIMATIC Managers Options menu, open the Set PG/PC Interface
dialog window, to change the S7ONLINE access point to TCP/IP on the ES
Ethernet interface in use.
2. Create a physical cable connection from your ES to the unused port of the
PROFINET interface module, to be able to access the IO device.
Then, continue in HW Config:
1
2
3
5
6
4
7
8
1. After selecting the desired device, activate from the menu:
PLC > Ethernet > Assign Device Name …
2. In the dialog window, have the device name in the Device name pull down list.
3. The table Available devices should display the accessible devices on the
network.
4. You can use 2 predefined filter settings.
5. When you have eye-contact with the IO device, use the Node flashing test
feature to improve the identification of the device.
6. After highlighting the desired device, click on the Assign name button.
7. Put back the cable connector to where it come from.
8. For the PG/PC interface, select the PC internal mode.

Contenu connexe

Tendances

Simatic getting-started-pcs7
Simatic getting-started-pcs7Simatic getting-started-pcs7
Simatic getting-started-pcs7
ionut grozav
 

Tendances (20)

14 mass data engineering v1.00_en
14 mass data engineering v1.00_en14 mass data engineering v1.00_en
14 mass data engineering v1.00_en
 
08 basics control functions v1.00_en
08 basics control functions v1.00_en08 basics control functions v1.00_en
08 basics control functions v1.00_en
 
05 project setup v1.00_en
05 project setup v1.00_en05 project setup v1.00_en
05 project setup v1.00_en
 
Ch8 v70 os_en
Ch8 v70 os_enCh8 v70 os_en
Ch8 v70 os_en
 
00 st pcs7-sys_v8.0_register 20 en
00 st pcs7-sys_v8.0_register 20 en00 st pcs7-sys_v8.0_register 20 en
00 st pcs7-sys_v8.0_register 20 en
 
equipment modules for PCS7
equipment modules for PCS7equipment modules for PCS7
equipment modules for PCS7
 
10 basics automatic mode control v1.00_en
10 basics automatic mode control v1.00_en10 basics automatic mode control v1.00_en
10 basics automatic mode control v1.00_en
 
Ch4 v70 system_configuration_en
Ch4 v70 system_configuration_enCh4 v70 system_configuration_en
Ch4 v70 system_configuration_en
 
18 syntax rules v1.0
18 syntax rules v1.018 syntax rules v1.0
18 syntax rules v1.0
 
Ch6 v70 sfc_en
Ch6 v70 sfc_enCh6 v70 sfc_en
Ch6 v70 sfc_en
 
Ch5 v70 cfc_en
Ch5 v70 cfc_enCh5 v70 cfc_en
Ch5 v70 cfc_en
 
11 customizing the os v1.00_en
11 customizing the os v1.00_en11 customizing the os v1.00_en
11 customizing the os v1.00_en
 
Ch3 v70 project_structure_en
Ch3 v70 project_structure_enCh3 v70 project_structure_en
Ch3 v70 project_structure_en
 
12 archiving system v1.00_en
12 archiving system v1.00_en12 archiving system v1.00_en
12 archiving system v1.00_en
 
Ch7 v70 scl_en
Ch7 v70 scl_enCh7 v70 scl_en
Ch7 v70 scl_en
 
Ch8 v70 os_en
Ch8 v70 os_enCh8 v70 os_en
Ch8 v70 os_en
 
Ch5 v70 cfc_en
Ch5 v70 cfc_enCh5 v70 cfc_en
Ch5 v70 cfc_en
 
19 exercises v1.00_en
19 exercises v1.00_en19 exercises v1.00_en
19 exercises v1.00_en
 
24023824 pcs7 mini_v82_en
24023824 pcs7 mini_v82_en24023824 pcs7 mini_v82_en
24023824 pcs7 mini_v82_en
 
Simatic getting-started-pcs7
Simatic getting-started-pcs7Simatic getting-started-pcs7
Simatic getting-started-pcs7
 

Similaire à 06 station and network configuration v1.00_en

Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
Prof. Erwin Globio
 
AMulti-coreSoftwareHardwareCo-DebugPlatform_Final
AMulti-coreSoftwareHardwareCo-DebugPlatform_FinalAMulti-coreSoftwareHardwareCo-DebugPlatform_Final
AMulti-coreSoftwareHardwareCo-DebugPlatform_Final
Alan Su
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
Joshua Torres
 

Similaire à 06 station and network configuration v1.00_en (20)

Ch4 v70 system_configuration_en
Ch4 v70 system_configuration_enCh4 v70 system_configuration_en
Ch4 v70 system_configuration_en
 
Ch2 v70 config_overview_en
Ch2 v70 config_overview_enCh2 v70 config_overview_en
Ch2 v70 config_overview_en
 
Sys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioSys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studio
 
Plc s7-1200-opc-to-pc-connection-guide
Plc s7-1200-opc-to-pc-connection-guidePlc s7-1200-opc-to-pc-connection-guide
Plc s7-1200-opc-to-pc-connection-guide
 
Ch3 v70 project_structure_en
Ch3 v70 project_structure_enCh3 v70 project_structure_en
Ch3 v70 project_structure_en
 
Avionics Paperdoc
Avionics PaperdocAvionics Paperdoc
Avionics Paperdoc
 
Computer Hardware & Software Lab Manual 2
Computer Hardware & Software Lab Manual 2Computer Hardware & Software Lab Manual 2
Computer Hardware & Software Lab Manual 2
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
Siemens gh cp443-1_76
Siemens gh cp443-1_76Siemens gh cp443-1_76
Siemens gh cp443-1_76
 
Phan mem plc s7 1200 opc simatic-net-e
Phan mem plc s7 1200 opc simatic-net-ePhan mem plc s7 1200 opc simatic-net-e
Phan mem plc s7 1200 opc simatic-net-e
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
 
Hyper v and live migration on cisco unified computing system - virtualized on...
Hyper v and live migration on cisco unified computing system - virtualized on...Hyper v and live migration on cisco unified computing system - virtualized on...
Hyper v and live migration on cisco unified computing system - virtualized on...
 
AMulti-coreSoftwareHardwareCo-DebugPlatform_Final
AMulti-coreSoftwareHardwareCo-DebugPlatform_FinalAMulti-coreSoftwareHardwareCo-DebugPlatform_Final
AMulti-coreSoftwareHardwareCo-DebugPlatform_Final
 
Ae13 system komm_hb
Ae13 system komm_hbAe13 system komm_hb
Ae13 system komm_hb
 
Motherboard arch. & component
Motherboard arch. & componentMotherboard arch. & component
Motherboard arch. & component
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
 
Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC Processor
 
Fwd conn configguide_5.1.7.6151_6154
Fwd conn configguide_5.1.7.6151_6154Fwd conn configguide_5.1.7.6151_6154
Fwd conn configguide_5.1.7.6151_6154
 
PCIe BUS: A State-of-the-Art-Review
PCIe BUS: A State-of-the-Art-ReviewPCIe BUS: A State-of-the-Art-Review
PCIe BUS: A State-of-the-Art-Review
 
IRJET- Development and Integration of GUI Application with the PCI Express IP...
IRJET- Development and Integration of GUI Application with the PCI Express IP...IRJET- Development and Integration of GUI Application with the PCI Express IP...
IRJET- Development and Integration of GUI Application with the PCI Express IP...
 

Plus de confidencial

treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama...
 treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama... treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama...
treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama...
confidencial
 

Plus de confidencial (13)

Fluxograma processo acucar_alcool_etanol_verde
Fluxograma processo acucar_alcool_etanol_verdeFluxograma processo acucar_alcool_etanol_verde
Fluxograma processo acucar_alcool_etanol_verde
 
01tiaportal handson-basicov11v2-140421084257-phpapp01
01tiaportal handson-basicov11v2-140421084257-phpapp0101tiaportal handson-basicov11v2-140421084257-phpapp01
01tiaportal handson-basicov11v2-140421084257-phpapp01
 
Sitrains7 1200pwmpid-150301123045-conversion-gate01
Sitrains7 1200pwmpid-150301123045-conversion-gate01Sitrains7 1200pwmpid-150301123045-conversion-gate01
Sitrains7 1200pwmpid-150301123045-conversion-gate01
 
Sitrain introdução a ihm
Sitrain introdução a ihmSitrain introdução a ihm
Sitrain introdução a ihm
 
Sitrain visão geral do sistema tia portal
Sitrain visão geral do sistema tia portalSitrain visão geral do sistema tia portal
Sitrain visão geral do sistema tia portal
 
Sitrain tags do plc
Sitrain tags do plcSitrain tags do plc
Sitrain tags do plc
 
Sitrain step7basic 150301103500-conversion-
Sitrain step7basic 150301103500-conversion-Sitrain step7basic 150301103500-conversion-
Sitrain step7basic 150301103500-conversion-
 
Sitrain operações binárias e digitais
Sitrain operações binárias e digitaisSitrain operações binárias e digitais
Sitrain operações binárias e digitais
 
Sitrain blocos de orgazação
Sitrain blocos de orgazaçãoSitrain blocos de orgazação
Sitrain blocos de orgazação
 
Sitrain soluções sugeridasconversion s7 1200
Sitrain  soluções sugeridasconversion s7 1200 Sitrain  soluções sugeridasconversion s7 1200
Sitrain soluções sugeridasconversion s7 1200
 
Dispositivos e redes de comunicaçãos
Dispositivos e redes de comunicaçãosDispositivos e redes de comunicaçãos
Dispositivos e redes de comunicaçãos
 
treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama...
 treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama... treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama...
treinamentos em automacao e solucoes industriais s7 tia 2 simatic s7 porgama...
 
CLP S7 300 E S7 400
CLP S7 300 E S7 400CLP S7 300 E S7 400
CLP S7 300 E S7 400
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

06 station and network configuration v1.00_en

  • 1. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 1 Content 6 6. Station and Network configuration........................................................................3 6.1 Station and network configuration – Principles and relationships ..........................................3 6.1.1 The “classic” way in STEP 7...................................................................................................3 6.1.2 The PCS 7 “fashioned” way....................................................................................................4 6.1.3 Extension of ES by a single OS..............................................................................................8 6.2 PC Station Configuration ......................................................................................................10 6.2.1 PC Station Configuration on the PC .....................................................................................10 6.2.2 PC Station Configuration in the project ................................................................................11 6.2.3 Function “PLC Configure”.....................................................................................................13 6.2.4 Task and checkpoint.............................................................................................................14 6.3 AS Station Configuration in the project.................................................................................15 6.3.1 Basic Steps...........................................................................................................................15 6.3.2 Inserting a SIMATIC S7-400 Station ....................................................................................15 6.3.3 Editing the station configuration of a SIMATIC S7-400 Station............................................16 6.3.4 Configuring the CPU.............................................................................................................20 6.3.5 Configuring the Ethernet interface........................................................................................22 6.3.6 Configuring the DP master ...................................................................................................23 6.3.7 Configuring the DP slaves ....................................................................................................28 6.3.8 The final Download...............................................................................................................31 6.3.9 HW Config - Diagnostics.......................................................................................................32 6.3.10 Task and checkpoint.............................................................................................................33 6.3.11 Comparing PROFIBUS DP and PROFINET IO....................................................................34 6.3.12 Configuring the IO Controller................................................................................................35 6.3.13 Configuring the IO Devices...................................................................................................37
  • 2. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 2 Training Documentation, V1.00, ST-PCS7SYS
  • 3. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 3 6. Station and Network configuration 6.1 Station and network configuration – Principles and relationships 6.1.1 The “classic” way in STEP 7 IE DP Image 1:1 PG/PC Interface: e.g. MPI or ISO Industrial Ethernet ESProject Typical field of application Service and maintenance on the AS hardware configuration. Steps of classic way 1. Configure of the AS in the project on the Field PG as an image 1:1 of the real hardware. 2. Connect the Field-PG to the AS and set the corresponding PG/PC interface. 3. Download of configuration data to the AS. 4. Disconnect the Field PG from AS. The Field-PG respectively its PG/PC interface is not part of the project, but it works only as "loading station". The interface has to be set individually for the selected connection type to be able to reach the target station.
  • 4. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 4 Training Documentation, V1.00, ST-PCS7SYS 6.1.2 The PCS 7 “fashioned” way Overview about ES tools to configure stations and networks PCS 7 Project, administrated in the Engineering System AS in HW Config PC-Station in HW Config ESAS NetPro Plant bus, IE PG/PC Interface real existing rack Station Configurator „virtual“ rack Image 1:1 Image 1:1 real existing CP „virtual“ interface: PC internal (local) Inserting an separate station for the ES For every AS or PC to be used in a PCS 7 project, a station configuration is to be made. In contrast to a Field-PG, the ES is involved into the project and into the common network of all stations. Thus, all downloads can be handled with one PG/PC interface. Configuration of stations: • Make an “image” 1:1 to the real existing hardware of every station in the project. • Configuration conforming to slots: AS hardware is structured by slots in a rack. Each slot is allocated by a hardware component like power supply, CPU, CP… Properties of the component in a slot include type, addresses… Since there is no real existing slot orientation of components in a PC station, a structure with slots similar to an AS rack is simulated by the Station Configurator. From this follows, that the PC hardware has to be described in 2 different localizations: • Hardware of the station, represented by the Station Configurator of the PC station • Hardware description in the HW config of the PCS 7 project
  • 5. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 5 Configuration of network and communication connections: • You specify the network assignment of components capable of communication during hardware configuration of a station in the HW Config. • The SIMATIC Manager tool NetPro graphically displays all configured stations and networks of a project. All bus systems and stations have their own representatives. PG/PC Interface The interaction of your PC Station with various bus systems for networking of automation systems (e.g., MPI bus, Industrial Ethernet,…) requires specialized interfaces. Each of your integrated and installed interfaces is represented by an interface parameter assignment. “PC internal” "PC internal" is a centrally configurable interface, which can be loaded with project- specific settings for all stations on the plant bus. The settings are made on the ES in the PCS 7 multiproject and downloaded from the ES. As soon as "PC internal" is activated, the network adapter begins working in "configured mode", otherwise it is in "PG mode". target system (CPU) Field-PG working in „PG mode“ PG/PC-interface: DIRECT Selection of a „driver-instance“ for STEP 7 communication (S7ONLINE) Download MPICP1613ISO3COMISO target system (AS-CPU or other PC stations) ES/PC station Working in „Configured mode“ MPICP1613ISO3COMISO PC internal Download Target system? Own or other PC or AS-CPU?? PC station configuration „virtual rack“ (Station Configurator) PG/PC-interface: INDIRECT Selection of „driver-instance“ for STEP 7 communication (S7ONLINE)
  • 6. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 6 Training Documentation, V1.00, ST-PCS7SYS Activating PC internal Activate the “PC internal” interface via the Dialog “Set PG/PC Interface” in SIMATIC Manager: Configuration Console All communication modules, on this station available for PCS 7, are listed here. All access point and their assignments are listed here and can be changed  See [102] PCS 7 V8.0 PC Configuration and Authorization - 12_2011, 4.7.7 for more details about use of SIMATIC NET configuration console as possible alternative procedure.
  • 7. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 7 Download to ES AS in HW-Config PC-Station in HW-Config ES AS NetPro Plant bus, IE real existing rack Image 1:1 PG/PC Interface „virtual“ interface: PC internal (local) PCS 7 Project, administrated in the Engineering System Image 1:1 The central ES has to be loaded at first with all information to get the capacity for download to all other station (AS and OS) involved in the PCS 7 project. The configuration data are checked during the download. Both the configuration in the PCS 7 project and the configuration in the Station Configurator have to contain the same information as precondition for a successful download. Status information about "download successful / unsuccessful" is displayed in the Station Configuration Editor. After successful download, the ES has access to the IE network, and within access to all connected stations: AS and PC stations (e.g. server) can be reached and loaded via ES-CP and “its network". The ES got this information by configuration data of the PCS 7 project!
  • 8. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 8 Training Documentation, V1.00, ST-PCS7SYS Download to AS PCS 7 Project, administrated in the Engineering System AS in HW-Config PC-Station in HW-Config ES AS NetPro Plant bus, IE real existing rack Image 1:1 Image 1:1 PG/PC Interface „virtual“ interface: PC internal (local) real existing CP After successful downloading to ES the AS hardware configuration can be downloaded to the AS station. The configuration data are checked during the download. LEDs on the front side of CPU give status information about "download successful / unsuccessful". 6.1.3 Extension of ES by a single OS Insertion of an application for a PC station Each PC station requires additional information for what purpose it is applied in the PCS 7 project (e.g. OS, OS server or client, Batch…). The desired software component is represented as an object of type “WinCC Application” and has to be placed like a hardware component: • in the virtual rack of the Station Configurator • in the HW config of the regarding station in the PCS 7 project  The following phrase may give a hint: The CPU of AS needs a partner on the PC: a "CPU of visualization" for the OS. This is the job of the "WinCC Application". Following this analogy, the WinCC application is placed in the hardware configuration of a PC station like a CPU in the AS rack. Several WinCC Applications are available being specialized for different types of PC stations (e.g. OS, OS server or client, Batch…) An example for single OS stations is the application WinCC Application.
  • 9. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 9 If you want to use the ES also as OS Single Station, then you have to extend the PC configuration of ES by a WinCC application for single OS stations: Configuration of network and connections PCS 7 Project, administrated in the Engineering System AS in HW-Config PC-Station in HW-Config ESAS NetPro Plant bus, IE Image 1:1 OS Communication connections (connections, for short) must always be configured, when data exchange between the automation systems or the automation system and a PC station (for example, an OS station) is required. The figure above illustrates the relation between communication partners. • The "true communication partners" are CPU of AS at the one side and the CPU of OS / WinCC at the other side ( red point): they are the end of a "logical connection". • The CPs are interface of the network ( green line): they are the end of a "physical connection". Once the stations have been arranged and configured, the connections between the ES/OS station and the automation systems, as well as those between the automation systems themselves, are configured (as 1:1 image) and downloaded to the concerned stations – just like the configuration of stations.  See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.10 for more details
  • 10. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 10 Training Documentation, V1.00, ST-PCS7SYS 6.2 PC Station Configuration 6.2.1 PC Station Configuration on the PC Select the PCinternal interface in your ES via the Dialog “Set PG/PC Interface” in SIMATIC Manager: Options -> Set PG/PC Interface For a combined Engineering / Operator Station with a single network connection • a network interface for Industrial Ethernet (CP or IE General) • the WinCC Application have to be added. You are free choosing a slot (see column "Index"), because it is "only a virtual rack" for the PC.
  • 11. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 11 6.2.2 PC Station Configuration in the project In the project a SIMATIC PC Station is to be inserted: It is to be renamed to the computer name. This applies to all PC stations. The name of the PC station must match the station name in the Station Configuration Editor, which already has the preset computer name.  Rename the PC station so that its name matches that of the computer. To do this, you can activate the "Computer name identical to PC station name" option, which means you do not have to make as many entries and the potential for typing errors is reduced. A yellow arrow then appears on the PC station icon in the SIMATIC Manager to indicate the capability of the ES to establish a connection to the plant bus via the "PC internal" interface. After renaming its configuration is to be opened:
  • 12. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 12 Training Documentation, V1.00, ST-PCS7SYS On the same position as in the Station Configuration Editor an IE interface is to be inserted and supplied with the proper addresses and network assignment: After completing the configuration, it is to be saved and compiled and downloaded. 2 6 1 7 4 3 5 Main components: 1. CPs for high performance applications: − higher number of communication partners; − redundant connections − time synchronization 2. standard network adapter 3. standard object for single or multi user system 4. object for OS Client 5. object for referenced OS client 6. object for central archive server 7. (stby) stands for redundant partner  See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.5 for more details
  • 13. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 13 6.2.3 Function “PLC Configure” From PCS 7 V7.0, the function „PLC configure“ provides a comfortable approach for configuration of SIMATIC PC stations. With this function, you must no longer twice work on the configuration (in the project on the ES and in the station configuration editor on the local PC station). However, there are important prerequisites: • The PCS 7 software is installed on the station to be configured. • The station has to be accessible in the network. 2 1 3 Procedure for configuration of PC station of the ES 1. Configure the SIMATIC PC station of the ES in the project (ending with a Save and Compile, not a Download) 2. In SIMATIC Managers Component view, transfer the PC configuration of the project to the PC by the function “PLC configure“. The virtual rack of Station Configuration Editor is overtaking the PC configuration already prepared in the project. 3. Download of the configuration.  See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.4.10 for more details
  • 14. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 14 Training Documentation, V1.00, ST-PCS7SYS 6.2.4 Task and checkpoint Task: Station Configuration PC Goal A configured SIMATIC PC Station, both in the project and the Station Configurator. Checkpoint Two questions … • What additional components can be added in the Station Configuration Editor? • What makes these components to be listed here?
  • 15. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 15 6.3 AS Station Configuration in the project 6.3.1 Basic Steps Inserting a preconfigured station into SIMATIC Manager Opening HW Config Setting the object properties of the CPU and CP Inserting and configuring decentral stations Saving and compiling the configuration Downloading the configuration into the AS 6.3.2 Inserting a SIMATIC S7-400 Station To represent the automation system, a SIMATIC S7-400 station is inserted into the project: 1 2 1. In this “empty“ station, all components are to be inserted using the HW config tool 2. Alternative: After creating a multiproject with the wizard, a project with a preconfigured S7-400 is available then. Adjusting is always possible using HW Config.
  • 16. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 16 Training Documentation, V1.00, ST-PCS7SYS 6.3.3 Editing the station configuration of a SIMATIC S7-400 Station To open the HW Config tool, select the object of the AS station in the component view of SIMATIC Manager: The configuration of an AS station must contain all real placed components and modules:
  • 17. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 17 User interface 1 2 3 4 5 6 7 7 Main elements: 1. Switching between Offline and Online window From the HW Config you can read information from modules directly (e.g. for diagnostics) 2. Save and Compile After configuration of the components, the data can be saved and compiled. 3. Download to station After compilation the data can be downloaded to the station. 4. Station window This area is filled with racks as the main parts of a station. Also objects for distributed IO and field devices and the required master systems (networks for IO). 5. Window for hardware catalog To select the required components: e.g. racks, modules, interface modules. 6. Object for distributed IO device 7. Configuration table Represents the racks and their modules, offers a certain number of slots in the same way the real racks do.
  • 18. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 18 Training Documentation, V1.00, ST-PCS7SYS Working with the Hardware Catalog When the window “Hardware Catalog“ is not display, select the menu command: View -> Catalog 1 2 3 4 Main areas 1. Find field Entrance possibilities: − In the Find field you can enter any text, catalog info or order number. Not case sensitive − wildcards (*, ?,….) are supported − you can also enter a part of an key word (e.g. 331) 2. Using the pull down list “Profile“ you can select several catalog profiles. You can adapt the profiles to your needs. 3. Object for the required module (in this case with a firmware version). 4. Information of the selected component Versions Many modules are available in different versions (Firmware versions). During operation of a plant it may happen that you are forced to replace an older version of a module by a new one with a higher version. In that case the old version remains in the HW Config and the new module is placed.
  • 19. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 19 Save and compile At Save and Compile a consistency check is performed, e.g.: • Do all modules fit to each other? • Are addresses assigned twice? This is the case in the result window below: Download When the consistency check is error free, the required system blocks are created, without any user interference. After that they can be downloaded into the AS. The AS contains all the required information to test if the real configuration fits to the by HW Config created configuration. I will be hidden for the user that many additional features are activated, so that in the events of failures the related messages and alarms will be generated. To download the HW Config data into the AS, the entire communication path from the ES PC up to the Ethernet CP in the AS must be configured properly. For the initial download into the AS, a number of configuration steps are to be done using the tool NetPro. It will be explained in a later stage.
  • 20. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 20 Training Documentation, V1.00, ST-PCS7SYS 6.3.4 Configuring the CPU SIMATIC PCS 7 uses default optimized settings for a CPU, so just a limited number of properties are to be adjusted to the project conditions. Startup properties In the Startup properties the most important is the activated option “Warm restart“. This causes the actual process values not to be reset to the initial values. It is a default setting for PCS 7 that is not to be changed!  Please note, that a PCS 7 AS is always to be equipped with a buffer battery and a RAM memory card.
  • 21. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 21 Organization blocks, cyclic interrupts and Process image partitions 1 32 1. List of OBs assigned to cyclic interrupts (grayed out = not available fort his CPU) 2. Interval of the cyclic interrupt 3. Assigned Process image partition (PIP) Organization blocks (OBs) form the interface between the CPU operating system and the user program. OBs are called by the operating system and control the cyclic and acyclic program sequence, the startup behavior of the automation system and the processing of faults. Start events triggering some groups of OBs are called interrupts. Cyclic interrupts do their job with predefined time interval. They are represented by OB30 – OB38. OBs also control the sequence of processing the individual program blocks. The processing of one OB can be interrupted by another OB (determined by the priority). Before any program run, the CPU loads the signal values of the input modules into a memory, the Process Image Inputs (PII). Because of this PII, the signal values will be constant during the program run. During the execution of the user program, output values are assigned to the Process Image Outputs (PIQ). At the end of the program run, the values of the PIQ are transferred to the output modules. To control the update of the PII at the start of a program run triggered by a cyclic interrupt, and the update of the PIQ at the end of a program run, the so called Process Image Partitions (PIP) are assigned to the cyclic interrupts in use.  In process automation with PCS 7, the Cyclic Interrupts (OB30-OB38) are to be used with an assignment to a Process Image Partition. The Process Image Partitions are required at the configuration of the signal modules. Automation functions are “inserted” into the run sequence of an (Cyclic Interrupt) OB.
  • 22. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 22 Training Documentation, V1.00, ST-PCS7SYS 6.3.5 Configuring the Ethernet interface An S7-400 automation system can include a CP443-1 as an interface to the plant bus. Both the ISO protocol and the TCP/IP can be used. 1 4 3 2 5 1. Device name is not relevant when this module is used for the plant bus only. 2. ISO connections 3. TCP connections, ISO over TCP connections, UDP connections 4. Creating a new subnet object 5. List of available subnet objects The connection to the plant bus is made by selection of the related subnet object in the properties of the Ethernet CP. When a multiproject has been created by the wizard, the project does not contain a subnet object for Industrial Ethernet. The required subnet can be created in the properties of the Ethernet interface. On a with ISO protocol running plant bus, every MAC address can be assigned only once.
  • 23. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 23 6.3.6 Configuring the DP master Objects 1 2 3 4 5 1. Internal Profibus interface of the CPU, default set with a DP Master system. 2. External Profibus interface: is realized by the CP 443-5 Ext. The module can be placed to have additional DP master systems. 3. Subnet: object for a Profibus net. In its Properties you can adjust the transmission rate and the profile. Always assign a useful name (default: PROFIBUS(1)). 4. DP master system: All slaves assigned to a master form together with the master a master system. A master system is a part of a PROFIBUS subnet. 5. Object for a Profibus slave. Distributed IO devices or field devices are assigned a master system as a slave object. In case of a ET200M it can be the IM 153-2, for connecting to the Profibus. Every node (master and slave) is assigned a Profibus address (0…126)
  • 24. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 24 Training Documentation, V1.00, ST-PCS7SYS Adding (inserting) and disconnecting, orphaned master systems The internal Profibus interface is default assigned a DP master system. When more Profibus CPs are available, then additional master systems are to be assigned. 1 2 1. External Profibus interface 2. Already existing DP master system It may happen, an already completely configured master system is to be assigned to another DP interface (e.g. from the internal Profibus interface of the CPU to the additional CP 443-5 Ext). In that case the master system is disconnected from the interface, and will be available as an “Orphaned” master system. The configuration of the distributed IO will remain unchanged. 1 2 3 1. Already completely configured master system 2. Internal Profibus interface as Profibus master 3. Orphaned master system
  • 25. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 25 Orphaned master systems are put into a list that will appear when you want to assign a master system to a Profibus interface. In that way you can connect an existing master system, including the included configuration of distributed IO to another Profibus interface. 1 2 1. Orphaned master system 2. External Profibus interface as Profibus master Connecting with Profibus subnet and assigning the address to the interface 1 4 5 2 3 1. For diagnostics: assign useful name 2. Available Profibus addresses 3. Disconnecting from the subnet 4. Connecting to the subnet 5. Adjusting Profibus properties.
  • 26. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 26 Training Documentation, V1.00, ST-PCS7SYS For assigning Profibus addresses, only the for that subnet available addresses can be used.  A Profibus interface must not be assigned as a master system, but can still be connected to a subnet. I that case the Profibus address is still in use. Independent from separating the master system, you must disconnect the Profibus interface from the subnet, before the address can be used by another node (another Profibus interface). Operating mode of the Profibus interface Check in the Properties dialog, in tab “Operating mode”, if the DP mode “DPV1”is used. The DP mode “DPV1” contains extensions for process automation. More specific: acyclic data exchange for parameter settings, operating, visualization, and interrupt control of intelligent automation devices, parallel to the cyclic data exchange.  With the setting DPV1 also DP slaves, not supporting DPV1 can be connected and operated.
  • 27. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 27 Properties of a Profibus subnet 1 2 3 1. The default Profile “DP” should not be changed for PCS 7. 2. Set the Transmission Rate dependent of the connected DP slaves and the segment length. The default Transmission Rate of 1.5 Mbit/s can be increased to 12 Mbit/s in individual cases, to achieve shorter cycle times. 3. Using the button “Options” you can enter your cable configuration, to have the DP bus parameters optimized for your process.  See [403] Source name, for more details on configuring PROFIBUS hardware.
  • 28. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 28 Training Documentation, V1.00, ST-PCS7SYS 6.3.7 Configuring the DP slaves Placing the modules 1 2 3 4 5 6 8 7 1. Finding using an order number 2. Profile with released modules 3. open the tree under the field bus 4. DP slave “family” 5. Select the interface module as a DP slave. Drag & Drop it on top of the DP master system. The dialog “Properties – PROFIBUS interface …”opens, where you can set: − Properties of the PROFIBUS subnet (transmission rate etc.) − the address of the DP slave 6. Profibus address. The address must fit to the address set on the module (for ET200M Dip switches are used). 7. Configuration table of the DP slave. A symbol for the DP slave is connected to the line representing the DP master system. In the lower window pane a table is displayed with the available slots. 8. Signal module: Drag & Drop the modules in the Configuration table. For modular DP slaves, the usable modules are organized in the “Hardware catalog” in lower level folders representing the DP slave “family”. For the family ET200M S7-300 modules are used.
  • 29. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 29 Configuring the ET200M interface module Be sure, there is a check mark at “Replace modules during operation”.  For use in PCS 7 the racks of ET200M should be equipped with active bus modules. Configuring signal modules 1 2 1. Select useful names (diagnostics) 2. Select a Process Image Partition (PIP). It should have been set in a earlier stage in the CPU properties of a cyclic interrupt OB. Doing so, the IO signals are synchronized with the Process images due to the cyclic interrupt OBs. This setting affects all channels of the module.
  • 30. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 30 Training Documentation, V1.00, ST-PCS7SYS Diagnostics enabled Modules with diagnostic recognize internal and external module faults and generate diagnostic alarms. With the enabling of the diagnostic interrupt, the diagnostic alarms will be generated automatically through the PCS 7 drivers after an OS compilation. Channel specific settings In general, a channel of a module should only be activated, when the related sensor, actuator or replacement resistor has been connected. That is to prevent unwanted diagnostic messages on the PCS 7 OS in Runtime. At some modules, channels are grouped to channel groups. In that case the settings are common for the channels of the channel group, e.g. for the AI8x12Bit module: 4 groups of 2 channels each. The group is to be activated when a signal is connected to 1 channel. Then a resistor is to be connected to the other channel. Example: Configuring an Analog Input module 1 2 3 4 5 6 1. Measuring type must fit the Position of Measuring Range Selection Module. 2. Active channels 3. Inactive channels 4. Channel group specific Diagnostics settings 5. Enabling the diagnostic alarms for the entire module 6. Not to be set for PCS 7. This function is covered by the channel drivers.
  • 31. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 31 6.3.8 The final Download 1 2 3 4 5 6 7 1. In HW Config, perform a Save and Compile. There should be no error. 2. Initiate the download procedure, using the button Download to Module. 3. The target module should be the CPU, click on OK. 4. Select the protocol for downloading (only when both TCP/IP and ISO have been selected at the properties of the Ethernet interface module). 5. The download will start, but will be interrupted when the CPU is in Run mode … 6. Click on OK when you agree to put the CPU in Stop mode, the download will continue then. 7. After completing the download, you can have the CPU in the Run mode again. Therefore, click the Yes button.
  • 32. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 32 Training Documentation, V1.00, ST-PCS7SYS 6.3.9 HW Config - Diagnostics In brief the Online view of HW Config: 2 3 4 1 5 1. In the tool bar, click on the Offline <-> Online button. This will switch between the Offline and Online window, not closing the earlier window. Icons represent states and modes. To have an impression 4 examples: 2. The CPU Stop and Run mode. Run mode is active now in the window. 3. Mismatch between preset and actual configuration: the configured module does not exist or a different module type is inserted. 4. Diagnostics not possible: No online connection, or the module does not return diagnostic information. 5. Fault: module has a fault. Possible causes: diagnostic interrupt, I/O access error, or error LED detected More diagnostic information is available after double click on the regarding module. The Module information window allows to read the diagnostic buffer: 1 3 2
  • 33. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 33 1. Status of the module from the viewpoint of the CPU 2. In the diagnostic buffer the diagnostic events are displayed in the order they occur. The first entry contains the newest event. 3. If you select an event in the list, a detailed description will appear in this box: − Name of the event and event number − Additional information, depending on the event, such as the address of the command that caused the event and the mode transition that was caused by the diagnostic event. − Event state being entered or left 6.3.10 Task and checkpoint Task: Station Configuration AS Goal A configured SIMATIC S7-400 Station, to be used as the AS in the training application. Checkpoint Find out: • What IO address ranges are in use, set by HW Config? • Be sure the address range 100 … 299 is not used, it will be used by the process simulation. • If used, please modify the addresses now !
  • 34. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 34 Training Documentation, V1.00, ST-PCS7SYS 6.3.11 Comparing PROFIBUS DP and PROFINET IO Why PROFINET IO? Future requirements regarding system performance and sizing will have field busses reach their limits. Because of continuous technological development Ethernet provides future-proof communication platform with high performance. Merging the areas office and automation, vertical integration offers productivity improvement potential. In the office sector, Ethernet is the unchallenged standard in the fields of installation technology and protocols. Stations-Nummer PB-Adr. 0...127 PROFIBUS DP Master Classe 2 DP-Slave DP-Master DP-Mastersystem PROFIBUS / RS 485 PROFIBUS DP IO-SupervisorAdministrative Services IO-DeviceField Device Name Device Name Address Assignment of Equipment Device NumberNumber allocation PROFINET IOName at Hardware Catalog IO-Controller Designation of System Controller IO-SystemSubsystem Name EthernetNetwork type PROFINET IOAttribute Typically Line structure; Tree or Ring possible with restrictions; terminal resistance at the last participant needed Max. 12 Mb/s (Token) Over DIP-Switch or by Telegram Only one priority possible From several participants, possible only reading Not allowed Maximum 126 participants Same priority of data traffic Only an exactly defined data channel between Master and Slave PROFIBUS DP 100 Mb/s (full duplex, i.e. 200 Mb/s)Baud rate Simple designation of Address/Name of the device at the project (through Controller with support from Engineering- Tool) Addressing set up Line, Star, Tree, Ring and mixed configuration possibleTopology Can be differently prioritizedAlarms and Diagnosis From several participants, possible reading and writing Access to Data of a Field Equipment It can be integrated without restrictions.IT Services Maximum 256 participants per Controller. Unlimited throughout the Network segment. Amount of Participants Possible, through flexible parameterization of actualization rate.Data Priorization Several data channels between Controller/Supervisor and Device can be realized Data Channel PROFINET IOFunctionality
  • 35. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 35 6.3.12 Configuring the IO Controller Addressing Profibus DP: Individual addressing in each station Profinet IO: Simple name designation through Controller with support of Engineering System Before the distributed IO can be used by the central station it must have an address: • For DP slaves: a number: 0 …126 • For IO devices: a device name The device name can be assigned in different ways, e.g. by the HW Config tool of STEP 7. Initial Steps Open the Properties of the Ethernet interface:
  • 36. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 36 Training Documentation, V1.00, ST-PCS7SYS Then proceed with the following steps: 2 3 5 6 1 4 1. Enter the required Device name. 2. Notice that the interface is not assigned an Ethernet subnet yet. Continue with the Properties button. 3. Enter the required IP address and subnet mask fort the new Ethernet subnet. 4. Click the New button to actually create the subnet. 5. Enter the required name of the subnet. 6. After closing the last window, notice that a subnet has been created and assigned to the interface module. Inserting the PROFINET IO System 1 2 1. In the Ethernet interface module, select in the context menu: Insert PROFINET IO System 2. The PROFINET IO System is displayed now, based on the connected subnet.
  • 37. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 37 6.3.13 Configuring the IO Devices Inserting the ET200M Interface module 1 2 3 4 1. Select in the catalog: the PROFINET IO tree, the required “family” and the Interface module. 2. Open the device properties 3. Enter the required name. Press the Ethernet button to continue. 4. Enter the required IP address. After closing the windows the modular IO device is ready to accept the modules.
  • 38. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration 6 - 38 Training Documentation, V1.00, ST-PCS7SYS Inserting the IO modules 1 2 4 3 1. Select the IO Device. The Configuration tables lists the possible slots. 2. Open the tree under the placed ET200M interface module. 3. Open the folder representing the type of modules. 4. Place the required module on the proper slot. Assigning the Device name to the real IO device 2 1
  • 39. PCS 7 System Course SIMATIC PCS 7 – Station and network configuration Training Documentation, V1.00, ST-PCS7SYS 6 - 39 1. From SIMATIC Managers Options menu, open the Set PG/PC Interface dialog window, to change the S7ONLINE access point to TCP/IP on the ES Ethernet interface in use. 2. Create a physical cable connection from your ES to the unused port of the PROFINET interface module, to be able to access the IO device. Then, continue in HW Config: 1 2 3 5 6 4 7 8 1. After selecting the desired device, activate from the menu: PLC > Ethernet > Assign Device Name … 2. In the dialog window, have the device name in the Device name pull down list. 3. The table Available devices should display the accessible devices on the network. 4. You can use 2 predefined filter settings. 5. When you have eye-contact with the IO device, use the Node flashing test feature to improve the identification of the device. 6. After highlighting the desired device, click on the Assign name button. 7. Put back the cable connector to where it come from. 8. For the PG/PC interface, select the PC internal mode.