Sunteți pe pagina 1din 11

Training Units and Addressing

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.1

Contents Page
Training Area Setup with S7-300 ...................................................................................................... 2
Configuration of the S7-300 Training Unit ......................................................................................... 3
Addressing S7-300 Modules ............................................................................................................ 4
Training Area Setup with S7- 400 ..................................................................................................... 5
Configuration of the S7-400 Training Unit ......................................................................................... 6
The Simulator ................................................................................................................................... 7
The Conveyor Model ........................................................................................................................ 8
Complete Symbol List (1) ................................................................................................................. 9
Complete Symbol List (2) ................................................................................................................. 10
Complete Symbol List (3) ................................................................................................................. 11

SITRAIN Training for ST-PRO1


Automation and Drives Page 1 Training Units and Addressing
Training Area Setup with S7-300

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.2

Contents of the The training area consists of the following components:


Training Area • An S7-300 programmable logic controller with CPU (f.e. CPU 315-2 DP)
• Digital input and output modules, analog module
• Simulator with digital and analog sections
• Conveyor model
• ET 200S distributed peripheral
• MM420 Micromaster with PROFIBUS module
• Touchpanel (f.e. TP170B)
• Programming device or PC

SITRAIN Training for ST-PRO1


Automation and Drives Page 2 Training Units and Addressing
Configuration of the S7-300 Training Unit

(32 channel
I/O modules)

Module --> PS CPU DI 32 DO 32 DI8/DO8 AI 2


Slot No. --> 1 2 4 5 6 7
I/O Address --> 0 4 8 304

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.3

Configuration The programmable controller is configured with the following modules:

Slot 1: Power Supply 24V/5A


Slot 2: CPU 315-2 DP
Slot 4: Digital input 32x24V Inputs from the simulator
and thumbwheel buttons
Slot 5: Digital output 32x24V/0.5A Outputs from the simulator
and digital display
Slot 6: Digital input and output Conveyor model
module 8X24V/ 8x24V 0.5A
Slot 7: Analog input 2 AI Analog section from the simulator

Addresses For the training unit with the CPU 315-2DP and for the S7-400 training unit, you
can set the starting addresses of the modules by parameter assignment
(freely).

SITRAIN Training for ST-PRO1


Automation and Drives Page 3 Training Units and Addressing
Addressing S7-300 Modules

Slot No. 1 2 4 5 6 7 8 9 10

Modules PS CPU SM SM SM SM SM SM SM

Address 0.0
Address 0.7
Address 1.0
Address 1.7

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.4

Slot Numbers The slot numbers in the rack of an S7-300™ simplify addressing in the
S7-300™ environment. The position of the module in the rack determines the
first address on a module.

Slot 1 Power supply. This is the first slot by default.


A power supply module is not absolutely essential. An S7-300™ can also be
supplied with 24V directly.

Slot 2 Slot for the CPU.

Slot 3 Logically reserved for an interface module (IM) for multi-tier configurations using
expansion racks. Even if no IM is installed, it must be included for addressing
purposes.
You can physically reserve the slot (such as for installing an IM at a later date) if
you insert a DM370 dummy module.

Slots 4-11 Slot 4 is the first slot that can be used for I/O modules, communications
processors (CP) or function modules (FM).
Addressing examples:
• A DI module in slot 4 begins with the byte address 0 .
• The top LED of a DO module in slot 6 is called Q8.0 .

Note Four byte addresses are reserved for each slot. When 16-channel DI/DO
modules are used, two byte addresses are lost in every slot!

SITRAIN Training for ST-PRO1


Automation and Drives Page 4 Training Units and Addressing
Training Area Setup with S7- 400

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.5

Contents of the The training area consists of the following components:


Training Area • An S7-400 programmable logic controller with CPU (f.e. CPU 412-2 DP)
• Digital input and output modules, analog module
• Simulator with digital and analog section
• Conveyor model
• ET 200S distributed peripheral
• MM420 Micromaster with PROFIBUS module
• Touchpanel (f.e. TP170B)
• Programming device or PC

