Omron V500-R521B2 User Manual page 103

Bar code reader
Table of Contents

Advertisement

Command specification
Command to control the link unit (in case of one-to-N procedure dedicated to OMRON)
is explained in this section. Transmit so that distance between each character of the
command is less than 200 ms. When the distance is 200 ms or more, it is recognized
as separation of commands.
SOH
Machine No.
Communication data with the bar code reader
$01
Designation of link unit process (DLE) command
Item
SOH (Start Of Header)
Machine No.
Bar code reader and
communication data
Check code
CR (Carriage Return)
Control code ($01) indicating the head of a frame
Machine No. (1 to 32, 99) set with the DIP-SW. When the machine No. is 99,
all units are regarded as own machine.
Upper equipment > link unit
Command data to transmit to the bar code reader. However, in case when the
first character is DLE (10 h), it is handled as link unit process command
defined by the next character.
• P (50 h): Polling (Invalid in case of through procedure)
• R (52 h): Resend request
• C (43 h): Buffer clear
Link unit > Upper equipment
Response data from the bar code reader
2 characters of 8-bit from the character immediately after SOH to immediately
before the check code, removing each exclusive OR (ExOR) which is
converted to ASCII code.
E.g.: In case of [SOH]01020000000600 (check code) [CR]
Check code = "05"
30h (ExOR) 31h (ExOR) 30h (ExOR) 32h (ExOR) 30h (ExOR) 30h (ExOR) 30h
(ExOR) 30h (ExOR) 30h (ExOR) 30h (ExOR) 30h (ExOR) 36h (ExOR) 30h (ExOR)
30h = 05h
Control code ($0D) indicating the end of a frame
Example of System Configuration
Check code
Description
(ASCII conversion) ↓
"0" (30h) "5" (35h)
V500-R521B2/C2
Section 5
CR
105
User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

V500-r521c2

Table of Contents