[go: up one dir, main page]

0% found this document useful (0 votes)
137 views24 pages

FTP Conf

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 24

FINN-POWER

TURRET PUNCH PRESS/


PUNCH/SHEAR CENTER

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)

With Fanuc 18iPB/0iPC control

Finn-Power Oy Edition 02/27.12.2006/GB


P.O. Box 38
FIN-62201 Kauhava
Finland
Tel. + 358 6 428 2111
Fax + 358 6 428 2244
www.finn-power.com
01/24.10.2005/GB

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.

Finn-Power Oy. All rights reserved. 2


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

CONTENTS

1. EMBEDDED ETHERNET IN 18IPB CONTROL ........................................................................ 4


2. FAST ETHERNET IN 0IPC CONTROL ..................................................................................... 4
3. COMPUTER IP SETTINGS ....................................................................................................... 5
4. INSTALLING WFTPD PRO 3.10 PROGRAM TO PC................................................................ 6
5. CONFIGURING THE WFTPD PRO 3.10 FTP SERVER IN PC ................................................. 7
5.1. SECURITY ..............................................................................................................................................7
5.2. LOGGING ...............................................................................................................................................8
5.3. MESSAGES ............................................................................................................................................8
5.4. USERS ..................................................................................................................................................9
5.5. NETWORK ...........................................................................................................................................10
5.6. CONVERSIONS .....................................................................................................................................11
5.7. ADVANCED ..........................................................................................................................................11
5.8. TLS/SSL ............................................................................................................................................12
6. ETHERNET SETTINGS IN FANUC CNC ................................................................................ 12
6.1. TCP/IP SETTINGS FOR THE CNC .........................................................................................................14
6.1.1. Host Connections 1-3 ......................................................................................................................15
6.2. FTP SERVER I/O-CHANNEL IN CNC......................................................................................................16
7. TESTING THE CONNECTION FROM THE PC TO THE CNC ................................................ 17
8. TESTING THE CONNECTION FROM THE CNC TO THE PC ................................................ 18
9. STARTING FTP SERVER FROM PC ...................................................................................... 21
9.1. SELECTING FTP SERVER CONNECTION AND USER FROM CNC ..............................................................21
10. CONNECTING FTP SERVER FROM THE CNC ..................................................................... 22
10.1. CONTENT OF THE FTP SERVER AND FUNCTIONS WITH CNC ...................................................................23
10.2. READ/PUNCH FROM/TO FTP SERVER TRUE CNC PROGRAM SCREEN .....................................................24

Finn-Power Oy. All rights reserved. 3


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

1. EMBEDDED ETHERNET IN 18iPB CONTROL

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.

2. FAST ETHERNET IN 0iPC CONTROL

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.

Finn-Power Oy. All rights reserved. 4


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

If it is necessary to make changes, the IP settings are in Windows 2000 computer in


SettingsÆ Control panelÆ Network and Dial-up ConnectionÆ Local Area Connection
PropertiesÆ Internet Protocol (TCP/IP) Properties.
In NT computer, IP settings are in SettingsÆ Control panelÆ NetworkÆ ProtocolsÆ
TCP/IP ProtocolÆ Properties.

TCP/IP Properties in Windows 2000:

After completing the IP Address settings, current IP can be checked in Command Prompt like
described in the previous column.

Finn-Power Oy. All rights reserved. 5


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

4. INSTALLING WFTPD PRO 3.10 PROGRAM TO PC

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!

WFTPD Pro program folder content in Windows 2000:

Running setup.exe starts the installation to the PC. Follow instructions shown during
installation.

Finn-Power Oy. All rights reserved. 6


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

5. CONFIGURING THE WFTPD PRO 3.10 FTP SERVER IN PC

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)

Finn-Power Oy. All rights reserved. 7


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

Finn-Power Oy. All rights reserved. 8


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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).

Finn-Power Oy. All rights reserved. 9


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

Finn-Power Oy. All rights reserved. 10


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

Finn-Power Oy. All rights reserved. 11


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

5.8. TLS/SSL
No changes are necessary to the default settings on this page.

After completing necessary settings press OK.

6. ETHERNET SETTINGS IN FANUC CNC

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.

Finn-Power Oy. All rights reserved. 12


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

Press (OPRT) to show the next page.

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.

Finn-Power Oy. All rights reserved. 13


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

6.1. TCP/IP Settings for the CNC

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.

More TCP/IP Settings at page 2/7.

NOTE: in 0iPC PORT NUMBER (UDP) is 0 and TIME INTERVAL is 0 (as a default).

Finn-Power Oy. All rights reserved. 14


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

6.1.1. Host Connections 1-3

In the pages 3-5/7 (FTP TRANSFER) Host Connections are defined.

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).

Exit this page with < or + and PRGM soft keys.

Finn-Power Oy. All rights reserved. 15


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

6.2. FTP Server I/O-channel in CNC


After completing the Ethernet settings, I/O Channel has to be changed to Ethernet: Press
OFFSET/SETING key in MDI-mode and after that SETING soft key to enter the SETTING
page. Input “9” to I/O-Channel in 18iPB and “5” to I/O-Channel in 0IPC and after that “0” to
PARAMETER WRITE to DISABLE parameter write.
I/O Channel 0,1=RS-232 Serial port 1
2=RS-232 Serial port 2
4=Memory Card Interface in CNC with Fanuc LCD and
Data Input-output folder in MMC machine.
Attention! 9=Embedded Ethernet in 18iPB Control
5=Fast Ethernet/Data Server in 0iPC control

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.

Finn-Power Oy. All rights reserved. 16


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

7. TESTING THE CONNECTION FROM THE PC TO THE CNC

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.

Finn-Power Oy. All rights reserved. 17


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

8. TESTING THE CONNECTION FROM THE CNC TO THE PC

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.

Finn-Power Oy. All rights reserved. 18


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

Finn-Power Oy. All rights reserved. 19


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

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.

Finn-Power Oy. All rights reserved. 20


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

9. STARTING FTP SERVER FROM PC


Service can be started from PC SettingsÆ Control panelÆ WFTPD FTP server icon.
Activate the correct connection and press Start Service key and after that GO key. Icon
beside the connection name shows GO and icon colour is GREEN when service is
successfully started.

9.1. Selecting FTP Server Connection and User from CNC

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.

Finn-Power Oy. All rights reserved. 21


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

If no changes have been made to the default settings this selection is unnecessary, because
all the settings are the same.

Exit this page with < or + and PRGM soft keys.

10. CONNECTING FTP SERVER FROM THE CNC

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.

See also next pages!

Finn-Power Oy. All rights reserved. 22


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

10.1. Content of the FTP server and functions with CNC

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

UPDATE Updates the folder View

STOP Stops the current action and clears the display alarms

SEARCH Searches files with file number from FTP server working folder

RETURN Back to main page


NOTE: This key does not exist in 0iPC control. In 0iPC exit this page with < or
+ and PRGM soft key.

DELETE Deletes files from FTP server working folder. Files can be defined according to
file number or name (e.g. O0001)

+ Switch to READ/PUNCH Display

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.

Exit this page with < or + and PRGM soft key.

Finn-Power Oy. All rights reserved. 23


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control
01/24.10.2005/GB

10.2. Read/Punch from/to FTP server true CNC Program Screen

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.

Finn-Power Oy. All rights reserved. 24


Configuring FTP Server to Serve Fanuc 18iPB/0iPC Control

You might also like