2D Vision (COGNEX, SICK, VISOR) commands are composed as follows.
|
No. |
Type |
Command |
|---|---|---|
|
1 |
Select Manufacturer |
vs_set_info(type) |
|
2 |
Camera Connection |
vs_connect(ip_addr, port_num=9999) |
| vs_disconnect() | ||
|
3 |
Vision Job Manage |
vs_get_job() |
| vs_set_job(job_name) | ||
| cognex_set_integer (job_name, integer_number) | ||
| visor_job_change(index) | ||
|
4 |
Object Recognition/Detection |
vs_trigger() |
|
5 |
Robot Task |
vs_set_init_pos(vision_posx_init, robot_posx_init, vs_pos=1) |
| vs_get_offset_pos() | ||
|
6 |
Custom |
vs_request(cmd) |
| vs_result() |