Lab 07 - PFbus

Supervisión y Control de Procesos Industriales Nro. Página 1 / 36 Tema : Profibus Grupo Nota: Fecha: LABORATORIO N

Views 78 Downloads 37 File size 3MB

Report DMCA / Copyright

DOWNLOAD FILE

Recommend stories

Citation preview

Supervisión y Control de Procesos Industriales

Nro. Página 1 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

LABORATORIO N° 07 “Maestro Profibus en Estación Remota”

Alumnos:

Grupo Programa Fecha de entrega

1.-Ccari Cuenta William Fernando 2.- Flores Mejía Eddy Berly 3.-Mendiola Espinoza Gilmar Jose 4.-Ticona Condori Nicol Stephanie : B Profesor: Luis Fernández Cueva : PFR : 11 10 19 Hora: 20:00

Nota:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 2 / 36

Tema :

Profibus Grupo

Nota: I.

Fecha:

Lab. Nº

OBJETIVOS 1. Implementar y configurar una red PROFIBUS entre un maestro Prosoft para ControlLogix y una estación de entradas y salidas remotas. 2. Configurar los parámetros de redes. 3. Realizar las conexiones de redes. 4. Implementar la lógica para el control de entradas y salidas

II.

RECURSOS 1. EQUIPOS Y SOFTWARE: a. PAC CompactLogix L24ER, Chassis ControlLogix con Maestro Profibus Prosoft, módulos de entradas y salidas Flex I/O b. RSLinx Classic, Studio 5000, Prosoft Configuration Builder.

III.

PROCEDIMIENTO 1. Prepare el programa en Studio 5000 para establecer comunicación con el Esclavo profibus Flex I/O 1794-APB a través de la red EtherNet/IP.

Esquema de redes

1.1 Crear un proyecto nuevo en Studio 5000 para el controlador L24ER. 1.2 Luego de analizar el esquema de red, se debe configurar la conexión mediante EtherNet/IP para tomar control del chassis ControlLogix, en el cual, se encuentra instalado el maestro profibus MVI56-PDPMV1. Aplique los conocimientos obtenidos en las prácticas de EtherNet/IP para implementar el enlace entre el CompactLogix L24ER y el Chassis ControlLogix

Supervisión y Control de Procesos Industriales

Nro. Página 3 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

1.3 Agregar el módulo de comunicaciones profibus. Utilice el procedimiento que se detalla a continuación, pero tenga presente que el maestro está instalado en una estación remota que se comunica mediante EtherNet/IP con nuestro controlador CompactLogix: Creating the Module - Legacy 1 Add the MVI56-PDPMV1 module to the project. In the Controller Organization window, select I/O CONFIGURATION and click the right mouse button to open a shortcut menu. On the shortcut menu, choose NEW MODULE.

This action opens the Select Module dialog box.

2 Select the 1756-MODULE (GENERIC 1756 MODULE) from the list and click OK. This action opens the New Module dialog box.

Supervisión y Control de Procesos Industriales

Nro. Página 4 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

3 Set the Module Properties values as follows:

4 On the Connection tab, set the RPI value for your project. Click OK to confirm.

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 5 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

Now the MVI56-PDPMV1 module will be visible in the I/O Configuration section.

Importing the Ladder Rung - LEGACY

1 Open your application in Studio 5000. 2 Expand the Tasks folder, and then expand the MainTask folder. 3 On the MainProgram folder, click the right mouse button to open a shortcut menu. On the shortcut menu, choose NEW ROUTINE. 4 In the New Routine dialog box, enter the name and description of your routine, and then click OK. 5 Select an empty rung in the new routine, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose IMPORT RUNG.

Supervisión y Control de Procesos Industriales

Nro. Página 6 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

6 Select the MVI56PDPMV1_LEGACY_AddOn_Rung_v*.L5X and click the IMPORT button.

7 A window will be displayed showing the controller tags to be created during the import procedure. 8 If you are using the module in a different slot (or remote rack) select the correct connection input and output variables to provide the correct path to the module. If your module is located in Slot 1 of the local rack, this step is not required.

Supervisión y Control de Procesos Industriales

Nro. Página 7 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

