Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Connection serial to PLC S7-300 with cp 5512

Hello

 

I am a research in TUT Tampere University of Technology/Department of Production Engineering. I have some problems to communicate the Vision builder AI to PLC s7-300, I use the PCMCIA CP 5512 to connect the PLC in this step I do not have problems, because I can do online program and test the connection with the software included in the PLC (Systematic Step7 v5.2) but the problem it is send the I/O with the Vision builder AI to PLC. Then I check and test all the tools in "AI" but only detect the modem port COM1, I try with NI-VISA but it can not find the port COM with PCMCIA CP 5512.

 

I would appreciate if you have some advices for this kind of problems.

 

Best Regards

Oscar  Neira

TUT/Department of Production Engineering

0 Kudos
Message 1 of 4
(3,944 Views)

Hi Oscar,

 

Does the card appear as a COM device in the Windows device manager? If not, this is the reason why you can't access it with either Visa or Vision Builder AI.

Does the card come with a driver that you can interface with LabVIEW? If this is the case, the solution would be to develop a custom step, using the Vision Builder AI SDK to communicate with the card and the PLC.

 

Best regards,

 

-Christophe

0 Kudos
Message 2 of 4
(3,935 Views)

Hi,

If your device supports serial communication, you may install the latest version of NI DAQmx and see if the port appears in MAX.

 

Another solution is to use Data logging and supervisory control module and try to connect VBAI to NI OPC server.

 

Hope it helps

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 3 of 4
(3,870 Views)

Hello

 

I found the serial adapter ---> MPI(that works as port COM), actually the problem it's send I/O (because the protocols COM and MPI works with different speed, first I test with the hyperterminal (PC serial port ---> hyperterminal) and only it's waste my time, also the tools in NI AI serial I/O  doesn't works ), but I try to make my own interface in c# to send these I/O and then try to  integrate the NI Automated inspection with my interface, but if you have other idea please let me know.

 

Best regards

Oscar Neira

TUT/Department Production of Engineering

0 Kudos
Message 4 of 4
(3,842 Views)