Overview
Integrating a FAIRINO cobot with a MEGMEET welding system requires a robust communication bridge to synchronize robotic motion with critical welding parameters such as voltage, current, and arc ignition. This synchronization is essential to prevent weld defects and ensure operator safety.
This article focus over how you can integrate your cobot with MEGMEET welding system using a cobot as modbus master.
Before delving into the integration details, it's important to know that this kind of integration generally come in two different options distinct system architectures to consider:
Architecture 1: PLC-Centric Control
In this configuration, a programmable logic controller (PLC) acts as the supervisory node for the entire cell.
System Logic: The PLC simultaneously manages the FAIRINO cobot arm and the MEGMEET.
Data Flow: The PLC sends motion commands to the cobot (often via Modbus TCP or EtherCAT) and parameters (voltage/current) to the welder.
Architecture 2: Cobot-Centric Control
In this configuration, the FAIRINO cobot acts as the master node, directly commanding the welding equipment.
System Logic: The robot controller runs the primary logic (often via LUA scripting). It initiates the weld sequence and adjusts MEGMEET parameters in real-time based on the robot's trajectory.
Data Flow: The FAIRINO controller communicates directly with the welder—typically using Modbus TCP to interface with a gateway (like the PXB-6021DM) which then bridges to the welder's internal CANopen or analog protocols.
Please ensure that the welding machine is operated safely and cannot harm anyone
Implementation Details
Step 1: Identify the Required Welding Registers
The first step is to determine which registers are required by the welding machine.
In this example:
The exact register mapping may vary depending on the MEGMEET model and gateway configuration, so always verify the correct addresses in the welder and gateway documentation.
Configure the IP address of the Modbus-to-CAN gateway so that it is on the same subnet as the FAIRINO controller.
For example:
Where xx can be any valid value on the subnet except (2).
For instance, you could assign the gateway the address:
192.168.57.10
This ensures that both devices can communicate over the same local network.
Step 3: Connect the Devices
Once the gateway IP has been configured:
Connect the gateway to the FAIRINO controller through Ethernet.
Use the secondary ethernet port (the port located near the yellow emergency stop box, if applicable).
Open the FAIRINO web application.
Configure the modbus master connection using the gateway IP address.
When the connection is established successfully, the system should display a green connection status icon next to the gateway information.
The next section steps might affect the operation of the welding machine, please ensure that the welding machine is operated safely and cannot harm anyone.
Step 4: Add the Required Registers
After communication has been established, you can begin adding the required modbus registers.
Start by adding:
Register 900 through Register 908 for control
Register 920 through Register 928 for feedback
At this stage, you can initially assign arbitrary values for testing purposes.
Depending on the gateway and welding machine configuration, these registers may correspond to:
Welding voltage
Welding current
Torch start/stop
Arc enable
Wire feed speed
Error codes
Welding status feedback
Step 5: Test Register Behavior Carefully
Once the registers are configured, you can begin testing how the welding machine responds to different values.
Changing register values may directly affect:
Always perform initial tests in a safe environment and ensure that the welding machine is not connected to a live workpiece until the register behavior is fully understood.
Step 6: Abstracting Welding Operations in LUA
After validating the required register behavior, you can simplify your robot program by creating reusable LUA functions that abstract the welding operations.
Related Articles
Connecting an XJC Force/Torque Sensor to Fairino Cobot
This article will cover the steps needed to connect your XJC force/torque sensor to the end of a Fairino Cobot arm Hardware required: - 1 XJC force sensor - 1 Fairino Cobot - 1 computer with ethernet connection to Control box/button box OR 1 teach ...
How to update Fairino Robot Software
Step 1) - Navigate to the Fairino documentation page here - Use the version select button in the bottom right to select the target software version you wish to migrate to (please note the compatibility table below): Current Version Maximum Upgradable ...
Getting Started with the FAIRINO MoveIt2 Plugin
Overview In this tutorial, we focus on the installation and setup of a basic MoveIt2 environment using the FR5 cobot model. By the end of this tutorial, you should have a basic understanding of MoveIt2, and how to launch a functional planning ...
Setting Collision Level
Fairino Collision detection sensitivity The Fairino robotic arms are Cobots, meaning they are meant to work around people safely. A key to accomplishing this is the "Collision detection" setting. This article will cover how to set the collision level ...
Fairino Servo Commands (SDK)
Servo commands, while being intimidating and complex at first, are a low level way to control your robot while getting precise movements and are ideal for low level control and accuracy. When using these servo commands with the SDK, you may notice a ...