The text of a manual · part 4 of 7
Installing In-Sight 4000 Series Vision Sensors: Installing the In˚Sight 4000, pages 31 to 40
Pages 31 to 40 of 59, from Installing In-Sight 4000 Series Vision Sensors
The original document is the PDF (3.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cognex In-Sight 4000 Series
Page 31
Installing In-Sight™ 4000 Series Vision Sensors 5
Section 2 – Installing the In-Sight 4000
Select <New> from the list to open the New Host Configuration dialog (Figure 2-6).
Figure 2-6: New Host Configuration Dialog
6
Enter the last six characters of the In-Sight 4000's 12-character Media Access Control (MAC) address, without spaces or dashes. Do not delete or change the first six characters that are already entered. NOTE
The MAC address is located on the serial number label affixed to one side of the In-Sight 4000. This identifier is factory-assigned, unique for every In-Sight system, and cannot be changed or deleted.
7
Verify that the Use DHCP Server check box is disabled. Refer to section 2.5.1: Use DHCP Server (page 21) for more information about using DHCP.
8
Enter a valid IP Address for the In-Sight 4000. Every In-Sight sensor must be assigned a unique IP Address consistent with the addressing scheme in use on the network. Refer to the table in section 2.5.2: IP Address (page 22) for a description of common IP Address schemes.
9
Enter a Subnet Mask for the local network. The Subnet Mask specifies which parts of the In-Sight 4000's IP Address are the same for all hosts on the local network, and which are unique to each host. The default Subnet Mask 255.255.255.0 is appropriate for most users, as described in section 2.5.3: Subnet Mask (page 22). Consult your network administrator for more information. NOTE
When the Safe Mode only checkbox is disabled (the default setting), the IP Address and Subnet Mask entered overwrite the target In-Sight 4000 sensor’s Network settings. If the checkbox is enabled, the Use DHCP, IP Address, and Subnet Mask fields will be grayed out, and the target sensors network settings will be preserved.
17
Page 32
Section 2 – Installing the In-Sight 4000
Installing In-Sight™ 4000 Series Vision Sensors
10 Click OK. The message box shown in Figure 2-7 appears.
Figure 2-7: IP Configuration Message Box
11 Cycle power on the In-Sight 4000 by removing, then reinserting, the RJ-45 connector from the sensor's Breakout port. The message in Figure 2-8 appears when the In-Sight 4000 is located on the network.
Figure 2-8: IP Configuration Successful Message Box
If the message in step 11 does not appear within one minute of cycling power, click Abort. The New Host Configuration dialog will reappear. Verify that the IP Address is valid and the Subnet Mask is appropriate for the local network. Make corrections as necessary, and retry steps 1 through 11. Contact your network administrator if problems persist.
18
Page 33
Installing In-Sight™ 4000 Series Vision Sensors
Section 2 – Installing the In-Sight 4000
2.4 Logging On to the In-Sight 4000 After the In-Sight 4000 has been added to the network, log on to the sensor to verify the installation and to configure additional network settings. 1
Attach a lens to the In-Sight 4000 you installed to verify the acquisition of live video images. The exact focal length needed depends on the working distance and the field of view required in your machine vision application. For now, any compatible lens may be used. NOTE
The In-Sight 4000 and 4001 sensors use C-Mount lenses. The In-Sight 4100 remote head camera uses CS-Mount lenses or C-Mount lenses (with 5mm extension).
2
Cycle power on the In-Sight 4000.
3
Logon to a networked In-Sight 3000 or In-Sight PC Host and open the System menu.
4
Select Logon to open the Logon dialog.
5
Select the Host Name field to open the drop-down list of In-Sight systems on the network.
6
Locate and select the host name of the In-Sight 4000 you added to the network in the list, then click OK. A message will temporarily appear while you are logging on to the In-Sight 4000.
7
Look in the lower-left corner of the spreadsheet and verify the Host Name of the system you are logged on to. This Host Name should be the same as the In-Sight 4000 you added to the network.
8
If you attached a lens to the In-Sight 4000, you will see an image beneath the transparent spreadsheet overlay. To see image acquisition over the network, open the System menu and select Live.
This completes the basic installation procedure of an In-Sight 4000 onto a network. Optional network settings may be configured as described in the following section. For information on using your networked In-Sight 4000, refer to the In-Sight Guide & Reference HTML Help file.
19
Page 34
Section 2 – Installing the In-Sight 4000
Installing In-Sight™ 4000 Series Vision Sensors
2.5 Changing In-Sight 4000 Network Settings You may need to change the In-Sight 4000 sensor’s Network settings when installing it to a non-DHCP network where a Default Gateway, DNS Server, and Domain name are used, or when moving the In-Sight 4000 from one network to another. To modify In-Sight 4000 network settings: 1
Logon to an In-Sight PC Host or In-Sight 3000 on the network.
2
Select Logon to open the Logon dialog.
3
Select the Host Name field to open a drop-down list showing the In-Sight systems on the network.
4
Select the In-Sight 4000 sensor’s Host Name and click OK. The In-Sight 4000 spreadsheet will appear.
5
Open the In-Sight System menu and select Settings.
6
Select Network to open the Network dialog (Figure 2-9).
Figure 2-9: Network Dialog
Each of the Network dialog settings is explained in the following sections. For more information, refer to the In-Sight Guide & Reference HTML Help file.
20
Page 35
Installing In-Sight™ 4000 Series Vision Sensors
Section 2 – Installing the In-Sight 4000
2.5.1 Use DHCP Server The Use DHCP Server checkbox determines whether the 4000 sensor uses DHCP on start up or if the values in the Network settings dialog configure TCP/IP. NOTE
This box should be checked only if a DHCP server is running on the local network. If a DHCP server does not respond within 60 seconds, the system will boot without network support enabled.
If the network has a DHCP server and the Use DHCP Server check box is enabled, the DHCP server will automatically configure the In-Sight 4000’s network settings on startup. Optionally, a new Host Name may be assigned, but all other fields in the Network dialog will be grayed out and cannot be modified. When the Use DHCP Server checkbox is disabled, all Network dialog settings are enabled and must be configured manually. If the 4000 was previously assigned an IP Address by a DHCP server, then disabling the Use DHCP Server checkbox will retain the same IP Address. In a production environment it is recommended that a static IP address number be used instead of DHCP. Using a static IP address removes the need for a DHCP server on the local network and eliminates intermittent DHCP traffic. NOTE
The In-Sight 4000 can also be forced to use a DHCP Server or a static IP address by using the IP Address switch on the back of the sensor. For more information, see Appendix A: Using the IP Address Switch on page 43.
2.5.2 IP Address The IP Address assigns a unique identifier for each In-Sight system on the network, which must be consistent with the IP address-numbering scheme of the local network. NOTE
The IP Address setting is grayed out when the Use DHCP Server checkbox is enabled.
21
Page 36
Section 2 – Installing the In-Sight 4000
Installing In-Sight™ 4000 Series Vision Sensors
Unlike the factory-set MAC address, the IP address is assigned automatically by a DHCP server or must be manually assigned by the user (also referred to as static IP address). The following IP addressing schemes are recommended: Table 2-1: IP Address Schemes ADDRESSING SCHEME
DESCRIPTION
10.0.0.0/8
The 10.0.0.0/8 private network is a class A network ID that allows valid IP addresses from 10.0.0.1 to 10.255.255.254. The 10.0.0.0/8 private network has 24 host bits, which can be used for any subnetting scheme within the private organization. The default Subnet Mask is 255.0.0.0.
172.16.0.0/12
The 172.16.0.0/12 private network can be interpreted either as a block of 16 class B network IDs or as a 20-bit assignable address space (20 host bits) which can be used for any subnetting scheme within the private organization. The 172.16.0.0/12 private network allows valid IP addresses from 172.16.0.1 to 172.31.255.254. The default Subnet Mask is 255.255.240.0.
192.168.0.0/16
The 192.168.0.0/16 private network can be interpreted either as a block of 256 class C network IDs or as a 16-bit assignable address space (16 host bits), which can be used for any subnetting scheme within the private organization. The 192.168.0.0/16 private network allows valid IP addresses from 192.168.0.1 to 192.168.255.254. The default Subnet Mask is 255.255.0.0
2.5.3 Subnet Mask The Subnet Mask defines which part of the In-Sight 4000 sensor’s IP address refers to the network and which part refers to the host. NOTE
When DHCP is enabled, this field is grayed out and displays the value assigned by the DHCP server.
The network part of the IP address is the same for all hosts on the same subnet, and the remainder is unique to each host. As shown in Table 2-2, a Subnet Mask of 255.255.255.0 (a class C mask) identifies 24 bits for the network portion and 8 bits for the host portion. Table 2-2: Subnet Mask Formats MASK
CLASS
DESCRIPTION
255.0.0.0
A
8 network/24 host
255.255.0.0
B
16 network/16 host
255.255.255.0
C
24 network/8 host
Most users will not need to change the default Subnet Mask setting of 255.255.255.0. 22
Page 37
Installing In-Sight™ 4000 Series Vision Sensors
Section 2 – Installing the In-Sight 4000
2.5.4 Default Gateway The Default Gateway specifies the IP address of the gateway host, if available on the network. NOTE
The Default Gateway setting will be grayed out when the Use DHCP Server checkbox is enabled. The value shown is the gateway assigned by the DHCP server.
The gateway host is responsible for sending and receiving data between hosts on different networks, routing data packets from a device on the local subnet to a device on another subnet. For example, if a 4000 sensor will need to communicate with a remote host on a different subnet, enter the address of the gateway device in the Default Gateway field. However, if the sensor will need to communicate only with devices on the local subnet, do not enter an address for the Default Gateway (leave the field all zeros).
2.5.5 DNS Server The DNS Server specifies the IP address of the host on the network providing DNS resolution, if available. NOTE
The DNS Server setting will be grayed out when the Use DHCP Server checkbox is enabled. The value shown is the DNS Server assigned by the DHCP server.
A Domain name (i.e., yourcorp.com) is an alias for an IP address (i.e., 192.168.0.0). A DNS (Domain Name Server) maintains the data on corresponding domain names and IP addresses. The DNS Server setting determines which host is contacted (by IP address) in response to a given Domain Name.
23
Page 38
Section 2 – Installing the In-Sight 4000
Installing In-Sight™ 4000 Series Vision Sensors
2.5.6 Host Name The Host Name assigns a name, or “alias” for the In-Sight 4000 as it will appear when browsing the network using the In-Sight PC Host. Each In-Sight 4000 has its host name set automatically the first time it boots. The format is “is4kxxxxxx”, where “xxxxxx” consists of the last 24 bits of the In-Sight 4000’s unique MAC address. For example, an In-Sight 4000 with a MAC address 00-d0-24-0102-03 will be assigned the host name “is4k010203”. NOTE
The Host Name setting is not automatically assigned by the DHCP server (if used) or referenced through the DNS server. If the Use DHCP Server checkbox is enabled and the DHCP server supplies the Host Name, it is ignored in favor of the default host name or the name entered by the user.
2.5.7 Domain The Domain specifies the In-Sight 4000’s Fully Qualified Domain Name (FQDN) for the network on which it is installed. NOTE
When the Use DHCP Server check box is enabled, this field is grayed out and displays the value assigned by the DHCP server.
An In-Sight 4000 sensor must have a FQDN to be accessible from a remote host that is not part of the local network. The Domain setting sets the string that is appended to the host name to make a FQDN. For example, setting Domain to yourcorp.com yields the following results:
# #
If a host name is system1, the FQDN for lookup is system1.yourcorp.com. If a host name is system1.yourcorp.com. (note the period at the end), the FQDN for lookup is system1.yourcorp.com.
Appending the period to the end of the host name prevents redundancy in appending the Domain name to the FQDN. For example, if the period is omitted, system1.yourcorp.com would become system1.yourcorp.com.yourcorp.com.
24
Page 39
Installing In-Sight™ 4000 Series Vision Sensors
Section 2 – Installing the In-Sight 4000
2.5.8 FTP Settings and Host Table The FTP Settings button opens the FTP Settings dialog to configure the File Transfer Protocol (FTP). The Host Table button opens the Host Table dialog to specify a local mapping of host names to IP addresses. Neither FTP Settings nor Host Table settings are required for installing the In-Sight 4000 to a network.
25
Page 40
Section 2, Installing the In-Sight 4000 Installing In-Sight™ 4000 Series Vision Sensors
26 COGNEX