[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-656432-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-656432-en":130,"doc-similar-656432":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","synthesizing-synchronous-program-from-timing-diagram","Synthesizing Synchronous Program from Timing Diagram","","Synthesizing synchronous behavior for PLC control is often slowed by repeated work: developers first write timing diagram specifications, then implement Ladder logic code, and finally verify that the program matches the timing behavior. This paper presents an automatic method to synthesize a Ladder logic program directly from a given timing diagram. The approach complements the timing diagram with explicit states to support Programming-by-Example style synthesis, uses sketch-based synthesis to obtain program sketches, and implements a synthesis tool based on the Rosette framework.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/synthesizing-synchronous-program-from-timing-diagram/656432/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/synthesizing-synchronous-program-from-timing-diagram/656432.png","ImageObject",300,407,{"name":42,"@type":43},"miaandmiso","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the paper address in PLC development workflows?","Question",{"text":63,"@type":64},"It addresses the redundancy and overhead of using timing diagrams across multiple phases—specification, coding, and verification—by aiming to generate the program automatically from timing diagrams.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the method handle the stateful nature of PLC programs and timing diagrams?",{"text":68,"@type":64},"It complements the timing diagram with explicit states to generate a stateless timing diagram, then performs synthesis in a sketch-based way.",{"name":70,"@type":61,"acceptedAnswer":71},"What programming representation and synthesis infrastructure does the paper focus on?",{"text":72,"@type":64},"The synthesis targets Ladder logic, and the implemented tool is built using the Rosette program synthesis framework and sketch-based synthesis techniques.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},656432,1793095678,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":55,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},7971478544854,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Synthesizing Synchronous Program from Timing Diagram  \nHiroaki Inoue, Denis Cousineau, and Florian Faissole  \nDesigning synchronous system, such as done in Programmable Logic Controller (PLC), timing diagrams area common way to specify system behavior. The usual engineering workﬂow involves developing synchronous program according to the speciﬁed timing diagrams and then checking that the program conforms to the speciﬁcation afterward. This process can be cumbersome. To ease such development processes, in this paper, we present a method to automatically synthesize synchronous program from a given timing diagram. We mainly target Ladder logic which is a major programming language in PLC program development. Our key contribution is a technique to complement a timing diagram with some explicit states, which enables our technology to easily rely on existing Programming-by-Example techniques. Additionally, we have developed a synthesis tool based on existing sketch-based program synthesis techniques.  \n1 Introduction  \nProgrammable logic controllers (PLC) are industrial digital computers used as automation controllers of manufacturing processes, such as assembly lines, or robotic devices. When developing PLC program, Ladder logic [11] is commonly used asa primary programming language. This language employs circuit diagrams of relay logic hardware to represent program in a graphical way. The execution semantics of PLC program is basically synchronous: it involves reading sensor values, executing program and refreshing output (actuator) values cyclically.  \nTo specify synchronous behaviors of PLC program, developers commonly use the timing diagram paradigm [5] which represents nominal execution scenarios. In PLC program development, timing di-  \nタイミング図からの同期プログラム自動生成技術.  \n井上裕昭,三菱電機株式会社先端技術総合研究所システム構築技術部, Mitsubishi Electric Corporation, Systems Technology Department, Advanced Technology R&D Center.  \nDenis Cousineau, Florian Faissole, Mitsubishi Electric R&D Center Europe, Digital Information Systems Division.  \nコンピュータソフトウェア, Vol.43, No. 1 (2026), pp.84–90.[研究論文(レター)] 2025 年 5 月 15 日受付.  \nagram speciﬁcations are initially written and then used in later phases, such as program coding and veriﬁcation.  \nOne problem here is the redundancy of using timing diagrams in multiple development phases, such as speciﬁcation description, program coding and veriﬁcation. If we can automatically generate program from timing diagrams, we can eliminate these repetitive tasks.  \nTo address this problem, we propose a technique to synthesize Ladder logic program from a timing diagram automatically. Our approach leverages existing program synthesis [6] techniques, particularly those used in Programming-by-Example (PbE) [7] . In PbE, researchers study techniques to synthesize program from given examples of system behavior, such as inputs and outputs. This is closely aligned with our motivation as a timing diagram can be considered as an example of program behavior.  \nA major challenge, in our problem setting, is that both PLC program and timing diagrams can be stateful, meaning that executing program with the same input values may produce diﬀerent outputs depending on the execution history. In the usual problem setting of PbE, examples are stateless, meaning that input-output relations are pure. Synthesizing stateful program makes the synthesis problem more complex.  \nVol. 43 No. 1 Feb. 2026 85  \nTo attack the challenge, we develop a novel technique to generate a stateless timing diagram by complementing explicit states from a given timing diagram. We also rely on sketch-based synthesis method [12] and develop a technique to generate a program sketch from a (complemented) timing diagram. Finally, we build our Ladder logic program synthesis tool using a program synthesis framework Rosette [14] .  \nThis paper is organized as follows: Section 2 provides a brief overview of Ladder logic, timing diagrams and sketch-based program synthesis as preliminary. In Sect","cbCaipW9koxiMUFr","https://ap.wps.com/l/cbCaipW9koxiMUFr","pdf",433361,"English","# Introduction\n## Problem overview\n## Proposed technique\n# Preliminary\n## Ladder logic\n## Timing diagram","[{\"question\":\"What problem does the paper address in PLC development workflows?\",\"answer\":\"It addresses the redundancy and overhead of using timing diagrams across multiple phases—specification, coding, and verification—by aiming to generate the program automatically from timing diagrams.\"},{\"question\":\"How does the method handle the stateful nature of PLC programs and timing diagrams?\",\"answer\":\"It complements the timing diagram with explicit states to generate a stateless timing diagram, then performs synthesis in a sketch-based way.\"},{\"question\":\"What programming representation and synthesis infrastructure does the paper focus on?\",\"answer\":\"The synthesis targets Ladder logic, and the implemented tool is built using the Rosette program synthesis framework and sketch-based synthesis techniques.\"}]","Synthesizing Synchronous Program from Timing Diagram | PDF",1792968516,18,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/55c9fccd31bd3798786ab813dd814a2d.webp",983,1387,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/de39d12b7acb0ff832ac0773451142d1.webp",982,1386,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d3164f4d50eb3e0f972e6a47fe9a5f5c.webp",981,1385,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/29a4da5e10d461925bc1cea24500bfcc.webp",980,1383,{"list":163,"token":11},[164,171,177,183,189,195,201,207,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},82026,"Detecting Ladder Logic Bombs in IEC 61131-3 PLC Programs Using ESBMC-PLC+: A Formal Verification Approach with Trigger Synthesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808661194/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=Sw%2F1FwIKsq2fg34LlK4e%2F8QM6U4%3D","detecting-ladder-logic-bombs-in-iec-61131-3-plc-programs-using-esbmc-plc-a-formal-verification-approach-with-trigger-synthesis",23,1784177657,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":97,"category_name":29,"create_tm":176},655541,"ESBMC-PLC - Formal Verification of IEC 61131-3 Ladder Diagram Programs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974774953/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=PFDe24AiH4N0PChfETlVVncDQDg%3D","esbmc-plc-formal-verification-of-iec-61131-3-ladder-diagram-programs",1792962496,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":55,"category_name":29,"create_tm":182},655890,"SketchAgent - Generating Structured Diagrams from Hand-Drawn Sketches","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974779713/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=Johbfm5e%2Bp%2FnpKtb9kMDb4CXfSY%3D","sketchagent-generating-structured-diagrams-from-hand-drawn-sketches-655890",1792964615,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":111,"category_name":29,"create_tm":188},665513,"Computer-aided design, visualization - simulation and verification of relay ladder diagrams in sequential control systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983496039/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=W3ekRLu5CZ81C7v2U00hZ7FvmEo%3D","computer-aided-design-visualization-simulation-and-verification-of-relay-ladder-diagrams-in-sequential-control-systems",1793304611,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":30,"category_name":29,"create_tm":194},655543,"Ladder Diagram based on State Diagram for Selection and Assembling Part on Dual Conveyor - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284594/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=dFDv5Px2Vi8thaJ60oJxSpdF%2Fcg%3D","ladder-diagram-based-on-state-diagram-for-selection-and-assembling-part-on-dual-conveyor-paper",1792962499,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":111,"category_name":29,"create_tm":200},657471,"Obfuscation of function block diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975489475/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=IBPJnrOd5CHyPHoEzpJc3yWEAVI%3D","obfuscation-of-function-block-diagrams",1792980401,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":30,"category_name":29,"create_tm":206},697188,"Exploring LLM Support for Generating IEC 61131-3 Graphic Language Programs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009790610/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=OzefyJQv8bqrElAjtWmGVkGh1Hw%3D","exploring-llm-support-for-generating-iec-61131-3-graphic-language-programs",1794436789,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":29,"create_tm":213},160455,"Advanced Synthesis Techniques for Single-Phase Multiferroics in Thin Films","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229872086976/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=WsifVTEASSvXT31x351IhJXz5Nw%3D","advanced-synthesis-techniques-for-single-phase-multiferroics-in-thin-films",12,1788063685,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":102,"category_name":29,"create_tm":219},657912,"Ladder and Connection Diagram - FB & FW 750 to 1950 - Technical Specification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975891704/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=Y9zKdEvoJCNmT3Epo4XGz9XBGDU%3D","ladder-and-connection-diagram-fb-fw-750-to-1950-technical-specification",1792994189,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":29,"create_tm":226},120527,"Large Language Models Synergize with Automated Machine Learning - Text-to-ML program synthesis for ML workflows","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835341069/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109599&Signature=rqXA%2Fw13WmBzhf1pj6uMfZZZex8%3D","large-language-models-synergize-with-automated-machine-learning-text-to-ml-program-synthesis-for-ml-workflows",15,1785730505]