{"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&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:\/\/www.tm-robot.com.cn\/en\/docs\/read-write-values-to-a-plc-via-ethernet-ip\/","title":{"rendered":"[EtherNet\/IP] Read\/Write Values to a PLC"},"content":{"rendered":"
———————————————————-
\nEtherNet\/IP functions are applicable to:
\nTMflow Software version: v1.82.1000 or above
\nTM robot Hardware version: HW 3.0 or above<\/p>\n
———————————————————-<\/p>\n
Detailed explanations and examples can be found in the Expression Editor Manual<\/a>.<\/p>\n Setting up TM official data type, the tutorial can be found here<\/a>.<\/p>\n Step #1: Creating a blank TMflow project and create a project name. Step#2: Insert a ‘SET’ node Step #3: Click the pencil icon on the upper left corner. Step #3: Click on the right box (green area). A\u00a0 pop-up window is shown. Step #4: Choose ‘Connection’, and select ‘EtherNet\/IP’ Step #5: Choose any function Step #6: Choose any item, and click ‘ok’. Step #7: Click ‘Insert’ and click ‘ok’ then. Step #8a: Create a variable to store the results. The data type must be compatible.<\/em> Step #8b: Select variable data type. Step #8c: Create a variable name and click\u00a0 ‘ok’. Using TMflow to read\/send value to a PLC<\/h1>\n
<\/a><\/p>\n
<\/a> from the left panel.\u00a0
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/p>\n
<\/p>\n
<\/a><\/p>\n