9 Click OK to confirm the import. RSLogix will indicate that the import is in progress:

10 When the import is completed, the new rung with the Add-On Instruction will be visible as shown in the following illustration.

Supervisión y Control de Procesos Industriales

Nro. Página 8 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

2. Realice la descarga de su programa al controlador. Configuración de la Red Profibus 3. Mediante el software Prosoft Configuration Buider configure la red profibus y el maestro MVI56PDPMV1.

Setting Up the Project To begin, start ProSoft Configuration Builder (PCB). ProSoft Configuration Builder’s window consists of a tree view on the left, and an information pane and configuration pane on the right side of the window. The tree view consists of folders for Default Project and Default Location, with a Default Module in the Default Location folder.

Supervisión y Control de Procesos Industriales

Nro. Página 9 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

Start by adding the MVI56-PDPMV1 module to the project. 1 Use the mouse to select DEFAULT MODULE in the tree view, and then click the right mouse button to open a shortcut menu. 2 On the shortcut menu, choose CHOOSE MODULE TYPE. This action opens the Choose Module Type dialog box.

3 In the Product Line Filter area of the dialog box, select MVI56. In the Select Module Type dropdown list, select MVI56-PDPMV1, and then click OK to save your settings and return to the main PCB window.

Supervisión y Control de Procesos Industriales

Nro. Página 10 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

Setting Module Parameters Notice that the contents of the information pane and the configuration pane changed when you added the MVI56-PDPMV1 module to the project. The red "X" icon indicates that the module’s configuration is incomplete.

In the following steps, you will provide the missing information to make the red "X"s go away. 1 Click the plus sign [+] next to the module to expand the module tree, and then expand the MVI PDPM-V1 tree. 2 Double-click the MVI56 PROFIBUS MASTER object. This action opens the Edit dialog box. 3 In the Edit dialog box, configure the values for INPUT DATA SIZE and OUTPUT DATA SIZE (PROFIBUS input and output words) to match the values required by your application. To change a value, select the parameter to modify in the left pane, and then type the new value in the edit field in the right pane. For the sample application, the input and output data size values should both be 768.

Supervisión y Control de Procesos Industriales

Nro. Página 11 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

4 Click OK to save your settings and return to the main PCB window. At this time, you may wish to rename the DEFAULT PROJECT and DEFAULT LOCATION folders in the tree view.

Configuración del maestro Profibus: En esta sección se debe agregar la configuración par que el Maestro se comunique con el esclavo. El esclavo es un dispositivo Flex I/O que consta de módulos de Entradas y Salidas. Para la asignación de direcciones de memoria emplearemos la siguiente estructura:

Supervisión y Control de Procesos Industriales

Nro. Página 12 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

El siguiente procedimiento explica la configuración para otro tipo de esclavo, pero nos servirá como guía para configurar nuestro esclavo Flex I/O. Configuring the PROFIBUS Master In this section, you will configure the PROFIBUS Master and add PROFIBUS slaves to the PROFIBUS network. You will then download the configuration information to the module. You will also export the I/O maps for the processor. 1 In PCB tree view, click [+] to expand the MVI56-PDPMV1 tree, and then double-click the PROFIBUS DP icon. This action opens the PDPMV1 PROFIBUS Master Setup dialog box. 2 In the PDPMV1 PROFIBUS Master Setup dialog box, click the CONFIGURE PROFIBUS button. This action opens the ProSoft Configuration Builder for PROFIBUS application. 3 Click [+] to expand the PROFIBUS Master tree. 4 Drag the PROFIBUS Master icon into the Bus Configuration window. This is automatically done by the software for new applications.

5 Double-click the PROFIBUS MASTER icon in the Bus Configuration window. This action opens the Master Properties dialog box.

Supervisión y Control de Procesos Industriales

Nro. Página 13 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

6 On the Common tab, name your PROFIBUS drop. 7 Click OK to save your changes and return to the Bus Configuration window.

