The S320 Controller can be programmed comletely free similar to a PLC. SPELL is used as programming language. SPELL is closely aligned to the well-known and widespread language PASCAL.
The language can be easily used, it is suitable also for more complex tasks and it generates efficient program codes compared with known interpreter languages. Furthermore, the language allows a far-reaching error check even during compilation thanks to its strict syntax.
Compared to standard Pascal according to ISO 7185, the language implemented in S320 Controller contains some modifications, extensions and also reductions, which serve to extremely satisfy the range of application, special features and efficiency of the S320 Controller. The differences to standard Pascal are described in corresponding chapters or are indicated as such within the text.
A first SPELL program is used for introduction, which reads a voltage and a current using an AD converter, calculates the capacity and displays all three measurement sizes including units.