SlideShare uma empresa Scribd logo
1 de 10
Baixar para ler offline
STEP 7 – MICRO/WIN TUTORIAL
Step7 – Micro/WIN makes programming of S7-200 easier. Programming of S7-200 by using Step 7 –
Micro/WIN will be introduced in a simple example. Inputs will be defined as IX.X, outputs will be
defined as QX.X and flags will be defined as MX.X for programming Siemens PLCs. For example
I0.1 defines the first module’s 1st
input and Q0.1 defines first module’s first output.
Step-1: How to open Step 7 – Micro/WIN
You can open Step 7 – Micro/WIN from following path for Windows. After opening the program you
will see the window in Figure 1.1. In Figure 1.2 steps of writing and running a program on PLC is
demonstrated.
Start  All Programs  Simatic  Step 7 Micro/WIN V4 XX  Step 7 Micro/WIN
Figure 1.1: Step 7 Micro/WIN Start Window
Figure 1.2: Steps of Running Your Code on PLC
Open Step 7
Micro/WIN
Write a Simple
Code in Ladder
Networks
Compile Your
Code
Download Your
Code to PLC
Run PLC to
Perform Code
Step-2: How to write a simple program and use a timer in Step 7 – Micro/WIN
(NETWORK 1)
You can check the timer types and properties from Table 1.1 and Table 1.2. Procedure of
using timer is as follow;
 Click on Bit Logic icon to open bit logic commands.
 Choose normally close contact.
 Drag and drop the contact to network 1.
 Write the M0.0 instead of the question marks (???) over the contact. M0.0 is flag
contact.
 Press the enter button to finish contact definition.
Figure 1.3: Step 7 Micro/WIN Timer and M0.0 Contact
Setting up the timer (see Figure 1.3):
 Click on timer icon (see red boxes in Figure 1.2) to see all timer commands
 Choose TON (On-delay timer).
 Drag and drop the TON to network 1 next to M0.0.
 Write the T33 (see green boxes in Figure 1.2) instead of the question marks (???) over
the timer box.
 Press enter the cursor will go to PT (see blue boxes in Figure 1.2) section (Time
Setting).
 Enter time setting as: 100.
 Press enter to finish setting up the timer.
Table 1.1: Timer Numbers and Resolutions
Table 1.2: Operations of the Timer Instructions
Step-3: Turning the Output On (NETWORK 2)
When the timer value for T33 is greater than or equal to 40 (40 times 10 milliseconds, or 0.4 seconds),
the contact provides power flow to turn on output Q0.0 of the S7-200. To enter the Compare
instruction (see Figure 1.4):
 Double-click the Compare icon to display the compare instructions. Select the >=I instruction
(Greater-Than-Or-Equal-To-Integer ).
 Hold down the left mouse button and drag the compare instruction onto the second network.
 Click on the “???” above the contact and enter the address for the timer value: T33
 Press the Return key to enter the timer number and to move the focus to the other value to be
compared with the timer value.
 Enter the following value to be compared with the timer value: 40
 Press the Return key to enter the value.
To enter the instruction for turning on output Q0.0:
 Double-click the Bit Logic icon to display the bit logic instructions and select the output coil.
 Hold down the left mouse button and drag the coil onto the second network.
 Click on the “???” above the coil and enter the following address: Q0.0
 Press the Return key to enter the address for the coil.
Figure 1.4: Step 7 Micro/WIN Turn on the Output Network 2
Step-4: Resetting the Timer (NETWORK 3)
When the timer reaches the preset value (100) and turns the timer bit on, the contact for T33 turns on.
Power flow from this contact turns on the M0.0 memory location. Because the timer is enabled by a
Normally Closed contact for M0.0, changing the state of M0.0 from off (0) to on (1) resets the timer
(see Figure 1.5).
To enter the contact for the timer bit of T33:
 Select the Normally Open contact from the bit logic instructions.
 Hold down the left mouse button and drag the contact onto the third network.
 Click on the “???” above the contact and enter the address of the timer bit: T33
 Press the Return key to enter the address for the contact.
