doc/standards.rst
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 15 Jun 2018 16:12:50 +0300
changeset 2184 bbd2364fbf71
parent 811 66a8812457d6
child 3925 1d383b4c0a23
permissions -rw-r--r--
Add argument to set list of source files to check

This is necessary, in case you want to use docker run in pretxncommit
Mercurial hook. Unfortunately for some reason if hg running in
container can't find just created commit defined by $HG_NODE. And it
throws error 'unknown revision'.

Here is example for hgrc.

[hooks]
pretxncommit.linter = hg status -m -n -a -n -I '**.py' --change $HG_NODE > files.lst && docker run --volume=$PWD:/beremiz --workdir="/beremiz" --volume=$PWD/../CanFestival-3:/CanFestival-3 --memory=1g --entrypoint=/beremiz/tests/tools/check_source.sh skvorl/beremiz-requirements --files-to-check files.lst
IEC 61131-3
===========

    IEC-61131 is a normative document provided by the standards organization IEC
    (International Electrotechnical Commission) and describing a standard for
    implementing programmable controllers.


    The part 3 of this document (commonly named IEC 61131-3) specifies syntax and 
    semantics for programming language for programmable controllers. Beremiz
    implements all the languages described in this document. 


    http://www.iec.eu
        
PLCopen TC6
===========
   
    PLCopen is a vendor- and product-independent worldwide association defining
    international standards for various topics related to control programming.
    For this purpose, PLCopen has 6 technical committees.
   
   
    The goal of the sixth committee (TC6) is to define a standard file format, 
    based on XML, for exchanging programmables controllers programmed using 
    IEC 61131-3 languages. Beremiz uses this file format for saving the PLC
    programs of projects.
   
   
    http://www.plcopen.org