LANCNC FTP LAN network data server for CNC Controls 2008-2009 Calmotion LLC, All rights reserved Calmotion LLC 9909 Topanga Canyon Blvd. #322 Chatsworth, CA 91311 www.calmotion.
Introduction This manual is intended to provide a description of the Calmotion LANCNCUNIVERSAL CNC network FTP data server. The LANCNC is an FTP server with at least 2 GB of local memory stored on a removable SD card. Data can be accessed over a LAN network as well as directly off the SD card when the card is used with a computer. Requirements The LANCNC device will work with a CNC control with a standard DB25 RS-232 serial connection to the control box for the purposes of input/output of CNC data.
Main Menu The following is the main menu displayed upon application of power. The outer round buttons are used to adjust the item to be selected either up or down. The center button is used to select the function that is highlighted with the > < symbols. The descriptions of each function are described later in the manual. Select:>CNC to File< File to CNC DNC v3.92 SETUP CNC to File Menu Selection With this selection, CNC data can be sent directly to the local ftp server memory.
File to CNC Menu Selection With this menu selection, a file on the ftp server memory can be sent directly to the CNC. The first files shown on the display are files on the ftp server memory from the most recently accessed directory. Use the buttons on the right and the left to highlight a particular file, highlight [type file] to type in a file name, or select a new sub directory to display. Press the center button to make the selection desired. [type file] CNC16.TXT >MOLD.
DNC* Menu Selection With DNC selection, a file on the ftp server memory can be sent directly to the CNC while the control is in Automatic mode. This function provides a way to ‘run’ a program off the ftp server memory. The first files shown on the display are files on the ftp server memory from the most recently selected directory. Use the buttons on the right and the left to highlight a particular file, highlight [type file] to type in a file name, or select a new sub directory to display.
the Z axis. To do this, the operator would enter the appropriate NC codes to make a tool change like T4M6. Preparatory Data: T4M6 (delete=Left/Right) Scroll Cont. Next The mid-tape or preparatory text can be typed using the left and the right buttons under the display. The Scroll function is used to increment to another letter or number. Use the Next function to accept that character and move to the next character in the text. Use the Cont. function to accept this as the file name.
Setup Menu Selection The Setup selection allows settings to be established for the RS-232 serial communication with the CNC. Highlight the parameter option from the list. Press the center button to select the highlighted option. >Baud Rate< Flow Control End Of Block Delay Baud Rate Set the Baud Rate to communicate to the CNC. The baud rate is the number of bits per second the RS-232 serial port will communicate.
characters to start and stop data transmission. Software flow control is the preferred and easiest method to implement. This method is recommended. to CNC: MOLD.TXT XON XOFF Cancel When the Software flow control method is used, the current XON or XOFF that has been received during transmission will be displayed on the right of the display. Use this feedback to determine if the LANCNC unit is receiving XON or XOFF characters. End of Block Char End of block sets the format for end of block characters.
Start of Tx This sets the character that will be sent prior to sending data in the selected file. The most common character used is the percent, %. Choose a setting as specified in the CNC manual. If your file already contains a % at the beginning, set to none so duplicate % signs are not sent. The following choices are available: % null char none Use the null character for controls the need an ASCII char 0 to be used as the start character.
Notes: The LANCNC does not support long Windows type file names. Use a DOS type 8.3 file format with the LANCNC. 8.3 filenames have at most eight characters, optionally followed by a "." and a filename extension of at most three characters. Deciding on a network configuration There are several ways to design a network. Some knowledge and experience with setting up networks is highly suggested. The simplest example shown below is of a peerto-peer network where there are only two devices connected.
Figure 1 2. Select “Network Connections” and the following screen should appear. Figure 2 3. Highlight the “Local Area Connection” and right click the mouse. A box should appear. Select “Properties” and a new box should appear.
Figure 3 4. Select “Internet Protocol (TCP/IP)” so that it is highlighted and click the “Properties” button. A new screen will pop up. Select the button “Use the following IP address:” and type in an address of 192.168.2.101. The sub-net mask should be 255.255.255.0. Click “OK”. The “Local Area Connection Properties” menu will be displayed. Click “Close”. There will be a slight delay while your PC applies these new settings.
Figure 4 5. You may exit from the Control Panel. Start Internet Explorer and type ftp://192.168.2.111 in the address bar. A screen similar to the one shown in Figure 8 should appear. A number of files are loaded on the SD card when shipped for testing purposes. A message will appear “To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer”.
Figure 5 Follow the instructions that come up in Internet Explorer to view the files in an ftp viewer window. (Click “Page”, and then click “Open FTP Site in Windows Explorer” in the drop down box.
Figure 6 The figure above shows the display on a PC when the ftp site has been opened from the previous step. At this screen, files can transferred from any file folder on your PC and the FTP site. If you wish to create a new directory on the FTP site, create a file folder somewhere on your PC such as “My Documents”. Select the folder and drag and drop with your mouse to the ftp window shown above. The file directory as well as any files inside the directory will be copied to the LANCNC ftp site.
Example 2, Wired Network connection to the LANCNC using a router The diagram below shows a wired network configuration using a network router. The router connects multiple networking devices together. Calmotion LANCNC CAT5 Ethernet CAT5 Ethernet Computer Router CAT5 Ethernet Calmotion LANCNC CAT5 Ethernet Calmotion LANCNC The Internet DB25 RS-232 Serial CNC DB25 RS-232 Serial CNC DB25 RS-232 Serial CNC The IP address of the router is required to setup the LANCNC.
The following is an example of what a network router LAN configuration page should look like. You typically access the LAN settings via a web browser and type in the routers IP address, in this example it is 192.168.2.1. This is a typical IP address of routers. A B C Figure 7 A This is the IP address of the router. If you type in 192.168.2.1 into a web browser it will access the displayed router settings pages shown.
Example 3, Wireless Network connection to the LANCNC using a router and a Wireless Bridge The diagram below shows a Wireless Network connection to the LANCNC using a router and a Wireless Bridge. It is suggested to use the router settings shown in the previous section. This configuration will use the wireless router with wireless bridging turned on to connect to another wireless router set up as an access point.
Use the following step-by-step procedure to setup the router and then the access point. These settings are based on using a Belkin Wireless G router and access point: Router Configuration 1. Open a Web Browser 2. In the address bar type http://192.168.2.1 3. Click on Wireless Bridge in the left hand column under Wireless 4. Enter your password if any and click Submit 5. Check the box that says Enable Wireless Bridging, click Apply Changes. 6.