# Inputting Data to Object with USB Barcode Reader

Data read in by a USB barcode reader can be input to an integer variable (Var1) using a numeric display object.

## Setting Workflow

1. Add Variables
2. Add USB Barcode Reader
3. Set up Parts

## Add Variables

### Project Explorer : [Variables] ➞ [All Variables]

Add the following variable(s).

#### Variables property:

[Name] | [Data Type] | [Source] | [Device Address]
Var1 | [INT] | 'Schneider Modbus Serial Equipment' | 400001

## Add USB Barcode Reader

### Project Explorer : [Target01] ➞ [Accessories]

Add the following USB Barcode Reader.

#### USB Barcode Reader properties:

Tab | Property | Value
[Basic] | [Save Data in] | [Objects]
[Key Code] | [English 101]

## Set up Parts

### Project Explorer : [Screen Design] ➞ [Screens] ➞ [Screen1]

Drag and drop the following objects from the [Tool Chest] to the screen.

#### Numeric Display object (Name: NumericDisplay1) properties:

Tab | Sub Tab | Property | Value
[Function] | [Basic] | [Current Value] | [Variable] [Name]: Var1
[Enable Input Mode] |
[Use Keypad] |