Barcode Scanner/Keyboard server

Barcode Scanner/Keyboard server
none 0.0 0
  • CMT2108X2

Is it possible to use a USB barcode scanner as well as a USB keyboard on the same HMI? I know just plugging in the barcode scanner to be used as a typical keyboard wedge will eliminate the possibility of using an actual keyboard (and vice versa); but if I setup the barcode scanner local device server is it possible to use both?

According to our user manual, it is possible use both a USB Keyboard and USB barcode reader. However, you will need to use system bit LB-9064 to determine which device will be in use at that moment:

We have established use of our Barcode Scanner (WoneNice WN3300-V3.1) and Keypad (Model cMT2108x2) to enter our lot numbers. If we select our input object (ASCII display field) and manually key the entry, the number appears in display field and our reports. However, if scanned in, it will appear in the display field, but we only get a rectangular shaped image. However, if we tap the display field after scanning (which brings up the keypad) and press ENTER, the scanned number will appear in the reports.

Our ASCII display field:

Data Entry> Mode=Touch, Keyboard=Popup
No Trigger Action

Any suggestions? I feel like I’m just missing something. Thanks! Pat

@psimm,

What method are you using to build your report and what triggers the creation or addition of a new report or “log” into a report?

Hi Brendon,

It’s a Bit trigger based on an internal Bit (lot started) that is changed via action triggers to toggle the lot started bit from PLC feedback through Start and Stop.

It also does a data transfer from the barcode scanner to the HMI local tag (lot_id) when you hit the ENTER key.

Also – after re-reading above, the “rectangular shaped image” is what appears in the report rather than the number when scanned.

@psimm,

Can you post a screenshot of this “rectangle shaped image” for our reference?

Hi @psimm,

When using the “Barcode scanner / Keyboard” driver the barcode data will display in address Barcode - 1 as shown in this video: Link

I believe there may be an issue in your logic that is preventing the barcode data from transferring to the “Lot_ID” tag shown within your image.

Thank you. We’ve tried every step and combination shown on the video and listed in the manual. So far, no luck. Since it’s just a matter of accessing the keypad and choosing “enter” to have the data transfer to the reports, I’ll try to find a macro that will help me do those steps. No experience with macros, so if there is a good source for that, please let me know.

Appreciate all your help.

Hi @psimm,

Thank you for the update and just to confirm, when scanned in the barcode appears in the display field but due to the current transfer mechanism, you only receive a character in the log. Is that correct?

If so, it sounds like the issue is in how the data transfer takes place. When the above occurs are you transferring the data from Barcode - 1 to Lot_ID and then to the PLC or do you use another mechanism or process.

To learn more about macros please review these tutorials: