{"id":1261,"date":"2020-12-08T23:19:44","date_gmt":"2020-12-08T14:19:44","guid":{"rendered":"https:\/\/extralab.org\/wp\/?p=1261"},"modified":"2021-02-06T11:17:34","modified_gmt":"2021-02-06T02:17:34","slug":"plc-keyence-link-tcp-sample","status":"publish","type":"post","link":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/","title":{"rendered":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f"},"content":{"rendered":"<h1>\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f<\/h1>\n<h2>\u30ad\u30fc\u30a8\u30f3\u30b9<\/h2>\n<p>\u30ad\u30fc\u30a8\u30f3\u30b9\u88fd\u306ePLC\u3092\u4f7f\u7528\u3057\u3066PC\u3068\u306e\u901a\u4fe1\u3092\u78ba\u7acb\u3059\u308bPLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u6a5f\u80fd\u3092\u8a66\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>\u6a5f\u7a2e\u554f\u5408\u305b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6295\u3052\u308b\u3068\u3069\u3046\u8fd4\u3063\u3066\u304f\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u753b\u9762\u8a2d\u8a08<\/h2>\n<p>\u4eca\u56de\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u3001\u5b9f\u884c\u30dc\u30bf\u30f3\u3068\u3001\u7d50\u679c\u8868\u793a\u30c6\u30ad\u30b9\u30c8\u30dc\u30bf\u30f3\u3092\u914d\u7f6e\u3002\u3042\u3068\u306f\u3001\u597d\u307f\u3067\u30bf\u30a4\u30de\u30fc(Tick)\u3092\u8a2d\u5b9a\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1262\" src=\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link.png\" alt=\"plc_link\" width=\"280\" height=\"108\" \/>\n<h2>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n<pre class=\"lang:c# decode:true\" title=\"PLC_TCP_link_?k\">using System;\r\nusing System.Net.Sockets;\r\nusing System.Text;\r\nusing System.Windows.Forms;\r\n\r\nnamespace Tcp_plc_link\r\n{\r\n    public partial class Form1 : Form\r\n    {\r\n        public Form1()\r\n        {\r\n            InitializeComponent();\r\n        }\r\n\r\n        private TcpClient tcpclient = new TcpClient();\r\n        private NetworkStream netstream;\r\n\r\n        \/\/\/ &lt;summary&gt;\r\n        \/\/\/ \u753b\u9762\u8d77\u52d5\u6642\u51e6\u7406\r\n        \/\/\/ &lt;\/summary&gt;\r\n        \/\/\/ &lt;param name=\"sender\"&gt;&lt;\/param&gt;\r\n        \/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\r\n        private void Form1_Load(object sender, EventArgs e)\r\n        {\r\n            \/\/ TCP\u63a5\u7d9a\u3000PLC\u5074\u306eIP\u30a2\u30c9\u30ec\u30b9\u6307\u5b9a  PLC\u30ea\u30f3\u30af\u901a\u4fe1\u30dd\u30fc\u30c8:8501  \u203bPC\u5074\u3068PLC\u5074\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u540c\u4e00\u30cd\u30c3\u30c8\u30ef\u30fc\u30af(\u30b5\u30d6\u30cd\u30c3\u30c8\u30de\u30b9\u30af\u7bc4\u56f2\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068)\r\n            tcpclient.Connect(\"196.68.10.5\", 8501);\r\n            \/\/ \u30b9\u30c8\u30ea\u30fc\u30e0\u53d6\u5f97\r\n            netstream = tcpclient.GetStream();\r\n        }\r\n\r\n        \/\/\/ &lt;summary&gt;\r\n        \/\/\/ \u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\r\n        \/\/\/ &lt;\/summary&gt;\r\n        \/\/\/ &lt;param name=\"sender\"&gt;&lt;\/param&gt;\r\n        \/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\r\n        private void button1_Click(object sender, EventArgs e)\r\n        {\r\n            \/\/\u6a5f\u7a2e\u554f\u5408\u305b\u30b3\u30de\u30f3\u30c9\u300c?K\u300d\r\n            byte[] send = Encoding.GetEncoding(\"SHIFT-JIS\").GetBytes(\"?K\\r\"); \r\n            \/\/\u9001\u4fe1\r\n            netstream.Write(send, 0, send.GetLength(0));\r\n\r\n            \r\n            byte[] receive = new byte[tcpclient.Available];\r\n            \/\/\u53d7\u4fe1\r\n            netstream.Read(receive, 0, receive.Length);\r\n            \r\n            \/\/\u7d50\u679c\u8868\u793a\r\n            textBox1.Text = Encoding.GetEncoding(\"SHIFT-JIS\").GetString(receive);\r\n        }\r\n\r\n        \/\/\/ &lt;summary&gt;\r\n        \/\/\/ \u30bf\u30a4\u30de\u30fc\r\n        \/\/\/ &lt;\/summary&gt;\r\n        \/\/\/ &lt;param name=\"sender\"&gt;&lt;\/param&gt;\r\n        \/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\r\n        private void timer1_Tick(object sender, EventArgs e)\r\n        {\r\n            \/\/ \u53d7\u4fe1\r\n            if (tcpclient.Available &gt; 0)\r\n            {\r\n                byte[] receive = new byte[tcpclient.Available];\r\n                netstream.Read(receive, 0, receive.GetLength(0));\r\n                MessageBox.Show(Encoding.GetEncoding(\"SHIFT-JIS\").GetString(receive));\r\n            }\r\n        }\r\n\r\n        \/\/\/ &lt;summary&gt;\r\n        \/\/\/ Form\u3000Close\r\n        \/\/\/ &lt;\/summary&gt;\r\n        \/\/\/ &lt;param name=\"sender\"&gt;&lt;\/param&gt;\r\n        \/\/\/ &lt;param name=\"e\"&gt;&lt;\/param&gt;\r\n        private void Form1_FormClosed(object sender, FormClosedEventArgs e)\r\n        {\r\n            netstream.Close();\r\n            tcpclient.Close();\r\n        }\r\n    }\r\n}<\/pre>\n<h2>\u7d50\u679c<\/h2>\n<p>PLC\uff1aKV-7500\u306e\u5834\u5408\u21d2\u300c55\u300d\u304c\u8fd4\u3063\u3066\u304f\u308b\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1263\" src=\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_result.png\" alt=\"plc_link_result\" width=\"268\" height=\"100\" \/>\n<p>\u2605\u6a5f\u7a2e\u5225\u306eresponse\u306e\u5024\u4e00\u89a7\u2605<\/p>\n<p>KV-8000 \u3000\uff1a\u201857\u2019\uff0835H\u300137H\uff09<br \/>\nKV-7300 \u3000\uff1a\u201854\u2019\uff0835H\u300134H\uff09<br \/>\nKV-7500 \u3000\uff1a\u201855\u2019\uff0835H\u300135H\uff09<br \/>\nKV-3000 \u3000\uff1a\u201851\u2019\uff0835H\u300131H\uff09<br \/>\nKV-5000 \u3000\uff1a\u201852\u2019\uff0835H\u300132H\uff09<br \/>\nKV-5500 \u3000\uff1a\u201853\u2019\uff0835H\u300133H\uff09<br \/>\nKV-NC32T \uff1a\u2018128\u2019\uff0831H\u300132H\u300138H\uff09<\/p>\n<h2>\u30a8\u30e9\u30fc<\/h2>\n<p>IP\u30a2\u30c9\u30ec\u30b9\u304c\u9055\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<blockquote><p>System.Net.Sockets.SocketException: &#8216;\u63a5\u7d9a\u6e08\u307f\u306e\u547c\u3073\u51fa\u3057\u5148\u304c\u4e00\u5b9a\u306e\u6642\u9593\u3092\u904e\u304e\u3066\u3082\u6b63\u3057\u304f\u5fdc\u7b54\u3057\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u307e\u305f\u306f\u63a5\u7d9a\u6e08\u307f\u306e\u30db\u30b9\u30c8\u304c\u5fdc\u7b54\u3057\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u78ba\u7acb\u3055\u308c\u305f\u63a5\u7d9a\u306f\u5931\u6557\u3057\u307e\u3057\u305f\u3002<\/p><\/blockquote>\n<p>PC\u5074\u306eIP\u30a2\u30c9\u30ec\u30b9\u3068PLC\u5074\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u540c\u4e00\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4f8b. PC\u21d2192.178.10.30\u00a0 \u00a0 PLC\u21d2192.178.10.15<\/p>\n<p>\u30dd\u30fc\u30c8\u756a\u53f7\uff1a8501\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u3067\u306b\u4ed6\u306e\u30a2\u30d7\u30ea\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u3042\u3068\u304c\u304d<\/h2>\n<p>PLC\u30ea\u30f3\u30af\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u73fe\u5834\u306f\u3069\u308c\u307b\u3069\u3042\u308b\u306e\u3060\u308d\u3046\u304b\uff1f<\/p>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u306e\u4e2d\u3067\u306f\u7d50\u69cb\u30a2\u30af\u30bb\u30b9\u304c\u3042\u308b\u306e\u3067\u3001\u9700\u8981\u304c\u3042\u308b\u306e\u304b\u306a\u3002\u3002<\/p>\n<p>\u73fe\u5834\u3067\u306f\u3001\u3069\u306e\u3088\u3046\u306a\u6d3b\u7528\u304c\u3055\u308c\u3066\u3044\u308b\u306e\u304b\uff1f<\/p>\n<p>\u79c1\u306e\u5834\u5408\u306f\u3001\u30c8\u30ec\u30fc\u30b5\u30d3\u30ea\u30c6\u30a3\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u7bc9\u3001\u30c7\u30fc\u30bf\u306e\u898b\u3048\u308b\u5316\u3067\u50be\u5411\u7ba1\u7406\u306a\u3069\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f \u30ad\u30fc\u30a8\u30f3\u30b9 \u30ad\u30fc\u30a8\u30f3\u30b9\u88fd\u306ePLC\u3092\u4f7f\u7528\u3057\u3066PC\u3068\u306e\u901a\u4fe1\u3092\u78ba\u7acb\u3059\u308bPLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u6a5f\u80fd\u3092\u8a66\u3057\u3066\u307f\u308b\u3002 \u6a5f\u7a2e\u554f\u5408\u305b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6295&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1266,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[54,44,50],"tags":[245,244,243,202,242,131],"class_list":{"0":"post-1261","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-csharp","8":"category-programing","9":"category-productivity","10":"tag-245","11":"tag-244","12":"tag-243","13":"tag-keyence","14":"tag-kv","15":"tag-plc","16":"article cf"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f - Extra-Lab<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f - Extra-Lab\" \/>\n<meta property=\"og:description\" content=\"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f \u30ad\u30fc\u30a8\u30f3\u30b9 \u30ad\u30fc\u30a8\u30f3\u30b9\u88fd\u306ePLC\u3092\u4f7f\u7528\u3057\u3066PC\u3068\u306e\u901a\u4fe1\u3092\u78ba\u7acb\u3059\u308bPLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u6a5f\u80fd\u3092\u8a66\u3057\u3066\u307f\u308b\u3002 \u6a5f\u7a2e\u554f\u5408\u305b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6295...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\" \/>\n<meta property=\"og:site_name\" content=\"Extra-Lab\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-08T14:19:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-06T02:17:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1712\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"extralab_sf\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/s_fuku_s\" \/>\n<meta name=\"twitter:site\" content=\"@s_fuku_s\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"extralab_sf\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\"},\"author\":{\"name\":\"extralab_sf\",\"@id\":\"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426\"},\"headline\":\"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f\",\"datePublished\":\"2020-12-08T14:19:44+00:00\",\"dateModified\":\"2021-02-06T02:17:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\"},\"wordCount\":52,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426\"},\"image\":{\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg\",\"keywords\":[\"5500\",\"7500\",\"8000\",\"keyence\",\"kv\",\"PLC\"],\"articleSection\":[\"C#.NET\",\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\",\"\u4ed5\u4e8b\u52b9\u7387\u5316\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\",\"url\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\",\"name\":\"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f - Extra-Lab\",\"isPartOf\":{\"@id\":\"https:\/\/extralab.org\/wp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg\",\"datePublished\":\"2020-12-08T14:19:44+00:00\",\"dateModified\":\"2021-02-06T02:17:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage\",\"url\":\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg\",\"contentUrl\":\"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg\",\"width\":2560,\"height\":1712},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/extralab.org\/wp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/extralab.org\/wp\/#website\",\"url\":\"https:\/\/extralab.org\/wp\/\",\"name\":\"Extra-Lab\",\"description\":\"\u6620\u753b\u9451\u8cde\u3001\u81ea\u4f5cPC\u3001\u81ea\u5df1\u5553\u767a\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30ad\u30eb(java,javaFX,C#.NET,SQL,OracleDB,H2DataBase)\u3001\u6295\u8cc7(\u682a\u5f0f\u6295\u8cc7)\u3001\u30a2\u30a4\u30c9\u30eb\u8ffd\u3063\u304b\u3051\u3001\u4ff3\u512a\u632b\u6298\u3001\u597d\u5947\u5fc3\u65fa\u76db\u306a\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30ca\u30fc\",\"publisher\":{\"@id\":\"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/extralab.org\/wp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426\",\"name\":\"extralab_sf\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g\",\"caption\":\"extralab_sf\"},\"logo\":{\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g\"},\"description\":\"\u7530\u820e\u80b2\u3061\u3001\u6771\u4eac\u306b\u61a7\u308c\u3001\u72ec\u7acb\u5fc3\u3001\u6311\u6226\u3092\u5fc3\u639b\u3051\u308b\u3002 \u597d\u5947\u5fc3\u65fa\u76db\u3067\u597d\u304d\u306a\u4e8b\u3092\u3057\u3066\u751f\u304d\u3066\u3044\u304f\u3002 \u4eba\u751f\u306f\u4e00\u5ea6\u304d\u308a\u3002\u672a\u6765\u306f\u81ea\u5206\u3067\u9078\u629e\u3067\u304d\u308b\u3002\",\"sameAs\":[\"https:\/\/extralab.org\/wp\/\",\"https:\/\/www.instagram.com\/satoshi_extralab\/?hl=ja\",\"https:\/\/x.com\/https:\/\/twitter.com\/s_fuku_s\",\"https:\/\/www.youtube.com\/channel\/UCBLYKKfY3A0XHFGuE0YGJdA\"],\"url\":\"https:\/\/extralab.org\/wp\/blog\/author\/extralab_sf\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f - Extra-Lab","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:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/","og_locale":"ja_JP","og_type":"article","og_title":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f - Extra-Lab","og_description":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f \u30ad\u30fc\u30a8\u30f3\u30b9 \u30ad\u30fc\u30a8\u30f3\u30b9\u88fd\u306ePLC\u3092\u4f7f\u7528\u3057\u3066PC\u3068\u306e\u901a\u4fe1\u3092\u78ba\u7acb\u3059\u308bPLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u6a5f\u80fd\u3092\u8a66\u3057\u3066\u307f\u308b\u3002 \u6a5f\u7a2e\u554f\u5408\u305b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6295...","og_url":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/","og_site_name":"Extra-Lab","article_published_time":"2020-12-08T14:19:44+00:00","article_modified_time":"2021-02-06T02:17:34+00:00","og_image":[{"width":2560,"height":1712,"url":"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg","type":"image\/jpeg"}],"author":"extralab_sf","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/s_fuku_s","twitter_site":"@s_fuku_s","twitter_misc":{"\u57f7\u7b46\u8005":"extralab_sf","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#article","isPartOf":{"@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/"},"author":{"name":"extralab_sf","@id":"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426"},"headline":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f","datePublished":"2020-12-08T14:19:44+00:00","dateModified":"2021-02-06T02:17:34+00:00","mainEntityOfPage":{"@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/"},"wordCount":52,"commentCount":0,"publisher":{"@id":"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426"},"image":{"@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage"},"thumbnailUrl":"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg","keywords":["5500","7500","8000","keyence","kv","PLC"],"articleSection":["C#.NET","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u4ed5\u4e8b\u52b9\u7387\u5316"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/","url":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/","name":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f - Extra-Lab","isPartOf":{"@id":"https:\/\/extralab.org\/wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage"},"image":{"@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage"},"thumbnailUrl":"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg","datePublished":"2020-12-08T14:19:44+00:00","dateModified":"2021-02-06T02:17:34+00:00","breadcrumb":{"@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#primaryimage","url":"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg","contentUrl":"https:\/\/extralab.org\/wp\/wp-content\/uploads\/2020\/12\/plc_link_sample-scaled.jpg","width":2560,"height":1712},{"@type":"BreadcrumbList","@id":"https:\/\/extralab.org\/wp\/blog\/2020\/12\/08\/plc-keyence-link-tcp-sample\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extralab.org\/wp\/"},{"@type":"ListItem","position":2,"name":"\u3010PLC\u4e0a\u4f4d\u30ea\u30f3\u30af\u901a\u4fe1\u3011C#\u3067TCP\u901a\u4fe1\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3092\u4f7f\u7528\u3057\u3066PLC\u306b\u6a5f\u7a2e\u554f\u5408\u305b\u3092\u3057\u3066\u307f\u305f"}]},{"@type":"WebSite","@id":"https:\/\/extralab.org\/wp\/#website","url":"https:\/\/extralab.org\/wp\/","name":"Extra-Lab","description":"\u6620\u753b\u9451\u8cde\u3001\u81ea\u4f5cPC\u3001\u81ea\u5df1\u5553\u767a\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30ad\u30eb(java,javaFX,C#.NET,SQL,OracleDB,H2DataBase)\u3001\u6295\u8cc7(\u682a\u5f0f\u6295\u8cc7)\u3001\u30a2\u30a4\u30c9\u30eb\u8ffd\u3063\u304b\u3051\u3001\u4ff3\u512a\u632b\u6298\u3001\u597d\u5947\u5fc3\u65fa\u76db\u306a\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30ca\u30fc","publisher":{"@id":"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/extralab.org\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/extralab.org\/wp\/#\/schema\/person\/08765162da76c96842cc20d837e31426","name":"extralab_sf","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g","caption":"extralab_sf"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/5e81ff919e25d0bc6f9d6038f4004fdd3cf90f7964dc22474e797e5f18da01b6?s=96&d=mm&r=g"},"description":"\u7530\u820e\u80b2\u3061\u3001\u6771\u4eac\u306b\u61a7\u308c\u3001\u72ec\u7acb\u5fc3\u3001\u6311\u6226\u3092\u5fc3\u639b\u3051\u308b\u3002 \u597d\u5947\u5fc3\u65fa\u76db\u3067\u597d\u304d\u306a\u4e8b\u3092\u3057\u3066\u751f\u304d\u3066\u3044\u304f\u3002 \u4eba\u751f\u306f\u4e00\u5ea6\u304d\u308a\u3002\u672a\u6765\u306f\u81ea\u5206\u3067\u9078\u629e\u3067\u304d\u308b\u3002","sameAs":["https:\/\/extralab.org\/wp\/","https:\/\/www.instagram.com\/satoshi_extralab\/?hl=ja","https:\/\/x.com\/https:\/\/twitter.com\/s_fuku_s","https:\/\/www.youtube.com\/channel\/UCBLYKKfY3A0XHFGuE0YGJdA"],"url":"https:\/\/extralab.org\/wp\/blog\/author\/extralab_sf\/"}]}},"_links":{"self":[{"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/posts\/1261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/comments?post=1261"}],"version-history":[{"count":4,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/posts\/1261\/revisions"}],"predecessor-version":[{"id":1268,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/posts\/1261\/revisions\/1268"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/media\/1266"}],"wp:attachment":[{"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/media?parent=1261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/categories?post=1261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extralab.org\/wp\/wp-json\/wp\/v2\/tags?post=1261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}