Standard Interface Communication
Standard Interface Communication refers to communication based on predefined protocols and data structures. You only need to configure parameters as required to exchange data with PLCs, robots, and other devices. No secondary development is required, and this mode offers strong compatibility and versatility.
The Standard Interface Communication of Mech-MSR supports the following communication protocols:
When using Standard Interface Communication, choose the appropriate communication protocol according to the device in use.
Standard Interface Commands
Standard Interface Communication supports the following commands:
| Command Name | Command Code | Description |
|---|---|---|
execute |
1 |
Used to trigger a project to run and obtain the project’s judgment results and measurement results. |
trigger |
2 |
Used to trigger a project to run. |
return |
3 |
Used to obtain the judgment results and measurement results of the specified project. |
judge |
4 |
Used to obtain the overall quality judgment result of the specified project or the quality judgment results of individual measurement items. |
value |
5 |
Used to obtain the measurement values of the specified project. |
recipe |
6 |
Used to switch the parameter recipe used by a project. |
solution |
7 |
Used to switch a solution. |
SetNumVar |
8 |
Used to set the value of a numeric global variable. |
GetNumVar |
9 |
Used to read the value of a numeric global variable. |
SetStrVar |
- |
Used to set the value of a string global variable. |
GetStrVar |
- |
Used to read the value of a string global variable. |
|