0% found this document useful (0 votes)
30 views13 pages

EtherNetIP - Read - Write Values To A PLC

This document provides instructions for reading and writing values to a PLC via EtherNet/IP using TMflow software. It describes the required software and hardware versions, lists the available read and write functions, and gives a 9-step process for setting up and using an EtherNet/IP function node in TMflow to read or write values including selecting the connection type, function, item, and creating a compatible variable to store the results.

Uploaded by

DG Roberto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views13 pages

EtherNetIP - Read - Write Values To A PLC

This document provides instructions for reading and writing values to a PLC via EtherNet/IP using TMflow software. It describes the required software and hardware versions, lists the available read and write functions, and gives a 9-step process for setting up and using an EtherNet/IP function node in TMflow to read or write values including selecting the connection type, function, item, and creating a compatible variable to store the results.

Uploaded by

DG Roberto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Firefox https://www.tm-robot.

com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

[EtherNet/IP] Read/Write Values to a PLC


———————————————————-
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.

———————————————————-

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()

Detailed explanations and examples can be found in the Expression Editor Manual.

Setting up TM official data type, the tutorial can be found here.

Using TMflow to read/send value to a PLC #

1 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #1: Creating a blank TMflow project and create a project name.

2 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step#2: Insert a ‘SET’ node from the left panel.

3 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #3: Click the pencil icon on the upper left corner.

4 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #3: Click on the right box (green area). A pop-up window is shown.

5 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #4: Choose ‘Connection’, and select ‘EtherNet/IP’

6 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #5: Choose any function

7 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #6: Choose any item, and click ‘ok’.

8 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #7: Click ‘Insert’ and click ‘ok’ then.

Step #8a: Create a variable to store the results. The data type must be compatible.

9 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

10 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #8b: Select variable data type.

11 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #8c: Create a variable name and click ‘ok’.

12 de 13 20/09/2023, 11:57 a. m.
Firefox https://www.tm-robot.com/en/docs/read-write-values-to-a-plc-via-ethernet-ip/

Step #9: Click ‘Add’ to add one expression to the set node.

The EtherNet/IP function is set successfully.

13 de 13 20/09/2023, 11:57 a. m.

You might also like