You are on page 1of 22

368GB

High-speed, High-capacity Machine Vision System

CV-X Series
Easy Setup Guide FTP Image Output - FileZilla
Contents

Easy Setup Guide: FTP Image Output - FileZilla

1. Installing and Setting Up the FileZilla Server Page 3

2. Configuring the CV-X FTP Settings Page 12

3. Troubleshooting - Connection Problems Page 18

KEYENCE CORPORATION. Vision System Division ‐2‐ www.keyence.com


Saving images from CV-X to PC via FTP (Using FileZilla)
This example uses the free FTP software FileZilla as a representative example of an FTP server software.
We cannot guarantee that all FTP server software, including FileZilla, can communicate with the CV-X Series.
Be sure to confirm that communication is possible beforehand.

✎Downloading, Installing and Setting Up FileZilla Server.


1 Download FileZilla Server (Be sure not to download FileZilla Client by mistake)
http://filezilla-project.org/

2 Select the Windows version. (This manual uses Windows 7 as a base to explain operations)

FileZilla supports both the 32 bit and 64 bit versions of XP, Vista and 7.

368GB
KEYENCE CORPORATION. Vision System Division -3- www.keyence.com
3 Select "I Agree".

4 Do not change the boxes that are checked. Select "Next >".

KEYENCE CORPORATION. Vision System Division ‐4‐ www.keyence.com


5 Specify a folder to install in and select "Next >".

6 Do not change the settings. Select "Next".

KEYENCE CORPORATION. Vision System Division ‐5‐ www.keyence.com


7 Do not change the settings. Select "Install".

Check this box.

For reference: The default setting is to start up FileZilla automatically


when the PC starts up, as selected here. To start FileZilla manually,
select "Start manually".

8 Select "Close" when the installation is complete.

KEYENCE CORPORATION. Vision System Division ‐6‐ www.keyence.com


9 Do not change the settings below unless necessary. Press "OK".

[Important] Do not change the Server Address


or Port.

For reference: If you do not want the


"Connect to Server" dialog box to be displayed
again during start‐up, check the "Always
connect to this server" box.
(This box can be checked or left unchecked.)

10 The software automatically starts up when the installation is complete.

A screen like this should appear.

If "Error" appears in red letters, "Start Interface after


setup completes" was not checked in step 7.
In this case, the software must be reinstalled.

Next, press this button.

KEYENCE CORPORATION. Vision System Division ‐7‐ www.keyence.com


11 Select "Add".

12 Enter a user name and select OK. ("abc" is a temporary user name. Choose and enter a new user name)

Make a note of the user name as it will be


used in the CV‐X settings.

KEYENCE CORPORATION. Vision System Division ‐8‐ www.keyence.com


13 Check the "Password" box, and set a password.

Make a note of the password


you set as it will be used later.

14 Select "Shared folders".

KEYENCE CORPORATION. Vision System Division ‐9‐ www.keyence.com


15 Select "Add".

16 Specify the folder to be written to by the FTP.

In this example, the desktop is


specified.
The path cannot contain any full‐
width characters.
Specify a folder with a path that
contains only half‐width characters
(standard English characters).

KEYENCE CORPORATION. Vision System Division ‐ 10 ‐ www.keyence.com


17 Check all of the boxes under "Files" and "Directories".

[Important] Ensure that


the boxes are checked like
this.

The FileZilla setup is now complete.


Press "OK".

KEYENCE CORPORATION. Vision System Division ‐ 11 ‐ www.keyence.com


✎Configuring the CV-X FTP Settings

1 Configure the CV-X settings. In Setup Mode select "Global" ⇒ "Communications & I/O" ⇒ "FTP".

2 In FTP Settings, set the Server (PC) IP Address, User Name and Password.

Unless necessary, do not change


the FTP Client Settings (Master).

Set the Address of the PC where


FileZilla is installed on for the Server
IP Address.
Enter the User Name and Password
set in FileZilla.

KEYENCE CORPORATION. Vision System Division ‐ 12 ‐ www.keyence.com


3 Next, configure the output settings.

Configure the Image Output


Settings.
Press the "Output" button.

4 Check the "Enable Image Output" box in "Image Output".

KEYENCE CORPORATION. Vision System Division ‐ 13 ‐ www.keyence.com