SITRAIN Training for ST-PRO1


Automation and Drives Page 5 Training Units and Addressing
Configuration of the S7-400 Training Unit

Slot No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

PS CPU DI DI DO DO AI
32 32 32 32 8

Default Address: 28 32 36 40 1216

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.6

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

Configuration The UR 1 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 potentiometer on 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.

SITRAIN Training for ST-PRO1


Automation and Drives Page 6 Training Units and Addressing
The Simulator

Potentiometers for
setting the
Digital Display analog vales

DI DO

.0 .......... .......... .0
.1 .......... .......... .1
.2 .......... .......... .2
.3 .......... .......... .3 V
.4 .......... .......... .4
.5 .......... .......... .5
.6 .......... .......... .6 -15V...+15V AI2 AO1 -15V...+15V
AI1 AO2
.7 .......... .......... .7
.0 .......... ..........
.0
.1 .......... ..........
.1 AI1 AI2
.2 .......... .......... V
.2
.3 .......... ..........
.3
.4 .......... ..........
.5 .......... ..........
.4
.5
0 8 1 5 AI1 AI2 AO1 AO2
.6 .......... ..........
.6
.7 .......... ..........
.7

Switches LEDs Thumbwheel Buttons


/ Pushbuttons

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.7

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 / pushbuttons and 16 LEDs

• 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 (DI32, DO32)

Switch / Pushb. IW 0

LEDs QW 4

Thumb. buttons IW 2

Digital display QW 6

Analog channels PIW 304/306

SITRAIN Training for ST-PRO1


Automation and Drives Page 7 Training Units and Addressing
The Conveyor Model

BAY_1 BAY_2 BAY_3 LB1


I 8.5 I 8.6 I 8.7 I 8.0

K_RT (Q 8.5)
K_LT (Q 8.6)

T_Bay_1 T_Bay_2 T_Bay_3 T_Bay_4 Horn


I 8.1 I 8.2 I 8.3 I 8.4 Q 8.7
L_Bay_1 L_Bay_2 L_Bay_3 L_Act=SET
Q 8.1 Q 8.2 Q 8.3 Q 8.4

SIMATIC S7 Date: 24.06.2004 SITRAIN Training for


Automation and Drives
Siemens AG 2004. All rights reserved. File: PRO_1_02E.8

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

Addresses S7-300
Sensor / Actuator Symbol
(DI32,
DO32)
I 8.0 Light Barrier LB 1 LB1
I 8.1 Ackn. Pushbutton Bay 1 T_Bay_1
I 8.2 Ackn. Pushbutton Bay 2 T_Bay_2
I 8.3 Ackn. Pushbutton Bay 3 T_Bay_3
I 8.4 Ackn. PB Final Assembly T_Bay_4
I 8.5 Prox. switch Bay 1 (INI1) BAY_1
I 8.6 Prox. switch Bay 2 (INI2) BAY_2
I 8.7 Prox. switch Bay 3 (INI3) BAY_3

Q 8.1 Indicator light Bay 1 (H1) L_Bay_1


Q 8.2 Indicator light Bay 2 (H2) L_Bay_2
Q 8.3 Indicator light Bay 3 (H3) L_Bay_3
Q 8.4 Number of parts OK L_Act=SET
Q 8.5 Conv. oper. to RIGHT K_RT
Q 8.6 Conv. oper. to LEFT K_LT
Q.8.7 Horn Horn

SITRAIN Training for ST-PRO1


Automation and Drives Page 8 Training Units and Addressing
Complete Symbol List (1)

SITRAIN Training for ST-PRO1


Automation and Drives Page 9 Training Units and Addressing
Complete Symbol List (2)

SITRAIN Training for ST-PRO1


Automation and Drives Page 10 Training Units and Addressing
Complete Symbol List (3)

SITRAIN Training for ST-PRO1


Automation and Drives Page 11 Training Units and Addressing

S-ar putea să vă placă și