Home Books eBooks Journals References & Proceedings Authors, Editors, Reviewers A-Z Product Index Awards
Flexible Automation and Intelligent Manufacturing,  1997:<br>Proceedings of the Seventh International FAIM Conference

ISBN:
978-1-56700-089-4 (Print)
978-1-56700-442-7 (Online)

PROGRAMMABLE CONTROLLERS PROGRAM GENERATION USING A TEXTUAL INTERFACE

Orlando Duran
FEAR Universidade de Passo Fundo CP. 566 or 567 CEP 99001-970 FAX 55-054-3111307 Passo Fundo (RS) Brazil

Antonio Batocchio
FEAR Universidade de Passo Fundo CP. 566 or 567 CEP 99001-970 FAX 55-054-3111307 Passo Fundo (RS) Brazil

Abstract

This paper reports the implementation of an automatic system for programming programmable logic controllers (PLC) using as an input scripts that describe the control logic of automated manufacturing/assembly cells. The systems makes use of the object oriented paradigm for representing all the manufacturing entities that participate in a given application and their relationships. Though the use of the object oriented paradigm, issues such as consistence and traceability are guaranteed. The implementation of the code generation module is made by using the definite clause grammars methodology, that allows construction of compilers, interpreters and code generators in a readable manner. The user can define once the control logic for an application, and generate source code for a selected PLC many times as he/she needs giving reusability to all the programs generated. Through the use of this kind of systems, the programming task, that is an error prone activity, Is enhanced and can be performed attaining high productivity and reliability levels. The systems was written in Arity Prolog and runs under Windows on a personal computer.