Mitsubishi MC Communication Configuration
About 2736 wordsAbout 9 min
Mitsubishi MC is a communication method in which PickWiz acts as the client and the robot acts as the server. When communicating with the robot, PickWiz actively controls it by sending commands, which the robot executes after receiving them.

Before you begin, follow the Robot Configuration Guide to prepare the task, network, and robot communication program, then open the Add Robot screen.
1. Select Mitsubishi MC Communication
Click + Add Robot, select Mitsubishi MC as the communication method, and click Next to open the Robot Configuration screen.

2. Configure Mitsubishi MC Communication
For general settings such as robot name, brand, model, number of axes, and rotation expression, see the Robot Configuration Guide. This page focuses on Mitsubishi MC communication parameters and fields.
2.1 Basic Communication Settings

| Setting | Description | |
|---|---|---|
| Communication address | Host IP | The local IP address. For Mitsubishi MC communication, the default is 127.0.0.1. |
| Port number | The designated local port to which the robot connects. The default port is 6000 and generally does not need to be changed. | |
| Read/write format | Euler angle unit | The unit for Euler angles: degrees or radians. The default is degrees. |
| Length unit | The length unit used by the robot, including for robot poses and target dimensions. The default is mm. | |
| Pose type | How the robot pose is represented. The default is tool pose. Tool pose is the pose of the robot's end-effector; joint angles describe the positions of the robot's individual joints. Together, the joint positions determine the pose of the robot arm or end-effector. When Other Device is selected as the robot brand and model, only Tool Pose can be selected. | |
| Decimal places | The number of decimal places retained for floating-point data in robot commands. Only numeric values are supported; the default is 1. | |
2.2 Custom Communication Message Configuration

3. Mitsubishi MC Command Reference
3.1 Communication Assurance Fields
These fields monitor communication status and ensure that each command is executed only once. Enter address blocks in the text boxes. An address block is a data storage area in the robot/PLC. Each area has a corresponding address number, and the robot/PLC or PickWiz reads from and writes to these storage areas.

| Field | Description |
|---|---|
| Heartbeat | Monitors communication status. While the robot/PLC is connected to PickWiz, PickWiz writes 1 to the corresponding address block. When communication is lost (PickWiz has not written 1 for an extended period), the robot/PLC writes 0 to that address block. |
| Trigger flag | Indicates whether the robot/PLC has triggered a command. When it triggers a command, the robot/PLC writes 1 to the trigger flag address block, and PickWiz reads that block. After the robot/PLC receives confirmation that PickWiz has received the command (the command acknowledgment flag is 1), it writes 0 to the trigger flag address block to prevent a second trigger. After PickWiz executes the command, it returns the vision inspection result to the robot/PLC and reads the trigger flag address block. If it reads 0, the robot/PLC can read the returned vision inspection result. |
| Command acknowledgment flag | Indicates whether PickWiz has received a command. After the robot/PLC triggers a command and PickWiz reads it, PickWiz writes 1 to the command acknowledgment flag address block to notify the robot/PLC that the command was received. After PickWiz executes the command and confirms that the robot/PLC has reset the trigger flag (written 0), PickWiz also resets the command acknowledgment flag (writes 0). This tells the robot/PLC that command execution is complete and the process has ended. The robot then reads the returned vision inspection result and performs the task. |
| Execute command | Indicates which command the robot/PLC is to execute. When the robot/PLC needs to execute a command, it writes 100 or 101 to the execute command address block. PickWiz reads that block to determine the requested command. 100 is the image capture command; 101 is the clear cache command (used when capturing once and picking multiple times). |

3.2 Calibration Communication Message

The robot sends its pose to PickWiz for eye-hand calibration and so PickWiz can obtain the robot's current real-time pose when image capture is triggered in an eye-in-hand setup.
If Pose Type is set to Tool Pose in the basic communication settings, send the current pose of the robot's end-effector to PickWiz (6 data values).
If Pose Type is set to Joint Angles in the basic communication settings, send the joint pose (6 data values). This is used to calculate the pick point joint pose closest to the reference joint pose.
During eye-hand calibration or when image capture is triggered in an eye-in-hand setup, the robot writes its current real-time pose to this address block, and PickWiz reads the pose from it.
A robot pose contains 6 data values. Reserve enough storage in the address block for all 6 values.
3.3 Vision Calculation Communication Message
When the Execute Command value is 100, vision calculation can run and the following messages take effect. Select a checkbox to display its corresponding address input box, then enter an address block. When the robot triggers an image capture command, it writes data to the corresponding address block, and PickWiz reads that data.

(1) Commands Sent from the Robot to PickWiz
| Field | Description |
|---|---|
| Joint pose | The robot's reference joint pose, containing 6 data values. When Pose Type is Joint Angles, enter the Reference Joint Pose to calculate the pick point joint pose closest to it. |
| Target dimensions | When incoming targets have different dimensions, the robot must adjust its picking strategy automatically. The number of dimension values sent by the robot and their meanings depend on the scene. For a circular surface, send 1 value: radius; for a cylinder, send 2: radius\height; for a carton, send 3: length\width\height; for a quadrilateral, send 2: width\length. |
| Target dimension tolerance | When incoming targets have different dimensions, the robot must adjust its picking strategy automatically. The number of dimension tolerance values sent by the robot and their meanings depend on the scene. For a circular surface, send 1 value: radius tolerance; for a cylinder, send 2: radius\height tolerances; for a quadrilateral, send 2: width\length tolerances. |
| Target ID | The target ID, used by the robot to switch automatically between targets to pick. |
| Task ID | The task ID, used by the robot to switch tasks automatically. |
| Calibration ID | The calibration ID, used by the robot to switch eye-hand calibration configuration files automatically. |
| End-effector ID | The end-effector ID, used by the robot to switch end-effectors automatically when performing a task. |
| ROI ID | The ROI ID, used by the robot to switch ROIs automatically. |
| Vision Parameter ID | The vision parameter ID, used by the robot to switch vision parameters automatically. |
| Scene Object ID | The scene object ID, used by the robot to switch scene objects automatically. |
| Image Capture and Calculation Type | 0: Capture a new image and then perform vision calculation; 1: Perform vision calculation using the cached image (the previously captured image); 2: Capture an image only; 3: Capture an image for “Automatic Sampling with Random Poses”; 4: Real-time vision drift correction; 5: Perform vision calculation using historical data; 6: Shut down the industrial PC. |
(2) Commands Sent from PickWiz to the Robot
- Vision Inspection Information
| Field | Description |
|---|---|
| Image capture complete signal | 1 value. Indicates that image capture is complete. The robot/PLC must reset it after receiving it. |
| Inspection result signal | 1 value. By default, 100 indicates success and 0 indicates any other exception. These values can be configured. |
| Returned instance type | 1 value. An instance type value of 0 represents a target, and 1 represents a pallet. The pick information differs by instance type. |
| Remaining instance count | 1 value. Under the capture-once, pick-multiple-times logic, returns the number of cached instances remaining. |
| Returned instance count | 1 value. Returns the number of instances identified by 2D instance segmentation. This value is less than or equal to Number of Instances to Send. If multiple instances are returned, Pick Information Length increases with the returned instance count. |
| Total detected instances | 1 value. The number of detected instances before instance filtering. |
| Valid instance count | 1 value. The number of detected instances after instance filtering. |
| Target type | The type ID that can be returned when multiple target types are recognized. |
- Automatic Calibration Sampling Commands
When the eye-hand calibration method is “Automatic Sampling with Random Poses,” this command must be configured; otherwise, the robot cannot communicate with PickWiz.
| Calibration sampling result: different results correspond to different signal values | 0: Minimum sample count reached; 1: New sample added successfully; 11: Failed to add new sample; 12: Automatic sampling ended and the sample list has been completed; 13: Failed to generate a sampling pose; 14: Calibration sampling page has not been opened; 15: System error. |
|---|---|
| Next sampling pose | The position to which the robot moves to collect the next calibration sample. |
Pick Information
Information Common to All Scenes
Field Description Target category The type ID that can be returned when multiple target types are recognized. Picked target ID 1 value; indicates the current target's sequence number. Pick point pose 6 values; the pose data for the pick point. Pick point index 1 value; indicates the current pick point's sequence number. Additional information 1 value; custom additional information for the current target. Approach points Applies only when Pose Type is Joint Angles. Length is 1 + the number of path points; format: (number of path points, joint poses of path points from the pre-pick point to the pick point). Retreat points Applies only when Pose Type is Joint Angles. Length is 1 + the number of path points; format: (number of path points, joint poses of path points from the pick point to the retreat pick point). Information Common to Carton/Sack Depalletizing
Product length: 1 value, the current product length (along the image x direction).
Product width: 1 value, the current product width (along the image y direction).
Product orientation: 1 value, the product orientation (0: horizontal along x; 1: vertical along y).
Pallet upper-left vertex position: 3 values (x, y, z), indicating the position of the pallet's upper-left vertex in the current scene.
Pallet upper-right vertex position: 3 values (x, y, z), indicating the position of the pallet's upper-right vertex in the current scene.
Pallet lower-left vertex position: 3 values (x, y, z), indicating the position of the pallet's lower-left vertex in the current scene.
Pallet lower-right vertex position: 3 values (x, y, z), indicating the position of the pallet's lower-right vertex in the current scene.
Carton Depalletizing Information:
- Product height: 1 value, the current product height.
Ordered/Random Picking of Circular Discs:
- Circular surface radius: 1 value, the current product's circular surface radius.
Ordered/Random Picking of Cylinders:
Circular surface radius: 1 value, the current product's circular surface radius.
Cylinder height: 1 value, the current product height.
Random Picking:
- Target category: 1 value, the current target category.
Quadrilateral:
Quadrilateral length: 1 value, the current product length.
Quadrilateral width: 1 value, the current product width.
Vision Status Codes
Vision status codes are used for troubleshooting. The complete list is shown below.
Under Commands Sent from PickWiz to the Robot – Vision Inspection Information, select “Vision Status Code” and configure its address block and communication data type.
If no custom vision status code configuration is provided, the default return value is
100for success and0for all other exceptions.
| Error | Default value | Related node |
|---|---|---|
| Success | 100 | / |
| Bottom plate detected | 301 | Foreground processing (Foreground Builder) |
| Container not detected | 4000 | Container detection (Container Builder) |
| No instance detected | 5000 | Instance segmentation (Instance Builder) |
| No pose detected | 6000 | Pose estimation (Pose Builder) |
| No pick point detected | 7000 | Pick point generation (Grasp Builder) |
| No path detected | 8000 | Robot trajectory generator (Trajectory Builder) |
| No instance dimensions detected | 9000 | Target size generator (Size Builder) |
| Empty ROI | 1101 | Valid point filter (ValidPoints Criteria) |
| No valid instances | 12000 | Instance filter (Instance Criteria) |
| No valid target poses | 13000 | Pose filter (Pose Criteria) |
| No valid pick points | 14000 | Pick point filter (Grasp Criteria) |
| All detected results are unpickable due to collisions | 15000 | Collision detection filter (Collision Criteria) |
| No instances with valid dimensions | 17000 | Target size filter (Size Criteria) |
| Exception | 20000 | General exception; check the logs to identify the cause. |
| Insufficient video memory | 20001 | General exception; check the logs to identify the cause. |
| Invalid input (check algorithm parameters) | 20002 | General exception; check the logs to identify the cause. |
| Full detection | 20003 | Related to the point cloud processing operator (full_detect_judgment) |
| Foreign object detection exception | 20004 | Related to the instance filtering operator (foreign_matter_judgement) |
4. Verify the Connection
After configuring Mitsubishi MC communication, select a robot configuration for the current task scene on the task Main Screen. In the robot configuration selector, choose the corresponding robot configuration. PickWiz will attempt to establish communication with the robot using the Mitsubishi MC protocol.

If the connection succeeds, the robot communication status in the lower-left corner of the main screen displays “Connected.”

If the connection fails, the robot communication status displays “Disconnected.” Check that the network cable between the robot and industrial PC is firmly connected and that the program loaded and running on the robot system is correct. Then configure the robot again.

For instructions on editing, copying, deleting, and selecting robot configurations for tasks, see the Robot Configuration Guide.
5. Related Documents
Return to communication method selection and the general configuration process
Configure the instance and pick point counts in vision results
Learn about the placeholder handling hooks available for Mitsubishi MC