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 ?

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Hmmm.

This topic is from year 2011.

Most of peoples not active for years.

Camera models beeng changed too.

Hope it is better to read Cognex manual. Isn't it?

B.R.

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...