Thursday, February 26, 2015

The Step7 Simatic Manager



Process
When you take a closer look at a process you want to automate, you will find
that it is made up of a multitude of smaller sections and sub-processes, which
are all interlinked and dependent on one another.
The first task is therefore to break down the automation process as a whole into
separate sub-tasks.

Hardware and Software
Each sub-task defines certain hardware and software requirements which the the automation system must fulfill:
• Hardware:
- Number and type of inputs and outputs
- Number and type of modules
- Number of racks
- Capacity and type of CPU
- HMI systems
- Networking systems
• Software:
- Program structure
- Data management for the automation process
- Configuration data
- Communication data
- Program and project documentation.

Project
In SIMATIC STEP7 all the hardware and software requirements of an automation
process are managed within a project.
A project includes the necessary hardware (+ configuration), network
(+ configuration), all the programs, and the entire data management for an
automation solution.

Imatic Step7 Project Structure

Multiproject
The multiproject folder is the folder for all projects and libraries of an automation
solution that contains one or more STEP7 projects and optionally, also libraries.
That way, the complete solution can be divided into individual, easy to follow
projects. The projects within the multiproject can contain objects with crossproject
interrelations (such as cross-project Step7 connections).

Project Structure
Data is stored in a project in the form of objects. The objects in a project are
arranged in a tree structure (project hierarchy). The tree structure displayed in
the project window is similar to that in the Windows Explorer. Only the icons for
the objects are different.

Project Hierarchy
1st. Level:
The first level contains the project icon. Each project represents a
database where all the relevant project data are stored.
2nd. Level:
• Stations (such as the Step7 - 300™ station) are where information
about the hardware configuration and parameter assignment
data of modules is stored.
Stations are the starting point for configuring the hardware.
• Step7 Program folders are the starting point for writing
programs. All the software for a parameter-assignable
module from the Step7 range is stored in an Step7 Program
folder. This folder contains further folders for the program
blocks and sources.
• Subnets (MPI,Profibus, Industrial Ethernet) are part of an
overall network.
3rd. and subsequent levels: Depends on the object type of the next-higher level.

Sunday, February 22, 2015

Configuration of the Simatic Step7 - 400 Training Unit PS Default Address: CPU DI 32 28 Slot

Design
You can see the design of the Simatic Step7 - 400 training unit in the slide above.

Configuration
The UR 1 mounting rack is configured with the following modules:
Slot 1: Power supply 24V and 5V/20A
Slot 2: - " -
Slot 3: - " -
Slot 4: CPU 412 or other
Slot 5: vacant (when the CPU only has a single width)
Slot 6: vacant
Slot 7: vacant
Slot 8: Digital input 32x24V (from Simulator)
Slot 9: Digital input 32x24V (from Conveyor Model)
Slot 10: Digital output 32x24V 0.5A (to Simulator)
Slot 11: Digital output 32x24V 0.5A (to Conveyor Model)
Slot 12: Analog input 8X13 Bit (from Poti on the Simulator)
Slot 13: vacant
Slot 14: vacant
Slot 15: vacant
Slot 16: vacant
Slot 17: vacant
Slot 18: vacant

Addressing
You have the default addresses, as shown in the slide above, as long as no
configuration or parameter settings have been made.



PLC Simulator

Design
Two cables connect the simulator to the S7-300™ or S7-400™ training unit. The
simulator is divided into the following three sections:
• Binary section with 16 switches/momentary-contact switches and 16 LED's
• Digital section with 4 thumbwheel buttons and a digital display. The
thumbwheel and digital (BCD) display use BCD values,
• Analog section with a voltmeter for displaying the values at analog channels
0 and 1 or the analog outputs 0 and 1. You use the selector switch to choose
the voltage value you want to monitor. There are two separate
potentiometers for setting the values for the analog inputs.

Addressing
You use the following addresses to address the inputs and outputs in your user
program:
Sensor / Actuator
Version A
(DI16, DO16)
Version B
(DI32, DO32)
S7-400
(Default addresses
Switch / M.C.Sw.
IW 0
IW 0
IW 28
LEDs
QW 8
QW 4
QW 36
Thumb. buttons
IW 4
IW 2
IW 30
Digital display
QW 12
QW 6
QW 38
Analog channels
PIW 352/354
PIW 304/306
PIW 1216/1230


The Conveyor Model

Design
The slide shows a diagram of the conveyor model with its sensors and
actuators.

Addresses
S7-300
Ver. A
(DI16,
DO16)
S7-300
Ver. B
(DI32,
DO32)
S7-400
(Default
Ad-
dresses)
Sensor / Actuator
Symbol
I 16.0
I 16.1
I 16.2
I 16.3
I 16.4
I 16.5
I 16.6
I 16.7

Q 20.1
Q 20.2
Q 20.3
Q 20.4
Q 20.6
Q 20.7
I 8.0
I 8.1
I 8.2
I 8.3
I 8.4
I 8.5
I 8.6
I 8.7

Q 8.1
Q 8.2
Q 8.3
Q 8.4
Q 8.6
Q 8.7
I 32.0
I 32.1
I 32.2
I 32.3
I 32.4
I 32.5
I 32.6
I 32.7

Q 40.1
Q 40.2
Q 40.3
Q 40.4
Q 40.6
Q 40.7
Light Barrier at Conv. End
Push Button at Bay1, M.C.
Push Button at Bay2, M.C.
Push Button at Bay3, M.C.
Push Button at End C.MC.
Proximity Sensor at Bay 1
Proximity Sensor at Bay 2
Proximity Sensor at Bay 3

Indicator Light at Bay 1
Indicator Light at Bay 2
Indicator Light at Bay 3
Indicator Light at Conv. End
Run Conveyor Left
Horn
LB
T_PB1
T_PB2
T_PB3
T_PB4
BAY1
BAY2
BAY3

L_BAY1
L_BAY2
L_BAY3
L_END
K_LT
K_Horn