Panasonic FP2 User Manual page 11

Serial data unit
Hide thumbs Also See for FP2:
Table of Contents

Advertisement

FP2 Serial Data Unit
Parity check
With serial communication, sometimes noise or another factor causes a bit to be
transmitted erroneously. The parity check is designed to detect data bit errors such as
these. It does this by determining whether the total number of "1" bits in the data is an
odd number or an even number.
If a parity check is used, a parity bit is inserted in front of the stop bit on the sending side,
when the data is sent. As shown in the illustration below, when the setting is set to "Even
Parity", the parity bit is set so that the total number of "1" bits in the data is an even
number, and if "Odd Parity" is set, the parity bit is set so that the total number of "1" bits
in the data is an odd number.
When the parity check is set to "Even"
Number of "1" bits
in the data is 3
1
2
3
0
1
0 0 1 0 1 0 1
One data element
(character)
Start bit
The data is also checked on the receiving side to see if the total number of "1" bits is
an even or odd number, and a parity error occurs if the result does not match that on
the sending side.
With the serial data unit, the parity setting can be set to "Invalid", "Odd Parity", or "Even
Parity".
Parity bit
The bit is set to "1"
so that the number
of bits in the data is
an even number.
1
Stop bit
Transmission Speed and Transmission Format
When the parity check is set to "Odd"
Number of "1" bits
in the data is 3
1
2
3
0
1
0 0 1 0 1 0 0
One data element
(character)
Start bit
Parity bit
The bit is set to
"0" so that the
number of bits in
the data is an
odd number.
1
Stop bit
ix

Advertisement

Table of Contents
loading

Table of Contents