Configuring the PROFIBUS Slaves There are two essential steps to configuring a slave: 1 Add the slave in ProSoft Configuration Builder (PCB) as a device connected to the PROFIBUS Master, specifying the slave address and any necessary input and output configuration. Download the PROFIBUS Master configuration to the MVI56-PDPMV1 module. 2 Configure the slave (using PCB or the configuration tool supplied by the manufacturer, for some PROFIBUS slaves). Verify that the slave address configured in the slave module matches the slave address configured in PCB. Download the PROFIBUS Slave configuration to the slave module. Scanning for Slaves Manually The following steps describe how to add and configure a Siemens EM 277 PLC as a slave module. The configuration information (.GSD file) for this module is already installed with ProSoft Configuration Builder. 1 In ProSoft Configuration Builder for PROFIBUS, click the plus sign [+] to expand the PROFIBUS DP tree. 2 Navigate to the PLC/Siemens folder containing the EM 277 slave device to add, and then click the plus sign [+] to expand the folder.

Supervisión y Control de Procesos Industriales

Nro. Página 14 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

3 Drag the slave icon into the Bus Configuration window. This action adds the slave device and connects it to the Master in a network relationship.

4 In the tree view, click the plus sign [+] to expand the slave device you added. This action opens a list of device configuration values. The following illustration shows the possible input/output configuration values for a Siemens EM 277 PLC Slave. The selections available

Supervisión y Control de Procesos Industriales

Nro. Página 15 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

for other devices will be different, so you should review the specifications for the product you are installing in order to determine the correct values to use.

5 Drag the input and output parameters to the Slot Location Grid (Subscriber List) below the Bus Configuration window. This view displays the slot number, configuration data, and starting input and output addresses. The MVI56-PDPMV1 Master uses this information to identify and communicate with individual slaves on the network. For this example, we will configure thirty-two (32) words of output and eight (8) words of input. These input and output words are assigned to addresses within the MVI56-PDPMV1 module's internal database.

Supervisión y Control de Procesos Industriales

Nro. Página 16 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

For each new slave added to the PROFIBUS network, PCB automatically converts the input/output byte addresses to word input/output addresses for the tag database in the processor. 6 Double-click the SLAVE icon to view the Slave Properties.

Supervisión y Control de Procesos Industriales

Nro. Página 17 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

PCB automatically assigns a PROFIBUS address to each new slave. The address assignment begins at address 3, and is incremented by 1 for each new slave added to the network. You can change the address in the Common tab of the Slave Properties dialog box. PCB will not allow you to assign a PROFIBUS address that is already in use by another device on this network. Leave the remaining settings unchanged for now, and click OK to close the Slave Properties dialog box. 7 Repeat steps 2 through 6 for all slaves you intend to place on the network. 8 When you are finished adding slaves, open the PROJECT menu and choose EXIT. Click YES to save the project and return to the PROFIBUS Master Setup dialog box.

Downloading the Project to the Module 1 Right-click the MVI56-PDPMV1 module and choose DOWNLOAD FROM PC TO DEVICE.

Supervisión y Control de Procesos Industriales

Nro. Página 18 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

2 In the Select Connection Type dropdown list, choose 1756-ENBT. The default path appears in the text box, as shown in the following illustration.

3 Click CIP PATH EDIT to open the CIPconnect Path Editor dialog box.

Supervisión y Control de Procesos Industriales

Nro. Página 19 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

The CIPconnect Path Editor allows you to define the path between the PC and the MVI56PDPMV1 module. The first connection from the PC is always the 1756-ENBT module (Ethernet/IP). Each row corresponds to a physical rack in the CIP path. If the MVI56-PDPMV1 module is located in the same rack as the first 1756-ENBT module, you should only set rack 1 and configure the associated parameters. If the MVI56-PDPMV1 is available in a remote rack (accessible through ControlNet or EtherNet/IP) then the user should include all racks (through the ADD RACK button).

Supervisión y Control de Procesos Industriales

Nro. Página 20 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

To use the CIPconnect Path Editor, follow these steps. 1 Configure the path between the 1756-ENBT connected to your PC and the MVI56-PDPMV1 module. If the module is located in a remote rack, add more racks to configure the full path. The path can only contain ControlNet or EtherNet/IP networks. The maximum number of supported racks is six. 2 Click CONSTRUCT CIP PATH to build the path in text format 3 Click OK to confirm the configured path. The following examples should provide a better understanding on how to set up the path for your network. 1 In the Download window, click CIP PATH EDIT.

