SISTEMA DE CONTROL LÓGICO PROGRAMABLE (PLC) SOBRE HARDWARE EMBEBIDO Y BAJO SISTEMA OPERATIVO LINUX

SISTEMA DE CONTROL LÓGICO PROGRAMABLE (PLC) SOBRE HARDWARE EMBEBIDO Y BAJO SISTEMA OPERATIVO LINUX Autor : Gonzalo Julián Santander Palacio Director

0 downloads 18 Views 198KB Size

Recommend Stories


Sistema Operativo Linux Agenda
Sistema Operativo Linux Agenda § Que es Linux § Características § Entorno de trabajo Linux 1 Que es Linux § Linux es un clónico del sistema operat

SISTEMA OPERATIVO LINUX
Servicio Nacional de Aprendizaje – SENA Regional Cundinamarca-Soacha Sistema de Gestión Página 1 de 34 Programa Mantenimiento de Equipos de Cómputo

LOGO! Microautómata programable (PLC)
CAPÍTULO 6. LOGO! Microautómata programable (PLC). 1. INTRODUCCIÓN. LOGO! es un pequeño autómata que lleva integradas las siguientes funciones: - Fu

Sistema de Telemetría y Radio Control para PLC
Sistema de Telemetría y Radio Control para PLC Automatización de Control Fidel Wilivaldo Pérez Tovar1, Ángel David Huerta Aguilar1, José Carlos Quezad

Story Transcript

SISTEMA DE CONTROL LÓGICO PROGRAMABLE (PLC) SOBRE

HARDWARE EMBEBIDO Y BAJO SISTEMA

OPERATIVO LINUX Autor : Gonzalo Julián Santander Palacio Director : Javier Martín Ruiz

RESUMEN DEL PROYECTO El proyecto tiene como objetivo el desarrollo de un Sistema de Control Lógico Programable sobre hardware embebido y bajo S.O. LINUX, para conseguir el objetivo se apoyó en MatPLC (Machine automation tolls – Programmable Logic Controller) ya que es una aplicación de simulación de PlC´s, con la principal característica que es Código Abierto, y por lo tanto extensible y manipulable por el usuario. En la Figura 1 se puede ver la estructura general de MatPLC.

Figura 1 Estructura básica de MatPLC

La característica principal de MatPLC es su modularidad, esto quiere decir que una aplicación se divide en diferentes secciones encargadas a una tarea particular, con la peculiaridad de que cada una de las secciones puede ser depurada por separado. Todos los módulos están gobernados por un módulo o Estado Global que se encarga de actualizar todas los puntos de entradas y salidas (I/O points) que forman MatPLC, los “I/O points” a su vez son almacenados en un espacio de memoria denominado “Global Memory Map”, de tal manera que todos los módulos pueden utilizar dichos “I/O points” pero sólo uno de ellos es el encargado de modificarlo.

Figura 2. Esquema del movimientos de los “points” Además de analizar detalladamente la estructura MatPLC se ha realizado un estudio exhaustivo sobre el módulo LI (Lisa de Instrucciones), para ello es ha creado una aplicación que trabaja con dicho módulo y que cumple la normativa IEC 61131-3 (estándar de los autómatas programables y sus periféricos, incluyendo los lenguajes de programación), también la aplicación tiene la capacidad de interactuar con el usuario, para lo cual se utilizan otros dos importantes módulos

HMI_GTK (Human Machina

Interfaz) y Parallel Port (Puerto Paralelo), el primero fundamentado en la creación de interfaz gráfico de fácil manejo, mientras que el segundo fundamentado en el manejo del puerto paralelo simulando al máximo la

funcionalidad de un PLC. En la Figura 3 se puede ver el interfaz gráfico desarrollado de la aplicación, un ascensor de cuatro plantas.

Figura 3 Ascensor 4 plantas

Figura 4 Placa de pruebas P.P.

En la Figura 4 se puede ver el hardware fabricado para el manejo del puerto paralelo, el cual cuenta con 8 entradas como diodos LED y 4 salidas como interruptores.

SYSTEM OF PROGRAMMABLE LOGICAL CONTROL (PLC) INSIDE A HARDWARE AND UNDER OPERATING SYSTEM LINUX Author: Gonzalo Julián Santander Palacios Director: Javier Martín Ruiz

PROJECT SUMMARY The project has like objective the development of a System of Programmable Logical Control inside a hardware and under S.O. LINUX, in order to obtain the objective it was helped in MatPLC (Machine automation tolls - Programmable Logic Controller) because it is an application of simulation of PlC´s, with the main characteristic that is Opened Code, therefore tensile and manipulated by the user. In Figure 1 the general structure of MatPLC can be seen.

Figure 1. Basic structure of MatPLC

The main characteristics of MatPLC is its modularity, means that an application is divided in different sections which solve particular tasks of the application. All the modules are governed by a central one or Global State that updates all the inputs and outputs ( I/O points) constituting the program. All the “I/O points”, which can be used by all the modules, are stored in a memory space called “Global Memory Map”. However, only one of them can modify the “I/O points “stored in this “Global Memory Map”

Figure 2. Scheme of the “points” movements

Besides to analyze in detail the MatPLC structure, an exhaustive study has been made on module IL (List Instruction), for that it has created an application that works with this module and that fulfils norm IEC 61131-3 (standard of the programmable robots and its peripheral, including the programming languages), also the application has the capacity to interact with the user. Due to this, last two other important modules HMI_GTK (Human Machine Interface) and Parallel Port were used. The first one is based on a graphical interface of easy handling, whereas the second one is based on the handling of the parallel port being as close as maximum to a PLC reality. In Figure 3 the developed graphical interface for the example can be seen, that is just a four floors elevator.

Figure 3. Four floors elevator.

Figure 4. Tests P.P plate.

In Figure 4 it possible to see the hardware made for the handling of the parallel port, which has 8 inputs like diodes LED and 4 outputs like switches.

Get in touch

Social

© Copyright 2013 - 2024 MYDOKUMENT.COM - All rights reserved.