{"id":3121,"date":"2026-11-17T18:36:32","date_gmt":"2026-11-17T10:36:32","guid":{"rendered":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/mplc-m05-zh-01\/"},"modified":"2026-11-17T18:36:32","modified_gmt":"2026-11-17T10:36:32","slug":"mplc-m05-zh-01","status":"publish","type":"post","link":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/mplc-m05-zh-01\/","title":{"rendered":"\u7b2c1\u7ae0 \u8a8d\u8b58\u7d50\u69cb\u5316\u8a9e\u8a00ST"},"content":{"rendered":"<h3>1-1  ST\u8a9e\u8a00\u7684\u7279\u9ede<\/h3>\n<p>\u65e9\u671f\u7684\u81ea\u52d5\u5316\u63a7\u5236\u5728\u7de8\u8f2f\u53ef\u7a0b\u5f0f\u908f\u8f2f\u63a7\u5236\u5668\u908f\u8f2f\u6642\uff0c\u9808\u900f\u904e\u66f8\u5beb\u5668\u5c07\u985e\u4f3c\u7d44\u5408\u8a9e\u8a00\u7684\u7a0b\u5f0f\u7c21\u78bc\u6307\u4ee4 (Mnemonic )\u8f38\u5165\u63a7\u5236\u5668\u4e2d\uff0c\u5df2\u9054\u5230\u5c08\u6848\u6240\u9700\u6c42\u7684\u52d5\u4f5c\uff0c\u5f8c\u7e8c\u96a8\u8457\u5de5\u696d\u74b0\u5883\u6f14\u8b8a\uff0c\u958b\u767c\u51fa\u4e86\u63a7\u5236\u8ff4\u8def\u968e\u68af\u5716 (LD) \u4f86\u8868\u9054\u7a0b\u5e8f\u7684\u908f\u8f2f\uff0c\u8b93\u4e0d\u64c5\u65bc\u64b0\u5beb\u7a0b\u5f0f\u7684\u4f5c\u696d\u4eba\u54e1\u80fd\u4ee5\u5716\u50cf\u5316\u7684\u65b9\u5f0f\u4f86\u64b0\u5beb\u64cd\u63a7PLC\u3002<\/p>\n<p>\u73fe\u5728\u7684PLC \u53ef\u4ee5\u64cd\u63a7\u904b\u884c\u7684\u908f\u8f2f\u65e5\u6108\u8907\u96dc\uff0c\u518d\u52a0\u4e0a\u64b0\u5beb\u7a0b\u5f0f\u5df2\u7d93\u6108\u4f86\u6108\u666e\u53ca\uff0c\u4f7f\u7528\u6587\u5b57\u64b0\u5beb\u7684PLC \u7a0b\u5f0f\u6f38\u6f38\u8b8a\u70ba\u6d41\u884c\uff0c\u56e0\u800c\u50ac\u751f\u4e86\u985e\u4f3cPascal, C \u7a0b\u5f0f\u8a9e\u6cd5\u4f86\u64b0\u5beb \uff0c\u53ea\u8981\u662f\u5b78\u7fd2\u904e\u8cc7\u8a0a\u9818\u57df\u7684\u4eba\u54e1\uff0c\u4fbf\u53ef\u4ee5\u5bb9\u6613\u4e0a\u624b\u7de8\u7a0b\u3002\u4f7f\u7528\u7d50\u69cb\u5316\u8a9e\u8a00 (ST) \u958b\u767c\u53ef\u7a0b\u5f0f\u908f\u8f2f\u63a7\u5236\u5668\u7684\u4eba\u54e1\u8d8a\u4f86\u8d8a\u591a\uff0c\u4f7f\u5f97\u7d50\u69cb\u5316\u8a9e\u8a00 (ST) \u6210\u70ba\u73fe\u4eca\u71b1\u9580\u7684\u81ea\u52d5\u5316\u958b\u767c\u5de5\u5177\u4e4b\u4e00\u3002<\/p>\n<p><strong>\u7b97\u5f0f\u7684\u904b\u7b97\u8655\u7406                                                                     <\/strong><\/p>\n<p>\u7b97\u8853\u6307\u4ee4\u53ef\u4ee5\u548c\u6bd4\u8f03\u6307\u4ee4\u7b49\u4e00\u822c\u7684\u8868\u9054\u5f0f\u4e00\u6a23\u9032\u884c\u6558\u8ff0\u3002<\/p>\n<p><strong>\u25a0\u591a\u500b\u904b\u7b97\u53ef\u4ee5\u5beb\u9032\u540c\u4e00\u884c\u4e2d<\/strong><\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u904b\u7b97\u5f0f \uff08+\u3001-\u7b49\uff09\u7c21\u6f54\u5730\u9032\u884c\u6558\u8ff0\uff0c\u56e0\u6b64ST\u7a0b\u5f0f\u6bd4\u68af\u5f62\u5716\u66f4\u6613\u65bc\u7406\u89e3\u3002<\/p>\n<p><strong>\u7a0b\u5f0f\u7bc4\u4f8b<\/strong><\/p>\n<p>\u5728 R3 \u4e2d\u4ee3\u5165 R0~R2 \u7684\u5e73\u5747\u503c\u3002<\/p>\n<p>R3=(R0+R1+R2)\u00f73<\/p>\n<p><strong>ST<\/strong><\/p>\n<p>R3:=(R0+R1+R2)\/3;<\/p>\n<p><strong>LD<\/strong><\/p>\n<p><strong><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-001.png\" \/><\/strong><\/p>\n<p><strong>\u8907\u96dc\u7684\u8cc7\u8a0a\u8655\u7406<\/strong><\/p>\n<p>\u53ef\u4ee5\u901a\u904e if \u8a9e\u6cd5\u6216 for.while \u7b49\u8a9e\u6cd5\u7de8\u5beb\u63a7\u5236\u7a0b\u5f0f\u3002\u8207\u968e\u68af\u5716\u76f8\u6bd4\uff0c\u80fd\u5920\u66f4\u7c21\u6f54\u660e\u77ad\u7684\u6558\u8ff0\u6839\u64da\u4e0d\u540c\u689d\u4ef6\u5c0d\u57f7\u884c\u5167\u5bb9\u9032\u884c\u8907\u96dc\u5206\u652f\u6216\u5faa\u74b0\u8655\u7406\u7b49\u3002<\/p>\n<p><strong>\u7a0b\u5f0f\u7bc4\u4f8b<\/strong><\/p>\n<p><strong>\u6839\u64da R0\u503c\u5728\u4e0d\u540c\u689d\u4ef6\u4e0b\uff0c R1 \u8a2d\u7f6e\u70ba0\uff5e3<\/strong><\/p>\n<p><strong>\u00b7 \u7576R\u503c\u70ba1<\/strong>\uff5e<strong>99 \u6642:  \t\t\tR1=0<\/strong><\/p>\n<p><strong>\u00b7 \u7576R\u503c\u70ba100\u6216200\u6642: \tR1=1<\/strong><\/p>\n<p><strong>\u00b7 \u7576R\u503c\u70ba150\u6642: \t\t\t\t\tR1=2<\/strong><\/p>\n<p><strong>\u00b7 \u6eff\u8db3\u4e0a\u8ff0\u60c5\u5f62\u4ee5\u5916\u6642: <\/strong>\t\t\t<strong>R1=3<\/strong><\/p>\n<p><strong>ST<\/strong><\/p>\n<p><strong>IF R0 &gt;= 1  &amp; R0  &lt;= 99  THEN<\/strong><\/p>\n<p><strong>    R1:=0;<\/strong><\/p>\n<p><strong>ELSEIF R0 = 100 or R0 = 200 THEN<\/strong><\/p>\n<p><strong>    R1:=1;<\/strong><\/p>\n<p><strong>ELSEIF R0 = 150  THEN<\/strong><\/p>\n<p><strong>    R1:=2;<\/strong><\/p>\n<p><strong>ELSE <\/strong><\/p>\n<p><strong>     R1 :=3;<\/strong><\/p>\n<p><strong>END_IF<\/strong><\/p>\n<p><strong>LD<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-002.png\" \/><\/p>\n<h3>1-2 \u65b0\u589eST\u8a9e\u8a00\u7a0b\u5f0f<\/h3>\n<p><strong>\u5efa\u7acb\u65b0\u5c08\u6848                                                  <\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-003.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-004.png\" \/><\/p>\n<p><strong>\u5efa\u7acb\u4e3b\u7a0b\u5f0f\/ \u526f\u7a0b\u5f0f(ST)\u7684\u7bc4\u4f8b                                                                  <\/strong><\/p>\n<p>\u9664\u4e86\u5728\u65b0\u5c08\u6848\u5efa\u7acb\u6642\u53ef\u9078\u64c7\u7de8\u7a0b\u8a9e\u8a00\uff0c\u4e5f\u53ef\u5728\u201d\u4e3b\u7a0b\u5f0f\u201d, \u6216\u662f \u201c\u526f\u7a0b\u5f0f\u201d\u4e0a\u9762\u6309\u6ed1\u9f20\u53f3\u9375\u9078\u64c7\u65b0\u589e\u4e3b\/\u526f \u7a0b\u5f0f\u6642\u6703\u8df3\u51fa\u9078\u64c7\u8996\u7a97<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-005.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-006.png\" \/><\/p>\n<p>\u9078\u64c7\u4e0b\u7d50\u69cb\u5316\u6587\u5b57(ST) \u9078\u9805\u5df2\u65b0\u589e\u5c0d\u61c9\u7684\u7a0b\u5f0f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-007.png\" \/><\/p>\n<p><strong>\u5efa\u7acb\u7279\u6b8a\u7a0b\u5f0f\/\u4e2d\u65b7\u7a0b\u5f0f(ST)\u7684\u7bc4\u4f8b                                                  <\/strong><\/p>\n<p>\u5728\u7279\u6b8a\u7a0b\u5f0f\u7684\u7bc0\u9ede\u4e0a\u9762\u9ede\u53ca\u6ed1\u9f20\u53f3\u9375<\/p>\n<p>\u65b0\u589e\u7279\u6b8a\u7a0b\u5f0f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-008.png\" \/><\/p>\n<p>\u9078\u53d6\u60f3\u8981\u8655\u7406\u7684\u4e2d\u65b7\u8a0a\u865f,\u4ee5\u53ca\u7a0b\u5f0f\u985e\u5225 (ST)<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/mplc-m05-zh-01\/mplc-m05-zh-01-009.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1-1 ST\u8a9e\u8a00\u7684\u7279\u9ede \u65e9\u671f\u7684\u81ea\u52d5\u5316\u63a7\u5236\u5728\u7de8\u8f2f\u53ef\u7a0b\u5f0f\u908f\u8f2f\u63a7\u5236\u5668\u908f\u8f2f\u6642\uff0c\u9808\u900f\u904e\u66f8\u5beb\u5668\u5c07\u985e\u4f3c\u7d44\u5408\u8a9e\u8a00\u7684\u7a0b\u5f0f\u7c21\u78bc\u6307\u4ee4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-3121","post","type-post","status-publish","format-standard","hentry","category-zh-mplc-m05"],"_links":{"self":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/comments?post=3121"}],"version-history":[{"count":0,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3121\/revisions"}],"wp:attachment":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/media?parent=3121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/categories?post=3121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/tags?post=3121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}