{"id":8068,"date":"2021-08-23T15:07:45","date_gmt":"2021-08-23T15:07:45","guid":{"rendered":"http:\/\/bryceautomation.com\/?p=8068"},"modified":"2021-08-23T15:07:45","modified_gmt":"2021-08-23T15:07:45","slug":"plantpax-with-ladder-logic","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/","title":{"rendered":"PlantPAx with Ladder Logic"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Introduction to PlantPAx with Ladder Logic<\/h4>\n\n\n\n<p>There might be several reasons you need to use PlantPAx with Ladder Logic.  If your site does not have a license for function blocks, then you might want to use ladder logic.  Additionally, some factories will simply prefer to use Ladder logic over function blocks.<\/p><div id=\"bryce-1778846428\" class=\"bryce-afterfirst bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"7728240895\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<p>In this example, we&#8217;ll take a look at a couple function blocks in PlantPAx.  We&#8217;ll then discuss how to write the ladder logic equivalent.  PlantPAx with Ladder Logic is pretty straight-forward.  Instead of graphically connecting tags to a function block, we simply write a few lines of logic.  This will place the values you need into the instruction for the instruction logic to read.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">P_Din<\/h3>\n\n\n\n<p>At this point, let&#8217;s look at a simple P_Din instruction in function blocks.   After that, we&#8217;ll talk about how to write the equivalent instruction in ladder logic.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"329\" height=\"245\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-171.png\" alt=\"\" class=\"wp-image-8069 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-171.png 329w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-171-300x223.png 300w\" data-sizes=\"(max-width: 329px) 100vw, 329px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 329px; --smush-placeholder-aspect-ratio: 329\/245;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Import the P_Din<\/h4>\n\n\n\n<p>To use the P_Din, we must import the instruction from the process library.  Just right-click &#8220;Add On Instructions&#8221;.<\/p>\n\n\n\n<p>In the Add-On instructions folder, just choose P_Din.  In this case, I&#8217;ll leave the settings at default.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"497\" height=\"237\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-172.png\" alt=\"\" class=\"wp-image-8070 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-172.png 497w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-172-300x143.png 300w\" data-sizes=\"(max-width: 497px) 100vw, 497px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 497px; --smush-placeholder-aspect-ratio: 497\/237;\" \/><\/figure>\n\n\n\n<p>Secondly, we&#8217;ll find P_Din in the Add-On tab of the Instruction toolbar.  Drag this instruction into logic.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"710\" height=\"355\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-173.png\" alt=\"\" class=\"wp-image-8071 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-173.png 710w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-173-300x150.png 300w\" data-sizes=\"(max-width: 710px) 100vw, 710px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 710px; --smush-placeholder-aspect-ratio: 710\/355;\" \/><\/figure>\n\n\n\n<p>Next, we&#8217;ll create a tag for this instruction.  Normally, the name of this tag will correspond to the field device.  On the first question mark in the instruction, I&#8217;ll just type a tag name.  This will be &#8220;SystemStartREQ&#8221;.  Keep in mind that at this point, the tag does not exist.  After you type the tag name into the first question mark, right-click the name you typed, and create the new tag.<\/p>\n\n\n\n<p>We&#8217;ll just leave this tag as BOOL, and be sure it&#8217;s a program scoped tag.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"622\" height=\"490\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-174.png\" alt=\"\" class=\"wp-image-8072 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-174.png 622w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-174-300x236.png 300w\" data-sizes=\"(max-width: 622px) 100vw, 622px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 622px; --smush-placeholder-aspect-ratio: 622\/490;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Populate the values for your P_Din instruction<\/h4>\n\n\n\n<p>Next, we need to write some logic to populate the values.  If you look back at the function block instruction, you will see that switch.0 feeds directly to Inp_PV.  We can do the exact same thing in ladder logic.<\/p>\n\n\n\n<p>As you can see, when the switch is off, our Status (Sts) is off.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"698\" height=\"293\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-175.png\" alt=\"\" class=\"wp-image-8073 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-175.png 698w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-175-300x126.png 300w\" data-sizes=\"(max-width: 698px) 100vw, 698px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 698px; --smush-placeholder-aspect-ratio: 698\/293;\" \/><\/figure>\n\n\n\n<p>On the other hand, when we turn on Switch.0, our Sts goes high.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"699\" height=\"282\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-176.png\" alt=\"\" class=\"wp-image-8074 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-176.png 699w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-176-300x121.png 300w\" data-sizes=\"(max-width: 699px) 100vw, 699px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 699px; --smush-placeholder-aspect-ratio: 699\/282;\" \/><\/figure>\n\n\n\n<p>Click the Ellipsis (3 dots) on the instruction if you wish to see other configuration, and inputs that you might want to utilize.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"721\" height=\"348\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-177.png\" alt=\"\" class=\"wp-image-8075 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-177.png 721w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-177-300x145.png 300w\" data-sizes=\"(max-width: 721px) 100vw, 721px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 721px; --smush-placeholder-aspect-ratio: 721\/348;\" \/><\/figure>\n\n\n\n<p>You can modify these values by hand, or use ladder logic if you need the logic to change the values on the fly.  To set up the object on the HMI, refer to the <a href=\"https:\/\/bryceautomation.com\/index.php\/2020\/08\/11\/plantpax-4-digital-input\/\">P_Din section.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">P_DOut<\/h3>\n\n\n\n<p>The P_DOut will be a bit more tricky, but still very easy to set up in ladder.<\/p>\n\n\n\n<p>First, you need to import the P_DOut instruction using the same method we used to import the P_DIn.  Then add the P_DOut to your ladder logic routine.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Configure the Instruction<\/h4>\n\n\n\n<p>At this point, we need to configure the instruction.  As you can see, some of the data we need to see while troubleshooting is missing from the instruction face.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"697\" height=\"261\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-178.png\" alt=\"\" class=\"wp-image-8076 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-178.png 697w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-178-300x112.png 300w\" data-sizes=\"(max-width: 697px) 100vw, 697px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 697px; --smush-placeholder-aspect-ratio: 697\/261;\" \/><\/figure>\n\n\n\n<p>Now we&#8217;ll type a tag name into the first field, which is P_DOut.   We&#8217;ll do this in the same way that we created the tag for the P_Din earlier.  Simply type the tag name into the first field, then right click the name to create the tag.  In this case, I&#8217;ll use the name &#8220;SystemStartReqPL&#8221;.  This will be a pilot light we energize to inform the operator that his request has been received.<\/p>\n\n\n\n<p>At this point, we want to display some more information on the instruction face.  This will simplify troubleshooting later on.  We want to make PCmd_On and PCmd_Off visible.  Unfortunately, in ladder logic the visibility field is &#8220;grayed out&#8221;.  This means we cannot check on uncheck the visibility property from here.   Let&#8217;s drop offline, and we&#8217;ll fix this in the instruction definition.  At this point, we&#8217;ll drop offline.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"431\" height=\"317\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-179.png\" alt=\"\" class=\"wp-image-8077 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-179.png 431w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-179-300x221.png 300w\" data-sizes=\"(max-width: 431px) 100vw, 431px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 431px; --smush-placeholder-aspect-ratio: 431\/317;\" \/><\/figure>\n\n\n\n<p>Right click the P_DOut instruction under &#8220;Add-On Instructions&#8221;.  Choose &#8220;Open Definition&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"293\" height=\"304\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-180.png\" alt=\"\" class=\"wp-image-8078 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-180.png 293w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-180-289x300.png 289w\" data-sizes=\"(max-width: 293px) 100vw, 293px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 293px; --smush-placeholder-aspect-ratio: 293\/304;\" \/><\/figure>\n\n\n\n<p>At this point, we&#8217;ll turn on the visibility property for any parameters we want to be visible on the instruction face.  At last, be sure to hit &#8220;Apply&#8221; and &#8220;OK&#8221;.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"627\" height=\"268\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-181.png\" alt=\"\" class=\"wp-image-8079 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-181.png 627w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-181-300x128.png 300w\" data-sizes=\"(max-width: 627px) 100vw, 627px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 627px; --smush-placeholder-aspect-ratio: 627\/268;\" \/><\/figure>\n\n\n\n<p>Be sure to download your work, and go online.  You will see that our parameters are now visible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"719\" height=\"281\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png\" alt=\"\" class=\"wp-image-8080 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png 719w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182-300x117.png 300w\" data-sizes=\"(max-width: 719px) 100vw, 719px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 719px; --smush-placeholder-aspect-ratio: 719\/281;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Populate the values for your P_DOut instruction<\/h4>\n\n\n\n<p>At this point, we&#8217;re ready to write our logic.  The first thing we need to do is to put the instruction into program control mode.  We&#8217;ll do this by setting the PCmd_Prog bit.  I&#8217;ll just do this with a system flag, S:FS.  That way, on the first processor scan, the instruction goes to program control mode.  Another way to go to program control mode is from the HMI.   When you set up the interface in FactoryTalk View, the operator can place the instruction into program control mode.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"631\" height=\"62\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-184.png\" alt=\"\" class=\"wp-image-8082 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-184.png 631w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-184-300x29.png 300w\" data-sizes=\"(max-width: 631px) 100vw, 631px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 631px; --smush-placeholder-aspect-ratio: 631\/62;\" \/><\/figure>\n\n\n\n<p>At last, we are ready to write the rungs to control the output.  We&#8217;ll simply use the Sts output of the P_DIn instruction.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"704\" height=\"281\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-185.png\" alt=\"\" class=\"wp-image-8083 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-185.png 704w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-185-300x120.png 300w\" data-sizes=\"(max-width: 704px) 100vw, 704px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 704px; --smush-placeholder-aspect-ratio: 704\/281;\" \/><\/figure>\n\n\n\n<p>Finally, we are ready to tie the output of the P_DOut to a real-world output.  In this case, we&#8217;ll just turn on light.0.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"626\" height=\"104\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-186.png\" alt=\"\" class=\"wp-image-8084 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-186.png 626w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-186-300x50.png 300w\" data-sizes=\"(max-width: 626px) 100vw, 626px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 626px; --smush-placeholder-aspect-ratio: 626\/104;\" \/><\/figure>\n\n\n\n<p>At this point, you are ready to configure the HMI.  Refer to the <a href=\"https:\/\/bryceautomation.com\/index.php\/2020\/08\/11\/plantpax-4-digital-output\/\">P_DOut document.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Summary<\/h3>\n\n\n\n<p>In summary, the instructions in ladder logic work very much the same as the instructions in function blocks.  The difference is the way we get data into the instruction, and how we utilize the output of the instruction.<\/p>\n\n\n\n<p>For other posts, visit the <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/plantpax\/\">PlantPAx Category Page!<\/a><\/p>\n\n\n\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-4099457464\" class=\"bryce-after-content bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"4667596182\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Introduction to PlantPAx with Ladder Logic There might be several reasons you need to use PlantPAx with Ladder Logic. If your site does not have a license for function blocks, then you might want to use ladder logic. Additionally, some factories will simply prefer to use Ladder logic over function blocks. In this example, we&#8217;ll <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":8080,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,195],"tags":[390,198,200,196],"class_list":{"0":"post-8068","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-controllogix","8":"category-plantpax","9":"tag-function-blocks","10":"tag-p_din","11":"tag-p_dout","12":"tag-plantpax","13":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PlantPAx with Ladder Logic vs. Function Blocks - Bryce Automation<\/title>\n<meta name=\"description\" content=\"How to use PlantPAx with Ladder Logic vs. Function Block Diagrams. Differences on how to utilize inputs and outputs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PlantPAx with Ladder Logic vs. Function Blocks - Bryce Automation\" \/>\n<meta property=\"og:description\" content=\"How to use PlantPAx with Ladder Logic vs. Function Block Diagrams. Differences on how to utilize inputs and outputs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/\" \/>\n<meta property=\"og:site_name\" content=\"Bryce Automation\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ricky.bryce.7\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-23T15:07:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png\" \/>\n\t<meta property=\"og:image:width\" content=\"719\" \/>\n\t<meta property=\"og:image:height\" content=\"281\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"PlantPAx with Ladder Logic\",\"datePublished\":\"2021-08-23T15:07:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/\"},\"wordCount\":947,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image-182.png\",\"keywords\":[\"Function Blocks\",\"P_Din\",\"P_Dout\",\"PlantPAx\"],\"articleSection\":[\"ControlLogix\",\"PlantPAx\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/\",\"name\":\"PlantPAx with Ladder Logic vs. Function Blocks - Bryce Automation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image-182.png\",\"datePublished\":\"2021-08-23T15:07:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"How to use PlantPAx with Ladder Logic vs. Function Block Diagrams. Differences on how to utilize inputs and outputs.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image-182.png\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/image-182.png\",\"width\":719,\"height\":281,\"caption\":\"PPDOUT\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/08\\\/23\\\/plantpax-with-ladder-logic\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PlantPAx with Ladder Logic\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/\",\"name\":\"Bryce Automation\",\"description\":\"Automating Home and Industry...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bryceautomation.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\",\"name\":\"Ricky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"caption\":\"Ricky\"},\"sameAs\":[\"http:\\\/\\\/bryceautomation.com\",\"https:\\\/\\\/www.facebook.com\\\/ricky.bryce.7\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ricky-bryce-4367a416\\\/\"],\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/author\\\/ricky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PlantPAx with Ladder Logic vs. Function Blocks - Bryce Automation","description":"How to use PlantPAx with Ladder Logic vs. Function Block Diagrams. Differences on how to utilize inputs and outputs.","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:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/","og_locale":"en_US","og_type":"article","og_title":"PlantPAx with Ladder Logic vs. Function Blocks - Bryce Automation","og_description":"How to use PlantPAx with Ladder Logic vs. Function Block Diagrams. Differences on how to utilize inputs and outputs.","og_url":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2021-08-23T15:07:45+00:00","og_image":[{"width":719,"height":281,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png","type":"image\/png"}],"author":"Ricky","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"PlantPAx with Ladder Logic","datePublished":"2021-08-23T15:07:45+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/"},"wordCount":947,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png","keywords":["Function Blocks","P_Din","P_Dout","PlantPAx"],"articleSection":["ControlLogix","PlantPAx"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/","url":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/","name":"PlantPAx with Ladder Logic vs. Function Blocks - Bryce Automation","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png","datePublished":"2021-08-23T15:07:45+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"How to use PlantPAx with Ladder Logic vs. Function Block Diagrams. Differences on how to utilize inputs and outputs.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/08\/image-182.png","width":719,"height":281,"caption":"PPDOUT"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/08\/23\/plantpax-with-ladder-logic\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"PlantPAx with Ladder Logic"}]},{"@type":"WebSite","@id":"https:\/\/bryceautomation.com\/#website","url":"https:\/\/bryceautomation.com\/","name":"Bryce Automation","description":"Automating Home and Industry...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bryceautomation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7","name":"Ricky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","url":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","caption":"Ricky"},"sameAs":["http:\/\/bryceautomation.com","https:\/\/www.facebook.com\/ricky.bryce.7","https:\/\/www.linkedin.com\/in\/ricky-bryce-4367a416\/"],"url":"https:\/\/bryceautomation.com\/index.php\/author\/ricky\/"}]}},"_links":{"self":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/8068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/comments?post=8068"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/8068\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/8080"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=8068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=8068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=8068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}