Basic EMACSYS Programers Interface
BEPI is a powerful yet simple programming language which can be used within EMACSYS applications to interact with inputs and outputs. It also introduces the concept of virtual I/O which can be used by the programmer to control program flow.
The language is designed to be simple and easy to learn and as such it does not have the complexity of other high level languages. This simplicity is deliberate. It means that it is quick to learn and even those with little or no experience of programming can product applications with a very short learning curve.
For those with experience of programming it is powerful method of customizing their EMACSYS. For those without experience it is a great introduction to the subject with the reward of achieving a practical result.
BEPI programs are written in a text editor such as Notepad and then compiled and downloaded using the BEPI Compiler. This can also be used to monitor EMACSYS inputs and outputs and the variables.
A BEPI program consists of 3 section: Declaration of variables, the main program section and subroutines. All three sections will reside in a single file:
The only section which is manatory is the main section (Start.......End) although only the most trivial programs will not need variables.
Examples are provided with the compiler application but can be viewed on the following links: