Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397

Issue N7 2018 year

DOI: 10.17587/prin.9.332-336
The Use of Finite State Machines in the Development of Software for Machines with Complex Structure
A. A. Skvortsov, skvalexei@mail.ru, Vyatka State University, Kirov, 610000, Russian Federation
Corresponding author: Skvortsov Alexsey A., Associate Professor, Vyatka State University, Kirov, 610000, Russian Federation. E-mail: skvalexei@mail.ru
Received on February 03, 2018
Accepted on May 31, 2018

The article discusses the decrease in dimensions, the extension management interface, and improving performance of control devices of machine tools, for example lathe-turning lathe, model 1516. The extension management interface, and improving the performance of the operator is simplified by the use of automata-based programming. Replacement of relay-contact control circuit machine on the microcontroller to reduce size, as well as the expansion interface of the machine control and increased productivity leads to the complication of the software of the machine. In this case, often the machine and its individual devices become entities with state-dependent behavior. As we know from the works of A. A. Shalyto [1,2], automata-based programming is suitable for programming entities with state-dependent behavior, where the reaction entity with the same input action can be different and depends on the prehistory of input. The technology of imperative programming for such devices leads to the multiplication of temporary variables (flags) that increases the number of unforeseen states of the program and reduces its reliability. This also reduces the readability of the program, increases its complexity and memory usage. The aim of this work is to evaluate the use and effectiveness of automata-based programming machines with complex control system. An example of the development of a program for lathe-turning lathe model 1516 with the use of combination of technologies on a imperative and automata-based programming. The use of automata-based programming has brought the machine with relay-contact control system on the microcontroller, without disturbing the control logic, to extend the interface of interaction with the operator through indication of speeds and modes, and to parallelize the execution of individual operations on the machine and increase operator productivity. Similarly a program can be developed for other machines with complex control system.

Keywords: automata-based programming, switch-technology, modelling, state machine, state-dependent behavior, control device, programming of machines, microcontroller, interface, performance
pp. 332–336
For citation:
Skvortsov A. A. The Use of Finite State Machines in the Development of Software for Machines with Complex Structure