JTMachineDesign Posted March 12, 2018 Report Share Posted March 12, 2018 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. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted March 13, 2018 MVP 2022 Report Share Posted March 13, 2018 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. Sorry JT. Couldn't help myself. You'll get a serious answer soon from someone who really knows how. cheers, Aus 2 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted March 13, 2018 MVP 2022 Report Share Posted March 13, 2018 Aus, you are such a card. 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. Quote Link to comment Share on other sites More sharing options...
rayair Posted February 13, 2021 Report Share Posted February 13, 2021 we need to install a barcode reader Code 36 on vision 700, can anyone explained how to program using a trigger to start the reader? appreciate a reply. br Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted February 16, 2021 MVP 2022 Report Share Posted February 16, 2021 Is your reader the handheld type with its own trigger or is it a fixed unit with an external trigger input? If it's handheld, then you pull the trigger and it will spit out a serial stream when it sees a valid code. If it's mounted, there's usually a digital input on it to trigger it. Either way, you'll need to catch the serial string with a Protocol Scan block and decide what to do with it from there. Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted February 16, 2021 MVP 2022 Report Share Posted February 16, 2021 On 3/13/2018 at 5:12 AM, Ausman said: 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. Hmm, I read something recently that might apply. Oh, yes, here it is: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.