To enter the coil for turning on M0.0:
 Select the output coil from the bit logic instructions.
 Hold down the left mouse button and drag the output coil onto the third network.
 Double-click the “???” above the coil and enter the following address: M0.0
 Press the Return key to enter the address for the coil.
You can save your project from: File Save As
Figure 1.5: Step 7 Micro/WIN Resetting the Timer Network 3
Figure 1.6: Whole Example and Output Timing diagram
Step-5: Downloading the Sample Program to PLC
 Click the Download icon on the toolbar or select the File > Download menu
command to download the program (See Figure1.7).
 Click OK on opened window to download the elements of the program to the S7-200.
Figure 1.7: Upload and Download Buttons
Step-6: Running the PLC
For STEP 7--Micro/WIN to place the S7-200 CPU in RUN mode, the mode switch of the S7-200
must be set to TERM or RUN. When you place the S7-200 in RUN mode, the S7-200 executes
the program:
 Click the RUN icon on the toolbar or select the PLC > RUN menu command (See Figure1.8).
 Click OK to change the operating mode of the S7-200.
Figure 1.8: Run and Stop Buttons
Counters
Figure 2.1: Up-Down Counter Definitions
 The Count Up instruction (CTU) counts up from the current value each time the count up (CU) input
makes the transition from off to on. When the current value Cxx is greater than or equal to the preset
value PV, the counter bit Cxx turns on. The counter is reset when the Reset (R) input turns on, or when
the Reset instruction is executed. The counter stops counting when it reaches the maximum value
(32,767).
 The Count Down instruction (CTD) counts down from the current value of that counter each time the
count down (CD) input makes the transition from off to on. When the current value Cxx is equal to 0, the
counter bit Cxx turns on. The counter resets the counter bit Cxx and loads the current value with the
preset value PV when the load input LD turns on. The counter stops upon reaching zero, and the counter
bit Cxx turns on.
 R input for CTU and LD input for CTD are reset inputs of counters (see Figure 2.1). You can reset
counters by using this inputs.
Table 2.1: Operations of the Counter Instructions
REFERENCES
[1] Siemens Simatic S7-200 Programable Controller System Manual, Edition 09, 2007.
Experiment of Siemens S7-200
The Figure below shows a system which separate three different color balls which are mixed in a
reservoir and then fill three different labeled with color names bins. The total number of balls is 23
so that you have to count number of felt balls from reservoir by using counter 1 sensor to stop the
system when reservoir becomes empty. A color sensor is used to recognize the color of the ball. If
there is a red ball in front of the sensor, then “ R “ output of the sensor becomes 1. “G” output
becomes 1, if the ball is green and “B” becomes 1, when the ball is blue. Four valves are used to
run the process properly. Directions and input signals of the valves are shown in The Figure.
Valve1 (V1) will be opened for 3 seconds then valve 2 (V2) will wait for 5 seconds to sensor
measurement can be achieved. After measurement if the ball is red valve 3 (V3) and valve 4 (V4)
will be remained on close position. If the ball is green V3 will opened but V4 will remained as
closed. Finally if the ball is blue V3 and V4 will be opened.
At the end of process we should know the number of balls in each bin (Number of Green Balls,
Number of Red Balls and Number of Blue Balls).
I&O Configurations
RI0.0 V1Q0.0 V4Q0.3
GI0.1 V2Q0.1
BI0.2 V3Q0.2

Mais conteúdo relacionado

Semelhante a PLC: Tutorial de STEP 7 MICROWIN. Paso 1. Cómo abrir STEP 7 MicroWIN

Microcontroladores: El microcontrolador 8051 con LCD 16x2
Microcontroladores: El microcontrolador 8051 con LCD 16x2Microcontroladores: El microcontrolador 8051 con LCD 16x2
Microcontroladores: El microcontrolador 8051 con LCD 16x2SANTIAGO PABLO ALBERTO
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterKatrina Little
 
Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113
Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113
Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113Tenmars Việt Nam
 
Manuale Instatore User Manual
Manuale Instatore User ManualManuale Instatore User Manual
Manuale Instatore User Manualconwaychris
 