2 Configure the path as shown in the following illustration, and click CONSTRUCT CIP PATH to build the path in text format.

Supervisión y Control de Procesos Industriales

Nro. Página 21 / 36

Tema :

Profibus Grupo

Nota:

3 Check the new path in the CIPconnect text box.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 22 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

4 Click TEST CONNECTION to verify that the physical path is available. The following message should be displayed upon success.

5 Click DOWNLOAD to download the configuration files to the module through the path.

Supervisión y Control de Procesos Industriales

Nro. Página 23 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

You can also monitor the PROFIBUS network through the CIPconnect path. Refer to the PROFIBUS DP section in ProSoft Configuration Builder, and verify the same path you have just created through the Download button. You can also re-edit the path through the CIP Path Edit button. 1 Click CONFIGURE PROFIBUS.

2 Select ONLINE > MONITOR/MODIFY to monitor the PROFIBUS network through the CIPconnect path.

The configured slave(s) should have a green border indicating successful PROFIBUS communication.

Supervisión y Control de Procesos Industriales

Nro. Página 24 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Lab. Nº

4. Una vez configurada la red y realizado el programa, ubique los tags donde se alojan las entradas y las salidas e implemente la lógica necesaria para activar salidas y leer entradas. 5. Documente sus Observaciones y Hallazgos en la presente experiencia

Supervisión y Control de Procesos Industriales

Nro. Página 25 / 36

Tema :

Profibus Grupo

Nota:

DESARROLLO DEL LABORATORIO

Identificamos el esquema de red para realizar el conexionado de todos los equipos. Notando que el PLC Compac Logic L24ER es donde realizamos el control de las I/O del esclavo mediante el maestro que incorpora el PLC ControlLogix en su tarjera Prosoft PROFIBUS ubicado en el slot 10. La comunicación es a través de un cable ethernet con funcionalidad industrial. Además la conexión al PLC ControlLogix es mediante su módulo Flex I/O, ubicado en el slot 7. Abrimos el programa Studio 5000, en donde configuramos la conexión mediante EtherNet/IP para tomar control del chassis ControlLogix, en el cual, se encuentra instalado el maestro profibus MVI56-PDPMV1.

Creamos un nuevo módulo en la carpeta I/O CONFIGURATION.

Agregamos el módulo de comunicaciones Profibus, en donde insertamos el IP de la red: 192.168.5012.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 26 / 36

Tema :

Profibus Grupo

Nota: Insertamos el tipo de revisión: 4.003 el cual se encuentra en el software RSclasis.

Observamos que se agrega un nuevo dispositivo: 1756 Backplane, 1756-A13, es aquí donde agregamos el módulo 1756MODULE generic

Asignamos un nombre, ubicamos el slot correspondiente, seleccionamos el tipo de dato (INT) y los parámetros de conexión.

Nos ubicamos en MainProgram, y creamos una nueva rutina. Para luego hacer clic derecho en del Ladder y seleccionamos importar rutina.

Observamos las etiquetas creadas en la rutina importada, la cual incluye: MVI56PDPMV y AOI56PDPMV1. Y lab7:O, lab7:I, lab7:10:I, lab7:10:O Y lab7:10:C.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 27 / 36

Tema :

Profibus Grupo

Nota:

Fecha:

Designamos la ruta corresponde en la instrucción: AOI56PDMV1 (Legacy) module.  

En Connection_Input direccionamos lab7:10:I:Data. En Connection_Output direccionamos lab7:10:O:Data.

Observamos la instrucción con las rutas establecidas.

Realizamos la configuración de la Red Profibus, para ello abrimos el software Prosoft Configuration Buider en donde configuramos la red profibus y el maestro MVI56PDPMV1. Agregando el módulo MVI56PDPMV1 al proyecto, para ellos damos clic derecho en módulo predeterminado y elijamos tipos de modulo. El tipo de modulo seleccionado es “MVI 56”. En Step 1 lo dejamos en defecto y EN el Step 2 seleccionamos la opción MVI56-PDPMV1, OBTENIENDO los 2 checks mostrados como Comment y PDPM.

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 28 / 36

