From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Micrologix 1200

Hola a toda la gente de la comunidad.

 

Me eh comunicado con un PLC del marca AUTOMATIONDIRECT modelo DL06 atraves del servidor OPC (KEPWARE).

Usando labview 8.2 y el modulo DSC me eh comunicado fácilmente, pero ahora estoy intentando comunicarme con un PLC ALLEN-BRADLEY MICROLOGIX 1200 y estoy usando otro servidor OPC llamado INGEAR ya que en la version del  KEPWARE que yo tengo no se encuentra la librareria de este PLC.

Estoy haciendo el mismo procedimiento de crear un proyecto nuevo,agregar un I/O Server seleccionar el servidor OPC,buscar y seleccionar la variable que di de alta en el Server,seleccionar “Deploy All”, seleccionar tools -  DSC Module – Monitor Variables y después selecciono la variable y me muestra por unos momentos en “Quality” GOOD y despues Server Failure.

 

Pero si uso el Server Explorer y el Wizard puedo monitorear las variables sin problema.
 
Gracias
0 kudos
Mensaje 1 de 8
7.091 Vistas

eh podido comunicarme con el PLC con el KEPWARE, dentro de este programa existe una funcion llamada "Quick CLient" y aqui puedo monitorear todas las tags sin ningun problema, pero al momento de darlas de alta en LabVIEW y ponerlas en un VI por momentos se pueda conectar y despues me marca un error.

eh probado el OPC server con otro software HMI y no tengo ningun problema, es por eso en que creo que el probelama esta  en  LabVIEW.

Gracias

 

 

0 kudos
Mensaje 2 de 8
7.067 Vistas

Hola Antonio,

Encontré dos casos reportados referentes a fallas de comunicación de LabVIEW DSC con el OPC Server INGEAR.

1. El primero es referente a los nombres de los dispositivos. Al parecer LabVIEW no permite nombres que comiencen con números. Por ejemplo:  "OPC://localhost/server/987abc.tag"  resulta en error, pero "OPC://localhost/server/abc987.tag" no resulta en error.

2. El segundo es referente a la configuración DCOM para el servidor OPC. En la documentación de Kepware viene un documento que explica como modificar esta configuración, además explica la configuración del Firewall de Windows XP cuando se tiene Service Pack 2 ya que el Firewall puede bloquear la comunicación.  El documento es XP_ServicePack2_DCOM.doc y está localizado en la carpeta de Kepware.

Espero esta información te sea de utilidad. Que tengas un buen día.

Pablo Bernal | NI México

Mensaje 3 de 8
7.037 Vistas
Conecta el PLC a otra PC y pude comunicarme sin problema.
 
Gracias por la info., la voi a revisar para tratar de solucionar el problema.
 
Gracias
0 kudos
Mensaje 4 de 8
7.034 Vistas

Antonio

Pero yo tengo un micrologix 1000 y el cable de comunicacion es serial. Y el rslinx es el LT ?. Tiene ese kepserver el driver para micrologix 1000? si lo tiene pasamelo porfa.

 

ATT

Armand24

0 kudos
Mensaje 5 de 8
6.367 Vistas

hi....sorry...i dont know this language but i read it by translating with google....i am also having a problem that i want to connect my labview vi with allen bradley micrologix 1200 plc.and i dont have much knowledge about it..may i have your guidance please.. i shall be thankful to you

 

 

RAHUL GUPTA

0 kudos
Mensaje 6 de 8
3.940 Vistas

Hi Rahul;

 

The Micrologix 1200 is a PLC from Allen-Bradley and, according to the manufacturer, has the same communication protocol as the Micrologix 1500. The only difference is the size of the memory. So you could use this driver to communicate with your instrument.

 

However, there is some restriction in using the Server Explorer (and any other programs). Due to the memory range from the Micrologix 1500 being bigger than the Micrologix 1200, if you try to use the Server Explorer to read tags that do not exist on the PLC, it will "freeze" the system. You will need to choose the available tags correctly and carefully to avoid this problem.

 

If you have NI OPC Servers, the ControlLogixEthernetDevice Drivers the one that supports this device.

 

In this link you may find a detailed tutorial that will help you get started with LabVIEW and OPC Server. You should only create a new project in the  NI OPC Servers to match your device using the ControlLogixEthernet driver.

 

If you want to use Lookout then I'd suggest you check out this document on PLC Addresing

 

Good luck with your application

Marisol

Mensaje 7 de 8
3.931 Vistas

Thanks brother...i will do as you say...still,if i feel some difficulties i will ask..thanks

0 kudos
Mensaje 8 de 8
3.923 Vistas