FP2 Serial Data Unit
Sample Programs
8
−
4
8.1
Sample Programs
BCC example
The BCC is normally called a horizontal parity, and the characters of the sent character
string from the beginning to just before the BCC form an exclusive OR (XOR) in
sequence. The resulting 8
−
bit data is converted to a 2
−
character ASCII code which is
the BCC.
H30
ASCII
H1B
H31
H47
H30
H37
H41
H31
0
ESC
1
G
0
7
A
1
BCC
C
R
H32
H41
Conversion of ASCII code
0001 1011 (H1B)
0011 0000 (H30)
0010 1011
0011 0001 (H31)
0001 1010
0100 0111 (H47)
0101 1101
0011 0000 (H30)
0110 1101
0011 0111 (H37)
0101 1010
0100 0001 (H41)
0001 1011
0011 0001 (H31)
0010 1010
(H2A)
2
A
Command
Exclusive OR(XOR)
Exclusive OR(XOR)
Exclusive OR(XOR)
Exclusive OR(XOR)
Exclusive OR(XOR)
Exclusive OR(XOR)
Exclusive OR(XOR)
Содержание FP2 Series
Страница 1: ......
Страница 6: ...FP2 Serial Data Unit Table of Contents iv ...
Страница 18: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 2 ...
Страница 22: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 6 1 3 Restrictions on Units Combination ...
Страница 24: ...FP2 Serial Data Unit Parts and Functions 2 2 ...
Страница 30: ...FP2 Serial Data Unit Confirming the Unit Settings and Design Contents 3 2 ...
Страница 44: ...FP2 Serial Data Unit Communication with External Devices 4 2 ...
Страница 66: ...FP2 Serial Data Unit Precautions Regarding Serial Data Unit Operation and Programs 5 2 ...
Страница 72: ...FP2 Serial Data Unit Operation If an Error Occurs 6 2 ...
Страница 78: ...FP2 Serial Data Unit Specifications 7 2 ...
Страница 86: ...FP2 Serial Data Unit Specifications 7 10 7 4 Transmission Format ...
Страница 88: ...FP2 Serial Data Unit Sample Programs 8 2 ...
Страница 98: ...FP2 Serial Data Unit Sample Programs 8 12 8 2 Table of ASCII Codes ...
Страница 100: ...Record of changes FP2 Serial Data Unit R 2 ...
Страница 101: ......
Страница 102: ......