{"id":45180,"date":"2021-05-21T15:11:26","date_gmt":"2021-05-21T07:11:26","guid":{"rendered":"https:\/\/www.tm-robot.com\/?post_type=docs&#038;p=45180"},"modified":"2022-08-05T10:55:04","modified_gmt":"2022-08-05T02:55:04","slug":"read-write-values-to-a-plc-via-ethernet-ip","status":"publish","type":"docs","link":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/","title":{"rendered":"[EtherNet\/IP] Read\/Write Values to a PLC"},"content":{"rendered":"<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nEtherNet\/IP functions are applicable to:<br \/>\nTMflow Software version: v1.82.1000 or above<br \/>\nTM robot Hardware version: HW 3.0 or above<\/p>\n<ul>\n<li>For hardware configuration of ethernet\/ip, please refer to <a href=\"https:\/\/www.tm-robot.com\/en\/docs\/ethernet-ip-communication-protocol-on-tm\/\">this link,<\/a><\/li>\n<li>For driver configuration tutorial, please refer <a href=\"https:\/\/www.tm-robot.com\/en\/docs\/configuring-ethernet-ip-devices\/\">here<\/a>.<\/li>\n<\/ul>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<h1>Functions<\/h1>\n<ul>\n<li><strong>Read Functions<\/strong>\n<ul>\n<li>eip_read_input()<\/li>\n<li>eip_read_input_int()<\/li>\n<li>eip_read_input_float()<\/li>\n<li>eip_read_input_string()<\/li>\n<li>eip_read_input_bit()<\/li>\n<li>eip_read_output()<\/li>\n<li>eip_read_output_int()<\/li>\n<li>eip_read_output_float()<\/li>\n<li>eip_read_output_string()<\/li>\n<li>eip_read_output_bit()<\/li>\n<\/ul>\n<\/li>\n<li><strong>Write Functions<\/strong>\n<ul>\n<li>eip_write_output()<\/li>\n<li>eip_write_output_bit()<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Detailed explanations and examples can be found in the <a href=\"https:\/\/www.tm-robot.com\/en\/wpdmdownload\/expression-editor-and-listen-node_1-82_rev1-00\/\">Expression Editor Manual<\/a>.<\/p>\n<p>Setting up TM official data type, the tutorial can be found <a href=\"https:\/\/www.tm-robot.com\/en\/docs\/mapping-tm-registers-to-certified\/\">here<\/a>.<\/p>\n<h1>Using TMflow to read\/send value to a PLC<\/h1>\n<p>Step #1: Creating a blank TMflow project and create a project name.<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45300 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png\" alt=\"\" width=\"1024\" height=\"504\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1000x492.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-768x378.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1536x756.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-330x162.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-736x362.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1280x630.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-414x204.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364.png 1891w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step#2: Insert a &#8216;SET&#8217; node<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set_node-e1621578190765.png\"><img loading=\"lazy\" class=\"alignnone wp-image-45227\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set_node-e1621578190765.png\" alt=\"\" width=\"34\" height=\"34\" \/><\/a> from the left panel.\u00a0<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project2.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45295 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-1024x505.png\" alt=\"\" width=\"1024\" height=\"505\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-1024x505.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-1000x494.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-768x379.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-1536x758.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-330x163.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-736x363.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-1280x632.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377-414x204.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/new-project2-e1621577798377.png 1886w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step #3: Click the pencil icon on the upper left corner.<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set_1.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45232 size-full\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140.png\" alt=\"\" width=\"971\" height=\"498\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140.png 971w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140-300x154.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140-768x394.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140-600x308.png 600w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140-330x169.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140-736x377.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_1-e1621577573140-414x212.png 414w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/a><\/p>\n<p>Step #3: Click on the right box (green area). A\u00a0 pop-up window is shown.<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set_2.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45237 size-full\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177.png\" alt=\"\" width=\"971\" height=\"500\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177.png 971w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177-300x154.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177-768x395.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177-600x309.png 600w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177-330x170.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177-736x379.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/set_2-e1621577222177-414x213.png 414w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/a><\/p>\n<p>Step #4: Choose &#8216;Connection&#8217;, and select &#8216;EtherNet\/IP&#8217;<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-1.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45290 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-1024x516.png\" alt=\"\" width=\"1024\" height=\"516\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-1024x516.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-1000x504.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-300x151.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-768x387.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-1536x774.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-330x166.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-736x371.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-1280x645.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875-414x209.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-1-e1621576570875.png 1857w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step #5: Choose any function<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-2.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45285 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-1024x505.png\" alt=\"\" width=\"1024\" height=\"505\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-1024x505.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-1000x494.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-768x379.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-1536x758.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-330x163.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-736x363.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-1280x632.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581-414x204.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-2-e1621577487581.png 1886w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step #6: Choose any item, and click &#8216;ok&#8217;.<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-3.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45280 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-1024x513.png\" alt=\"\" width=\"1024\" height=\"513\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-1024x513.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-1000x501.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-300x150.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-768x385.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-1536x770.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-330x165.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-600x300.png 600w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-1200x600.png 1200w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-736x369.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-1280x641.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117-414x207.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-3-e1621577426117.png 1886w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step #7: Click &#8216;Insert&#8217; and click &#8216;ok&#8217; then.<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-4.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45314 size-large\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4-1024x555.png\" alt=\"\" width=\"1024\" height=\"555\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4-1024x555.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4-1000x542.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4-300x163.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4-768x416.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4-1536x832.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-4.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step #8a: Create a variable to store the results. <em>The data type must be compatible.<\/em><img loading=\"lazy\" class=\"aligncenter wp-image-45275 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-1024x507.png\" alt=\"\" width=\"1024\" height=\"507\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-1024x507.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-1000x495.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-768x380.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-1536x760.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-330x163.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-736x364.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-1280x634.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842-414x205.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable01-e1621578628842.png 1891w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Step #8b: Select variable data type.<img loading=\"lazy\" class=\"aligncenter wp-image-45270 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-1024x507.png\" alt=\"\" width=\"1024\" height=\"507\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-1024x507.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-1000x495.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-768x380.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-1536x760.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-330x163.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-736x364.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-1280x634.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568-414x205.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable02-e1621578681568.png 1891w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Step #8c: Create a variable name and click\u00a0 &#8216;ok&#8217;. <a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/variable03.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45265 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-1024x504.png\" alt=\"\" width=\"1024\" height=\"504\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-1024x504.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-1000x492.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-768x378.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-1536x756.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-330x162.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-736x362.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-1280x630.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574-414x204.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/variable03-e1621578729574.png 1891w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Step #9:\u00a0 Click &#8216;Add&#8217; to add one expression to the set node.<a href=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-6.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-45319 size-large\" src=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-1024x507.png\" alt=\"\" width=\"1024\" height=\"507\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-1024x507.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-1000x495.png 1000w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-768x380.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-1536x760.png 1536w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-330x163.png 330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-736x364.png 736w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-1280x634.png 1280w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786-414x205.png 414w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/eip-6-e1621580996786.png 1891w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>The EtherNet\/IP function is set successfully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- EtherNet\/IP functions are applicable to: TMflow Software version: v1.82.1000 or above TM robot Hardware version: HW 3.0 or above For hardware configuration of ethernet\/ip, please refer to this link, For driver configuration tutorial, please refer here. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Functions Read Functions eip_read_input() eip_read_input_int() eip_read_input_float() eip_read_input_string() eip_read_input_bit() eip_read_output() eip_read_output_int() eip_read_output_float() eip_read_output_string() eip_read_output_bit() Write Functions eip_write_output() eip_write_output_bit() [&hellip;]<\/p>\n","protected":false},"author":3205,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[4145],"doc_tag":[2508,2506,2499],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[EtherNet\/IP] Read\/Write Values to a PLC | Techman Robot<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[EtherNet\/IP] Read\/Write Values to a PLC | Techman Robot\" \/>\n<meta property=\"og:description\" content=\"&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- EtherNet\/IP functions are applicable to: TMflow Software version: v1.82.1000 or above TM robot Hardware version: HW 3.0 or above For hardware configuration of ethernet\/ip, please refer to this link, For driver configuration tutorial, please refer here. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Functions Read Functions eip_read_input() eip_read_input_int() eip_read_input_float() eip_read_input_string() eip_read_input_bit() eip_read_output() eip_read_output_int() eip_read_output_float() eip_read_output_string() eip_read_output_bit() Write Functions eip_write_output() eip_write_output_bit() [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/\" \/>\n<meta property=\"og:site_name\" content=\"Techman Robot\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-05T02:55:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png\" \/>\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\":\"Organization\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#organization\",\"name\":\"Techman Robot\",\"url\":\"https:\/\/www.tm-robot.com.cn\/de\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#logo\",\"inLanguage\":\"ko-KR\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"width\":221,\"height\":196,\"caption\":\"Techman Robot\"},\"image\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#website\",\"url\":\"https:\/\/www.tm-robot.com.cn\/de\/\",\"name\":\"Techman Robot\",\"description\":\"Intelligent Cobots for a World of Applications\",\"publisher\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tm-robot.com.cn\/de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#primaryimage\",\"inLanguage\":\"ko-KR\",\"url\":\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png\",\"contentUrl\":\"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#webpage\",\"url\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/\",\"name\":\"[EtherNet\/IP] Read\/Write Values to a PLC | Techman Robot\",\"isPartOf\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#primaryimage\"},\"datePublished\":\"2021-05-21T07:11:26+00:00\",\"dateModified\":\"2022-08-05T02:55:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tm-robot.com.cn\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www2.tm-robot.com\/ko\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"[EtherNet\/IP] Read\/Write Values to a PLC\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[EtherNet\/IP] Read\/Write Values to a PLC | Techman Robot","robots":{"index":"noindex","follow":"follow"},"og_locale":"ko_KR","og_type":"article","og_title":"[EtherNet\/IP] Read\/Write Values to a PLC | Techman Robot","og_description":"&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- EtherNet\/IP functions are applicable to: TMflow Software version: v1.82.1000 or above TM robot Hardware version: HW 3.0 or above For hardware configuration of ethernet\/ip, please refer to this link, For driver configuration tutorial, please refer here. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Functions Read Functions eip_read_input() eip_read_input_int() eip_read_input_float() eip_read_input_string() eip_read_input_bit() eip_read_output() eip_read_output_int() eip_read_output_float() eip_read_output_string() eip_read_output_bit() Write Functions eip_write_output() eip_write_output_bit() [&hellip;]","og_url":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/","og_site_name":"Techman Robot","article_modified_time":"2022-08-05T02:55:04+00:00","og_image":[{"url":"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.tm-robot.com.cn\/de\/#organization","name":"Techman Robot","url":"https:\/\/www.tm-robot.com.cn\/de\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com.cn\/de\/#logo","inLanguage":"ko-KR","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","width":221,"height":196,"caption":"Techman Robot"},"image":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.tm-robot.com.cn\/de\/#website","url":"https:\/\/www.tm-robot.com.cn\/de\/","name":"Techman Robot","description":"Intelligent Cobots for a World of Applications","publisher":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tm-robot.com.cn\/de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"ImageObject","@id":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#primaryimage","inLanguage":"ko-KR","url":"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png","contentUrl":"https:\/\/www.tm-robot.com\/wp-content\/uploads\/2021\/05\/new-project1-e1621578068364-1024x504.png"},{"@type":"WebPage","@id":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#webpage","url":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/","name":"[EtherNet\/IP] Read\/Write Values to a PLC | Techman Robot","isPartOf":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#primaryimage"},"datePublished":"2021-05-21T07:11:26+00:00","dateModified":"2022-08-05T02:55:04+00:00","breadcrumb":{"@id":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www2.tm-robot.com\/ko\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tm-robot.com.cn\/ko\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www2.tm-robot.com\/ko\/docs\/"},{"@type":"ListItem","position":3,"name":"[EtherNet\/IP] Read\/Write Values to a PLC"}]}]}},"_links":{"self":[{"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/docs\/45180"}],"collection":[{"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/users\/3205"}],"replies":[{"embeddable":true,"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/comments?post=45180"}],"version-history":[{"count":1,"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/docs\/45180\/revisions"}],"predecessor-version":[{"id":133017,"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/docs\/45180\/revisions\/133017"}],"wp:attachment":[{"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/media?parent=45180"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/doc_category?post=45180"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www2.tm-robot.com\/ko\/wp-json\/wp\/v2\/doc_tag?post=45180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}