{"id":97570,"date":"2023-01-16T15:43:04","date_gmt":"2023-01-16T07:43:04","guid":{"rendered":"https:\/\/www.tm-robot.com\/docs\/%e6%a2%9d%e7%a2%bc%e6%8e%83%e8%ae%80%e6%a9%9f%e6%87%89%e7%94%a8\/"},"modified":"2024-03-14T15:20:37","modified_gmt":"2024-03-14T07:20:37","slug":"how-to-use-a-barcode-scanner","status":"publish","type":"docs","link":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/","title":{"rendered":"How to Use a Barcode Scanner"},"content":{"rendered":"<p>Examples are valid for:<\/p>\n<p>TMflow Software version: All versions.<\/p>\n<p>TM Robot Hardware version: All versions.<\/p>\n<p>Other specific requirements: None<\/p>\n<p>Note that older or newer software versions may have different results.<\/p>\n<hr \/>\n<h2>Hardware Configuration<\/h2>\n<p>A typical scanner can be connected to a TM Robot via the robot\u2019s RS-232 interface, as shown in the figure below.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-84246\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png\" alt=\"\" width=\"1216\" height=\"401\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png 1216w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1-300x99.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1-1024x338.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1-768x253.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1-360x119.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1-1000x330.png 1000w\" sizes=\"(max-width: 1216px) 100vw, 1216px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Hardware Connection<\/h2>\n<p>Click the icon Serial Port, and you can connect a device to the serial port or manage such a device.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-84252\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2.png\" alt=\"\" width=\"1475\" height=\"648\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2.png 1475w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2-300x132.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2-1024x450.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2-768x337.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2-360x158.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-2-1000x439.png 1000w\" sizes=\"(max-width: 1475px) 100vw, 1475px\" \/><\/a><\/p>\n<p>Add a variable as the result of barcode scanning.<\/p>\n<p>For scanning syntaxes, please consult the manual\u00a0 <em>Expression-Editor-and-Listen-Node.<\/em><\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-84258\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3.png\" alt=\"\" width=\"1420\" height=\"561\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3.png 1420w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3-300x119.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3-1024x405.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3-768x303.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3-360x142.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-3-1000x395.png 1000w\" sizes=\"(max-width: 1420px) 100vw, 1420px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Set up the SET node and use the Display node to read variables.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-84264\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4.png\" alt=\"\" width=\"1141\" height=\"573\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4.png 1141w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4-300x151.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4-1024x514.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4-768x386.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4-360x181.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-4-1000x502.png 1000w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/a><\/p>\n<p><b>Execute the project and display the scanning result. <\/b><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-84270\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5.png\" alt=\"\" width=\"1307\" height=\"495\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5.png 1307w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5-300x114.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5-1024x388.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5-768x291.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5-360x136.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-5-1000x379.png 1000w\" sizes=\"(max-width: 1307px) 100vw, 1307px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Using the Built-in Vision Module<\/b><\/h2>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-6.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-84276\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-6.png\" alt=\"\" width=\"759\" height=\"501\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-6.png 759w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-6-300x198.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-6-360x238.png 360w\" sizes=\"(max-width: 759px) 100vw, 759px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A TM Robot\u2019s vision module can identify one-dimension barcodes, QR codes and two-dimensional data matrices.<\/p>\n<ul>\n<li>Click <strong>Set Barcode Range<\/strong>, and a screen will pop up where you should define the barcode range.<\/li>\n<li>Make sure the range contains only one barcode.<\/li>\n<li>Make sure the barcode is legible.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Examples are valid for: TMflow Software version: All ve [&hellip;]<\/p>\n","protected":false},"author":82,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[4148],"doc_tag":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use a Barcode Scanner | \u8fbe\u660e\u673a\u5668\u4eba<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use a Barcode Scanner | \u8fbe\u660e\u673a\u5668\u4eba\" \/>\n<meta property=\"og:description\" content=\"Examples are valid for: TMflow Software version: All ve [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/\" \/>\n<meta property=\"og:site_name\" content=\"\u8fbe\u660e\u673a\u5668\u4eba\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-14T07:20:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#organization\",\"name\":\"Techman Robot\",\"url\":\"https:\/\/www.tm-robot.com.cn\/de\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#logo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"width\":221,\"height\":196,\"caption\":\"Techman Robot\"},\"image\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#website\",\"url\":\"https:\/\/www.tm-robot.com.cn\/de\/\",\"name\":\"\\u8fbe\\u660e\\u673a\\u5668\\u4eba\",\"description\":\"\\u539f\\u751fAI\\u5f15\\u64ce + \\u673a\\u5668\\u624b\\u81c2 + \\u89c6\\u89c9\\u7cfb\\u7edf\",\"publisher\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tm-robot.com.cn\/de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#primaryimage\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#webpage\",\"url\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/\",\"name\":\"How to Use a Barcode Scanner | \\u8fbe\\u660e\\u673a\\u5668\\u4eba\",\"isPartOf\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#primaryimage\"},\"datePublished\":\"2023-01-16T07:43:04+00:00\",\"dateModified\":\"2024-03-14T07:20:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tm-robot.com\/zh-hans\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Use a Barcode Scanner\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use a Barcode Scanner | \u8fbe\u660e\u673a\u5668\u4eba","robots":{"index":"noindex","follow":"follow"},"og_locale":"zh_CN","og_type":"article","og_title":"How to Use a Barcode Scanner | \u8fbe\u660e\u673a\u5668\u4eba","og_description":"Examples are valid for: TMflow Software version: All ve [&hellip;]","og_url":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/","og_site_name":"\u8fbe\u660e\u673a\u5668\u4eba","article_modified_time":"2024-03-14T07:20:37+00:00","og_image":[{"url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.tm-robot.com.cn\/de\/#organization","name":"Techman Robot","url":"https:\/\/www.tm-robot.com.cn\/de\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com.cn\/de\/#logo","inLanguage":"zh-CN","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","width":221,"height":196,"caption":"Techman Robot"},"image":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.tm-robot.com.cn\/de\/#website","url":"https:\/\/www.tm-robot.com.cn\/de\/","name":"\u8fbe\u660e\u673a\u5668\u4eba","description":"\u539f\u751fAI\u5f15\u64ce + \u673a\u5668\u624b\u81c2 + \u89c6\u89c9\u7cfb\u7edf","publisher":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tm-robot.com.cn\/de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"ImageObject","@id":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#primaryimage","inLanguage":"zh-CN","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/01\/1-1.png"},{"@type":"WebPage","@id":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#webpage","url":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/","name":"How to Use a Barcode Scanner | \u8fbe\u660e\u673a\u5668\u4eba","isPartOf":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#primaryimage"},"datePublished":"2023-01-16T07:43:04+00:00","dateModified":"2024-03-14T07:20:37+00:00","breadcrumb":{"@id":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/how-to-use-a-barcode-scanner\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tm-robot.com\/zh-hans\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www2.tm-robot.com\/zh-hans\/docs\/"},{"@type":"ListItem","position":3,"name":"How to Use a Barcode Scanner"}]}]}},"_links":{"self":[{"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/docs\/97570"}],"collection":[{"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=97570"}],"version-history":[{"count":3,"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/docs\/97570\/revisions"}],"predecessor-version":[{"id":109100,"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/docs\/97570\/revisions\/109100"}],"wp:attachment":[{"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=97570"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/doc_category?post=97570"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www2.tm-robot.com\/zh-hans\/wp-json\/wp\/v2\/doc_tag?post=97570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}