Sample program
Explanation of the operations
The following section gives an example of a program that executes positioning control using the adjustment data recognized
by the vision system as the target data.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
Setting the vision system
Complete the following settings with In-Sight
on operating and setting In-Sight
■Ethernet communication setting
Item
IP address
Port No.
■Job setting
Item
Job name
TCP/IP protocol - Format output string
Vision system parameter setting
Complete the vision system parameter setting of MT Developer2.
■Ethernet Communication Line Setting
• Vision System No.2
Setting item
IP address
Port No.
User name
Password
Status storage device
Error flag
Explorer. Refer to the Cognex vision system manual or help sections for details
Explorer.
Setting value
10.0.50.100
Telnet
23
TCP/IP
3000
Setting value
Worksearch1
1
Pattern_1.fIXTURE.x
2
Pattern_1.fIXTURE.y
Description
10.0.50.100
Telnet
23
TCP/IP
3000
According to the vision system setting
According to the vision system setting
D2000L
M0
Floating point
Floating point
6 COMMUNICATION FUNCTIONS
6.5 Vision System Connection Function
6
325