TableofContents
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 3 ............................................................................................................ 10 Ethernet NC setup instructions for 31i, 32i Controls ..................................... 10 Section 4 ............................................................................................................ 14 Ethernet NC setup instructions for 0i_d Controls.......................................... 14 Section 5 ............................................................................................................ 18 RS-232 Set-up, PC Configuration .................................................................... 18 HyperTerminal in Windows 7 for 32 and 64 bit Computers ............................. 18 RS-232 C Interface Wiring (For use with DC Codes) .................................... 20 RS-232 C Interface Wiring (No Hand Shake) .................................................. 21 Communication with CNC via RS 232C using Hyper Terminal ...................... 23 A new connection for Hyper Terminal is setup as follows: .............................. 23 Downloading from the CNC to the PC ............................................................. 24 Uploading from the PC to the CNC ................................................................. 25 Notes on downloading to the PC: .................................................................... 25 Notes on uploading to the CNC: ...................................................................... 25 Notes on changing the communication settings for Hyper Terminal................ 26 Appendix ........................................................................................................... 27 Revision History: ............................................................................................. 27
robert.appleton@doosan.com
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. Data exchange between host and NC Data transfer operation between host and NC is started at the NC-side. Data transfer cannot be started from the host. The NC can access and display the files located at an assigned directory at the host. Data is transferred between the assigned directory at the host and the NC. The host cannot access files or screen displays located at the NC. DNC-operation (drip-feeding of NC programs in tape-mode) cannot be done. 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. To verify the settings: Go to the control panel.
Find the Windows Firewall. Click it. Go to the Exceptions tab Make sure the TYPsoft FTP Server is checked Go to the Advanced tab Look for the ICMP setting and click Settings Make sure Allow incoming Echo Request box is checked.
robert.appleton@doosan.com
Click on Setup then click on Users. Click on New User. The system will ask: What is the new login?
robert.appleton@doosan.com
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. Next, click on FTP.
robert.appleton@doosan.com
Check boxes as desired then click save. Close the tile. Do not close the program.
robert.appleton@doosan.com
Section 2 Ethernet NC setup instructions for 18i, 21i, 0ib, 0ic Controls
1. Go to the NC. Select MDI-mode. Set parameter write enable=1. On the same page, set the I/O-channel =9
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 hosts IPaddress. 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).
2. Launch the FTP server on the PC. 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 Dec. 2010 Ver1 -8robert.appleton@doosan.com
robert.appleton@doosan.com
For a 2 path machine, select the Lower Path on the Control Panel Select MDI on the Control Panel
robert.appleton@doosan.com
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 Host 169.254.241.90 169.254.241.70
Note: The Subnet Mask of each device in the Network must match each other.
Example:
Subnet Mask
255.255.0.0
robert.appleton@doosan.com
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 the [+] Key, then press [PING]
robert.appleton@doosan.com
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.
(If not, check all the settings) If the settings match but there is no response back with ping, power down both the Computer and NC. With the cables still connected, power the computer all the way up first, then the control. If Communication problems occur, check all of the previous steps including cabling, and PC FTP configuration. If Response is received, the configuration is correct. Go to [Program] then [Folder], and select the [EMB ETHER] to see the Directory from the Host PC (This is the Folder that was selected from
The status of the FTP I/O can be monitored from the PC Server Dialog as shown below.
robert.appleton@doosan.com
Select MDI 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]
robert.appleton@doosan.com
Example:
FANUC Host 169.254.241.90 169.254.241.70
Note: The Subnet Mask of each device in the Network must match each other.
Example:
Subnet Mask
255.255.0.0
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. Advance to the screen shown below by pressing [FTP TRANS]
robert.appleton@doosan.com
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 the [+] Key, then press [PING]
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.
(If not, check all the settings) If the settings match but there is no response back with ping, power down both the Computer and NC. With the cables still connected, power the computer all the way up first, then the control. If Communication problems occur, check all of the previous steps including cabling, and PC FTP configuration. If Response is received, the configuration is correct.
robert.appleton@doosan.com
The status of the FTP I/O can be monitored from the PC Server Dialog as shown below.
robert.appleton@doosan.com
Simply run hypertrm.exe and HyperTerminal is on Windows 7. If you want to have HyperTerminal on your Start Menu, create a shortcut to hypertrm.exe and put it in C:\ProgramData\Microsoft\Windows\Start Menu\Programs and when you go to All Programs under the Start Menu HyperTerminal will be there. Note: A known issue is that when creating a connection, the icons do not show, this does not affect program operation.
robert.appleton@doosan.com
robert.appleton@doosan.com
RS-232 Set-up, NC Configuration RS-232 C Interface Wiring (For use with DC Codes)
robert.appleton@doosan.com
robert.appleton@doosan.com
A usb to RS-232 adapter may be needed to connect modern PCs or laptops to the CNC Machine. These can be obtained from many internet and local sources. These adapters have been tested and provide the necessary signals needed by the FANUC communications port. The null modem cable configuration from the previous pages must be used in conjunction with these adapters. Note: These adapters dont replace the crossover cables from the previous pages; they simply provide an RS-232 connection port for the PC.
robert.appleton@doosan.com
(Above are the normal default settings on Doosan Machine Tools that are equipped with FANUC controls). Clicking on ProgramsAccessories Communication Hyper Terminal starts the program on your PC
Baud rate: 4800 Data bits: 7 Parity: EVEN Stop bits: 2 Flow control: X-ON / X-OFF
robert.appleton@doosan.com
robert.appleton@doosan.com
robert.appleton@doosan.com
robert.appleton@doosan.com
Appendix Appendix
Revision History:
Version 1.0 December 1, 2010
robert.appleton@doosan.com