ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unitronics PLC interface DLL with LabVIEW

Dear all,

Is it possible to interface PLC, which can be interfaced with VB6 using 2 files, with LabVIEW?


1. amiCommPro.ocx (1.0.0.1   ; Allen-Martin amCommPro Control)
2. UnCmDrv1.DLL

VB6 uses these DLL and OCX files to connect to PLC via serial port. 


0 Kudos
Message 1 of 5
(6,478 Views)

Hi m_min,

if you have the protocoll description you can use the VSIA functions to communicate with the PLC over serial port.

Mike

Message 2 of 5
(6,476 Views)

Unitronics PLC vision seires can be interfaced with labVIEW by using Modbus FB (from unitronics side) and use serial modbus example as attached here. I couldn't remember the author(NI itself?) of this serial modbus example but i guess we owe him some thanks for this example.

 

 

0 Kudos
Message 3 of 5
(6,381 Views)
Also, if you happen to get their one of their simpler PLCs, I don't think they support Modbus, but they do have a simple ASCII protocol.

___________________
Try to take over the world!
Message 4 of 5
(6,366 Views)

Hi m_min,

 

Please see the following article: Supported Device & Driver Plug-in List for NI-OPC Server <http://zone.ni.com/devzone/cda/tut/p/id/6417> Please let me know if that helps.

 

Regards,

 

Dan Richards 

 

Dan Richards
Certified LabVIEW Developer
Message 5 of 5
(6,331 Views)