Communication Modes

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

After you set up the hardware for the 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. The 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 master-control communication, the vision system sends commands to the robot and the robot listens to and 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, 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 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 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 summaries 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

Mitsubish 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

Mitsubish 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 need.

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.