• No se han encontrado resultados

1.1 EL ROL DE LA IGLESIA EN LA PRODUCCIÓN SOCIAL DEL ESPACIO EN CIUDADES LATINOAMERICANASESPACIO EN CIUDADES LATINOAMERICANAS

1.2.2 Proyectos de barrios obreros en QuitoQuito

,

ADr ST L FBI) - III I b - -I L_Convflotor" My_Project ,SIMA TIC 300(1) \ CPU 315-2 DPV2,61/161 ..m.11: 1

amma. 2wleawidien:

T_Jog_RIGHT 10.2 -- Jog conveyor RIGHT, amsentary contact T_Jog_LIFT 20.3 -- Jog conveyor LIFT, momentarycontact

H_Conv_RIGHT 08.5 -- Run conveyor RIGHT

T_Jog_RIGHT /0.2 -- Jog conveyor RIGHT, aomentary contact T_Jog_LIFT 10.3 -- Jog conveyor LIFT, momentary contact

H_Conv_LIFT 08.6 -- Run conveyor LIFT

Siemens AG 2008. All rights reserved. Date: 18.09.2009

File: SERV1_08E.18

SITRAIN Training for gr Automation and Industrial Solutions

Task

What to Do

Using the simulator "pushbutton" I 0.2, you should be able to jog the conveyor motor to the RIGHT (Q 8.5). Using the simulator "pushbutton" I 0.3, you should be able to jog the conveyor motor to the LEFT (Q 8.6). If both "pushbuttons" are pressed simultaneously, then the conveyor motor may not start in either direction (Lock-out!).

1. In the SIMATIC Manager, insert a new FC16 block.

Block folder - right mouse click - insert new object - Function 9 in the dialog set the programming language to LAD

2. Start the LAD / STL / FBD Editor by double-clicking on FC 16.

3. In the "Overviews" open the Program Elements browser 4. Edit Network 1 of the FC16 (see slide)

using drag & drop, copy the required logic symbol from the Program Elements browser to the desired location in the network's code section.

label the addresses at the logic symbol.

Give the networks titles

5. Then insert a new, second network and program this in a similar manner as described in Point 4

6. Save the block offline

7. Download the block into the CPU

Also observe your block in the different programming languages. To do so select LAD / STL / FBD Editor - View 4 choose either LAD, STL, or FBD.

SITRAIN Training for

Automation and Industrial Solutions Page 18 ST-SERV1

Editing Blocks

a

a 14.itiple instances E IS Lbraries

4 I lel Program elements hE. Cal stiuctrie I

,71,111141j1j1.1,1\ ±l: Eno, 2: Info 3: Cios leferences 4: Address info. A 5: Marty A 6: D.57...b. A 7: Cornmeal /

Press Fl to get Heip. 1----0 loffrme tAbs < 5.2 1 l 1---1 4

A

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date: 18.09.2009

File: SERV1_08E.1 9 lit; SITRAIN Training for

Automation and Industrial Solutions

In OB 1 program the call of the FC 16 so that this block is executed cyclically.

1. Open the OB 1 block with the LAD / STL / FBD Editor

2. In the "View" menu, choose the LAD programming language and select the code section of Network 1

3. In the " Overviews", open the Program Elements browser and in it the FC Blocks folder

4. Program the call of the FC 16 by copying the block symbol into the network using drag & drop.

5. Save OB1 offline and download it into the CPU

6. Test the FC 16 function, that is, whether or not the conveyor motor can be jogged

7. Open the FC 16 block with the LAD / STL / FBD Editor and activate the

"Monitor block" test function to follow the signal sequences during the

program execution

SITRAIN Training for ST-SERV1

Automation and Industrial Solutions Page 19 Editing Blocks

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date: 18.09.2009 File: SERV1_08E.20

_1111 SITRAIN Training for gr, Automation and Industrial Solutions

Note The following pages contain either further information or are for reference to complete a topic.

For more indepth study we offer advanced courses and self-learning mediums.

SITRAIN Training for

Automation and Industrial Solutions Page 20

ST-SERV1 Editing Blocks

—Program status

r Control at Contact