Tema :

Profibus Grupo

Nota: En la ventana Edit-MVI Profibus Master DPV1, seleccionamos la opción Use Legacy Mode y seleccionamos la opción sí.

Configuramos el maestro Profibus, para ello agregamos la configuración par que el Maestro se comunique con el esclavo Damos clic en el icono PROFIBUS DP, luego en PDPMV1 PROFIBUS Master Setup y seleccionamos CONFIGURE PROFIBUS. Se abrirá la aplicación ProSoft Configuration Builder, arrastramos PROFIBUS Master

Configuramos el esclavo PROFIBUS, para ello agregamos el esclavo en ProSoft Configuration Builder (PCB) como un dispositivo conectado al PROFIBUS Master especificado. Ingresamos a PROFIBUS DP y desplegamos PLCs, luego ubicamos la carpeta Sienmes y seleccionamos las designaciones: 1794-APB/B Status, 1794-IPB16/ Full format, 1794-OPB16/ Full format y Flex I/O empty slot/Full format para los demás slots.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 29 / 36

Tema :

Profibus Grupo

Nota: Realizamos la configuración del esclavo, seleccionando el nodo correspondiente al esclavo “32”

El PCB asigna automáticamente una dirección PROFIBUS a cada nuevo esclavo. Para las entradas y salidas designa las direcciones 2 y 3.

Verificamos que los 13 slots del PLC ControLogix hayan sido reconocidos para poder utilizar el slot 7 de entradas y salidas además del slot 10 para el maestro.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 30 / 36

Tema :

Profibus Grupo

Nota: Configuramos el tipo de conexión “CIPconnect” para cargar el programa

Colocamos el IP correspondiente a nuestro PLC el cual es “192.168.50.12” lo direccionamos al módulo MVI56-Module y por ultimo definimos el slot 10 para la conexión con el maestro.

Observamos que se actualizo el CIPconnect y cargamos nuevamente el programa. Una vez finalizado este proceso podemos poner en modo RUN la rutina que importamos para así controlar las salidas y leer las entradas del esclavo.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 31 / 36

Tema :

Profibus Grupo

Nota:

Fecha: Pruebas realizadas de envió y recepción de datos a través del esclavo

Leemos las entradas enviadas del esclavo en el tag “MVI56PDPMV1.Input [2]” para el bit 6 con un peso de 64.

Leemos las entradas enviadas del esclavo en el tag “MVI56PDPMV1.Input[3]” para el bit 4 con peso de 16

Leemos las entradas enviadas del esclavo en el tag “MVI56PDPMV1.Input [3]” para el bit 0 con peso de 1.

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 32 / 36

Tema :

Profibus Grupo

Nota: Activamos las salidas enviadas del esclavo en el tag “MVI56PDPMV1.Output [2]” para el bit 4 con peso de 16.

Activamos las salidas enviadas del esclavo en el tag “MVI56PDPMV1.Output [2]” para el bit 4 con peso de 16 y “MVI56PDPMV1.Output [3]” para el bit 5 con un peso de 32.

Fecha:

Lab. Nº

Supervisión y Control de Procesos Industriales

Nro. Página 33 / 36

Tema :

Profibus Grupo

Nota: IV.

Fecha:

Lab. Nº

Conclusiones 

Implementamos y configuramos una red PROFIBUS entre un maestro Prosoft para ControlLogix y una estación de entradas y salidas remotas. Para ello realizamos las siguientes acciones: o

Identificamos el esquema de red para realizar el conexionado de todos los equipos. Notando que el PLC Compac Logic L24ER es donde realizamos el control de las I/O del esclavo mediante el maestro que incorpora el PLC ControlLogix en su tarjera Prosoft PROFIBUS ubicado en el slot 10. La comunicación es a través de un cable ethernet con funcionalidad industrial. Además la conexión al PLC ControlLogix es mediante su módulo Flex I/O, ubicado en el slot 7.

o

Abrimos el programa Studio 5000, en donde configuramos la conexión mediante EtherNet/IP para tomar control del chassis ControlLogix, en el cual, se encuentra instalado el maestro profibus MVI56-PDPMV1.

