![background image](http://html1.mh-extra.com/html/omron/v530-r150/v530-r150_operation-manual_741959067.webp)
4-4
Section
FCS Calculation
56
4-4
FCS Calculation
FCS (Frame Check Sequence) can be attached to output data to
improve communications. (For normal communications only).
FCS is the result of taking the XOR for each byte between header
and footer (8 bits) and converting to 2-character ASCII codes.
Each time data is received, the host link calculates the FCS and
checks it against the FCS attached to sending data so that send-
ing data can be checked for errors. Refer to
Appendix B FCS
Check Program Examples (BASIC).
→
(e.g.) Reading data:ABCDEFG
The sending data is as shown below.
Header
Footer
Reading data
FCS
Calculation
ASCII
code
A
41
0100
0001
XOR
B
42
0100
0010
XOR
C
43
0100
0011
XOR
D
44
0100
0100
XOR
XOR
E
45
0100
0101
XOR
F
46
0100
0110
XOR
G
47
0100
0111
Result
0100
0000
Converted into hexadecimal
and used as ASCII codes.
4
0
Содержание V530-R150
Страница 1: ...Cat No Z136 E1 1 V530 R150 OPERATION MANUAL 2 Dimensional Code Reader ...
Страница 2: ...V530 R150 2 Dimensional Code Reader Operation Manual Produced July 1999 ...
Страница 89: ...5 4 Section STEP 2 Setting Reading Conditions 79 8 Select 1 Read DataMatrix 9 Select Reading Settings ...
Страница 95: ...5 6 Section STEP 4 Starting Code Reading 85 3 Input reading trigger Reading is performed QRCode ABCDE12345 ...
Страница 132: ...6 2 Section SET Setting Mode 123 Line Bright X fixed Y coordinate Line Bright Y fixed X coordinate ...
Страница 197: ...Cat No Z136 E1 1 V530 R150 2 Dimensional Code Reader OPERATION MANUAL ...