5 Set "Image Output Location" to "FTP", and select the required output method.

Select "FTP".

Select the required output


method.

The file and folder naming rules are


written here.
We recommend that you first use
the default settings. If you need to
change the settings, click the
"Details" button.

6 Set a destination folder.

Click within this frame to


display a screen like the one
in the next step.

KEYENCE CORPORATION. Vision System Division ‐ 14 ‐ www.keyence.com


7 If the settings are valid, the PC desktop folders appear, and the connection can be confirmed.

If the settings are correct, the desktop


can be seen from the CV‐X, and the
folders are displayed.
Full‐width characters will appear
corrupted.
Folder names that include full‐width
characters cannot be specified as the
destination folder.

In this example, there is no folder called


CV‐X on the desktop when the settings
The desktop folders were finished.
are displayed. In this case, the /cv‐x/image/SD1_000/
folder will be created automatically
when the CV‐X runs.

If the settings are not valid, a "Failed to


connect to FTP server. (31239)" error will
occur.
Check the settings again.
If there are problems, refer to the
troubleshooting section at the back of this
manual.

8 When these settings have been configured, images will be saved to the computer.

This screenshot shows


the destination folder
when it is checked again
after operating the CV‐X
and saving images.

Confirm that the /cv‐


x/image/(year month
day)_(hour minute
second)/CAM1 folder
has been created.
Images are saved to this
folder.

The folder name is


decided based on the
folder name rule here.

KEYENCE CORPORATION. Vision System Division ‐ 15 ‐ www.keyence.com


9 To check the images on the FTP server during operation...

Select "Utility".

10 To check the images on the FTP server during operation...

Select "Image Strip Settings".

KEYENCE CORPORATION. Vision System Division ‐ 16 ‐ www.keyence.com


11 To check the images saved to the FTP server during operation...

Select "Show External Image File"



Select "FTP" as the Source

Specify the folder in the hierarchy above the
"CAM*" folder.

Select the Image Strip during operation to


check the images in the FTP server on the
device, as shown on the right.

You can see from the name of the image that it


is an image on the FTP server.

KEYENCE CORPORATION. Vision System Division ‐ 17 ‐ www.keyence.com


✎ Troubleshooting - Connection Problems

1 (1) Change the Windows firewall settings (For Windows 7)

* Note
It may pose a risk to change these
settings on a PC that is connected to
internal or external company networks.
Set up a PC only for using FileZilla, or
check with the network administrator
before changing the settings.

You may not be able to connect due to security software or the Windows firewall settings.

‐ From the Start menu, select "Control Panel" ⇒ "Security" ⇒ "Windows Firewall" to open this
window.
(In this screenshot, the settings are being managed by Symantec antivirus software.)

Change the Windows firewall settings to unblock or block programs as necessary.


Check how to configure the settings with the network administrator before changing any
settings.

2 (2) Use a fixed IP Address

* Note
If these settings are changed, it may not
be possible to connect to internal or
external company networks.
Change the settings back as necessary.

If the IP Address settings are set to DHCP (set automatically), it may not be possible to
connect.
In this case, specify a fixed IP Address.

For Windows 7
‐ From the Start menu select "Control Panel" ⇒ "Network and Internet" ⇒ "Network and
Sharing Center" to open the above window.

KEYENCE CORPORATION. Vision System Division ‐ 18 ‐ www.keyence.com


3 (2) Use a fixed IP Address

Select "Local Area Connection".

4 (2) Use a fixed IP Address

Select
"Properties".

KEYENCE CORPORATION. Vision System Division ‐ 19 ‐ www.keyence.com


5 (2) Use a fixed IP Address

Select "Internet Protocol Version 4 (TCP/IPv4)",


and then select "Properties".

6 (2) Use a fixed IP Address

When the settings are configured like


Configure the settings as shown above.
this...
Set the IP Address and Subnet Mask to the
following:
IP Address: 192.168.0.20
Subnet Mask: 255.255.255.0
The Default Gateway and other settings can
be left blank.

KEYENCE CORPORATION. Vision System Division ‐ 20 ‐ www.keyence.com


Copyright (c) 2014 KEYENCE CORPORATION. All rights reserved. 124297E 1084-1 368GB Printed in Japan

You might also like