Application Software Structure - Implementation

This section describes how the software structure described before is implemented. Insofar as all modules are implemented and behave in the same way, only the main module is described in detail here.

SFC Children Building up the Software

These files contain all the data to build up the application.

They are all required to ensure a successful compilation.

Parent SFC

File

Description

Main

System start up and SFCClosed "Sequential Function Chart" It can be used to program processes that can be split into steps. The main components of SFC are: - Steps with associated actions - Transitions with associated logic conditions - Directed links between steps and transitions children call

Main Module SFC Children

File

Description

M1_StateController

state and function controller of the main module

M1_ErrorHandling

error handling of the main module

M1_IndependentFunctions

state independent functions of the main module

M1_Interface

interface to PLCClosed "Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events

Axis Module SFC Children

With i = 1... n

File

Description

Ai_StateController

state and function controller of the axis module

Ai_ErrorHandling

error handling of the axis module

Ai_IndependentFunctions

state independent functions of the axis module