Setting up a Dedicated EtherCAT Master Controller Kit and EtherNet IP/Profinet Kit with the Meca500 Industrial Robotic Arm

PB-59-Electromate-KitSetup-400.jpg

August 26, 2022

Written by Nadine Oliynyk

Nadine Oliynyk is an Applications Engineering co-op student at Electromate Inc and second year Mechatronics Engineering student at the University of Waterloo.

In this article, she describes her experience programming the Meca500 industrial robot arm and setting up the dedicated EtherCAT Master Controller Kit and EtherNet IP/Profinet Kit available at Electromate.

The goal of my co-op term was to prepare this kit for customer use by connecting the components and creating sample code and documentation, which would all be available for future users of the control kit.

The Master controller kit includes an Exor HMI with internal PLC, a Galil RIO and the Mecademic Meca500 industrial robot arm with an electric gripper and a three-axis joystick. The HMI and internal PLC are programmable through Exor’s JMobile and CODESYS software.

Although it has always been my passion to work with robots, I had no experience with industrial robotics outside of coursework before starting my co-op term at Electromate. Even with limited experience, the Meca500 control kit systems were relatively straightforward to integrate and program.

The use of a soft PLC made the control kit more user-friendly to integrate and maintain and provided added flexibility when adding or editing devices. The CODESYS software has integrated masters for protocols such as Ethernet and EtherCAT which control and manage slave devices such as the Meca500 and the Galil RIO. Since the Meca500 does not have a proprietary programming language, it can be programmed directly from the PLC in any of the commonly used industrial programming languages compatible with CODESYS. This allowed me to use my experience with PLC programming and state machines to begin programming the Meca500 independently.

My first goal was to create an exciting demo program with an interactive component which could be used in tradeshows. The demo we decided on with the Electromate team was a machine tending application involving the robot communicating with the SIC dot peen engraver to pick and place cards to be engraved with a custom message upon the user’s request. After showcasing the machine tending application, it was time to simplify the program for a short demo move without any additional equipment, so that it could easily be modified to create new projects. I chose to design a simple square move with a pick point which triggered an output on the RIO and could be turned on and off by an input.

As I moved through programming the robot, I found some ways to simplify and improve the process for future projects. Since all motion commands are sent to the Meca500 using the same sequence of PLC outputs, it made sense to create a function block which would pass in the command ID and arguments and output a signal when the command was received by the robot.

This function block could be called every time a motion command needed to be sent to the robot, making the coding process much faster. Furthermore, adding input and output structures that are referenced by the program made it easy to add or remove Meca500 robots or change protocols without having to make any changes to the program itself.

I was also responsible for creating an HMI program using JMobile which would serve as an example program and allow users to control the Meca500 robot through the EtherCAT, EtherNet/IP or Profinet protocols directly from the HMI. I enjoyed having the freedom to decide on features that might be useful based on inspiration from the Meca500 web interface and feedback from my team, as well as my own ideas of what would be useful based on past co-op terms in the manufacturing and technology industries. JMobile and CODESYS can be easily synched by adding a dictionary file with the desired tags from the PLC program, which are updated with every successful download of the project.

After my work with setting up and programming the Meca500 Control Kits, I developed a suggested procedure for programming the robot which allows a simple motion sequence to be turned into a working PLC program in mere minutes. In this procedure, the user starts by connecting to the robot via the built in Meca500 web interface and uses the 3-axis joystick to jog the robot. Desired positions, as well as any additional motion commands or configurations, are recorded before switching to the chosen communication protocol. Each movement is added into the example CODESYS project by calling the function block in a new state. Inputs and outputs from the RIO are included as desired, using the example code as a template. Then, the program is ready to run.

To make getting started with the Meca500 control kits even more intuitive, Electromate is providing the sample programs I created, as well as detailed documentation and video tutorials, to any control kit users.

Source

Related Articles


Changing Scene


Sponsored Content
The Easy Way to the Industrial IoT

The way to the Industrial IoT does not have to be complicated. Whether access to valuable data is required or new, data-driven services are to be generated, Weidmuller enables its customers to go from data to value the easy way. Weidmuller’s comprehensive and cutting-edge IIoT portfolio applies to greenfield and brownfield applications. Weidmuller offers components and solutions from data acquisition, data pre-processing, data communication and data analysis.

Visit Weidmuller’s Industrial IoT Portfolio.


ADVANCED Motion Controls Takes Servo Drives to New Heights (and Depths) with FlexPro Extended Environment Product Line

Advanced Motion Controls is proud to announce the addition of six new CANopen servo drives with Extended Environment capabilities to their FlexPro line. These new drives join AMC’s existing EtherCAT Extended Environment FlexPro drives, making the FlexPro line the go-to solution for motion control applications in harsh environments.

Many motion control applications take place in conditions that are less than ideal, such as extreme temperatures, high and low pressures, shocks and vibrations, and contamination. Electronics, including servo drives, can malfunction or sustain permanent damage in these conditions.

Read More


Service Wire Co. Announces New Titles for Key Executives

Bruce Kesler and Mark Gatewood have been given new titles and responsibilities for Service Wire Co.

Bruce Kesler has assumed the role of Senior Director – Business Development. Bruce will be responsible for Service Wire’s largest strategic accounts and our growing Strategic Accounts Team.

Mark Gatewood has been promoted to the role of Vice President – Sales & Marketing. In this role, Gatewood will lead the efforts of Service Wire Company’s entire sales and marketing organization in all market verticals.

Read More


Tri-Mach Announces the Purchase of an Additional 45,000 sq ft. Facility

Tri-Mach Elmira Facility

Recently, Tri-Mach Inc. was thrilled to announce the addition of a new 45,000 sq ft. facility. Located at 285 Union St., Elmira, ON, this facility expands Tri-Mach’s capabilities, allowing them to better serve the growing needs of their customers.

Positioning for growth, this additional facility will allow Tri-Mach to continue taking on large-scale projects, enhance product performance testing, and provide equipment storage for their customers. The building will also be the new home to their Skilled Trades Centre of Excellence.

Read More


JMP Parent Company, CONVERGIX Acquires AGR Automation, Expanding Global Reach

Convergix Automation Solutions has completed the acquisition of AGR Automation (“AGR”), a UK-based provider of custom, high-performance automation design and systems integration primarily to the life sciences industry.

Following Convergix’s acquisitions of JMP Solutions in August 2021 and Classic Design in February 2022, AGR marks the third investment in Crestview’s strategy to build Convergix into a diversified automation solutions provider targeting the global $500+ billion market, with a particular focus on the $70 billion global systems integration and connectivity segments. Financial terms of the transaction were not disclosed.

Read More


Latest Articles

  • M12 Cables: Enhancing Connectivity Across Industries

    M12 Cables: Enhancing Connectivity Across Industries

    Delivery, reliability, and selection; are three criteria that best describe Proax’s commitment to offering optimal options for in-stock connectivity. In partnership with Phoenix Contact, customers can expect a large range of solutions designed for the safe transmission of signals and power. M12 cables are a type of circular connectors commonly used in industrial automation, ethernet networking, fieldbus… Read More…

  • Record-Breaking Automate 2024 Event Highlights Industry’s Rapid Growth and Innovation

    Record-Breaking Automate 2024 Event Highlights Industry’s Rapid Growth and Innovation

    The largest robotics and automation trade show in North America, Automate, achieved unprecedented success last week with record-breaking attendance and exhibitor participation. 42,895 registrants from around the globe convened at Chicago’s McCormick Place from May 6-9, 2024, to explore the latest advancements in robotics, artificial intelligence and automation technologies. Read More…