Reader Status Request - Omron V440-F User Manual

C-mount code reader
Table of Contents

Advertisement

Appendices
M-8 Reader Status Requests
M-8-1 <?> Status Byte
The reader responds to a status request <?> with a two character hex value, such as <?/22>. To deter-
mine status:
1
Look up the binary conversion in the table below.
For example, the first hex 2 would be 0 0 1 0 in binary, as read from binary digits 3 through 0;
the second hex 2 is also 0 0 1 0 as read from binary digits 7 through 4.
2
Next, enter your binary values from the table below in the "Binary" column next to the
appropriate bit.
Hex
Value
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Bit
0
1
2
3
4
5
3
Under "Binary," interpret 1s as true and 0s as not true. For example, bit 1 has a 1 in the "Binary"
column, indicating "Command Received". Bit 5 is also a 1, indicating that the "Reader is in a
read cycle".
M-8-2 <K?> All Status Request
This is the fastest way to learn the reader's current configuration. Sending this request will return the
current settings of all commands, starting with the lowest K command value and ending with the highest
K command value.
M-8-3 <K??> All Descriptor Status Request
This request will return all current descriptors for every K command, starting with the lowest K com-
mand value and ending with the highest K command value.
M-12
Binary
Bit Digits
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
Binary
0
Command error detected
1
Command received
0
Communication error detected
0
Reserved
0
Host port buffer overflow
1
Reader is in a read cycle
Reader Status
V440-F C-Mount Code Reader User Manual

Advertisement

Table of Contents
loading

Table of Contents