Tutorial: Building a Simple 2-Bar Robot - Virtual Verification
In the previous chapter, we mapped the theoretical robot structure to the actual hardware. Now that the mapping is complete, we will verify the robot's movement through a virtual simulation before deploying it to the real hardware.
Goal: Verify the test_robot configuration via simulation and activate the EtherCAT Master for real-world control.
Step 1: Virtual Verification
First, we must validate that the parameters entered in the previous steps cause no conflicts.
- Click the Activate Simulation button.
- The system will verify the robot parameters. Once verified, the simulation will start automatically.
Verification Results
If there are no issues with the parameters, the system log will display a success message.
Status:
Activate Simulation Success
Step 2: Jog Control & Monitoring
Once the simulation is active, you can manually control the robot to check its behavior.
- Locate the Jog Panel on the right side of the screen.
- Click Servo On to enable motor control.
- Use the Jog Control buttons to move the robot joints.
Monitoring Command Values
As you move the robot, you can monitor the target values being sent to the servo drivers in real-time.
Step 3: Real Robot Activation (EtherCAT)
After verifying the motion in the simulator, we will activate the EtherCAT Master to operate the real robot.
- Click the Apply button located at the top right of the screen.
- A confirmation dialog will appear.
- Check the box to confirm that you have verified the target values via simulation.
- Click Apply to proceed.
Step 4: Final Validation
The system will attempt to initialize the EtherCAT communication.
Scenario A: Success
If successful, the logs will show the connection details, and a Go to Motion Studio button will appear in the top right corner.
Scenario B: Failure
If the connection fails, the log will display the specific reason (e.g., communication timeout, parameter mismatch).
Troubleshooting: If you encounter an error, correct the indicated parameters in the previous sections, return to the Virtual Verification page, and repeat the process.
Setup Complete
Once the connection is successful, click Go to Motion Studio to enter the main control interface.
Congratulations! You have successfully completed the Real Robot Setup for your 2-bar robot.
In the next chapter, we will introduce the features and capabilities of Motion Studio.