o

Creamos un nuevo módulo en la carpeta I/O CONFIGURATION.

o

Agregamos el módulo de comunicaciones Profibus, en donde insertamos el IP de la red: 192.168.5012.

o

Insertamos el tipo de revisión: 4.003 el cual se encuentra en el software RSclasis.

o

Observamos que se agrega un nuevo dispositivo: 1756 Backplane, 1756-A13, es aquí donde agregamos el módulo 1756-MODULE generic

o

Asignamos un nombre, ubicamos el slot correspondiente, seleccionamos el tipo de dato (INT) y los parámetros de conexión.

o

Nos ubicamos en MainProgram, y creamos una nueva rutina. Para luego hacer clic derecho en del Ladder y seleccionamos importar rutina.

o

Observamos las etiquetas creadas en la rutina importada, la cual incluye: MVI56PDPMV y AOI56PDPMV1. Y lab7:O, lab7:I, lab7:10:I, lab7:10:O Y lab7:10:C.

o

Designamos la ruta corresponde en la instrucción: AOI56PDMV1 (Legacy) module.En Connection_Input direccionamos lab7:10:I:Data y en Connection_Output direccionamos lab7:10:O:Data.

o

Realizamos la configuración de la Red Profibus, para ello abrimos el software Prosoft Configuration Buider en donde configuramos la red profibus y el maestro MVI56-PDPMV1.

o

Agregando el módulo MVI56-PDPMV1 al proyecto, para ellos damos clic derecho en módulo predeterminado y elijamos tipos de modulo.El tipo de modulo seleccionado es “MVI 56”.

o

En Step 1 lo dejamos en defecto y EN el Step 2 seleccionamos la opción MVI56-PDPMV1, OBTENIENDO los 2 checks mostrados como Comment y PDPM.

o

En la ventana Edit-MVI Profibus Master DPV1, seleccionamos la opción Use Legacy Mode y seleccionamos la opción sí.

o

Configuramos el maestro Profibus, para ello agregamos la configuración par que el Maestro se comunique con el esclavo

Supervisión y Control de Procesos Industriales

Nro. Página 34 / 36

Tema :

Profibus Grupo

Nota:

Fecha: o

Lab. Nº

Damos clic en el icono PROFIBUS DP, luego en PDPMV1 PROFIBUS Master Setup y seleccionamos CONFIGURE PROFIBUS. Se abrirá la aplicación ProSoft Configuration Builder, arrastramos PROFIBUS Master

o

Configuramos el esclavo PROFIBUS, para ello agregamos el esclavo en ProSoft Configuration Builder (PCB) como un dispositivo conectado al PROFIBUS Master especificado.

o

Ingresamos a PROFIBUS DP y desplegamos PLCs, luego ubicamos la carpeta Sienmes y seleccionamos las designaciones: 1794-APB/B Status, 1794-IPB16/ Full format, 1794OPB16/ Full format y Flex I/O empty slot/Full format para los demás slots.

o

Realizamos la configuración del esclavo, seleccionando el nodo correspondiente al esclavo “32”

o

El PCB asigna automáticamente una dirección PROFIBUS a cada nuevo esclavo. Para las entradas y salidas designa las direcciones 2 y 3.

o

Verificamos que los 13 slots del PLC ControLogix hayan sido reconocidos para poder utilizar el slot 7 de entradas y salidas además del slot 10 para el maestro.

o

Configuramos el tipo de conexión “CIPconnect” para cargar el programa

o

Colocamos el IP correspondiente a nuestro PLC el cual es “192.168.50.12” lo direccionamos al módulo MVI56-Module y por ultimo definimos el slot 10 para la conexión con el maestro.

o

Observamos que se actualizo el CIPconnect y cargamos nuevamente el programa. Una vez finalizado este proceso podemos poner en modo RUN la rutina que importamos para así controlar las salidas y leer las entradas del esclavo.



Realizamos las pruebas de envío y recepción que son mencionados a continuación: o

Leemos las entradas enviadas del esclavo en el tag “MVI56PDPMV1.Input [2]” para el bit 6 con un peso de 64.

o

