The development of a generic pc-based programmable logic controller simulator

Sanjay B. Joshi, Mark R. Supinski

Research output: Contribution to journalArticle

4 Citations (Scopus)

Abstract

Programmable logic controllers (PLC) are used extensively for controlling discrete processes. The PLC's versatility is based on its reprogrammability, but this versatility is bought at the expense of program correctness and verification. Modifications to existing PLC programs, or generation of new ones, requires the use of the controller and the hardware associated with it in order to debug the new instructions. This leads to a greatly increased program design cycle as equipment down-times must be scheduled to accommodate debugging. At the same time, testing uncertain instructions on the plant floor places all the hardware connected to the PLC in jeopardy of damage due to program errors. This paper presents the development of a generic personal computer (PC) based PLC simulator. The development of the simulator comprises two stages: one for the creation of the virtual PLC and the other for the manipulation of this virtual PLC. The virtual PLC comprises a lexical analyser and a parser which function as a 'compiler', checking syntax, and recognizing commands of the PLC language, and creating the internal representation of the PLC in the PC's memory which interacts with a graphical interface to allow interaction with the virtual PLC. Program verification is then performed on the emulator instead of on the actual controller, thus both decreasing the debugging time for new instructions and protecting the hardware on the shop floor. The technique is not specific to any particular system, and may be applied genetically to any controller.

Original languageEnglish (US)
Pages (from-to)151-168
Number of pages18
JournalInternational Journal of Production Research
Volume30
Issue number1
DOIs
StatePublished - 1992

Fingerprint

Programmable logic controllers
Simulators
Hardware
Controllers
Controller
Logic
Personal computers
Interfaces (computer)
Data storage equipment

All Science Journal Classification (ASJC) codes

  • Industrial and Manufacturing Engineering
  • Management Science and Operations Research
  • Strategy and Management

Cite this

@article{ab9779dcce1d46b2b6c6fefd86dd883a,
title = "The development of a generic pc-based programmable logic controller simulator",
abstract = "Programmable logic controllers (PLC) are used extensively for controlling discrete processes. The PLC's versatility is based on its reprogrammability, but this versatility is bought at the expense of program correctness and verification. Modifications to existing PLC programs, or generation of new ones, requires the use of the controller and the hardware associated with it in order to debug the new instructions. This leads to a greatly increased program design cycle as equipment down-times must be scheduled to accommodate debugging. At the same time, testing uncertain instructions on the plant floor places all the hardware connected to the PLC in jeopardy of damage due to program errors. This paper presents the development of a generic personal computer (PC) based PLC simulator. The development of the simulator comprises two stages: one for the creation of the virtual PLC and the other for the manipulation of this virtual PLC. The virtual PLC comprises a lexical analyser and a parser which function as a 'compiler', checking syntax, and recognizing commands of the PLC language, and creating the internal representation of the PLC in the PC's memory which interacts with a graphical interface to allow interaction with the virtual PLC. Program verification is then performed on the emulator instead of on the actual controller, thus both decreasing the debugging time for new instructions and protecting the hardware on the shop floor. The technique is not specific to any particular system, and may be applied genetically to any controller.",
author = "Joshi, {Sanjay B.} and Supinski, {Mark R.}",
year = "1992",
doi = "10.1080/00207549208942884",
language = "English (US)",
volume = "30",
pages = "151--168",
journal = "International Journal of Production Research",
issn = "0020-7543",
publisher = "Taylor and Francis Ltd.",
number = "1",

}

The development of a generic pc-based programmable logic controller simulator. / Joshi, Sanjay B.; Supinski, Mark R.

In: International Journal of Production Research, Vol. 30, No. 1, 1992, p. 151-168.

Research output: Contribution to journalArticle

TY - JOUR

T1 - The development of a generic pc-based programmable logic controller simulator

AU - Joshi, Sanjay B.

AU - Supinski, Mark R.

PY - 1992

Y1 - 1992

N2 - Programmable logic controllers (PLC) are used extensively for controlling discrete processes. The PLC's versatility is based on its reprogrammability, but this versatility is bought at the expense of program correctness and verification. Modifications to existing PLC programs, or generation of new ones, requires the use of the controller and the hardware associated with it in order to debug the new instructions. This leads to a greatly increased program design cycle as equipment down-times must be scheduled to accommodate debugging. At the same time, testing uncertain instructions on the plant floor places all the hardware connected to the PLC in jeopardy of damage due to program errors. This paper presents the development of a generic personal computer (PC) based PLC simulator. The development of the simulator comprises two stages: one for the creation of the virtual PLC and the other for the manipulation of this virtual PLC. The virtual PLC comprises a lexical analyser and a parser which function as a 'compiler', checking syntax, and recognizing commands of the PLC language, and creating the internal representation of the PLC in the PC's memory which interacts with a graphical interface to allow interaction with the virtual PLC. Program verification is then performed on the emulator instead of on the actual controller, thus both decreasing the debugging time for new instructions and protecting the hardware on the shop floor. The technique is not specific to any particular system, and may be applied genetically to any controller.

AB - Programmable logic controllers (PLC) are used extensively for controlling discrete processes. The PLC's versatility is based on its reprogrammability, but this versatility is bought at the expense of program correctness and verification. Modifications to existing PLC programs, or generation of new ones, requires the use of the controller and the hardware associated with it in order to debug the new instructions. This leads to a greatly increased program design cycle as equipment down-times must be scheduled to accommodate debugging. At the same time, testing uncertain instructions on the plant floor places all the hardware connected to the PLC in jeopardy of damage due to program errors. This paper presents the development of a generic personal computer (PC) based PLC simulator. The development of the simulator comprises two stages: one for the creation of the virtual PLC and the other for the manipulation of this virtual PLC. The virtual PLC comprises a lexical analyser and a parser which function as a 'compiler', checking syntax, and recognizing commands of the PLC language, and creating the internal representation of the PLC in the PC's memory which interacts with a graphical interface to allow interaction with the virtual PLC. Program verification is then performed on the emulator instead of on the actual controller, thus both decreasing the debugging time for new instructions and protecting the hardware on the shop floor. The technique is not specific to any particular system, and may be applied genetically to any controller.

UR - http://www.scopus.com/inward/record.url?scp=0026626615&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=0026626615&partnerID=8YFLogxK

U2 - 10.1080/00207549208942884

DO - 10.1080/00207549208942884

M3 - Article

AN - SCOPUS:0026626615

VL - 30

SP - 151

EP - 168

JO - International Journal of Production Research

JF - International Journal of Production Research

SN - 0020-7543

IS - 1

ER -