Data read in by a USB barcode reader can be input to an integer variable (Var1) using a numeric display object.
Add the following variable(s).
| [Name] | [Data Type] | [Source] | [Device Address] |
Var1 |
[INT] |
'Schneider Modbus Serial Equipment' |
400001 |
Add the following USB Barcode Reader.
| Tab | Property | Value |
| [Basic] | [Save Data in] | [Objects] |
| [Key Code] | [English 101] |
Drag and drop the following objects from the [Tool Chest] to the screen.
| Tab | Sub Tab | Property | Value |
| [Function] | [Basic] | [Current Value] | [Variable]
[Name]: Var1 |
| [Enable Input Mode] | ![]() |
||
| [Use Keypad] | ![]() |