Communication Modes

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

After you set up the hardware for Mech-Mind Vision System, choose the mode for the vision system to communicate with external devices (such as robots, PLCs, or host computers). The communication helps you manage the data exchange between the two sides. Mech-Mind Vision System supports three communication modes:

Standard Interface communication and Adapter communication both fall in the category of interface communication.

Master-Control Communication

Master-Control communication allows the vision system to control the robot to perform tasks. In this case, the vision system acts as the controller and the robot acts as the controlled party. Specifically, in the Master-Control communication, the vision system sends commands to the robot and the robot listens to, receives, and then executes the commands. The following figure shows this process.

communication mode1
  • The vision system can Master-Control a robot only if the robot is supported by the vision system. For information about robots that are supported by the vision system, see Master-Control Adaptation.

  • The word control used in Master-Control communication does not mean full control. The vision system controls various robots in different ways. For more information, see the Master-Control description of each robot type.

Master-Control communication can be implemented by using two methods:

  1. Loading-required implementation

    In this implementation method, the vision system controls the robot only if Master-Control programs are loaded to the robot and the robot runs the programs throughout the communication process. ABB, FANUC, and KUKA robots use this method to implement Master-Control communication.

  2. Loading-free implementation

    This implementation method switches the robot to the remote control mode and allows the vision system to use robot SDKs to control the robot without the need to load and run Master-Control programs on the robot. AE and JAKA robots use this method to implement Master-Control communication.

Standard Interface Communication

If the Standard Interface communication is established between the vision system and an external device (such as a robot, PLC, or host computer), the external device sends Standard Interface commands to the vision system and the vision system returns data upon receiving the commands. The following figure shows the process. In Standard Interface communication, the vision system only sends data in response to commands from the external device and does not control the external device. For this reason, you need to write programs for an external device to allow the device to communicate with the vision system.

Developed by Mech-Mind based on the standard communication protocol, Standard Interface commands define request and response formats. These Standard Interface commands configure Mech-Vision and Mech-Viz projects and return results for the Mech-Vision and Mech-Viz projects.

communication mode2

You can establish Standard Interface communication by using one of the following two ways:

  • If your eternal device is supported by Mech-Mind Vision System, you can directly use Standard Interface commands. For more information, see Standard Interface Communication.

  • If your external device is not supported by Mech-Mind Vision System, write Standard Interface commands to use Standard Interface communication based on Standard Interface Development Manual.

Adapter Communication

If the adapter communication is established between the vision system and an external device (such as a robot, PLC, or host computer), the external device sends custom commands to the vision system and the vision system returns data upon receiving the commands. The following figure shows the process. In adapter communication, the two sides need to determine the custom commands to use. For this reason, you need to write programs for the external device and the vision system.

  • Custom commands allow you to define the communication protocol, request format, and response format. Make note of the differences between custom commands and Standard Interface commands. Stand interface commands have the communication protocol, request format, and response format defined by the vision system.

  • Standard Interface communication can be understood as a custom version of adapter communication. Due to their resemblance, Standard Interface communication and adapter communication are collectively referred to as interface communication.

communication mode3

You can establish adapter communication by using Python in one of the following ways:

  • Use Adapter Generator Guide to configure the command syntax that is used by the two sides for communication. If the generated commands do not meet your requirements, write more commands that suit your needs in Python.

  • Write command syntax that is used by the two sides for communication from scratch based on Adapter Programming Guide.

Comparison between Communication Modes

After the preceding basic introduction of the three communication modes, this section compares the communication modes and summarizes the features and applicable scenarios of each mode to facilitate your understanding.

First, the communication modes differ in the commands that are sent and received by two communication parties. The following table describes the differences.

Communication mode Command type Command sender Command receiver

Master-Control communication

Robot commands

Vision system

Robot

Standard Interface communication

Standard Interface commands

External devices (robots, PLCs, or host computers)

Vision system

Adapter communication

Custom commands

External devices (robots, PLCs, or host computers)

Vision system

Second, the three communication modes differ in their supported protocols, difficulty in use, and flexibility. The following figure shows the differences.

Communication mode Supported protocol Program Difficulty in use Flexibility

Master-Control communication

TCP and UDP

No programs are needed

Low

Low

Standard Interface communication

TCP

UDP

Siemens PLC Snap7

PROFINET

EtherNet/IP

Modbus TCP

Mitsubishi MC

Programs need to be written for external devices

Medium

Medium

Adapter Communication

TCP

UDP

HTTP

WebSocket

Siemens PLC Snap7

PROFINET

EtherNet/IP

Modbus TCP

Mitsubishi MC

Other communication protocols

Programs need to be written for the vision system and external devices

High

High

Third, the three communication modes differ in their supported scenarios.

Communication mode Workpiece loading Palletizing & depalletizing Locating & assembly Piece picking Gluing

Master-Control communication

Standard Interface communication

×

Adapter communication

After you get acquainted with the three communication modes, you can select a communication mode that suits your actual needs.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.