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
Summary of Contents for V530-R150E-3 -
Page 7: ......
Page 9: ......
Page 17: ......
Page 27: ......
Page 47: ......
Page 63: ......
Page 224: ...207 System Section 6 4 2 Set each item 3 Select End before leaving this screen...
Page 226: ...209 System Section 6 4 2 Select the error method 3 Select End to leave this screen...
Page 263: ......
Page 279: ......
Page 281: ......
Page 283: ......
Page 289: ......