Professional Documents
Culture Documents
DOOSAN, FANUC Controls
Section 1 .............................................................................................................. 3
Ethernet Set-up for the PC ................................................................................ 3
Description ........................................................................................................ 3
Connection: ....................................................................................................... 3
Data exchange between host and NC ............................................................... 3
Windows Firewall .............................................................................................. 3
Hardware requirements ..................................................................................... 4
Software requirements ...................................................................................... 4
PC Setup Instructions ........................................................................................ 4
Section 2 .............................................................................................................. 8
Ethernet NC setup instructions for 18i, 21i, 0ib, 0ic Controls ......................... 8
Section 1
Ethernet Set-up for the PC
Doosan Turning centers and Machining Centers that are equipped with FANUC
controls, Ethernet port and the “Embedded Ethernet” function can be connected
either to a local area network or directly to a single PC.
Description
The FANUC Embedded Ethernet function allows convenient exchange of NC
programs; tool offset data, system parameters and other NC data between
the host PC and the NC.
A directory page at the NC displays all the files in an assigned folder located
at the host PC.
Connection:
A single PC can be connected to the NC via Ethernet port.
A network can be connected to one or more NC units. A workstation on the
network is assigned as the host for one or more NC machines.
Windows Firewall
In rare cases Windows firewall does not have “Allow incoming Echo Request”
box checked. This must be allowed for communication between the machine
and Computer.
Hardware requirements
Personal Computer equipped with LAN connection and Windows operating
system (Windows 97 through Windows 7), or a PC workstation connected to
a local area network.
LAN Cable
a) Cable type RJ45, Male to Male-“Crossover”, CAT5e. This type of cable is
used when connecting a single PC directly to the NC.
b) Standard LAN cable is used when connecting the NC to a network.
Software requirements
The software “TYP Soft FTP Server 1.xx” must be installed on the host PC. If
not attached to this file, the software can be downloaded at no charge from:
http://en.typsoft.com
PC Setup Instructions
1. Install the software “TYP Soft FTP Server 1.xx” on the host-PC. Upon
completed installation, launch “FTP” to make sure there are no problems
starting it then shut FTP down again.
2. Make a new folder on the host PC, for example: C: \ NCDATA”. This folder is
needed for transferring data back and forth between the PC and the NC. For
test purposes, please store a few NC-programs (NC-text files) in this folder.
3. When connecting a local area network to the NC, please go to item #6. After
reviewing item #6, please consult your system administrator or network
specialist for obtaining the IP address, subnet mask and router IP address
that is applicable for the network.
5. With the cable plugged in on both sides, please reboot the PC as follows:
On a PC that has not been configured for a local area network, please
login the normal way. After power –up it is possible that the “New
Hardware Detection” process may be activated by the system. After
completion of this process, please reboot the PC again.
On a PC that has already been configured for a LAN connection, please
make sure to click on “Work Station Only” when you login. In case of a
wireless LAN, please do not activate it when powering up the PC.
6. Get the IP-address of the host-PC. The IP-address consists of a number that
looks similar to this: “123. 456. 789. 122”
The IP-address is obtained through the DOS command prompt. For
Windows, the DOS command prompt is found in “Programs” under
The system will reply with the “IP-address” and the “Subnet Mask” address.
Write down the IP address and Subnet Mask. You will need them for setting
the Ethernet parameters on the NC. If the numbers do not come up or if they
are all zeros, please check the cable connection again and reboot the PC.
Consult a network specialist if necessary.
First you must select the root directory. To do this click the “…” button at the end
of the dialog box underneath the “Root Directory”, a window will pop up and you
can browse the directory to select where the program files will be stored. This
“Root Directory” is the path and folder name you made for uploading and
downloading NC-data, for example: c:\ NCDATA. Click on “Ok ”. This will close
the window. Do not close the tile just yet.
On the tile “List of Users” is shown your new user name that you just registered.
The new user name will be highlighted. This will let you complete the items under
“Directory Access” on the right side of the tile.
In the tile labeled “Directory Access” the directory you just select will be displayed
and highlighted. Click that listing with the same name as shown under the root
directory on left. Review all other items and check mark items (Download,
Upload, etc.) as desired. Save the data then close the tile.
Check boxes as desired then click save. Close the tile. Do not close the
program.
Section 2
Press “SYSTEM”, then repeatedly press the “+”-key, until the key
“ETHPRM” appears.
Press “ETHPRM”, then “OPRT”, then “EMBED”.
On page (1), key in the IP-address of the NC. This address should be
nearly identical to the IP-address of the host except for the last digit. It
must be one number higher or lower than the last digit of the host’s IP-
address. If using a network this cannot be another address on the
network.
Set the “Subnet Mask-address” = ex 255.255.0.0 (This is same number
as found on the PC and will vary between configurations)
Go to page (3). On “PORT”, key-in 21.
Key in the IP-address of the host on this page. The user name and
password must match the names used on the FTP-server.
Set the parameter write enable=0
POWER OFF the NC (Every time when changes are made to the Ethernet
parameters the power must be turned OFF).
3. On the NC, please select “EDIT “-mode. Push “PROGRAM”, then push “+”,
then “HOST”, then “OPRT”, then push “EMBED”.
At this time the NC is looking for the host. A page will appear that displays all
of the files in the assigned directory of the host (e.g.: C:\NCDATA). If the
Section 3
For a 2 path machine, select the Lower Path on the Control Panel
Settings for the LAN can be found by pressing the [System] Hard key
then pressing the [+] soft key repeatedly until the Screen above appears.
Press [EMBED PORT]
The MAC Address (Media Access Control) are most often assigned by the
manufacturer of a network interface card (NIC) and are stored in its hardware.
This number cannot be changed.
The IP address of the Ethernet adapter is static; this means the number is
permanently assigned upon set-up and is active until changed by the user . The
least significant value (90) in this example string must be larger than the Host
Computer.
Example:
FANUC 169.254.241.90
Host 169.254.241.70
Note: The Subnet Mask of each device in the Network must match each other.
Fill out the HOST NAME (IP ADDRESS) with the IP address from the PC
(Host) 169.254.241.70
Port Number 21
User Name, if any (Must match the PC configuration)
Password, If any (Must match the PC configuration)
Using a Crossover Cable connect the two devices. (If a crossover cable is
not available, a network switch must be placed between the two devices.)
Press [OPRT]
This will check the communications of the configuration, If the connections and
settings are correct, the host computer will respond with the (response is
received) message.
With the cables still connected, power the computer all the way up first, then the
control.
Section 4
Settings for the LAN can be found by pressing the [System] Hard key
then pressing the [+] soft key repeatedly until the Screen above appears.
Press [EMBED PORT]
Example:
FANUC 169.254.241.90
Host 169.254.241.70
Note: The Subnet Mask of each device in the Network must match each other.
The Host Name (IP Address). (The Host computer is the computer running the
FTP Server software, (PC)) FTP means File Transfer Protocol. This computer
will direct all traffic between the two Systems.
Fill out the HOST NAME (IP ADDRESS) with the IP address from the PC
(Host) 169.254.241.70
Port Number 21
User Name, if any (Must match the PC configuration)
Password, If any (Must match the PC configuration)
Using a Crossover Cable connect the two devices. (If a crossover cable is
not available, a network switch must be placed between the two devices.)
Press [OPRT]
This will check the communications of the configuration, If the connections and
settings are correct, the host computer will respond with the (response is
received) message.
With the cables still connected, power the computer all the way up first, then the
control.
The status of the FTP I/O can be monitored from the PC Server Dialog as
shown below.
Section 5
If not attached to this file, you can download the files you need from this link:
http://toolbox.davisnet.com/downloads/Weather/Misc/Hyperterminal/
Copy the following files to the folder that was just created above:
Note: A known issue is that when creating a connection, the icons do not
show, this does not affect program operation.
A USB to serial adapter is required for most new computers today. Windows 7
will most likely find the drivers it needs, if not, a source for USB to Serial drivers
can be found at: http://www.prolific.com.tw/eng/downloads.asp?ID=31.
Note: These adapters don’t replace the crossover cables from the previous
pages; they simply provide an RS-232 connection port for the PC.
Notes:
• The Hyper Terminal program is found on most PC’s under “Accessories”
• You will need a properly configured cable that connects the serial port (COM1 or COM2) of the
PC with the RS-232C port on the CNC.
• Setting of the I/O-Channel (on the CNC - “Setting Page”) is normally set to 0.
• Punch Code is set to ISO
• Parameters at the CNC are set as follows:
(Above are the normal default settings on Doosan Machine Tools that are equipped with FANUC
controls).
1. Click on Hyper Terminal. Specify the “New Connection” by entering a connection name
and picking an icon that can be used for the shortcut. For example: Name: “CNC-1”, then
pick the “GE”-icon. Click “OK”.
2. The tile “Connect to:” comes up. Click on either COM 1 or COM2 at the bottom of the tile,
depending upon the serial port number that is available on your PC. Then click “OK”.
1
Text Borrowed From Hyper Terminal.PDF - Kasper Zweifel 3/21/2006
Make sure that this data is compatible with the communication parameters as set at the
CNC (as per notes, above). When data entry is completed, click: “OK”.
4. Now, the main communication page is displayed. The title on top of the page should
show up as “CNC-1-Hyper Terminal” (or whatever you named it). It is labeled with the
“GE”-icon (or whatever icon you picked). Click on “FILE”, then “Save”. The connection is
now saved as “CNC-1.ht”. Click on “FILE” again, then “EXIT”.
5. On your PC, create a new folder, for example: ”C:\NC Programs”. This folder will be used
for uploading / downloading of NC programs. Make the path short and simple so the
folder can be located quickly and easily. You may paste some typical NC programs (Text
files only) into this folder for the purpose of sending it to the CNC, later.
6. Open the program “Note PAD”. Save the blank file in the folder” C:\NC Programs”, as
“Program 1.txt”. (The file contains no text at all). Then, minimize Word Pad.
7. Now, connect the communication cable to the CNC and to the PC.
9. Run the program by double clicking the new icon on your desktop. The communication
page will now appear. On the bottom of the page the setting details are displayed, like
“connected” or “disconnected”, “auto-detect”, “7-E-2-4800”, etc.
10. On the second row from the top you will see two small pictures of a telephone receiver.
One with the receiver on the hook, the other one off the hook. Clicking on one or the
other connects or disconnects the line. Make sure the line is connected. You may also
click on “Call” to connect. When the tile shows “Connected” at the bottom of the page,
you are ready to send and receive. If the Hyper Terminal page takes up too much space
on the screen, you can make it smaller by dragging the top, bottom or the sides.
1. On the CNC, select edit-mode. Display the program you wish to download on the screen.
Suppose the program number on display is “1234”.
2. Go to the PC. Click on “Transfer” then “Capture Text”. Make sure you do not click on
“Receive file”.
3. Click on “Browse”. Locate the;” C:\NC Programs” folder you made. Then open the folder.
Click on the file “Program 1.txt”. Then click on “Save”. The PC is now waiting for the data
to come in.
On the PC the program text will now be rolling diagonally across the screen. This is normal. If the
text consists of a lot of unusual looking characters the communications parameters are not set as
instructed. (See page 25 for setting changes)
5. When transmitting stops, click on; “Transfer”, then “Capture Text” and “Stop Text”. This
action will close the file. You must always stop text after capture text or else no further
action is possible.
6. For the purpose of verifying the file content open the file with “Note Pad”. The text should
appear almost identical to the way it appears on the CNC screen. You may close the file
without saving, save “as” or leave it open.
1. For test purposes, you may wish to upload the same program “1234” you just
downloaded to the PC. On the CNC, select edit-mode. Re-name the existing program
“1234” with another number. For example: when the program is displayed on the screen,
key in O4321, then press: “ALTER”.
Appendix
Revision History: