Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
/ StandardFunctions Public archive

Standard functions for PLC as described by IEC61131

License

Notifications You must be signed in to change notification settings

PLC-lang/StandardFunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3b24657 · Apr 17, 2023

History

53 Commits
Jan 23, 2023
May 25, 2022
Feb 7, 2023
Jan 30, 2023
Feb 7, 2023
Feb 7, 2023
Mar 6, 2023
Feb 24, 2022
Oct 19, 2022
Jun 12, 2022
Feb 7, 2023
Jan 18, 2022
Apr 17, 2023
Jan 23, 2023

Repository files navigation

DEPRECATED - Project Moved

This project has moved to the RuSTy repository under libs/stdlib

StandardFunctions

Standard functions for PLC as described by IEC61131

Structure

The project is managed as a rust project but contains sections implemented directly in ST

ST

The ST implementation is used for simple functions that are described by the IEC61131-3 standard It can be compiled using RuSTy

Rust

The Rust implementation contains the more complex functions required by the IEC61131-3 standard These include string or array functions as well as function blocks dealing with Time or other system calls

Tests

Testing the library is done using rust, the ST parts of the tests are achieved using ruSTy as a library To test an ST based function, you can use the use_std macro included in the tests' common module Rust based ST functions cannot be tested yet, this will be extended later