{"id":21417,"date":"2022-05-25T13:22:54","date_gmt":"2022-05-25T05:22:54","guid":{"rendered":"https:\/\/hongtronics.com\/?p=21417"},"modified":"2024-07-11T11:44:55","modified_gmt":"2024-07-11T03:44:55","slug":"automation-softplc-sub-program-and-user-defined-udfb","status":"publish","type":"post","link":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/","title":{"rendered":"Automation softPLC Teaching Guide (2) - Subroutines and User-Defined Function Blocks UDFBs"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"146\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/03\/640-1024x146.gif\" alt=\"\" class=\"wp-image-19754\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/03\/640-1024x146.gif 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/03\/640-300x43.gif 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/03\/640-600x86.gif 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/03\/640-768x110.gif 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>HONGKE Automation softPLC is a programming environment for developing PLCs for real-time operating systems such as Linux, Xenomai, INtime, Windows, etc. It is very suitable for users who need to use IEC61131-3 and PLCopen standard control technology and PLC programming.<\/strong>This article will help you create and develop functions and function blocks using the IEC language.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button aligncenter has-custom-font-size is-style-fill has-medium-font-size\"><a class=\"wp-block-button__link has-vivid-cyan-blue-background-color has-background\" href=\"https:\/\/hongtronics.com\/en\/automation-softplc-user-guide1\/\" style=\"border-radius:33px\"><strong>Learn from the past - Automation softPLC Teaching Guide (1) Getting Started Guide<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Hongke Automation softPLC Studio Naming Rules<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"># Functions written in IEC language are called subroutines.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"># Function blocks developed in the IEC language are called UDFBs.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"># UDFB stands for \u201cUser Defined Function Block\u201d.\u201d<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Note: This document is for Automation softPLC Studio version 1.0 or higher. automation softPLC Studio needs to be installed on a Windows PC.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Creating and using subroutines<\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Click Insert New Program from the workspace menu.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"448\" height=\"250\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640.jpg\" alt=\"\" class=\"wp-image-21423\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640.jpg 448w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-300x167.jpg 300w\" sizes=\"(max-width: 448px) 100vw, 448px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">After naming it, select the language you want, note that this language cannot be SFC.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"441\" height=\"520\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-8.jpg\" alt=\"\" class=\"wp-image-21424\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-8.jpg 441w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-8-300x354.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-8-254x300.jpg 254w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Clicking OK opens another dialog box that lets you define the outputs and outputs of the subroutine.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"520\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-2.jpg\" alt=\"\" class=\"wp-image-21420\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-2.jpg 441w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-2-300x354.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-2-254x300.jpg 254w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><br>Use the workspace menu to modify parameters.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"367\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-3.jpg\" alt=\"\" class=\"wp-image-21421\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-3.jpg 474w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-3-300x232.jpg 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/figure><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">In the Local Variable Editor, you can still see these parameters and can add or modify them<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"482\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-4.jpg\" alt=\"\" class=\"wp-image-21422\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-4.jpg 867w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-4-300x167.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-4-600x334.jpg 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-4-768x427.jpg 768w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">After completing the above settings, the subroutine can be called from other POUs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"425\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-5-1024x425.jpg\" alt=\"\" class=\"wp-image-21418\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-5-1024x425.jpg 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-5-300x124.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-5-600x249.jpg 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-5-768x319.jpg 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-5.jpg 1080w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator is-style-dots\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2,<strong>Creating and Using a UDFB<\/strong><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The above steps also apply to User Defined Function Blocks (UDFB), note that you need to select the \u201cUDFB\u201d option in the New Program dialog box.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"521\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-6.jpg\" alt=\"\" class=\"wp-image-21419\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-6.jpg 441w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-6-300x354.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/AnyConv.com__640-6-254x300.jpg 254w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/figure><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-default\"\/>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/01\/\u5b8f\u8679\u8cc7\u8a0a\u5361-1024x576.png\" alt=\"\" class=\"wp-image-17585\"\/><figcaption>Contact Us<\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"<p>\u8679\u79d1 Automation softPLC \u662f\u70ba Linux\u3001Xenomai\u3001INtime\u3001Windows \u7b49 [&hellip;]<\/p>","protected":false},"author":29,"featured_media":21425,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"minimal","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","iawp_total_views":106,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[2315],"tags":[1634],"table_tags":[],"class_list":["post-21417","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2315","tag-automation-softplc","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u8679\u79d1 Automation softPLC \u662f\u70ba Linux\u3001Xenomai\u3001INtime\u3001Windows \u7b49\u5be6\u6642\u64cd\u4f5c\u7cfb\u7d71\u958b\u767cPLC \u7684\u7de8\u7a0b\u74b0\u5883\uff0c\u5341\u5206\u9069\u5408\u9700\u8981\u4f7f\u7528 IEC61131-3 \u548c PLCopen \u6a19\u6e96\u7684\u63a7\u5236\u6280\u8853\u548c\u9032\u884c PLC \u7de8\u7a0b\u7684\u7528\u6236\u3002\u672c\u7bc7\u6587\u7ae0\u5c07\u5e6b\u52a9\u60a8\u5275\u5efa\u548c\u4f7f\u7528 IEC \u8a9e\u8a00\u958b\u767c\u7684\u51fd\u6578\u548c\u529f\u80fd\u584a\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Janice Wei\"\/>\n\t<meta name=\"google-site-verification\" content=\"SkpHtpSLB2vAUMP2DE82RvjkPkzsxboRb7ir9XnuNmQ\" \/>\n\t<meta name=\"msvalidate.01\" content=\"75F9DB4D5EFA19B04308C9BEC35BA06B\" \/>\n\t<meta name=\"p:domain_verify\" content=\"9b5f6acf70cc242e0a343b56495c9000\" \/>\n\t<meta name=\"keywords\" content=\"automation softplc,plc\u7de8\u7a0b\u8edf\u9ad4,\u5de5\u696d\u96fb\u8166\u7de8\u7a0b\u8edf\u9ad4,automation \u958b\u767c\u5e73\u53f0,\u904b\u52d5\u63a7\u5236,\u5de5\u63a7\u6a5f\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#article\",\"name\":\"Automation softPLC \\u6559\\u5b78\\u6307\\u5357 (2) \\u2014 \\u5b50\\u7a0b\\u5e8f\\u548c\\u7528\\u6236\\u81ea\\u5b9a\\u7fa9\\u529f\\u80fd\\u584aUDFB | \\u5b8f\\u8679\\u96fb\\u5b50\\u79d1\\u6280\\u6709\\u9650\\u516c\\u53f8\",\"headline\":\"Automation softPLC \\u6559\\u5b78\\u6307\\u5357 (2) \\u2014 \\u5b50\\u7a0b\\u5e8f\\u548c\\u7528\\u6236\\u81ea\\u5b9a\\u7fa9\\u529f\\u80fd\\u584aUDFB\",\"author\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/author\\\/wmj\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/softplc-user-guide2-1.jpg\",\"width\":700,\"height\":700},\"datePublished\":\"2022-05-25T13:22:54+08:00\",\"dateModified\":\"2024-07-11T11:44:55+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#webpage\"},\"articleSection\":\"\\u5de5\\u696d\\u81ea\\u52d5\\u5316, Automation softPLC\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en#listItem\",\"position\":1,\"name\":\"\\u4e3b\\u9801\",\"item\":\"https:\\\/\\\/hongtronics.com\\\/en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/category\\\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\\\/#listItem\",\"name\":\"\\u5de5\\u696d\\u81ea\\u52d5\\u5316\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/category\\\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\\\/#listItem\",\"position\":2,\"name\":\"\\u5de5\\u696d\\u81ea\\u52d5\\u5316\",\"item\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/category\\\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#listItem\",\"name\":\"Automation softPLC \\u6559\\u5b78\\u6307\\u5357 (2) \\u2014 \\u5b50\\u7a0b\\u5e8f\\u548c\\u7528\\u6236\\u81ea\\u5b9a\\u7fa9\\u529f\\u80fd\\u584aUDFB\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en#listItem\",\"name\":\"\\u4e3b\\u9801\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#listItem\",\"position\":3,\"name\":\"Automation softPLC \\u6559\\u5b78\\u6307\\u5357 (2) \\u2014 \\u5b50\\u7a0b\\u5e8f\\u548c\\u7528\\u6236\\u81ea\\u5b9a\\u7fa9\\u529f\\u80fd\\u584aUDFB\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/category\\\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\\\/#listItem\",\"name\":\"\\u5de5\\u696d\\u81ea\\u52d5\\u5316\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/#organization\",\"name\":\"\\u5b8f\\u8679\\u96fb\\u5b50\\u79d1\\u6280\\u6709\\u9650\\u516c\\u53f8\",\"description\":\"\\u8b93\\u8eca\\u7528\\u96fb\\u5b50\\u8207\\u5de5\\u696d4.0\\u89e3\\u6c7a\\u65b9\\u6848\\u52a9\\u60a8\\u4e00\\u81c2\\u4e4b\\u529b\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/\",\"telephone\":\"+88633589488\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/\\u5b8f\\u8679_\\u753b\\u677f-12.png\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/author\\\/wmj\\\/#author\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/author\\\/wmj\\\/\",\"name\":\"Janice Wei\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#webpage\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/\",\"name\":\"Automation softPLC \\u6559\\u5b78\\u6307\\u5357 (2) \\u2014 \\u5b50\\u7a0b\\u5e8f\\u548c\\u7528\\u6236\\u81ea\\u5b9a\\u7fa9\\u529f\\u80fd\\u584aUDFB | \\u5b8f\\u8679\\u96fb\\u5b50\\u79d1\\u6280\\u6709\\u9650\\u516c\\u53f8\",\"description\":\"\\u8679\\u79d1 Automation softPLC \\u662f\\u70ba Linux\\u3001Xenomai\\u3001INtime\\u3001Windows \\u7b49\\u5be6\\u6642\\u64cd\\u4f5c\\u7cfb\\u7d71\\u958b\\u767cPLC \\u7684\\u7de8\\u7a0b\\u74b0\\u5883\\uff0c\\u5341\\u5206\\u9069\\u5408\\u9700\\u8981\\u4f7f\\u7528 IEC61131-3 \\u548c PLCopen \\u6a19\\u6e96\\u7684\\u63a7\\u5236\\u6280\\u8853\\u548c\\u9032\\u884c PLC \\u7de8\\u7a0b\\u7684\\u7528\\u6236\\u3002\\u672c\\u7bc7\\u6587\\u7ae0\\u5c07\\u5e6b\\u52a9\\u60a8\\u5275\\u5efa\\u548c\\u4f7f\\u7528 IEC \\u8a9e\\u8a00\\u958b\\u767c\\u7684\\u51fd\\u6578\\u548c\\u529f\\u80fd\\u584a\\u3002\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/author\\\/wmj\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/author\\\/wmj\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/softplc-user-guide2-1.jpg\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#mainImage\",\"width\":700,\"height\":700},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/automation-softplc-sub-program-and-user-defined-udfb\\\/#mainImage\"},\"datePublished\":\"2022-05-25T13:22:54+08:00\",\"dateModified\":\"2024-07-11T11:44:55+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/\",\"name\":\"\\u5b8f\\u8679\\u96fb\\u5b50\\u79d1\\u6280\\u6709\\u9650\\u516c\\u53f8 | \\u53f0\\u7063\\u8679\\u79d1\",\"description\":\"\\u8b93\\u8eca\\u7528\\u96fb\\u5b50\\u8207\\u5de5\\u696d4.0\\u89e3\\u6c7a\\u65b9\\u6848\\u52a9\\u60a8\\u4e00\\u81c2\\u4e4b\\u529b\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/hongtronics.com\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB | \u5b8f\u8679\u96fb\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8","description":"\u8679\u79d1 Automation softPLC \u662f\u70ba Linux\u3001Xenomai\u3001INtime\u3001Windows \u7b49\u5be6\u6642\u64cd\u4f5c\u7cfb\u7d71\u958b\u767cPLC \u7684\u7de8\u7a0b\u74b0\u5883\uff0c\u5341\u5206\u9069\u5408\u9700\u8981\u4f7f\u7528 IEC61131-3 \u548c PLCopen \u6a19\u6e96\u7684\u63a7\u5236\u6280\u8853\u548c\u9032\u884c PLC \u7de8\u7a0b\u7684\u7528\u6236\u3002\u672c\u7bc7\u6587\u7ae0\u5c07\u5e6b\u52a9\u60a8\u5275\u5efa\u548c\u4f7f\u7528 IEC \u8a9e\u8a00\u958b\u767c\u7684\u51fd\u6578\u548c\u529f\u80fd\u584a\u3002","canonical_url":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"automation softplc,plc\u7de8\u7a0b\u8edf\u9ad4,\u5de5\u696d\u96fb\u8166\u7de8\u7a0b\u8edf\u9ad4,automation \u958b\u767c\u5e73\u53f0,\u904b\u52d5\u63a7\u5236,\u5de5\u63a7\u6a5f","webmasterTools":{"google-site-verification":"SkpHtpSLB2vAUMP2DE82RvjkPkzsxboRb7ir9XnuNmQ","msvalidate.01":"75F9DB4D5EFA19B04308C9BEC35BA06B","p:domain_verify":"9b5f6acf70cc242e0a343b56495c9000","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#article","name":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB | \u5b8f\u8679\u96fb\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8","headline":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB","author":{"@id":"https:\/\/hongtronics.com\/en\/author\/wmj\/#author"},"publisher":{"@id":"https:\/\/hongtronics.com\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/softplc-user-guide2-1.jpg","width":700,"height":700},"datePublished":"2022-05-25T13:22:54+08:00","dateModified":"2024-07-11T11:44:55+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#webpage"},"isPartOf":{"@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#webpage"},"articleSection":"\u5de5\u696d\u81ea\u52d5\u5316, Automation softPLC"},{"@type":"BreadcrumbList","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en#listItem","position":1,"name":"\u4e3b\u9801","item":"https:\/\/hongtronics.com\/en","nextItem":{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en\/category\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\/#listItem","name":"\u5de5\u696d\u81ea\u52d5\u5316"}},{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en\/category\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\/#listItem","position":2,"name":"\u5de5\u696d\u81ea\u52d5\u5316","item":"https:\/\/hongtronics.com\/en\/category\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\/","nextItem":{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#listItem","name":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB"},"previousItem":{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en#listItem","name":"\u4e3b\u9801"}},{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#listItem","position":3,"name":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB","previousItem":{"@type":"ListItem","@id":"https:\/\/hongtronics.com\/en\/category\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\/#listItem","name":"\u5de5\u696d\u81ea\u52d5\u5316"}}]},{"@type":"Organization","@id":"https:\/\/hongtronics.com\/en\/#organization","name":"\u5b8f\u8679\u96fb\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8","description":"\u8b93\u8eca\u7528\u96fb\u5b50\u8207\u5de5\u696d4.0\u89e3\u6c7a\u65b9\u6848\u52a9\u60a8\u4e00\u81c2\u4e4b\u529b","url":"https:\/\/hongtronics.com\/en\/","telephone":"+88633589488","logo":{"@type":"ImageObject","url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2019\/11\/\u5b8f\u8679_\u753b\u677f-12.png","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#organizationLogo"},"image":{"@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/hongtronics.com\/en\/author\/wmj\/#author","url":"https:\/\/hongtronics.com\/en\/author\/wmj\/","name":"Janice Wei"},{"@type":"WebPage","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#webpage","url":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/","name":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB | \u5b8f\u8679\u96fb\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8","description":"\u8679\u79d1 Automation softPLC \u662f\u70ba Linux\u3001Xenomai\u3001INtime\u3001Windows \u7b49\u5be6\u6642\u64cd\u4f5c\u7cfb\u7d71\u958b\u767cPLC \u7684\u7de8\u7a0b\u74b0\u5883\uff0c\u5341\u5206\u9069\u5408\u9700\u8981\u4f7f\u7528 IEC61131-3 \u548c PLCopen \u6a19\u6e96\u7684\u63a7\u5236\u6280\u8853\u548c\u9032\u884c PLC \u7de8\u7a0b\u7684\u7528\u6236\u3002\u672c\u7bc7\u6587\u7ae0\u5c07\u5e6b\u52a9\u60a8\u5275\u5efa\u548c\u4f7f\u7528 IEC \u8a9e\u8a00\u958b\u767c\u7684\u51fd\u6578\u548c\u529f\u80fd\u584a\u3002","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/hongtronics.com\/en\/#website"},"breadcrumb":{"@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#breadcrumblist"},"author":{"@id":"https:\/\/hongtronics.com\/en\/author\/wmj\/#author"},"creator":{"@id":"https:\/\/hongtronics.com\/en\/author\/wmj\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/softplc-user-guide2-1.jpg","@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#mainImage","width":700,"height":700},"primaryImageOfPage":{"@id":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/#mainImage"},"datePublished":"2022-05-25T13:22:54+08:00","dateModified":"2024-07-11T11:44:55+08:00"},{"@type":"WebSite","@id":"https:\/\/hongtronics.com\/en\/#website","url":"https:\/\/hongtronics.com\/en\/","name":"\u5b8f\u8679\u96fb\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8 | \u53f0\u7063\u8679\u79d1","description":"\u8b93\u8eca\u7528\u96fb\u5b50\u8207\u5de5\u696d4.0\u89e3\u6c7a\u65b9\u6848\u52a9\u60a8\u4e00\u81c2\u4e4b\u529b","inLanguage":"en-US","publisher":{"@id":"https:\/\/hongtronics.com\/en\/#organization"}}]}},"aioseo_meta_data":{"post_id":"21417","title":"#post_title #separator_sa #site_title","description":"\u8679\u79d1 Automation softPLC \u662f\u70ba Linux\u3001Xenomai\u3001INtime\u3001Windows \u7b49\u5be6\u6642\u64cd\u4f5c\u7cfb\u7d71\u958b\u767cPLC \u7684\u7de8\u7a0b\u74b0\u5883\uff0c\u5341\u5206\u9069\u5408\u9700\u8981\u4f7f\u7528 IEC61131-3 \u548c PLCopen \u6a19\u6e96\u7684\u63a7\u5236\u6280\u8853\u548c\u9032\u884c PLC \u7de8\u7a0b\u7684\u7528\u6236\u3002\u672c\u7bc7\u6587\u7ae0\u5c07\u5e6b\u52a9\u60a8\u5275\u5efa\u548c\u4f7f\u7528 IEC \u8a9e\u8a00\u958b\u767c\u7684\u51fd\u6578\u548c\u529f\u80fd\u584a\u3002","keywords":[{"label":"Automation softPLC","value":"Automation softPLC"},{"label":"plc\u7de8\u7a0b\u8edf\u9ad4","value":"plc\u7de8\u7a0b\u8edf\u9ad4"},{"label":"\u5de5\u696d\u96fb\u8166\u7de8\u7a0b\u8edf\u9ad4","value":"\u5de5\u696d\u96fb\u8166\u7de8\u7a0b\u8edf\u9ad4"},{"label":"Automation \u958b\u767c\u5e73\u53f0","value":"Automation \u958b\u767c\u5e73\u53f0"},{"label":"\u904b\u52d5\u63a7\u5236","value":"\u904b\u52d5\u63a7\u5236"},{"label":"\u5de5\u63a7\u6a5f","value":"\u5de5\u63a7\u6a5f"}],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":"#post_title #separator_sa #site_title","og_description":"\u8679\u79d1 Automation softPLC \u662f\u70ba Linux\u3001Xenomai\u3001INtime\u3001Windows \u7b49\u5be6\u6642\u64cd\u4f5c\u7cfb\u7d71\u958b\u767cPLC \u7684\u7de8\u7a0b\u74b0\u5883\uff0c\u5341\u5206\u9069\u5408\u9700\u8981\u4f7f\u7528 IEC61131-3 \u548c PLCopen \u6a19\u6e96\u7684\u63a7\u5236\u6280\u8853\u548c\u9032\u884c PLC \u7de8\u7a0b\u7684\u7528\u6236\u3002\u672c\u7bc7\u6587\u7ae0\u5c07\u5e6b\u52a9\u60a8\u5275\u5efa\u548c\u4f7f\u7528 IEC \u8a9e\u8a00\u958b\u767c\u7684\u51fd\u6578\u548c\u529f\u80fd\u584a\u3002","og_object_type":"default","og_image_type":"featured","og_image_url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2022\/05\/softplc-user-guide2-1.jpg","og_image_width":"0","og_image_height":"0","og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-64101e5c4c972","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-05-25 03:52:22","updated":"2024-07-11 03:44:57","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/hongtronics.com\/en\" title=\"\u4e3b\u9801\">\u4e3b\u9801<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/hongtronics.com\/en\/category\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\/\" title=\"\u5de5\u696d\u81ea\u52d5\u5316\">\u5de5\u696d\u81ea\u52d5\u5316<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAutomation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u4e3b\u9801","link":"https:\/\/hongtronics.com\/en"},{"label":"\u5de5\u696d\u81ea\u52d5\u5316","link":"https:\/\/hongtronics.com\/en\/category\/%e5%b7%a5%e6%a5%ad%e8%87%aa%e5%8b%95%e5%8c%96\/"},{"label":"Automation softPLC \u6559\u5b78\u6307\u5357 (2) \u2014 \u5b50\u7a0b\u5e8f\u548c\u7528\u6236\u81ea\u5b9a\u7fa9\u529f\u80fd\u584aUDFB","link":"https:\/\/hongtronics.com\/en\/automation-softplc-sub-program-and-user-defined-udfb\/"}],"_links":{"self":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/21417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/comments?post=21417"}],"version-history":[{"count":3,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/21417\/revisions"}],"predecessor-version":[{"id":21428,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/21417\/revisions\/21428"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media\/21425"}],"wp:attachment":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media?parent=21417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/categories?post=21417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/tags?post=21417"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/table_tags?post=21417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}