LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vbai server reboot required

I am using vbai 3.5.1 with NI 1742 Smart Cam and communicating via TCP with Omron PLC.
If power to the machine is cycled, I lose communication with the camera. It seems as though the
server is stopped but it says it's running. When I reboot from vb everything is ok.
1. Can I resolve this or
2. Is there a way to reboot via hard I/O?
0 Kudos
Message 1 of 17
(4,614 Views)
Hi Bam

This sounds like the TCP server has stopped running resulting in the server to lose communication. If you are using the smart cam as the master try changing it to the slave and see if that fixes the issue.


Thank You
Eric Reid

Thank You
Eric Reid
National Instruments
Motion R&D
Message 2 of 17
(4,585 Views)

My PLC is set as the Master in my comm manager in vbai.

It has also been suggested that I reinstall the camera image which I have also done.

It's odd that only a reboot from vb will resolve this.

Is there anything else that could be causing this?

0 Kudos
Message 3 of 17
(4,538 Views)

Hi BAM787

 

Can you go into more detail as to your process? Are you also rebooting the PLC as well? Basically you cycle power on the smart camera and lose connection, do you than need to go and reset the device in VBAI in order to re-establish a connection?

 

Thank You

Eric Reid 


Thank You
Eric Reid
National Instruments
Motion R&D
Message 4 of 17
(4,519 Views)

If power to the station is lost (PLC and camera), the camera boots up ok except tcp communications.

After boot, I open tcp port on PLC successfully but the camera does not respond. I must then

go into vb config mode and reboot target. After this, communications are fine.

When it's not communicating, the tcp server says it's running but I can't stop it from the communication

manager.

I'm using an Omron CJ PLC with CX-Programmer

 

Thanks

0 Kudos
Message 5 of 17
(4,493 Views)

Hi BAM787

 

I will look further into this and see if I can find a work around, however since we are running Vision Builder for Automated Inspection it's entirely possible that a restart on the camera through VBAI may be necessary to reestablish the connection.

 

Thank You

Eric Reid 


Thank You
Eric Reid
National Instruments
Motion R&D
Message 6 of 17
(4,469 Views)

Even if there is a way that I can do this without having to connect with vbai it would help.

The problem is that plant technicians needs to bring a laptop to the cell and reboot through vbai which

incurs downtime

0 Kudos
Message 7 of 17
(4,460 Views)

Hi Bam787

 

Two other things to check, first have you installed the latest patch 3.5.1? Also I wanted to confirm that you have your insepction application set to run on boot up.

 

3.5.1 patch:

http://joule.ni.com/nidu/cds/view/p/id/1062/lang/en 

 

 

Thank You

Eric Reid 


Thank You
Eric Reid
National Instruments
Motion R&D
Message 8 of 17
(4,429 Views)

Hi Eric,

 

Yes, I have installed 3.5.1 a couple times. Camera is also set up to open & run inspection on boot.

The inspection is open and running but no tcp comms until vb reboot.

 

Thanks

0 Kudos
Message 9 of 17
(4,421 Views)

Hi BAM

 

Is it possible that the PLC boots slower than the 1742 smart camera? Try booting the smart camera after the PLC has fully initiated the TCP server.

 

Thank You

Eric Reid 


Thank You
Eric Reid
National Instruments
Motion R&D
0 Kudos
Message 10 of 17
(4,378 Views)