Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.43 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.43 KB

Oscat Basic

An Oscat basic library for RuSTy

A modified version of the Oscat Library that could be compiled using RuSTy.

In its current status, not every feature of the library compiles.

Build Oscat

StandardFunctions are needed to compile Oscat.
To avoid compile errors, stubs.st includes stubs for functions that are not part of StandardFunctions.

To build Oscat, plc.json can be used as the build description.

NOTE: Paths need to be adjusted in plc.json
for more info see RuSTy build with build configuration

Modifications

To reduce warnings we made the following non breaking changes :

  • String range changed from () to []
  • POINTER TO was changed to REF_TO
  • FUNCTIONBLOCK renamed to FUNCTON_BLOCK

To avoid errors we made the following non breaking changes :

To avoid errors, the following breaking changes were made :

  • VAR_INPUT CONSANT was changed to VAR_INPUT
  • OVERRIDE was renamed to _OVERRIDE
  • ARRAY_MAX/MIN/SPR/SUM type of size changed to ULINT