{"id":44880,"date":"2021-05-21T15:20:20","date_gmt":"2021-05-21T07:20:20","guid":{"rendered":"https:\/\/www.tm-robot.com\/?post_type=docs&p=44880"},"modified":"2022-08-05T10:54:58","modified_gmt":"2022-08-05T02:54:58","slug":"controlling-tm-robot-by-rockwell-plc-via-ethernet-ip-a-simple-integration-application","status":"publish","type":"docs","link":"https:\/\/www.tm-robot.com.cn\/zh-hans\/docs\/controlling-tm-robot-by-rockwell-plc-via-ethernet-ip-a-simple-integration-application\/","title":{"rendered":"Controlling TM robot by Rockwell PLC via EtherNet\/IP: A Simple Integration Application"},"content":{"rendered":"
This Application White Paper (APPWP) is a guide to help users when using EtherNet\/IP connection with Techman Robot. EtherNet\/IP is an industrial Ethernet protocol developed by Rockwell Automation, managed by ODVA. IP is an abbreviation of Industrial Protocol. EtherNet\/IP is based on TCP\/IP communication protocol, compatible with general IT networks. It can be used in process control and other automation applications, such as factory automation (FA).<\/p>\n
Users can:<\/p>\n
The overall application involves two TM robots serve as EtherNet\/IP slaves and PLC serves as the master. A conveyor delivers an object to the TM robot and executes related actions. This process demonstrates a scenario of a factory production line. The details of the all-in-one process are introduced in this APPWP. Users are able to implement EtherNet\/IP functions by using TM communication protocol. Since EtherNet\/IP is widely used in North America, Techman Robot has implemented EtherNet\/IP protocol for users. Users should note that Techman Robot has no built-in EtherNet\/IP hardware. If users need to utilize EtherNet\/IP, you can purchase this product additionally, contact any TM sales member\/agent\/partner.<\/p>\n The general hardware and software setup can be found here<\/a>. In this application, users are required to prepare an Ethernet Switch and connect the ethernet cable as the figure below.<\/p>\n At the Ethernet Switch, 3 connections are made to PC, robot, PLC respectively.\u00a0 It is an easier way to connect PLC, robot, PC, or other slaves, use an Ethernet switch to connect all devices, and allow the IPs in the same subnet.<\/p>\n <\/a><\/p>\n Detail procedures are provided in\u00a0this AWP, a step-by-step guide of connecting Techman Robot with Rockwell PLC via EtherNet\/IP will be described in the following sections.<\/p>\n The main devices are two TM Robots and a programmable logic controller (PLC), and the programming software is installed on the PC. The configuration of EtherNet\/IP drivers can be found here<\/a>.<\/p>\n <\/a><\/p>\n According to the diagram above, the hardware includes a conveyor, which is run by a motor, with a sensor fixed in the middle of the conveyer. The motor and the sensor are connected to PLC via I\/O. There are two Techman Robots that are settled beside the conveyer. One robot will scan the barcode of the object; the other robot will move away from the object after scanning the barcode. Both Techman Robots are connected to PLC via EtherNet\/IP.<\/p>\n The PC has PLC programming software installed – Studio 5000 – and the user can use this software to program the ladder diagram. The PC is connected to the PLC via Ethernet. The object is a package box that has a barcode on it.<\/p>\n Four devices are using Ethernet connections. There are PLC, Robot A, Robot B, and PC because the PLC device that we used doesn\u2019t have enough protocol, there is an additional switch to connect with those devices. Every device should be set in the same domain (255.255.255.0). As shown in this example, the IP of all devices should be set below 192.168.250.xx.<\/p>\n IP Configuration (an example)<\/strong><\/p>\n
\n<\/a><\/p>\nSystem Configuration<\/h1>\n
Hardware Configuration<\/h2>\n
\n
\n
\n
\n
\n
\n
Ethernet Configuration<\/h2>\n
\n