...
Create a new device | To create a new device, select [Tool] → [I/O Devices] or click the I/O Device: Assign a device name. This name will be used in the tag configuration window of the database, accompanied by the ‘Station Name’. |
Select a device type | After selecting the [OK] button in the previous step, select the 'Barcode Scanner' as the device type. The ‘Serial Communication Configuration’ dialog box will appear as shown in the following picture. Select ‘Barcode Scanner’ as the device type. Keep the following default settings for serial communication. Ensure that the scanner matches these settings. Device Type: Barcode Scanner Comm. Port: COM1 Baud Rate: 9,600 bps Parity: None Data Bits: 8 Bits Stop Bit(s): 1 Bit RTS/CST: OFF Comm.Type: RS-232 Retry No: 3 Time Out: 30 See the Communication Configuration section for more information about the remaining parameters. |
Create a station | Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, all connected PLC stations can be configured and registered to the Xpanel. Each field can be configured with the following rules: Station Name: Give a name to the barcode scanner. Station Type: Choose ‘BarCode’ (no other type can be selected). Station No: Choose 0 for this field. See the Communication Configuration section for more information about the remaining parameters. |
...
Configure the 'Key Input Window' object as desired. For more information about each menu option, see the Key Input Window section.
The Xpanel will only register data from the barcode scanner when a 'Key Input Window' is open on the active page. Be sure to accommodate for this when designing your project.
...