Multi Conveyor Upgrade Manual
Multi  Conveyor Upgrade ManualMulti  Conveyor Upgrade Manual
Multi Conveyor Upgrade ManualNeil Kane
 
File 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designFile 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designSanjeev Singh
 
Automationcontrol6
Automationcontrol6Automationcontrol6
Automationcontrol6liyanagek
 
Display saune-finlandese-eng
Display saune-finlandese-engDisplay saune-finlandese-eng
Display saune-finlandese-engVincenzoMaugeri2
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacingAmitabh Shukla
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan ReportPeeyush Pashine
 
Hy jk02-m 5-axis interface board manual
Hy jk02-m 5-axis interface board manualHy jk02-m 5-axis interface board manual
Hy jk02-m 5-axis interface board manualKhunut Thi-ai
 

Semelhante a PLC: Tutorial de STEP 7 MICROWIN. Paso 1. Cómo abrir STEP 7 MicroWIN (20)

Microcontroladores: El microcontrolador 8051 con LCD 16x2
Microcontroladores: El microcontrolador 8051 con LCD 16x2Microcontroladores: El microcontrolador 8051 con LCD 16x2
Microcontroladores: El microcontrolador 8051 con LCD 16x2
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
 
Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113
Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113
Hướng dẫn sử dụng máy đo tốc độ gió và nhiệt độ Extech 407113
 
Manuale Instatore User Manual
Manuale Instatore User ManualManuale Instatore User Manual
Manuale Instatore User Manual
 
Multi Conveyor Upgrade Manual
Multi  Conveyor Upgrade ManualMulti  Conveyor Upgrade Manual
Multi Conveyor Upgrade Manual
 
File 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit designFile 1 proteus tutorial for digital circuit design
File 1 proteus tutorial for digital circuit design
 
exp 15.docx
exp 15.docxexp 15.docx
exp 15.docx
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Xmtg 8000
Xmtg 8000Xmtg 8000
Xmtg 8000
 
Automationcontrol6
Automationcontrol6Automationcontrol6
Automationcontrol6
 
Display saune-finlandese-eng
Display saune-finlandese-engDisplay saune-finlandese-eng
Display saune-finlandese-eng
 
8254 PIT
8254 PIT8254 PIT
8254 PIT
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing
 
Switch Control and Time Delay - Keypad
Switch Control and Time Delay - KeypadSwitch Control and Time Delay - Keypad
Switch Control and Time Delay - Keypad
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan Report
 
Hart 475
Hart 475Hart 475
Hart 475
 
Hy jk02-m 5-axis interface board manual
Hy jk02-m 5-axis interface board manualHy jk02-m 5-axis interface board manual
Hy jk02-m 5-axis interface board manual
 
8254.pptx
8254.pptx8254.pptx
8254.pptx
 
91 100
91 10091 100
91 100
 
SDM 630MCT
SDM 630MCTSDM 630MCT
SDM 630MCT
 

Mais de SANTIAGO PABLO ALBERTO

Manual de teoría y practica electroneumática avanzada
Manual de teoría y practica electroneumática avanzadaManual de teoría y practica electroneumática avanzada
Manual de teoría y practica electroneumática avanzadaSANTIAGO PABLO ALBERTO
 
Programacion de PLC basado en Rslogix 500 por Roni Domínguez
Programacion de PLC basado en Rslogix 500 por Roni Domínguez Programacion de PLC basado en Rslogix 500 por Roni Domínguez
Programacion de PLC basado en Rslogix 500 por Roni Domínguez SANTIAGO PABLO ALBERTO
 
Programación de microcontroladores PIC en C con Fabio Pereira
Programación de microcontroladores PIC en  C con Fabio PereiraProgramación de microcontroladores PIC en  C con Fabio Pereira
Programación de microcontroladores PIC en C con Fabio PereiraSANTIAGO PABLO ALBERTO
 
Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...
Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...
Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...SANTIAGO PABLO ALBERTO
 