Leemos las entradas enviadas del esclavo en el tag “MVI56PDPMV1.Input[3]” para el bit 4 con peso de 16

o

Leemos las entradas enviadas del esclavo en el tag “MVI56PDPMV1.Input [3]” para el bit 0 con peso de 1.

o

Activamos las salidas enviadas del esclavo en el tag “MVI56PDPMV1.Output [2]” para el bit 4 con peso de 16.

o

Activamos las salidas enviadas del esclavo en el tag “MVI56PDPMV1.Output [2]” para el bit 4 con peso de 16 y “MVI56PDPMV1.Output [3]” para el bit 5 con un peso de 32.

Supervisión y Control de Procesos Industriales

Nro. Página 35 / 36

Tema :

Profibus Grupo

Nota: V.

Fecha:

Lab. Nº

Observaciones 

El controlador CompactLogix L24ER tiene 2 puertos EtherNet / IP con capacidad de anillo a nivel de dispositivo, cuenta con hasta 4 módulos de expansión de E / S 1769, 8 conexiones EtherNet / IP y 120 TCP, entrada de 24 V CC Fuente integrada de alimentación.



PROFIBUS-DP es un perfil de comunicación de PROFIBUS. Está optimizado para una transmisión rápida y crítica a nivel de campo , además el PROFIBUS-DP ofrece funciones para servicios de acceso cíclico, tal como configuración, monitoreo, diagnósticos y supervisión de alarmes de equipos de campo.



Profibus DP es aplicable en los sistemas de control, donde se destaca el acceso a los dispositivos distribuidos de I/O. Es utilizado en sustitución a los sistemas convencionales 4 a 20 mA, HART o en transmisiones de 23 Volts, en medio físico RS-485 o fibra óptica.



El protocolo de comunicación PROFIBUS tiene 3 tipos de perfiles los cuales son; FMS, son tareas universales de comunicación; DP, que es el intercambio de datos rápido y cíclico y PA, que es la automatización de procesos incluso en áreas con riesgo de explosión.



Para la conexión física en el chasis del PLC ControlLogix tenemos 13 slots, de los cuales la ubicación del Ethernet utilizado para la comunicación entre la PC y el PLC es el slot 7 y para el maestro es el slot 10.



Para configurar el escavo utilizamos el programa correspondiente al PLC ControlLogix



La comunicación PROFIBUS DP utiliza cable apantallado de dos conductores de cobre.



El protocolo de conexión usado entre el PLC L24ER y el maestro Profibus se utiliza un cable Ethernet con funcionalidad industrial.



El protocolo de comunicación entre el maestro Profibus y el esclavo Allen Bradley fué Profibus DP.



El nodo nodo asignado al esclavo fue 52.



Sólo las palabras 2 y 3 en Studio 5000 realizaban la lectura/escritura de las entradas/salidas del esclavo.



La programación Ladder previamente importada, sólo vinculaba los tags de I/O en otros tags que agregaba el archivo, para una conexión más directa.



En la tarjeta Prosoft PROFIBUS ubicada en el slot 10 del PLC ControlLogix encontramos 4 leds indicadores, de los cuales el primero y el segundo indican el estado de red (si el módulo de comunicaciones no encuentra su controlador el un led se apaga y otro se pone en rojo), el tercero indica la conexión a través del chasis y el cuarto la conexión de la tarjeta.



En el laboratorio desarrollado notamos que el maestro está instalado en una estación remota y se comunica mediante Ethernet IP con el controlador CompacLogix.



Se obtuvo una serie de conexiones entre 4 máquinas que se pueden usar industrial mente a través de las comunicaciones profibus DP.

Supervisión y Control de Procesos Industriales

Nro. Página 36 / 36

Tema :

Profibus Grupo

Nota:

Fecha: ANEXO N° 01 Conexión entre la PC, PLC L24ER, ControLogix y el esclavo

PC con el software Studio 5000

PLC COMPAC LOGIC L24ER

CHASSIS CONTROLLOGIX CON MAESTRO PROFIBUS PROSOFT,

MÓDULOS DE ENTRADAS Y SALIDAS FLEX I/O

___________________ FIN DEL DOCUMENTO

Lab. Nº