ISA Interchange

Welcome to the official blog of the International Society of Automation (ISA).

All Posts

AutoQuiz: How to Use the Parity System to Detect Data Transmission Errors

 

AutoQuiz is edited by Joel Don, ISA's social media community manager.

 

This automation industry quiz question comes from the ISA Certified Control Systems Technician (CCST) program. Certified Control System Technicians calibrate, document, troubleshoot, and repair/replace instrumentation for systems that measure and control level, temperature, pressure, flow, and other process variables. Click this link for more information about the CCST program.

 

 

When using the parity system to detect data transmission errors, the parity bit is set to a “1” or a “0” based on the content of the:

a) bits in the data word
b) start bit and bits in the data word
c) bits in the data word, including parity
d) bits in the data word, parity, and the stop bit
e) none of the above

 

The correct answer is A, bits in the data word. Parity is a simple method using a binary code (“1” or “0”) to detect data transmission errors by making the sum of the “1” bits in the source data either an odd or an even number. The calculated parity bit is then appended to the end of the data stream.

For example, if the following data word is to have "even parity," the parity bit would be set to "1" in order for there to be an overall "even number" of bits set to "1":

1 1 0 1 1 0 1                         parity bit = 1

The resulting data, with the parity bit, would be: 1 1 0 1 1 0 1 1 (total of six "1" bits).

The receiving device strips off the parity bit, recalculates the parity, and compares the result to the parity bit received. If it matches, it is assumed that the received data and the sent data match. If not, an error (parity error) is flagged. For communication to occur, both the sender and receiver must be configured for the same sense of parity (both odd or both even).

Since there are five "1" bits in the original word, the parity bit for "odd parity" is a "0."

Reference: Goettsche, L.D. (Editor), Maintenance of Instruments and Systems, 2nd Edition

 

 

About the Editor
Joel Don is the community manager for ISA and is an independent content marketing, social media and public relations consultant. Prior to his work in marketing and PR, Joel served as an editor for regional newspapers and national magazines throughout the U.S. He earned a master's degree from the Medill School at Northwestern University with a focus on science, engineering and biomedical marketing communications, and a bachelor of science degree from UC San Diego.

 

Connect with Joel
LinkedInTwitterEmail

 

 

Joel Don
Joel Don
Joel Don is an independent content marketing, social media and public relations consultant. Prior to his work in marketing and PR, Joel served as an editor for regional newspapers and national magazines throughout the U.S. He earned a master's degree from the Medill School at Northwestern University with a focus on science, engineering and biomedical marketing communications, and a bachelor of science degree from UC San Diego.

Related Posts

5 Recent Great Reads in IIoT

If you're interested in the vast potential of the Industrial Internet of Things (IIoT), you may not have ...
Kara Phelps Jul 31, 2020 5:00:00 AM

Why Are Engineers So Against Derivative Action?

The following technical discussion is part of an occasional series showcasing the ISA Mentor Program, aut...
Greg McMillan Jul 28, 2020 5:15:00 AM

Weathering the Perfect Storm: ISA in Conversation with Newsweek [Q&A]

Earlier this year, Newsweek Vantage published an independent report on cyber risks to critical infrastruc...
Jennifer Infantino Halsey Jul 24, 2020 5:15:00 AM