Comtrol UP DeviceMaster Filtering and Data Extraction Instrukcja Użytkownika Strona 18

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 26
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 17
18 - DeviceMaster UP Filtering and Data Extraction Reference Guide: 2000470 Rev. B Chapter 4. Barcode Data Extraction and PLC/Application
Interface
To Application Barcode Data Format
Example:
A DeviceMaster UP serial port is operating in barcode filtering mode.
The barcode standard 12-14 digit format is set to Company-5/Product-5.
The following barcode is received: “756727982906”
The data sent to a PLC would have the following format:
4.1.2. To Application Barcode Data Format
When the application interface is operating in barcode filtering mode, all data sent to the application will be
in the following format:
Note: The Company Code will be set to zero for all EAN-8 codes.
The barcode parameters will be sent to the application in big-endian format. All parameters, with the
exception of the barcode data string, will have to be byte-swapped for use on a little-endian system.
Example:
A DeviceMaster UP socket port is operating in barcode filtering mode and the application port is enabled.
The barcode standard 12-14 digit format is set to Company-5/Product-5.
The following barcode is received: 756727982906
The data sent to an application would have the following format:
Field Data Value(s)
Produced data sequence number 0-65535 (FFFF Hex)
Length of barcode message 24
Company Code 56727
Product Code 98290
Numbering Code 7
Barcode Data Length 12
Barcode Data 756727982906 (in ASCII characters)
Field Size Description
Company Code UDINT Company Code
Product Code UDINT Product Code
Numbering Code UINT Numbering Code (from first byte(s) of barcode data)
Barcode Data Length UINT Length of barcode string in bytes
Barcode Data BYTE[128] Barcode data string (variable length field)
Field Data Values
Company Code 56727
Product Code 98290
Numbering Code 7
Barcode Data Length 12
Barcode Data 756727982906 (in ASCII characters)
Przeglądanie stron 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Komentarze do niniejszej Instrukcji

Brak uwag