88
FCS Calculation
Section 4-4
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 sending
data can be checked for errors. Refer to Appendix B FCS Check Pro-
gram Examples (BASIC).
page 265
(e.g.) Reading data: ABCDEFG
The sending data is as shown below.
Header
Footer
Reading data
FCS
Calculation
ASCII
code
A
XOR
B
XOR
C
XOR
D
XOR
XOR
E
XOR
F
XOR
G
Result
Converted into hexadecimal
and used as ASCII codes.
4
0
41
42
43
44
45
46
47
0100
0100
0100
0100
0100
0100
0100
0001
0010
0011
0100
0101
0110
0111
0100
0000
Содержание V530-R150E-3 -
Страница 1: ...Cat No Z155 E1 01 2 Dimensional Code Reader Fixed Type V530 R150E 3 V530 R150EP 3 OPERATION MANUAL...
Страница 2: ...V530 R150E 3 V530 R150EP 3 2 Dimensional Code Reader Fixed Type Operation Manual Produced August 2001...
Страница 7: ......
Страница 9: ......
Страница 17: ......
Страница 27: ......
Страница 47: ......
Страница 63: ......
Страница 224: ...207 System Section 6 4 2 Set each item 3 Select End before leaving this screen...
Страница 226: ...209 System Section 6 4 2 Select the error method 3 Select End to leave this screen...
Страница 247: ...230 2 Dimensional Code Reader Section 8 1 8 1 2 Dimensional Code Reader V530 R150 Four 4 5 dia 165 min Unit mm...
Страница 263: ......
Страница 279: ......
Страница 281: ......
Страница 283: ......
Страница 289: ......