doc/standards.rst
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 13 Mar 2019 14:27:24 +0300
changeset 2542 a3ec35ee94e7
parent 811 66a8812457d6
child 3925 1d383b4c0a23
permissions -rw-r--r--
Fix crash in runtime if PSK secret is missing

./Beremiz_service.py -s $PWD/psk2.txt -n beremiz /tmp/beremiz
Beremiz_service: 1.2-1378c18402c3+

Traceback (most recent call last):
File "./Beremiz_service.py", line 511, in <module>
ensurePSK(servicename, PSKpath)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/Stunnel.py", line 32, in ensurePSK
PSKgen(ID, PSKpath)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/Stunnel.py", line 23, in PSKgen
call(restart_stunnel_cmdline)
File "/home/developer/WorkData/PLC/beremiz/beremiz/runtime/spawn_subprocess.py", line 116, in call
pid = posix_spawn.posix_spawnp(cmd[0], cmd)
File "/home/developer/.local/lib/python2.7/site-packages/posix_spawn/_impl.py", line 120, in posix_spawnp
return _posix_spawn(lib.posix_spawnp, *args, **kwargs)
File "/home/developer/.local/lib/python2.7/site-packages/posix_spawn/_impl.py", line 111, in _posix_spawn
_check_error(res, path)
File "/home/developer/.local/lib/python2.7/site-packages/posix_spawn/_impl.py", line 10, in _check_error
raise OSError(errno, os.strerror(errno), path)
OSError: [Errno 2] No such file or directory: '/etc/init.d/S50stunnel'
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