FTP Conf
FTP Conf
FTP Conf
CONFIGURING FTP-
SERVER TO SERVE FANUC
18iPB/0iPC CONTROL
A5 (series 11.2x)
F5/F6 (series 11.2x)
TRS5/TRS6 (series 11.2x)
C5 (series 12.x)
X5 (series 12.x)
This document contains proprietary information and trade secrets and is not to be distributed,
published or copied partially or fully without prior written authorization of Finn-Power Oy.
All registered names and trademarks referred to in this documentation are sole property of their
respective owners.
This documentation includes listed items and their operation descriptions, procedures, and other
exclusive information that are proprietary information and/or intellectual property of Finn-Power
Group, protected under international copyright or similar laws and/or by patents or patents pending.
Listed items are defined herein to include, but not limited to: components, features, modules,
methods, software, systems, technology, options and the like. Further information of said patents
and patents pending can be requested in writing from:
Director of Engineering, Finn-Power Oy, P.O. Box 38, FIN-62201 Kauhava, Finland.
CONTENTS
Fanuc 18iPB control is equipped with Embedded Ethernet connection which can be used to
transfer part programs to/from FTP server from/to CNC (FTP = File Transfer Protocol). In this
manual it is described how the FTP server is set up with WFTPD Pro v3.10 Program.
Necessary modifications to CNC parameters are also described.
Described connection is from the standalone PC (with network card) to the CNC with a
cross-wired cable with default settings. If connected through the network hub, consult
your network administrator before making any changes to computer network settings.
In the Fanuc 0iPC control Ethernet connection is a Option (Fast Ethernet board in the CNC
needed). This Ethernet connection can be used to transfer part programs to/from FTP server
from/to CNC (FTP = File Transfer Protocol). In this manual it is described how the FTP server
is set up with WFTPD Pro v3.10 Program. Necessary modifications to CNC parameters are
also described.
Described connection is from the standalone PC (with network card) to the CNC with a
cross-wired cable with default settings. If connected through the network hub, consult
your network administrator before making any changes to computer network settings.
3. COMPUTER IP SETTINGS
At first check computer (where the FTP server installation is about to be made) IP Address.
IP address has to be 192.168.1.11 if CNC default values are used. Current IP can be
checked in Command Prompt by typing: ipconfig.
After completing the IP Address settings, current IP can be checked in Command Prompt like
described in the previous column.
WFTPD Pro is a FTP server that runs as a service under Windows 2000 and Windows NT
3.51 / 4.0.
Insert FTP server CD in computer CD drive and view content with Windows Explorer. Before
installing the program read the readme.txt file and make sure you have logged in to the
computer as an administrator!
Running setup.exe starts the installation to the PC. Follow instructions shown during
installation.
After completing the installation, the FTP server configuration can be started from computer
SettingsÆ Control panelÆ WFTPD FTP server icon (if program did not start automatically
after installation).
The setting of FTP server is started by creating a new server. Pressing New Server opens
up following setting screen. Give server a Name and Listen at address, the address is the
IP of the PC.
After giving the name and the address click OK, activate the server name and press
Configure key.
Following is a description of settings that are made on the configuring page.
5.1. Security
Enable Security and Allow users to write files. Server can also be restricted to working folder.
Working folder can only be selected, not created with configurator (Create folder with
Windows Explorer)
5.2. Logging
Define log folder, file and items to add to log-file. Log folder can only be selected, not
created, with configurator (create folder with Windows Explorer).
5.3. Messages
No changes are necessary to the default settings on this page.
5.4. Users
In this page users and passwords are defined.
Press Create User to define a user. Default user in the CNC settings is FP and password is
LONDON (typed with CAPITAL letters).
Define Home Directory (working directory) and Rights to user fp. Restrictions to rights can
also be defined if found necessary (e.g. overwriting and deleting files can be blocked by
leaving Overwrite/Delete box blank).
5.5. Network
No changes are necessary to the default settings on this page if Listen at IP is correct.
5.6. Conversions
No changes are necessary to the default settings on this page.
5.7. Advanced
No changes are necessary to the default settings on this page.
5.8. TLS/SSL
No changes are necessary to the default settings on this page.
Ethernet settings in 0iPC differ slightly from 18iPC. Differences are marked with NOTE text.
To be able to change the Ethernet settings, parameter writing must be enabled. Press
OFFSET/SETING key in MDI-mode and after that SETING soft key to enter the SETTING
page. Input “1” to PARAMETER WRITE.
Ethernet parameters can be found by pressing the SYSTEM key in MDI-mode and after that
+ soft key so many times that soft keys presented in the picture below appear on the screen.
Press ETHPRM to display following screen.
NOTE: in the 0iPC text under Available Ethernet is PCMCIA Card and Fast Ethernet Board.
In Finn-Power applications only Fast Ethernet Board is used with 0iPC.
In the 18iPB Press EMBEDD to enter the ETHERNET PARAMETER page 1/7
NOTE: In the 0iPC Press BOARD to enter the ETHERNET PARAMETER page 1/7.
The Finn-Power default IP settings are as in following pictures. Pages can be scrolled with
PAGE UP and PAGE DOWN keys. IP address can be erased (set blank) by pressing SP
(space) and INPUT-key (when the cursor is at the line that need to be erased). If IP address
is necessary to change key in new full IP address and press INPUT-key.
Router IP address can be left Blank if the connection is done directly from PC to CNC or if
there is no Router in the network.
NOTE: in 0iPC PORT NUMBER (UDP) is 0 and TIME INTERVAL is 0 (as a default).
In these pages PORT NUMBER, IP ADDRESS, USERNAME and PASSWORD are set for
each connection. There can be defined 3 different connections (see pages 4/7 and 5/7). As
default all connections (1-3) are defined with similar settings. Default USERNAME is FP and
PASSWORD is LONDON. The settings can be edited if necessary.
NOTE: In the 0iPC pages 3-5 are named as (DATA SERVER) but functions are the same as
in 18iPB (FTP TRANSFER).
After completing the Ethernet settings restart CNC (turn power OFF and ON) to activate new
values. If no changes were made to Ethernet settings restart is not needed.
Before trying to establish the connection make sure that cross-wired Ethernet cable is
connected between CNC (connector: ETHERNET JD38A in 18iPB and JD38R in 0iPC) and
FTP-server PC network card. Cable has to be direct (not cross-wired) if network hub is used
to connection. Settings in the CNC and WFTPD FTP server must also be completed.
After PC and CNC Ethernet settings are completed and the cross-wired Ethernet cable is
connected, test the connection from the PC with ping 192.168.1.10 (CNC default IP address)
command from the Windows command prompt.
If reply from CNC is NOT OK, RE-START the CNC and test again.
If still having problem with communication after CNC re-start, make sure PC and CNC IP
settings are correct and PC network adapter is active and cable is properly connected.
Attention! Check also PC Firewall settings, Ping utilities may be blocked by the firewall
e.g. Windows firewall may block the communication with default setting.
Before trying to establish the connection make sure that cross-wired Ethernet cable is
connected between CNC (connector: ETHERNET JD38A in 18iPB and JD38R in 0iPC) and
FTP-server PC network card. Cable has to be direct (not cross-wired) if network hub is used
to connection. Settings in the CNC and WFTPD FTP server must also be completed.
The connection from the CNC to the PC can also be tested using ping command. To access
“PING-page” from the CNC press SYSTEM key in MDI-mode and then PARAM soft key and
after that + soft key four (4) times (in 18iPB), seven (7) times in (0iPC) to access the PAGE in
the below picture.
In this page press ETHMNT and then (OPRT) to enter next page
In this page press EMBEDD (in 18i) and BOARD (in 0iPC) to enter next page.
From this Page the communication from CNC to PC can be tested by writing the PC IP
address 192.168.1.11 (if default values used) and then PING soft-key to start the operation.
If the communication is OK there will be a Reply from the PC, if the communication is
NOT OK there will be a message as in picture below. If the Request is Timed Out make
sure PC and CNC IP settings are correct and PC network adapter is active and cable is
properly connected.
Attention! Check also PC Firewall settings, Ping utilities may be blocked by the firewall
e.g. Windows firewall may block the communication with default setting.
After successful Ping reply from/to PC the FTP-server communication will most
probably work as well.
If several different users or connections are defined and current settings need to be checked
or changed, follow these instructions: Press PROG key in EDIT-mode and after that + soft
key so many times that soft keys presented in the picture below appear on the screen. Press
CONECT to display following screen.
In this (ETHERNET CONNECT HOST) page press CONECT, (OPRT) and from the opened
page EMBEDD soft key to get access to CONNECT HOST page
NOTE: in 0iPC press CONECT, (OPRT) in (ETHERNET CONNECT HOST) page and from
the opened page BOARD soft key to get access to CONNECT HOST page
In the CONNECT HOST page connection 1, 2 or 3 can be selected with CON-1, CON-2 or
CON-3 soft keys.
If no changes have been made to the default settings this selection is unnecessary, because
all the settings are the same.
To access ETHERNET HOST FILE DIR from main page press PROG key in EDIT-mode and
after that + soft key so many times that soft keys presented in the picture below appear on
the screen. Press HOST to display following screen.
Connection to FTP server can be established by pressing HOST, (OPRT) and EMBEDD soft
keys.
NOTE: in 0iPC Connection to FTP server can be established by pressing HOST, (OPRT)
and BOARD soft keys.
In the HOST FILE DIR page you can see the content of the FTP server working folder. FTP-
server service must be active from FTP-server PC to be able to see the FTP-server content.
Admittance to HOST FILE DIR page: see former pages.
In this page there are following soft keys and functions available.
SWITCH Switches between the detailed and non-detailed content of FTP server
working folder
STOP Stops the current action and clears the display alarms
SEARCH Searches files with file number from FTP server working folder
DELETE Deletes files from FTP server working folder. Files can be defined according to
file number or name (e.g. O0001)
READ Reads files from FTP server. Files can be defined according to the file number
or name (e.g. O0001)
PUNCH Punches files to FTP server. Files can be defined according to the file name
(e.g. O0001)
NOTE: in 0iPC there is also soft key M198 H but that is not used in Finn-Power application.
Once FTP server connection has been established and CNC I/O-channel defined to 9 you
can also PUNCH or READ programs from normal PRGRM screen.
Press (OPRT), + and PUNCH in EDIT mode to punch the active program to FTP-server.
Press (OPRT), + and READ in EDIT mode and define program number (Oxxxx) to read the
program from FTP-server.
If Alarm 088 LAN FILE TRANS ERROR (CHANNEL –1) occurs during the PUNCH
operation check FTP server mode and cable connections and try again.
NOTE: in 0iPC at similar situation Alarm text is 5082 DATA SERVER ERROR.