Docsity

repaso de electronica, Apuntes de Electrónica

Toggle sidebar
bg1
PROCESO DOCENCIA Código:
24-G4
PROCEDIMIENTO GESTIÓN DE
CURSOS
Fecha:
29-Ene-
2018
Versión
:
0
GUÍA DE PRÁCTICA EN
LABORATORIO - INGENIERÍA
Documento
impreso no
controlado
111Equation Chapter 1 Section
1Programa: Ingeniería Mecatrónica
Nombre del docente: Edwin Villarreal López
Catálogo del Curso: Nombre
del Curso: Optativa III
Semestre: IIX No. De Guía: 4 Duración (Horas): 3
Relación con el micro currículo (tema de clase): Programación de PLC
Espacio solicitado para la práctica Laboratorio X Campus Externo
Laboratorio donde debe desarrollarse la práctica Sala de cómputo
Equipos y Hardware necesarios: Si No XMateriales Consumibles Si No X
Requiere uso de software: Si X No Materiales Aportados por el Estudiante
TIA PORTAL
Elementos de seguridad industrial: Si No X
Cuáles: Botas Gafas Tapa
oídos
Tapa
Bocas
OTROS
PRACTICE No. 1
NOMBRE DE LA PRÁCTICA
Programming languages for PLC programming
INTRODUCTION
According to the ISA 101 standard, a Human Machine Interface (HMI) is a collection of hardware and
software used to operate and supervise control systems and process with control systems. In order to
develop effective HMI interface, a wide variety of software applications are available from different
Elaboró: Edwin Villarreal López Revisó:| Aprobó:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Vista previa parcial del texto

¡Descarga repaso de electronica y más Apuntes en PDF de Electrónica solo en Docsity!

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado

111 Equation Chapter 1 Section

1 Programa:

Ingeniería Mecatrónica

Nombre del docente: Edwin Villarreal López

Catálogo del Curso:

Nombre

del Curso:

Optativa III

Semestre: IIX No. De Guía: 4 Duración (Horas): 3

Relación con el micro currículo (tema de clase): Programación de PLC

Espacio solicitado para la práctica Laboratorio X Campus Externo

Laboratorio donde debe desarrollarse la práctica Sala de cómputo

Equipos y Hardware necesarios: Si No^ X^ Materiales Consumibles Si^ No^ X

Requiere uso de software: Si X^ No^ Materiales Aportados por el Estudiante

TIA PORTAL

Elementos de seguridad industrial: Si No X

Cuáles: Botas Gafas

Tapa

oídos

Tapa

Bocas

OTROS

PRACTICE No. 1

NOMBRE DE LA PRÁCTICA

Programming languages for PLC programming

INTRODUCTION

According to the ISA 101 standard, a Human Machine Interface (HMI) is a collection of hardware and

software used to operate and supervise control systems and process with control systems. In order to

develop effective HMI interface, a wide variety of software applications are available from different

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado

vendors. Among these, Intouch™ is an Integrated Development Environment with different modules

intended to build different components of HMI software applications, including:

 Screen design

 Data logging

 Alarms

 Stand Alone applications

This guide introduces to the user the main components of the Intouch Application Manager and

Window Maker tool, to build the first application.

Objectives

 Explore the concepts of alarms and data logging in HMIs

 Develop HMIs with alarms and data logging

Peligro. Caída de objetos

Fije firmemente los componentes al área de trabajo

PROCEDURE

This communication has only been proven under the PLCSIM basic simulator valid for the S7-300 family or under the PLCSIM Advanced Simulator.

1. Launch the TIA Portal application, select “Welcome tour” and watch the introductory video

2. Now Select “Create new project” and choose the desired name. The software has to possible

development interfaces and can be chosen according to the programmer. In this guide the

standard project view will be selected by clicking “Project view”. The main components of this

interface are described in the introductory window.

3. Select “add new device” in the project tree, the add new device window will pop up. Here you

can choose between different controllers, HMI, PC systems, according to the installed catalog.

For this guide, select de s7-300, CPU, CPU 315F-2 PN/DP, 6ES7 315-2FJ14-0AB0. This

reference corresponds to the PLC available in the laboratory. When you accept, the Device

view gets active in the workspace.

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado

5. It is necessary to configure the desired IP address to the PLC. Double click in the CPU green

connector to show the configuration window. Choose this parameter according to your network

access privileges.

6. Double click the DI/DO module to choose the input/output addresses as indicated.

  1. Now, compile your hardware configuration by clicking the button. Then a general diagnosis will indicate the results of the compilation. In this case, only warnings related to the subnet connection of the communication system can be omitted.

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado You can close now the device configuration window in the workspace

8. Editing your first program. In the project tree navigate to the “Program blocks” folder. You will

find there the “Main [OB1]”. This block will be automatically run when the PLC changes its

state from STOP mode to RUN mode and will run continuously.

Double click on this block to open the program editor. By default, this block can be edited in

LADDER language. For your first program, add a contact directly connected to a coil

. Double click above the contact to configure its address to “I0.0”. Repeat this procedure

for the coil with “Q0.0”. Your program will look as shown below.

This minimal application activates the first output according to the activation of the first input.

9. Program simulation. Click on the “Start simulation” button to open the PLCSIM software.

Wait until the download to device window opens

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado

Confirm the load action in the Load preview window. Now your program is on the virtual PLC.

Add the first input and output bytes, and the check the RUN-P option, to be able to download

programs to the PLC while it is running. To verify the proper program working check the first

input and notice the activation of the first output, as specified in the main program.

10. Online execution. In the program editor, click on the “Monitoring on/off” button. This

will allow you to check the different segment activation to verify your program.

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado for demonstration purposes, enable the clock memory byte at the address 0. This enables the output toggle at different frequencies of the bits M0.0 to M0.5. Edit the main program block OB1 and add a move command to transfer the value of the byte MB0 (the clock memory) to the QB0 (the first byte of outputs). Now the PLC outputs must be alternating their state according to the predefined clock frequency.

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado Sequence in FBD/FUP

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado Sequence in STL/AWL

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado Sequence in SCL

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado The Out port will provide input signals to the virtual PLC. On the Other hand, the Input port will bring the PLC outputs inside FluidSIM. Click on options and select the OPC mode as shown below Now, double click on the blocks to select the OPC Client. This will show you the available OPC installed on your PC. Click add, and select the FestoDidactic.EzOPC.

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado Click on the element selection. This will display all the accessible locations for the OPC. Go to the PLCSIM node and select the first output byte. Due translation issues from german to english, memory fields I correspond to E items and Q correspond to A items. Hence, AB0 refers to the same location than QB0.

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado Finally, when you run the simulation, the tag state will be indicated on the block output For the example, develop the following Simulink model

PROCESO DOCENCIA

24-G

PROCEDIMIENTO GESTIÓN DE

CURSOS

Fecha: 29-Ene- 2018 Versión : 0 GUÍA DE PRÁCTICA EN LABORATORIO - INGENIERÍA Documento impreso no controlado PROBLEM DEFINITION

  1. Using FluidSim, add the pneumatic and electric components to simulate the following system. Also add the interface blocks to PLCSIM