22
5. Advanced Program for Barcode Comparison
5-7 Device setting in the example program
In this example program, various data items are allocated to the following devices.
The “LM”, “LDR”, and “LKR” in the table below are the internal devices of the operator interface.
(LM: Internal relay of operator interface, LDR: Register of operator interface, LKR: Keep register of
operator interface)
Device
LM 2000
LM 2011
LDR 8000-0
LDR 8002
LDR 8003
LDR 8010
LDR8010 LDR8011 LDR8012 LDR8013 LDR8014 LDR8024
"3132h" "3334h" "3536h" "3738h" ”0000h” ”0000h”
LDR 8024
LDR 7900
LDR 7900 LDR 7901 LDR 7902 LDR 7903
"3132h" "3334h" "3536h" "3738h"
LDR 7909
LKR 500
LKR 999
LKR 1000
Description
Turns on when a barcode is scanned. The on status is retained until the next scan of a
barcode.
LM 2001 Turns on when the scanned barcode matches the called barcode for verification. The on
status is retained until the next scan of a barcode.
The communication status with the barcode reader is stored in this register.
The number of bytes of the data received by the barcode reader is stored in this register.
LM 2002
LM 2010
Stores the data of the barcode to be registered.
Refer to the list on the next page for the registration No. and barcode data to be
registered...
Stores the No. of the barcode to be registered or verified. 50 numbers from No. 0 to 49 can
be specified.
When memorizing a barcode, scan a barcode after turning on this internal relay of the
operator interface to register the barcode data to the area specified with the Bar Code
Number.
Turns on when the scanned barcode does not match the called barcode for verification. The
on status is retained until the next scan of a barcode.
The data of the barcode loaded via communications is stored in ASCII data with the format
of 2 bytes in 1 register.
When the barcode data to be verified is 8 digits “12345678”, the data is stored as follows.
Up to 15 words can be scanned. Barcode data of up to 30 digits can be scanned.
The data of a barcode to be verified is stored in ASCII data with the format of 2 bytes in 1
register.
When the barcode data to be verified is 8 digits “12345678”, the data is stored as follows.
Up to 10 words can be memorized. Barcode data of up to 20 digits can be memorized.
Turning on this relay after modifying a registered barcode using the character keys will
register the barcode data again.
Turns on when the readout of the data from the barcode reader is complete.
to