Correct Real-Time Software for Programmable Logic Controllers

  • Authors:
  • Ernst-Rüdiger Olderog

  • Affiliations:
  • -

  • Venue:
  • Correct System Design, Recent Insight and Advances, (to Hans Langmaack on the occasion of his retirement from his professorship at the University of Kiel)
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an approach to the design of correct real-time software for Programmable Logic Controllers (PLCs), a widespread hard-ware platform in the area of traffic and automation control [19,26]. Requirements are formulated in a graphical formalism called Constraint-Diagrams (CDs) [12]. A CD consists of waveforms that describe the time-wise behaviour of observables and of arrows that describe the timed interdependencies between these waveforms. Design specifications are formulated as so-called PLC-Automata [7]. These can be understood as a special class of timed automata that model in an abstract way the cyclic behaviour of PLCs. Programs are formulated in ST (Structured Text), a dedicated programming language for PLCs. PLC-Automata can be easily compiled into ST code. The semantic link between CDs and PLC-Automata is stated in terms of the Duration Calculus [37], a logic and calculus for specifying realtime behaviour. This enables us to formally establish the correctness of designs with respect to the requirements. The approach is illustrated by a case study defined by an industrial partner engaged in designing railway signalling systems [23]. It is supported by a tool called Moby/plc [11].