r Automatic Program Status Change on Blocks

w Terminate ONLINE connection after program status

Tree Lag: (0.60) seconds

ip,

OK Abbrechen I Hale

OLAD/STL/FBD - [FCI My_Project SIMATIC 3111X1)\ CPU 315-2 DP] 2S1

Fie Edit Insert PLC Debug new 1-( ptions Window Help

. .

DICA3"It

-1611 4

Y,h1e1 General I View I STL I LAD/FBD I Block I Sources I Source Text I Compare On-/Offine Partners

Reference Data

Mnemonics (Change SIMATIC Manager Options>Customizek Ergish

41

AlliliulthliEtror A 2: Info 3: Cross-references Changes various individual settings of this application.

Font

1Setmork System Off/OFF

Further options

r Report cross-accesses as error

F Save window arrangement on exit Set network title automatically

SIEMENS

Editor Customization: "General" Tab

SIMATIC S7

Siemens AG 2008 All rights reserved.

Date: 18.09.2009 SERV1_08E.21

SITRAIN Training for th," Automation and Industrial Solutions

Font

Control at Contact

Report Cross References as Error

Save Window Arrangement on Exit

Set Network Title Automatically

Here you select using "Select" the font and the size of the text to be used for programming blocks.

Inputs and bit memories that were given the attribute CC (Control at Contact) in the symbol table, can be controlled directly from the Program Editor using buttons (on the contact).

Here you can specify that global accesses to instance data blocks, that were entered as such in the symbol table, be reported as errors.

The contents and the arrangement of possibly still open windows are saved when you exit. The next time you start, they are reestablished.

Here you can specify that the symbol comment of the first output, bit memory, timer or counter address that is assigned a state in a network ("=", "S" and "R"), be automatically used as network title.

SITRAIN Training for ST-SERV1

Automation and Industrial Solutions Page 21 Editing Blocks

OK I Cancel

I H.* I

1 ,1 Nel I

CLAD/STL/FBD - [FC1 My_Project SIMATIC 300(1) \ CPU 315-2 DP] 2S1

G. Pis Edit Insert PLC Debug View I Options Window Help

Ctr1+111 12

*-1=

-

1611

Compare On-/Offline Partners Reference Data

MaIMILII11111101111M1231/ 3 Cross-references 4 Ad

TI

Changes various nividual settings of tNs application.

- View after Block Open 17 Symbolic representation 17 Symbol information

With text color:

Automatic symbol selection (for LAD /HD)

Sorting of selection list by: Isyrnbd 14.1 17 Block/network comments

1 Address identification

17 Permanently forced addresses (FORCE) 17 Process diagnostic addresses (PDIAG)

With background coior. 11.11 Select..

Not faisafe addresses: Sant..

Select...

-View for Block Types

Logic Blocks: Data Blocks:

'Created in Language 2:1 I Declaration View

Program element overview

Project Libraries:

I

Type and number J I Type and number

J

Editor Customization: "View" Tab

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date: 18.09.2009

File: SERV1_08E.22

gr

i SITRAIN Training for

Automation and Industrial Solutions

View after Block Open

After opening with the Editor, you can display blocks as follows:

• with symbolic or absolute addressing

• with or without symbol information

• with or without symbol selection (only in LAD and FBD)

• with or without block and network comments

• with or without address identification for forced addresses and/or addresses that are used for process diagnostics

View for Block Types:

...Logic Blocks

...Data Blocks

From the selection box you can choose the programming language of the blocks - "STL", "LAD", "FBD" or Created in Language.

You can display data blocks in the following views:

• declaration view or

• data view

Program Elements - Here you can specify how logic blocks are to be sorted in the "Overviews"

Overview browser - according to type and number or according to family name (entry in a block's Properties dialog).

SITRAIN Training for

Automation and Industrial Solutions Page 22

ST-SERV1 Editing Blocks

General I View STL I IAD/FBD I Block I Sources I Source Text

—Display of the Status Fields 17 Status Bit

Result of Logic Operation Defauk Status

r

Address Register I Address Register 2

r

Accumulator 2

r

DB Register

r

DB Register 2

r

Indirect