Jump to content

Recommended Posts

Hi there guys,

Can anyone give me some tips on the following argument ?

I would like to communicated from a Cognex Camera to a V570 using RS232 on the Camera side and RJ11 on V570 side . After i get communication sorted out i would like to transfer strings and save them on the PLC

Any have ever did this??

Any help whatsoever ?

Link to comment
Share on other sites

Hello,

Why not use ethernet?

I give support to Unitronics OPLC's and Cognex Vision Systems at Isotron in the Netherlands, and made already communication with it together.

I always used the ethernet, and not the serial.

But you can go with Modbus, or native mode, depending on the task you will do.

Attached 2 examples, one for Modbus and one for native mode.

If you need more, let me know.

Remco Labordus

Cognex Insight with Vision OPLC Modbus TCP.zip

cognex unitronics.vlp

Link to comment
Share on other sites

As a starting point, you could take a look at the FB Protocol example projects.

Choose 'Examples...' from the Help menu in Visilogic and then drill down to the directory 'Version 900\Project examples\Communications\FB Protocol'.

Don.

Link to comment
Share on other sites

  • 8 years later...
On 6/22/2011 at 11:17 PM, Remco said:

Hello,

Why not use ethernet?

I give support to Unitronics OPLC's and Cognex Vision Systems at Isotron in the Netherlands, and made already communication with it together.

I always used the ethernet, and not the serial.

But you can go with Modbus, or native mode, depending on the task you will do.

Attached 2 examples, one for Modbus and one for native mode.

If you need more, let me know.

Remco Labordus

Cognex Insight with Vision OPLC Modbus TCP.zip 107.86 kB · 74 downloads

cognex unitronics.vlp 196.5 kB · 95 downloads

Hello,

How do you setup the Cognex camera for native mode?

How do you know at which port to communicate with it?

 

Regards

Link to comment
Share on other sites

  • 2 weeks later...

Hello Tallo,

 

a bit late, but the modbus communication in the example was done with an older  Cognex Insight camera, using Modbus TCP as a slave.

standard is port 502 used for it in the camera and the PLC.

 

which Cognex camera are you going to use, and what data do you want to transfer?

 

if it is an UniStream I would recommend using the Ethernet/IP option, I also used that one, next to the Native mode.

 

Remco.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.