Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network

  Advanced Search  

Detecting Races in Relay Ladder Logic Programs Alexander Aiken ? , Manuel Fahndrich ? , and Zhendong Su ?

Summary: Detecting Races in Relay Ladder Logic Programs
Alexander Aiken ? , Manuel F¨ahndrich ? , and Zhendong Su ?
EECS Department
University of California, Berkeley ??
Abstract. Relay Ladder Logic (RLL) [4] is a programming language
widely used for complex embedded control applications such as manu­
facturing and amusement park rides. The cost of bugs in RLL programs
is extremely high, often measured in millions of dollars (for shutting
down a factory) or human safety (for rides). In this paper, we describe
our experience in applying constraint­based program analysis techniques
to analyze production RLL programs. Our approach is an interesting
combination of probabilistic testing and program analysis, and we show
that our system is able to detect bugs with high probability, up to the
approximations made by the conservative program analysis. We demon­
strate that our analysis is useful in detecting some flaws in production
RLL programs that are difficult to find by other techniques.
1 Introduction
Programmable logic controllers (PLC's) are used extensively for complex embed­
ded control applications such as factory control in manufacturing industries and
for entertainment equipment in amusement parks. Relay Ladder Logic (RLL) is


Source: Aiken, Alex - Department of Computer Science, Stanford University
Su, Zhendong - Department of Computer Science, University of California, Davis


Collections: Computer Technologies and Information Sciences