Jump to content

Recommended Posts

New to Unitronics.    Now working for a company that has a couple of dozen machines run with Vision PLC/HMI units.

What do I need to do to get a Vision-based system to read and execute a subroutine when the machine sees a barcode?

Datamatrix barcode. - reader has not been selected yet.

Share this post


Link to post
Share on other sites

Hi,

1).  Vision reads bar.

2).  Vision executes bar entry routine.

3).  Vision proceeds to bar.

4).  Vision reads different codes.

5).  Vision interprets codes, runs decision-making subroutine.

6).  Vision waits for a while accepting results of decision-making sub.

7). Vision leaves bar sub.....somewhat unsteadily.

8). Vision attempts to run main program normally, but errors appear out of nowhere.

:blink:

Sorry JT.  Couldn't help myself.  You'll get a serious answer soon from someone who really knows how.

cheers,

Aus

  • Like 2

Share this post


Link to post
Share on other sites

Aus, you are such a card.  :P

You need a barcode reader with an RS232 output.  Most barcode readers have an adapter cable if you look deep in the accessories.

Then you have to define what you want to do.  Sample barcode data?  Sample decision process?

Then read all the Help on the Protocol block, which is what you will use to read the barcode reader's output.

Then read the Help on the String function blocks, which is what you will use to make sense of the barcode reader's output.

That's about all I can tell you with the information given.

Joe T.

 

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.

Sign in to follow this  

×
×
  • Create New...