<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">mais</journal-id><journal-title-group><journal-title xml:lang="ru">Моделирование и анализ информационных систем</journal-title><trans-title-group xml:lang="en"><trans-title>Modeling and Analysis of Information Systems</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-1015</issn><issn pub-type="epub">2313-5417</issn><publisher><publisher-name>Yaroslavl State University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.18255/1818-1015-2016-2-173-184</article-id><article-id custom-type="elpub" pub-id-type="custom">mais-327</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Оригинальные статьи</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>Articles</subject></subj-group></article-categories><title-group><article-title>Построение CFC-программ ПЛК по LTL-спецификации</article-title><trans-title-group xml:lang="en"><trans-title>Construction of CFC-programs by LTL-specification</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Рябухин</surname><given-names>Д. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Ryabukhin</surname><given-names>D. A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>аспирант</p></bio><bio xml:lang="en"><p>graduate student</p></bio><email xlink:type="simple">dmitriy_ryabukhin@mail.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Кузьмин</surname><given-names>Е. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Kuzmin</surname><given-names>E. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p>доктор физ.-мат. наук, доцент, профессор кафедры теоретической информатики</p></bio><bio xml:lang="en"><p>doctor of science, associate professor</p></bio><email xlink:type="simple">kuzmin@uniyar.ac.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Соколов</surname><given-names>В. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Sokolov</surname><given-names>V. A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>доктор физ.-мат. наук, профессор, зав. кафедрой теоретической информатики</p></bio><bio xml:lang="en"><p>doctor of science, professor</p></bio><email xlink:type="simple">sokolov@uniyar.ac.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Ярославский государственный университет им. П.Г. Демидова</institution><country>Россия</country></aff><aff xml:lang="en"><institution>P.G. Demidov Yaroslavl State University, Sovetskaya str., 14, Yaroslavl, 150000, Russia</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2016</year></pub-date><pub-date pub-type="epub"><day>20</day><month>04</month><year>2016</year></pub-date><volume>23</volume><issue>2</issue><fpage>173</fpage><lpage>184</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Рябухин Д.А., Кузьмин Е.В., Соколов В.А., 2016</copyright-statement><copyright-year>2016</copyright-year><copyright-holder xml:lang="ru">Рябухин Д.А., Кузьмин Е.В., Соколов В.А.</copyright-holder><copyright-holder xml:lang="en">Ryabukhin D.A., Kuzmin E.V., Sokolov V.A.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.mais-journal.ru/jour/article/view/327">https://www.mais-journal.ru/jour/article/view/327</self-uri><abstract><p>Статья продолжает серию работ, посвященных подходу к построению и верификации «дискретных» программ логических контроллеров (ПЛК) по LTL-спецификации. Этот подход обеспечивает возможность анализа корректности программ логических контроллеров с помощью метода проверки модели (Model Checking). В рамках подхода в качестве языка спецификации программного поведения используется язык темпоральной логики LTL. Анализ корректности LTL-спецификации относительно программных свойств производится автоматически с помощью программного средства символьной проверки модели Cadence SMV. </p><p>Ранее было показано, каким образом по корректной (проверенной на корректность относительно программных свойств) LTL-спецификации происходит построение ST-, LDи IL-программ. В этой статье описывается технология построения CFC-программ по LTL-спецификации. Язык непрерывных функциональных схем CFC (Continuous Function Chart) представляет собой разновидность языка FBD (Function Block Diagram) — графического языка диаграмм принципиальных схем электронных устройств на микросхемах. В отличие от FBD язык CFC обеспечивает возможность свободного размещения программных компонентов и их соединений на экране. Технология построения CFC-программ демонстрируется на примере. </p><p>Представление ПЛК-программы на языке CFC в рамках подхода к программированию по LTL-спецификации в отличие от представлений на других стандартных языках дает возможность наглядного графического изображения потока данных от входных переменных к выходам ПЛК. Явным образом демонстрируется зависимость и влияние значений одних переменных на значения других переменных во время исполнения программы за один проход рабочего цикла ПЛК. Фактически CFC-программа представляет собой схему потоков данных ПЛК-программы. </p></abstract><trans-abstract xml:lang="en"><p>This article continues a cycle of papers, which describe an approach to construction and verification of discrete PLC-programs by an LTL-specification. The approach provides a possibility of PLC-program correctness analysis by the model checking method. For the specification of the program behavior the linear-time temporal logic LTL is used. The correctness analysis of an LTL specification is performed automatically by the symbolic model checking tool Cadence SMV. </p><p>Previously it was shown how ST-, LDand IL-programs are constructed by a correct (with verified program properties) LTL-specification. In this article a technology of CFC-program construction by an LTL-specification is described. The language CFC (Continuous Function Chart) is a variation of FBD (Function Block Diagram). FBD is a graphical language for microcircuits. CFC provides a possibility of free allocation of program components and connections on a screen. The approach to construction of CFC-programs is shown by an example. </p><p>PLC-program representation on CFC within the approach to programming by LTL-specification differs from other representations. It gives the visualisation of a data flow from inputs to outputs. Influence and dependence between variables is explicitly shown during program execution within one PLC working cycle. In fact, CFC-program is a scheme of PLC-program data flow.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>программируемые логические контроллеры (ПЛК)</kwd><kwd>построение и верификация ПЛК-программ</kwd><kwd>LTL-спецификация</kwd><kwd>CFC-диаграммы</kwd></kwd-group><kwd-group xml:lang="en"><kwd>programmable logic controllers (PLC)</kwd><kwd>construction and verification of PLC-programs</kwd><kwd>LTL-specification</kwd><kwd>CFC-diagrams</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Кузьмин Е.В., Рябухин Д.А., Соколов В.А., “О выразительности подхода к построению ПЛК-программ по LTL-спецификации”, Моделирование и анализ информационных систем, 22:4 (2015), 507–520; [Kuzmin E. V., Ryabukhin D. A., Sokolov V. A., “On the Expressiveness of the Approach to Constructing PLC-programs by LTLSpecification”, Modeling and Analysis of Information Systems, 22:4 (2015), 507–520, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">Кузьмин Е.В., Рябухин Д.А., Соколов В.А., “О выразительности подхода к построению ПЛК-программ по LTL-спецификации”, Моделирование и анализ информационных систем, 22:4 (2015), 507–520; [Kuzmin E. V., Ryabukhin D. A., Sokolov V. A., “On the Expressiveness of the Approach to Constructing PLC-programs by LTLSpecification”, Modeling and Analysis of Information Systems, 22:4 (2015), 507–520, (in Russian).]</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">КузьминЕ.В.,РябухинД.А.,СоколовВ.А.,“Моделированиесогласованногоповедения ПЛК-датчиков”, Моделирование и анализ информационных систем, 21:4 (2014), 75–90; [KuzminE.V.,RyabukhinD.A.,SokolovV.A.,“ModelingaConsistentBehavior of PLC-Sensors”, Modeling and Analysis of Information Systems, 21:4 (2014), 75–90, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">КузьминЕ.В.,РябухинД.А.,СоколовВ.А.,“Моделированиесогласованногоповедения ПЛК-датчиков”, Моделирование и анализ информационных систем, 21:4 (2014), 75–90; [KuzminE.V.,RyabukhinD.A.,SokolovV.A.,“ModelingaConsistentBehavior of PLC-Sensors”, Modeling and Analysis of Information Systems, 21:4 (2014), 75–90, (in Russian).]</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Рябухин Д. А., Кузьмин Е. В., Соколов В. А., “ Построение IL-программ ПЛК по LTLспецификации”, Моделиров. и анализ информационных систем, 21:2 (2014), 26–38; [Ryabukhin D.A., Kuzmin E.V., Sokolov V.A., “Construction of PLC IL-programs by LTL-specification”, Modeling and Analysis of Information Systems, 21:2 (2014), 26–38, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">Рябухин Д. А., Кузьмин Е. В., Соколов В. А., “ Построение IL-программ ПЛК по LTLспецификации”, Моделиров. и анализ информационных систем, 21:2 (2014), 26–38; [Ryabukhin D.A., Kuzmin E.V., Sokolov V.A., “Construction of PLC IL-programs by LTL-specification”, Modeling and Analysis of Information Systems, 21:2 (2014), 26–38, (in Russian).]</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Кузьмин Е. В., Соколов В. А., Рябухин Д. А., “ Построение и верификация LDпрограмм ПЛК по LTL-спецификации”, Моделирование и анализ информационных систем,20:6(2013),78–94; [KuzminE.V.,SokolovV.A.,RyabukhinD.A.,“Construction and Verification of PLC LD-programs by LTL-specification”, Modeling and Analysis of Information Systems, 20:6 (2013), 78–94, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">Кузьмин Е. В., Соколов В. А., Рябухин Д. А., “ Построение и верификация LDпрограмм ПЛК по LTL-спецификации”, Моделирование и анализ информационных систем,20:6(2013),78–94; [KuzminE.V.,SokolovV.A.,RyabukhinD.A.,“Construction and Verification of PLC LD-programs by LTL-specification”, Modeling and Analysis of Information Systems, 20:6 (2013), 78–94, (in Russian).]</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Кузьмин Е.В., Соколов В.А., Рябухин Д.А., “Построение и верификация ПЛКпрограмм по LTL-спецификации”, Моделирование и анализ информационных систем, 20:4 (2013), 5–22; [Kuzmin E. V., Sokolov V. A., Ryabukhin D. A., “Construction and Verification of PLC-programs by LTL-specification”, Modeling and Analysis of Information Systems, 20:4 (2013), 5–22, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">Кузьмин Е.В., Соколов В.А., Рябухин Д.А., “Построение и верификация ПЛКпрограмм по LTL-спецификации”, Моделирование и анализ информационных систем, 20:4 (2013), 5–22; [Kuzmin E. V., Sokolov V. A., Ryabukhin D. A., “Construction and Verification of PLC-programs by LTL-specification”, Modeling and Analysis of Information Systems, 20:4 (2013), 5–22, (in Russian).]</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">КузьминЕ.В.,СоколовВ.А.,“Моделирование,спецификацияипостроениепрограмм логических контроллеров”, Моделирование и анализ информационных систем, 20:2 (2013), 104–120; [Kuzmin E. V., Sokolov V. A., “Modeling, Specification and Construction of PLC-programs”, Modeling and Analysis of Information Systems, 20:2 (2013), 104–120, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">КузьминЕ.В.,СоколовВ.А.,“Моделирование,спецификацияипостроениепрограмм логических контроллеров”, Моделирование и анализ информационных систем, 20:2 (2013), 104–120; [Kuzmin E. V., Sokolov V. A., “Modeling, Specification and Construction of PLC-programs”, Modeling and Analysis of Information Systems, 20:2 (2013), 104–120, (in Russian).]</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Baier C., Katoen J.-P., Principles of Model Checking, The MIT Press, 2008.</mixed-citation><mixed-citation xml:lang="en">Baier C., Katoen J.-P., Principles of Model Checking, The MIT Press, 2008.</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Clark E. M., Grumberg O., Peled D. A., Model Checking, The MIT Press, 2001.</mixed-citation><mixed-citation xml:lang="en">Clark E. M., Grumberg O., Peled D. A., Model Checking, The MIT Press, 2001.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">CoDeSys, Controller Development System, http://www.3s-software.com/.</mixed-citation><mixed-citation xml:lang="en">CoDeSys, Controller Development System, http://www.3s-software.com/.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Kuzmin E.V., Sokolov V.A., Ryabukhin D.A., “Construction and Verification of PLCPrograms by LTL-Specification”, Automatic Control and Computer Sciences, 49:7 (2015), 453–465.</mixed-citation><mixed-citation xml:lang="en">Kuzmin E.V., Sokolov V.A., Ryabukhin D.A., “Construction and Verification of PLCPrograms by LTL-Specification”, Automatic Control and Computer Sciences, 49:7 (2015), 453–465.</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Kuzmin E.V., Sokolov V.A., Ryabukhin D.A., “Construction and Verification of PLC LD Programs by the LTL Specification”, Automatic Control and Computer Sciences, 48:7 (2014), 424–436.</mixed-citation><mixed-citation xml:lang="en">Kuzmin E.V., Sokolov V.A., Ryabukhin D.A., “Construction and Verification of PLC LD Programs by the LTL Specification”, Automatic Control and Computer Sciences, 48:7 (2014), 424–436.</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">KuzminE.V.,SokolovV.A.,“Modeling,SpecificationandConstructionofPLC-programs”, Automatic Control and Computer Sciences, 48:7 (2014), 554–563.</mixed-citation><mixed-citation xml:lang="en">KuzminE.V.,SokolovV.A.,“Modeling,SpecificationandConstructionofPLC-programs”, Automatic Control and Computer Sciences, 48:7 (2014), 554–563.</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Kuzmin E.V., Ryabukhin D.A., Sokolov V.A., “Modeling a Consistent Behavior of PLCSensors”, Automatic Control and Computer Sciences, 48:7 (2014), 602–614.</mixed-citation><mixed-citation xml:lang="en">Kuzmin E.V., Ryabukhin D.A., Sokolov V.A., “Modeling a Consistent Behavior of PLCSensors”, Automatic Control and Computer Sciences, 48:7 (2014), 602–614.</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">SMV, The Cadence SMV Model Checker, http://www.kenmcmil.com/smv.html.</mixed-citation><mixed-citation xml:lang="en">SMV, The Cadence SMV Model Checker, http://www.kenmcmil.com/smv.html.</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Wardana A., Development of Automatic Program Verification for Continious Function Chart based on Model Checking, Kassel university press GmbH.</mixed-citation><mixed-citation xml:lang="en">Wardana A., Development of Automatic Program Verification for Continious Function Chart based on Model Checking, Kassel university press GmbH.</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">Ovataman T., Aral A., Polat D., Unver A. O., “An overview of model checking practices on verification of PLC software”, Software and Systems Modeling, 2014.</mixed-citation><mixed-citation xml:lang="en">Ovataman T., Aral A., Polat D., Unver A. O., “An overview of model checking practices on verification of PLC software”, Software and Systems Modeling, 2014.</mixed-citation></citation-alternatives></ref><ref id="cit17"><label>17</label><citation-alternatives><mixed-citation xml:lang="ru">PakonenA.,MatasniemiT.,LahtinenJ.,KarhelaT.,“AtoolsetformodelcheckingofPLC software”, Proceedings of 18th IEEE International Conference on Emerging Technologies and Factory Automation, ETFA2013, Cagliari, Italy, 2013.</mixed-citation><mixed-citation xml:lang="en">PakonenA.,MatasniemiT.,LahtinenJ.,KarhelaT.,“AtoolsetformodelcheckingofPLC software”, Proceedings of 18th IEEE International Conference on Emerging Technologies and Factory Automation, ETFA2013, Cagliari, Italy, 2013.</mixed-citation></citation-alternatives></ref><ref id="cit18"><label>18</label><citation-alternatives><mixed-citation xml:lang="ru">Parr E. A., Programmable Controllers. An engineer’s guide, Newnes, 2003.</mixed-citation><mixed-citation xml:lang="en">Parr E. A., Programmable Controllers. An engineer’s guide, Newnes, 2003.</mixed-citation></citation-alternatives></ref><ref id="cit19"><label>19</label><citation-alternatives><mixed-citation xml:lang="ru">Петров И.В., Программируемые контроллеры. Стандартные языки и приемы прикладного проектирования, М.: СОЛОН-Пресс, 2004; [Petrov I.V., Programmiruemye kontrollery. Standartnye jazyki i priemy prikladnogo proektirovanija, M.: SOLON-Press, 2004, (in Russian).]</mixed-citation><mixed-citation xml:lang="en">Петров И.В., Программируемые контроллеры. Стандартные языки и приемы прикладного проектирования, М.: СОЛОН-Пресс, 2004; [Petrov I.V., Programmiruemye kontrollery. Standartnye jazyki i priemy prikladnogo proektirovanija, M.: SOLON-Press, 2004, (in Russian).]</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
