This video is major to introduce using the scan gun of hmi
Using the Scan Gun
Hello, welcome to the touch screen operation video tutorial, today we will talk about the use of the scan gun. Scanning gun has USB access and serial access in two ways, first look at the use of USB scanning gun, USB scanning gun is not a fixed address, it can scan the address of any input, before scanning code need to first set the input element for the input state, and need to pay attention to set the length of the character must be longer than the length of the scanning gun, otherwise it may only show part, here with a character input element to accept the contents of the scan gun, input type select character input, address can be selected arbitrarily, here select lw0, the following set length, the length needs to be noted that must be longer than the bar code or two-dimensional code inside the content, otherwise it will not be displayed in full, the encoding method select ASCII characters, character keyboard settings inside, keyboard settings have touch and bit control two The way of touch control is to click on the character input component to trigger the scan gun, the contents of the scan will be displayed on the top of the component, if you use the bit control method, is to set the address to ON, the component trigger input state, the keyboard pop-up way to choose not to use the pop-up keyboard, about the character input settings these places need to pay attention to, after setting to download to the touch screen inside The USB scan gun can be used for offline simulation, see how to use the USB scan gun, to show you how to operate, click on the character input pieces, its cursor will become a red flashing state, this time the component is the input state, with a bar code or two-dimensional code to scan, you can display the contents of the character components swept out, about the USB This is all we have to say about USB scan guns. The following look at the serial scan gun, serial scan gun is in the settings - communication settings - local connection inside the choice to provide services, type to choose barcode, communication type, baud rate, data bits, stop bits, parity bits to set and scan gun side consistent to be able to, after setting directly click OK, serial scan gun its register is fixed, there is a receiving status bit, that is, LW8999, there is a receiving character register range is LW8900 ~ 8999, a total of 100 words length, when using the serial scan gun, just need to use the serial line to connect the touch screen and the scan gun, according to the just set up in the serial service inside the communication settings, and then directly scan the code, the contents of the scan will be directly displayed In this character component, the component settings and just USB is the same, its address is fixed LW8900, and then we add a LB8999 to indicate the state of the bar code or two-dimensional code scanning, direct click OK, the same is downloaded to the touch screen to use the scan gun to scan the code to see the contents of the display, here we will not give you a demonstration, you can operate their own Here we will not give a demonstration, you can operate it yourself.
Get in touch
Please provide us with the information below to complete your request. Just leave your email or phone number in the contact form so we can send you a free quote for our wide range of designs!
Copyright © 2023 Wuxi Mochuan Drives Technology Co.,Ltd 无锡默川传动技术有限公司- www.mochuan-drives.com All Rights Reserved.