Programación de autómatas PLC OMRON CJ/CP1
Programación de  autómatas PLC OMRON CJ/CP1Programación de  autómatas PLC OMRON CJ/CP1
Programación de autómatas PLC OMRON CJ/CP1SANTIAGO PABLO ALBERTO
 
Manual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMARTManual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMARTSANTIAGO PABLO ALBERTO
 
PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...
PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...
PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...SANTIAGO PABLO ALBERTO
 
PLC y Electroneumática: Electricidad y Automatismo eléctrico por Luis Miguel...
PLC y Electroneumática: Electricidad y Automatismo eléctrico por  Luis Miguel...PLC y Electroneumática: Electricidad y Automatismo eléctrico por  Luis Miguel...
PLC y Electroneumática: Electricidad y Automatismo eléctrico por Luis Miguel...SANTIAGO PABLO ALBERTO
 
Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...
Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...
Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...SANTIAGO PABLO ALBERTO
 
PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...
PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...
PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...SANTIAGO PABLO ALBERTO
 
Electrónica digital: Introducción a la Lógica Digital - Teoría, Problemas y ...
Electrónica digital:  Introducción a la Lógica Digital - Teoría, Problemas y ...Electrónica digital:  Introducción a la Lógica Digital - Teoría, Problemas y ...
Electrónica digital: Introducción a la Lógica Digital - Teoría, Problemas y ...SANTIAGO PABLO ALBERTO
 

Mais de SANTIAGO PABLO ALBERTO (20)

secuencia electroneumática parte 1
secuencia electroneumática parte 1secuencia electroneumática parte 1
secuencia electroneumática parte 1
 
secuencia electroneumática parte 2
secuencia electroneumática parte 2secuencia electroneumática parte 2
secuencia electroneumática parte 2
 
Manual de teoría y practica electroneumática avanzada
Manual de teoría y practica electroneumática avanzadaManual de teoría y practica electroneumática avanzada
Manual de teoría y practica electroneumática avanzada
 
Programacion de PLC basado en Rslogix 500 por Roni Domínguez
Programacion de PLC basado en Rslogix 500 por Roni Domínguez Programacion de PLC basado en Rslogix 500 por Roni Domínguez
Programacion de PLC basado en Rslogix 500 por Roni Domínguez
 
Programación de microcontroladores PIC en C con Fabio Pereira
Programación de microcontroladores PIC en  C con Fabio PereiraProgramación de microcontroladores PIC en  C con Fabio Pereira
Programación de microcontroladores PIC en C con Fabio Pereira
 
Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...
Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...
Análisis y Diseño de Sistemas de Control Digital por Ricardo Fernandez del Bu...
 
Arduino: Arduino de cero a experto
Arduino: Arduino de cero a expertoArduino: Arduino de cero a experto
Arduino: Arduino de cero a experto
 
Fisica I
Fisica IFisica I
Fisica I
 
Quimica.pdf
Quimica.pdfQuimica.pdf
Quimica.pdf
 
Manual básico PLC OMRON
Manual básico PLC OMRON Manual básico PLC OMRON
Manual básico PLC OMRON
 
Programación de autómatas PLC OMRON CJ/CP1
Programación de  autómatas PLC OMRON CJ/CP1Programación de  autómatas PLC OMRON CJ/CP1
Programación de autómatas PLC OMRON CJ/CP1
 
Manual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMARTManual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMART
 
Catálogo de PLC S7-200 SMART
Catálogo de PLC S7-200 SMART Catálogo de PLC S7-200 SMART
Catálogo de PLC S7-200 SMART
 
PLC: Automatismos industriales
PLC: Automatismos industrialesPLC: Automatismos industriales
PLC: Automatismos industriales
 
PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...
PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...
PLC: Buses industriales y de campo practicas de laboratorio por Jose Miguel R...
 
PLC y Electroneumática: Electricidad y Automatismo eléctrico por Luis Miguel...
PLC y Electroneumática: Electricidad y Automatismo eléctrico por  Luis Miguel...PLC y Electroneumática: Electricidad y Automatismo eléctrico por  Luis Miguel...
PLC y Electroneumática: Electricidad y Automatismo eléctrico por Luis Miguel...
 
Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...
Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...
Electrónica: Diseño y desarrollo de circuitos impresos con Kicad por Miguel P...
 
PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...
PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...
PLC: Diseño, construcción y control de un motor doble Dahlander(cuatro veloci...
 
PLC: Motor Dahlander
PLC: Motor DahlanderPLC: Motor Dahlander
PLC: Motor Dahlander
 
Electrónica digital: Introducción a la Lógica Digital - Teoría, Problemas y ...
Electrónica digital:  Introducción a la Lógica Digital - Teoría, Problemas y ...Electrónica digital:  Introducción a la Lógica Digital - Teoría, Problemas y ...
Electrónica digital: Introducción a la Lógica Digital - Teoría, Problemas y ...
 

Último

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 

Último (20)

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

PLC: Tutorial de STEP 7 MICROWIN. Paso 1. Cómo abrir STEP 7 MicroWIN

  • 1. STEP 7 – MICRO/WIN TUTORIAL Step7 – Micro/WIN makes programming of S7-200 easier. Programming of S7-200 by using Step 7 – Micro/WIN will be introduced in a simple example. Inputs will be defined as IX.X, outputs will be defined as QX.X and flags will be defined as MX.X for programming Siemens PLCs. For example I0.1 defines the first module’s 1st input and Q0.1 defines first module’s first output. Step-1: How to open Step 7 – Micro/WIN You can open Step 7 – Micro/WIN from following path for Windows. After opening the program you will see the window in Figure 1.1. In Figure 1.2 steps of writing and running a program on PLC is demonstrated. Start  All Programs  Simatic  Step 7 Micro/WIN V4 XX  Step 7 Micro/WIN Figure 1.1: Step 7 Micro/WIN Start Window Figure 1.2: Steps of Running Your Code on PLC Open Step 7 Micro/WIN Write a Simple Code in Ladder Networks Compile Your Code Download Your Code to PLC Run PLC to Perform Code
  • 2. Step-2: How to write a simple program and use a timer in Step 7 – Micro/WIN (NETWORK 1) You can check the timer types and properties from Table 1.1 and Table 1.2. Procedure of using timer is as follow;  Click on Bit Logic icon to open bit logic commands.  Choose normally close contact.  Drag and drop the contact to network 1.  Write the M0.0 instead of the question marks (???) over the contact. M0.0 is flag contact.  Press the enter button to finish contact definition. Figure 1.3: Step 7 Micro/WIN Timer and M0.0 Contact Setting up the timer (see Figure 1.3):  Click on timer icon (see red boxes in Figure 1.2) to see all timer commands  Choose TON (On-delay timer).  Drag and drop the TON to network 1 next to M0.0.  Write the T33 (see green boxes in Figure 1.2) instead of the question marks (???) over the timer box.  Press enter the cursor will go to PT (see blue boxes in Figure 1.2) section (Time Setting).  Enter time setting as: 100.  Press enter to finish setting up the timer.
  • 3. Table 1.1: Timer Numbers and Resolutions Table 1.2: Operations of the Timer Instructions Step-3: Turning the Output On (NETWORK 2) When the timer value for T33 is greater than or equal to 40 (40 times 10 milliseconds, or 0.4 seconds), the contact provides power flow to turn on output Q0.0 of the S7-200. To enter the Compare instruction (see Figure 1.4):  Double-click the Compare icon to display the compare instructions. Select the >=I instruction (Greater-Than-Or-Equal-To-Integer ).  Hold down the left mouse button and drag the compare instruction onto the second network.  Click on the “???” above the contact and enter the address for the timer value: T33  Press the Return key to enter the timer number and to move the focus to the other value to be compared with the timer value.  Enter the following value to be compared with the timer value: 40  Press the Return key to enter the value. To enter the instruction for turning on output Q0.0:  Double-click the Bit Logic icon to display the bit logic instructions and select the output coil.  Hold down the left mouse button and drag the coil onto the second network.  Click on the “???” above the coil and enter the following address: Q0.0  Press the Return key to enter the address for the coil.
  • 4. Figure 1.4: Step 7 Micro/WIN Turn on the Output Network 2 Step-4: Resetting the Timer (NETWORK 3) When the timer reaches the preset value (100) and turns the timer bit on, the contact for T33 turns on. Power flow from this contact turns on the M0.0 memory location. Because the timer is enabled by a Normally Closed contact for M0.0, changing the state of M0.0 from off (0) to on (1) resets the timer (see Figure 1.5). To enter the contact for the timer bit of T33:  Select the Normally Open contact from the bit logic instructions.  Hold down the left mouse button and drag the contact onto the third network.  Click on the “???” above the contact and enter the address of the timer bit: T33  Press the Return key to enter the address for the contact. To enter the coil for turning on M0.0:  Select the output coil from the bit logic instructions.  Hold down the left mouse button and drag the output coil onto the third network.  Double-click the “???” above the coil and enter the following address: M0.0  Press the Return key to enter the address for the coil. You can save your project from: File Save As
  • 5. Figure 1.5: Step 7 Micro/WIN Resetting the Timer Network 3 Figure 1.6: Whole Example and Output Timing diagram
  • 6. Step-5: Downloading the Sample Program to PLC  Click the Download icon on the toolbar or select the File > Download menu command to download the program (See Figure1.7).  Click OK on opened window to download the elements of the program to the S7-200. Figure 1.7: Upload and Download Buttons
  • 7. Step-6: Running the PLC For STEP 7--Micro/WIN to place the S7-200 CPU in RUN mode, the mode switch of the S7-200 must be set to TERM or RUN. When you place the S7-200 in RUN mode, the S7-200 executes the program:  Click the RUN icon on the toolbar or select the PLC > RUN menu command (See Figure1.8).  Click OK to change the operating mode of the S7-200. Figure 1.8: Run and Stop Buttons
  • 8. Counters Figure 2.1: Up-Down Counter Definitions  The Count Up instruction (CTU) counts up from the current value each time the count up (CU) input makes the transition from off to on. When the current value Cxx is greater than or equal to the preset value PV, the counter bit Cxx turns on. The counter is reset when the Reset (R) input turns on, or when the Reset instruction is executed. The counter stops counting when it reaches the maximum value (32,767).  The Count Down instruction (CTD) counts down from the current value of that counter each time the count down (CD) input makes the transition from off to on. When the current value Cxx is equal to 0, the counter bit Cxx turns on. The counter resets the counter bit Cxx and loads the current value with the preset value PV when the load input LD turns on. The counter stops upon reaching zero, and the counter bit Cxx turns on.  R input for CTU and LD input for CTD are reset inputs of counters (see Figure 2.1). You can reset counters by using this inputs.
  • 9. Table 2.1: Operations of the Counter Instructions REFERENCES [1] Siemens Simatic S7-200 Programable Controller System Manual, Edition 09, 2007.
  • 10. Experiment of Siemens S7-200 The Figure below shows a system which separate three different color balls which are mixed in a reservoir and then fill three different labeled with color names bins. The total number of balls is 23 so that you have to count number of felt balls from reservoir by using counter 1 sensor to stop the system when reservoir becomes empty. A color sensor is used to recognize the color of the ball. If there is a red ball in front of the sensor, then “ R “ output of the sensor becomes 1. “G” output becomes 1, if the ball is green and “B” becomes 1, when the ball is blue. Four valves are used to run the process properly. Directions and input signals of the valves are shown in The Figure. Valve1 (V1) will be opened for 3 seconds then valve 2 (V2) will wait for 5 seconds to sensor measurement can be achieved. After measurement if the ball is red valve 3 (V3) and valve 4 (V4) will be remained on close position. If the ball is green V3 will opened but V4 will remained as closed. Finally if the ball is blue V3 and V4 will be opened. At the end of process we should know the number of balls in each bin (Number of Green Balls, Number of Red Balls and Number of Blue Balls). I&O Configurations RI0.0 V1Q0.0 V4Q0.3 GI0.1 V2Q0.1 BI0.2 V3Q0.2