doc/standards.rst
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 28 Aug 2018 17:19:13 +0300
changeset 2299 8df93571af65
parent 811 66a8812457d6
child 3925 1d383b4c0a23
permissions -rw-r--r--
Avoid dictionary initialization during import in PouDialog

Because initialization happened before i18n setup, then it causes later
problems during creating new POU on non-English locales (Russian for example).

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/IDEFrame.py", line 2332, in OnAddPouMenu
dialog = PouDialog(self, pou_type, type_readonly)
File "/home/developer/WorkData/PLC/beremiz/beremiz/dialogs/PouDialog.py", line 101, in __init__
self.RefreshLanguage()
File "/home/developer/WorkData/PLC/beremiz/beremiz/dialogs/PouDialog.py", line 154, in RefreshLanguage
if language != "SFC" or PouDialog.POU_TYPES_DICT[self.PouType.GetStringSelection()] != "function":
KeyError: u'\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430'
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