skip to main content
10.1145/3304133.3304155acmotherconferencesArticle/Chapter ViewAbstractPublication PagesadatecConference Proceedingsconference-collections
research-article
Free access

Using Ada for industrial embedded microprocessor applications, II

Published: 06 October 1982 Publication History

Abstract

In [1], we illustrated how Ada could be used to separate the high level logical operations of an embedded control program from the low level details of how to access the various physical devices controlled by the program. We further illustrated how this information hiding could be achieved without loss of storage or run-time efficiency. In this paper, we continue our investigation by illustrating how one can use the exception handling facility of Ada to separate the normal operation of a control program from the handling of exceptional conditions. The goals are (1) to be able to view the normal flow of control and the error recovery separately, without having to embed one in the other, (2) after recovering from an error, to be able to restart or continue operation of the system, and (3) to accomplish goals 1 and 2 without loss of efficiency.
The third goal is particularly important, since many real-time control applications are characterized by the use of minimal hardware. While such programs do not use the full power of the Ada language, it is important that one be able to compile highly optimized code for those features that are used.
Our discussion centers around a typical application in factory automation - a control program for an industrial trolley. While this is not one of our intended applications, it includes many characteristics of actual applications.

References

[1]
Duncan, A.G. and J.S. Hutchison, Using Ada for Industrial Embedded Microprocessor Applications, SIGPLAN Notices 15(11), Nov. 1980.
[2]
Hennessy, J., Program Optimization and Exception Handling, Eighth Annual ACM Symposium on Principles of Programming Languages, Jan. 1981.
[3]
Togino, K., K. Furuta, and K. Kobashi, A Controller Independent Programming Language for Sequentially Controlled Machine, SME Technical Paper, MS79-165, Dearborn MI 48128, 1979.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
AdaTEC '82: Proceedings of the AdaTEC Conference on Ada
October 1982
279 pages
ISBN:0897910877
DOI:10.1145/3304133
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 06 October 1982

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

AdaTEC '82
AdaTEC '82: Ada
October 6 - 8, 1982
Virginia, Arlington

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 44
    Total Downloads
  • Downloads (Last 12 months)18
  • Downloads (Last 6 weeks)10
Reflects downloads up to 30 Jan 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media