{"id":595,"date":"2021-03-19T12:58:35","date_gmt":"2021-03-19T12:58:35","guid":{"rendered":"https:\/\/imperix.com\/doc\/?p=595"},"modified":"2025-06-05T10:28:36","modified_gmt":"2025-06-05T10:28:36","slug":"basic-examples-using-plecs","status":"publish","type":"post","link":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs","title":{"rendered":"Basic examples for ACG SDK on PLECS"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-right-text counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\/#Software-resources\" >Software resources<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\/#H-bridge-converter\" >H-bridge converter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\/#Single-phase-inverter\" >Single-phase inverter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\/#Vector-controlled-induction-motor-drive\" >Vector-controlled induction motor drive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\/#Boost-converter\" >Boost converter<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>This page contains a few code examples that can be used to explore and test imperix\u2019s <a href=\"https:\/\/imperix.com\/software\/acg-sdk\/plecs\/\">automated code generation workflow using PLECS<\/a>.<\/p>\n\n\n\n<p>These examples are meant to be loaded on a <a href=\"https:\/\/imperix.com\/products\/control\/bbox\/\">B-Box RCP converter controller<\/a>, possibly using a Plexim RT-Box as a HIL simulator for the plant. Both devices can be conveniently connected via a <a href=\"https:\/\/imperix.com\/products\/control\/accessories\">suitable hardware interface<\/a>.<\/p>\n\n\n\n<p>Additional code examples are provided in the different <a href=\"https:\/\/imperix.com\/doc\/category\/example\">application notes<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-simple-alerts-for-gutenberg-alert-boxes sab-alert sab-alert-dark\" role=\"alert\">The following files have been adapted &#8211; with permission &#8211; from existing code examples developed and published by Plexim GmbH.<\/div>\n\n\n\n<div class=\"wp-block-simple-alerts-for-gutenberg-alert-boxes sab-alert sab-alert-success\" role=\"alert\">Automated code generation from PLECS is supported from ACG SDK 3.5 and above, which can be download here: <a href=\"https:\/\/imperix.com\/downloads\">https:\/\/imperix.com\/downloads<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Software-resources\"><\/span>Software resources<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-78555447-2505-4136-9c5c-79c0a78d2808\" href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2025\/05\/hbridge_converter_ix.plecs\">hbridge_converter_ix<\/a><a href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2025\/05\/hbridge_converter_ix.plecs\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-78555447-2505-4136-9c5c-79c0a78d2808\">Download<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-57ee87a5-e5e3-463a-8843-af3545d6e2c4\" href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2025\/05\/boost_converter_ix.plecs\">boost_converter_ix<\/a><a href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2025\/05\/boost_converter_ix.plecs\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-57ee87a5-e5e3-463a-8843-af3545d6e2c4\">Download<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-61b66fc7-39ec-47c8-be7d-60e6c69b28e8\" href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2025\/06\/vector_control_induction_machine_ix-1.plecs\">vector_control_induction_machine_ix-1<\/a><a href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2025\/06\/vector_control_induction_machine_ix-1.plecs\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-61b66fc7-39ec-47c8-be7d-60e6c69b28e8\">Download<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/single_phase_inverter_ix-1.plecs\">single_phase_inverter_ix<\/a><a href=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/single_phase_inverter_ix-1.plecs\" class=\"wp-block-file__button wp-element-button\" download>Download<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"H-bridge-converter\"><\/span>H-bridge converter<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"426\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/controller-1.png\" alt=\"\" class=\"wp-image-33199\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-140837.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/controller-1.png 724w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/controller-1-300x177.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"613\" height=\"347\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-57.png\" alt=\"H-bridge model\" class=\"wp-image-605\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-140851.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-57.png 613w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-57-300x170.png 300w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Single-phase-inverter\"><\/span>Single-phase inverter<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"415\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-59.png\" alt=\"Single phase inverter control\" class=\"wp-image-607\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-140916.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-59.png 859w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-59-300x145.png 300w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-59-768x371.png 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"333\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-58.png\" alt=\"Single phase inverter  model\" class=\"wp-image-606\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-140924.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-58.png 656w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-58-300x152.png 300w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Vector-controlled-induction-motor-drive\"><\/span>Vector-controlled induction motor drive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"451\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-60.png\" alt=\"Induction machine vector control\" class=\"wp-image-608\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-141101.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-60.png 726w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-60-300x186.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"401\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-61.png\" alt=\"Induction machine drive model\" class=\"wp-image-609\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-141115.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-61.png 721w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-61-300x167.png 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Boost-converter\"><\/span>Boost converter<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"705\" height=\"441\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/controller.png\" alt=\"\" class=\"wp-image-33198\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-140711.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/controller.png 705w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/controller-300x188.png 300w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"674\" height=\"296\" src=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-63.png\" alt=\"Boost converter model\" class=\"wp-image-611\" title=\"Product notes &gt; PN151: Basic examples using PLECS &gt; image-20200806-140752.png\" srcset=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-63.png 674w, https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/image-63-300x132.png 300w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This page contains a few code examples that can be used to explore and test imperix\u2019s automated code generation workflow using PLECS. These examples are&#8230;<\/p>\n","protected":false},"author":2,"featured_media":3018,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[12,3],"tags":[],"software-environments":[104],"provided-results":[],"related-products":[50,31,32,92,166,110],"guidedreadings":[],"tutorials":[],"user-manuals":[],"coauthors":[63],"class_list":["post-595","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-getting-started-acg-sdk","category-help","software-environments-plecs","related-products-acg-sdk","related-products-b-board-pro","related-products-b-box-rcp","related-products-b-box-micro","related-products-b-box-rcp-3-0","related-products-tpi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Basic examples for ACG SDK on PLECS - imperix<\/title>\n<meta name=\"description\" content=\"This page collects basic examples for the PLECS version of imperix ACG SDK, including an H-bridge, a motor drive, a single-phase inverter.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basic examples for ACG SDK on PLECS - imperix\" \/>\n<meta property=\"og:description\" content=\"This page collects basic examples for the PLECS version of imperix ACG SDK, including an H-bridge, a motor drive, a single-phase inverter.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs\" \/>\n<meta property=\"og:site_name\" content=\"imperix\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-19T12:58:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-05T10:28:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/3_2_ratio_PN151.png\" \/>\n\t<meta property=\"og:image:width\" content=\"450\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Julien Orsinger\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Orsinger\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs\"},\"author\":{\"name\":\"Julien Orsinger\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/person\\\/65ef663818eab76f53cc627ab80e0a51\"},\"headline\":\"Basic examples for ACG SDK on PLECS\",\"datePublished\":\"2021-03-19T12:58:35+00:00\",\"dateModified\":\"2025-06-05T10:28:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs\"},\"wordCount\":148,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/3_2_ratio_PN151.png\",\"articleSection\":[\"Getting started with ACG SDK\",\"Product notes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs\",\"name\":\"Basic examples for ACG SDK on PLECS - imperix\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/3_2_ratio_PN151.png\",\"datePublished\":\"2021-03-19T12:58:35+00:00\",\"dateModified\":\"2025-06-05T10:28:36+00:00\",\"description\":\"This page collects basic examples for the PLECS version of imperix ACG SDK, including an H-bridge, a motor drive, a single-phase inverter.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#primaryimage\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/3_2_ratio_PN151.png\",\"contentUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/3_2_ratio_PN151.png\",\"width\":450,\"height\":300,\"caption\":\"H-bridge control algorithm\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/help\\\/basic-examples-using-plecs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge base\",\"item\":\"https:\\\/\\\/imperix.com\\\/doc\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Product notes\",\"item\":\"https:\\\/\\\/imperix.com\\\/doc\\\/category\\\/help\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Basic examples for ACG SDK on PLECS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#website\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/\",\"name\":\"imperix\",\"description\":\"power electronics\",\"publisher\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/imperix.com\\\/doc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#organization\",\"name\":\"imperix\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/imperix_logo.png\",\"contentUrl\":\"https:\\\/\\\/imperix.com\\\/doc\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/imperix_logo.png\",\"width\":350,\"height\":120,\"caption\":\"imperix\"},\"image\":{\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/imperix.com\\\/doc\\\/#\\\/schema\\\/person\\\/65ef663818eab76f53cc627ab80e0a51\",\"name\":\"Julien Orsinger\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a0328b09c6abe61fa1e263a1066dcb26ea8f3b9e8b1d78056047620947bb388?s=96&d=mm&r=g6545a7220411572e799ad58574cce259\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a0328b09c6abe61fa1e263a1066dcb26ea8f3b9e8b1d78056047620947bb388?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a0328b09c6abe61fa1e263a1066dcb26ea8f3b9e8b1d78056047620947bb388?s=96&d=mm&r=g\",\"caption\":\"Julien Orsinger\"},\"description\":\"Julien is a senior power electronics engineer. On the knowledge base, he is acting as the editorial manager and is therefore the co-author of numerous articles on a broad variety of topics.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/julien-orsinger-640ab2129\\\/\"],\"url\":\"https:\\\/\\\/imperix.com\\\/doc\\\/author\\\/orsinger\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basic examples for ACG SDK on PLECS - imperix","description":"This page collects basic examples for the PLECS version of imperix ACG SDK, including an H-bridge, a motor drive, a single-phase inverter.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs","og_locale":"en_US","og_type":"article","og_title":"Basic examples for ACG SDK on PLECS - imperix","og_description":"This page collects basic examples for the PLECS version of imperix ACG SDK, including an H-bridge, a motor drive, a single-phase inverter.","og_url":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs","og_site_name":"imperix","article_published_time":"2021-03-19T12:58:35+00:00","article_modified_time":"2025-06-05T10:28:36+00:00","og_image":[{"width":450,"height":300,"url":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/3_2_ratio_PN151.png","type":"image\/png"}],"author":"Julien Orsinger","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julien Orsinger","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#article","isPartOf":{"@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs"},"author":{"name":"Julien Orsinger","@id":"https:\/\/imperix.com\/doc\/#\/schema\/person\/65ef663818eab76f53cc627ab80e0a51"},"headline":"Basic examples for ACG SDK on PLECS","datePublished":"2021-03-19T12:58:35+00:00","dateModified":"2025-06-05T10:28:36+00:00","mainEntityOfPage":{"@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs"},"wordCount":148,"commentCount":0,"publisher":{"@id":"https:\/\/imperix.com\/doc\/#organization"},"image":{"@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#primaryimage"},"thumbnailUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/3_2_ratio_PN151.png","articleSection":["Getting started with ACG SDK","Product notes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#respond"]}]},{"@type":"WebPage","@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs","url":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs","name":"Basic examples for ACG SDK on PLECS - imperix","isPartOf":{"@id":"https:\/\/imperix.com\/doc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#primaryimage"},"image":{"@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#primaryimage"},"thumbnailUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/3_2_ratio_PN151.png","datePublished":"2021-03-19T12:58:35+00:00","dateModified":"2025-06-05T10:28:36+00:00","description":"This page collects basic examples for the PLECS version of imperix ACG SDK, including an H-bridge, a motor drive, a single-phase inverter.","breadcrumb":{"@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#primaryimage","url":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/3_2_ratio_PN151.png","contentUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/3_2_ratio_PN151.png","width":450,"height":300,"caption":"H-bridge control algorithm"},{"@type":"BreadcrumbList","@id":"https:\/\/imperix.com\/doc\/help\/basic-examples-using-plecs#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Knowledge base","item":"https:\/\/imperix.com\/doc\/"},{"@type":"ListItem","position":2,"name":"Product notes","item":"https:\/\/imperix.com\/doc\/category\/help"},{"@type":"ListItem","position":3,"name":"Basic examples for ACG SDK on PLECS"}]},{"@type":"WebSite","@id":"https:\/\/imperix.com\/doc\/#website","url":"https:\/\/imperix.com\/doc\/","name":"imperix","description":"power electronics","publisher":{"@id":"https:\/\/imperix.com\/doc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/imperix.com\/doc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/imperix.com\/doc\/#organization","name":"imperix","url":"https:\/\/imperix.com\/doc\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/imperix.com\/doc\/#\/schema\/logo\/image\/","url":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/imperix_logo.png","contentUrl":"https:\/\/imperix.com\/doc\/wp-content\/uploads\/2021\/03\/imperix_logo.png","width":350,"height":120,"caption":"imperix"},"image":{"@id":"https:\/\/imperix.com\/doc\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/imperix.com\/doc\/#\/schema\/person\/65ef663818eab76f53cc627ab80e0a51","name":"Julien Orsinger","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0a0328b09c6abe61fa1e263a1066dcb26ea8f3b9e8b1d78056047620947bb388?s=96&d=mm&r=g6545a7220411572e799ad58574cce259","url":"https:\/\/secure.gravatar.com\/avatar\/0a0328b09c6abe61fa1e263a1066dcb26ea8f3b9e8b1d78056047620947bb388?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0a0328b09c6abe61fa1e263a1066dcb26ea8f3b9e8b1d78056047620947bb388?s=96&d=mm&r=g","caption":"Julien Orsinger"},"description":"Julien is a senior power electronics engineer. On the knowledge base, he is acting as the editorial manager and is therefore the co-author of numerous articles on a broad variety of topics.","sameAs":["https:\/\/www.linkedin.com\/in\/julien-orsinger-640ab2129\/"],"url":"https:\/\/imperix.com\/doc\/author\/orsinger"}]}},"_links":{"self":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/comments?post=595"}],"version-history":[{"count":15,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":33370,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/posts\/595\/revisions\/33370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/media\/3018"}],"wp:attachment":[{"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/media?parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/categories?post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/tags?post=595"},{"taxonomy":"software-environments","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/software-environments?post=595"},{"taxonomy":"provided-results","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/provided-results?post=595"},{"taxonomy":"related-products","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/related-products?post=595"},{"taxonomy":"guidedreadings","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/guidedreadings?post=595"},{"taxonomy":"tutorials","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/tutorials?post=595"},{"taxonomy":"user-manuals","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/user-manuals?post=595"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/imperix.com\/doc\/wp-json\/wp\/v2\/coauthors?post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}