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

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
Sign in to follow this  

×