1 TNCremoNT—The TNCremoNT—The Software Software.......... .................... ............... ..... 3 1.1 TNCremoNT Software Package............................ Package............ ................................ ................................ ................ 3 1.2 Hardware Prerequisites.................. Prerequisites. ................................. ................................ ................................. ....................... ...... 3 1.3 License License Agreement Agreement ..................... .............................. .................. .................... ..................... ................... .................. ........... .. 3
2 Installation Installation and Deinstallation............... Deinstallation...................... ....... 4 2.1 Installing the Software .............................. .............. ................................. ................................. ........................... ........... 4 2.2 Removing Removing the Software Software ........ ................... ...................... .................... .................. .................... ..................... ............. ... 5
3 How How to Operate Operate TNCremoN TNCremoNT T ......... ..................... .............. .. 6 3.1 Connection setup............... setup ............................. .............................. ................................. ................................. ..................... ..... 6 3.2 User Interface Interface ......... ................... ..................... .................... .................. .................... ...................... ...................... ................... ........ 9 3.3 Command Overview................ Overview ................................. ............................... .............................. ............................. ............. 11 3.4 ”File” Command Group ............................. ............... ............................. ............................... ......................... ......... 14 3.5 View Command Group .............................. .............. ................................ ................................ ......................... ......... 17 3.6 Tools Tools Command Command Group Group ......... .................... ...................... .................... .................. .................... ..................... ............ 19 3.7 ”Help” Command Group ........... ........................... ................................ ................................ ......................... ......... 22 3.8 Managing Several Machines with TNCremoNT............. TNCremoNT............................. ................... ... 23 3.9 Using the Online Conversion Conversion of NC Programs......................... Programs......... ......................... ......... 25
4 TNCserver TNCserver ........... ..................... .................... .................... ..................... ............. 26 4.1 General General Informatio Information n ........ .................. ................... ................... .................... ................... .................. .................... ........... 26 4.2 Establishin Establishing g a Connectio Connection n ..................... ................................ ...................... ....................... ....................... ........... 27 4.3 TNCserver User Interface ........... ........................... ................................ ................................ ......................... ......... 29 4.4 To operate the TNCserver.............. TNCserver ............................... ................................. ................................. .................... ... 30 4.5 TNCserver—Help................ TNCserver—Help.............................. .............................. ................................ ................................ .................... .... 31 4.6 The TNCserver Protocols Protocols ....................... .................................. ...................... ..................... ................... ............. .... 32
5 TNCcmd .......... .................... ..................... ..................... .................... ............... ..... 34 5.1 General General Informatio Information n ........ .................. ................... ................... .................... ................... .................. .................... ........... 34 5.2 Command Overview................ Overview .............................. .............................. ................................ .............................. .............. 34 5.3 TNCcmd with Command Files ............................. ............. ................................ ............................. ............... .. 36
6 Pallet Editor Editor ......... .................... ..................... .................... .................... .......... 37 6.1 General General Informatio Information n ........ .................. ................... ................... .................... ................... .................. .................... ........... 37 6.2 Command Overview................ Overview .............................. .............................. ................................ .............................. .............. 38 6.3 Pallet Editor—Fil Editor—File e ....... .................. ..................... ................... .................. .................... ..................... .................... ............. ... 39 6.4 ”Pallet Editor—Edit” Command Group .............................. .............. ............................... ............... 40 6.5 ”Pallet Editor—Settings” Command Group........................ Group...................................... .............. 41 June 2002
1
7 TNCbackup TNCbackup .......... .................... ..................... ................... ................... ............. 42 7.1 General General Informatio Information n ...................... ................................. ....................... ....................... ...................... .................... ......... 42 7.2 Command Overview............. Overview ........................... .............................. ............................... ............................. .................. .... 43 7.3 “TNCbackup—File” Command Group ............................. ............. .............................. .................. .... 45 7.4 “TNCbackup “TNCbackup—Ed —Edit” it” Command Command Group Group ......... .................... ..................... ................... ................ ....... 46 7.5 “TNCbackup—View” Command Group ........... ........................... ............................... ................. 46 7.6 “TNCbackup—Run” Command Group ................................ ................ ............................. ............. 47
8 Technical Technical Information...................... Information.................................. ............ 48 8.1 Overview Overview of Functions Functions ........ .................. ..................... ...................... .................... .................. .................... .............. ... 48 8.2 Cable Configuration.................... Configuration..... ............................... .............................. .............................. ........................... ........... 50 8.2.1 RS-232-C/V.24 Interface ................... ............................ .................. .................... ..................... ................ ...... 50 8.2.2 RS-422/V.11 Interface .................. ............................. ...................... ...................... ..................... ................ ...... 52 8.2.3 Ethernet Interface .................. ............................. ...................... .................... .................. .................... ............... .... 53
9 Index................... Index.............................. ..................... .................... ..................... ............. 55
2
HEIDENHAIN TNCremoNT
7 TNCbackup TNCbackup .......... .................... ..................... ................... ................... ............. 42 7.1 General General Informatio Information n ...................... ................................. ....................... ....................... ...................... .................... ......... 42 7.2 Command Overview............. Overview ........................... .............................. ............................... ............................. .................. .... 43 7.3 “TNCbackup—File” Command Group ............................. ............. .............................. .................. .... 45 7.4 “TNCbackup “TNCbackup—Ed —Edit” it” Command Command Group Group ......... .................... ..................... ................... ................ ....... 46 7.5 “TNCbackup—View” Command Group ........... ........................... ............................... ................. 46 7.6 “TNCbackup—Run” Command Group ................................ ................ ............................. ............. 47
8 Technical Technical Information...................... Information.................................. ............ 48 8.1 Overview Overview of Functions Functions ........ .................. ..................... ...................... .................... .................. .................... .............. ... 48 8.2 Cable Configuration.................... Configuration..... ............................... .............................. .............................. ........................... ........... 50 8.2.1 RS-232-C/V.24 Interface ................... ............................ .................. .................... ..................... ................ ...... 50 8.2.2 RS-422/V.11 Interface .................. ............................. ...................... ...................... ..................... ................ ...... 52 8.2.3 Ethernet Interface .................. ............................. ...................... .................... .................. .................... ............... .... 53
9 Index................... Index.............................. ..................... .................... ..................... ............. 55
2
HEIDENHAIN TNCremoNT
1TNCremoNT—The Software 1.1 TNCremoNT Software Package TNCremoNT is a software package for data transmission between PCs and HEIDENHAIN controls. The data is transmitted through the serial interface or the Ethernet interface. The TNCremoNT software package includes: n
TNCremoNT: Convenient Convenient data transfer transfer functions functions that are operated operated from from the PC. • Pallet management management for creating, creating, editing and transmitting pallet tables.
n
TNCserver: • Convenient Convenient data data transfer transfer functions functions operated operated from the the TNC. • Transmissi Transmission on functions functions for all HEIDENHAIN HEIDENHAIN controls controls..
n
TNCbackup: • Convenient Convenient function functions s for creating and restoring restoring a backup of the TNC. TNC.
n
TNCcmd: • Command Command line line tool for all all transfer transfer functions functions
1.2 Hardware Prerequisites PC Requirements
TNCremoNT can be run on all common personal computers. The operating system must be Windows 95, Windows 98, Windows NT 4.0 or Window Windows s 2000. 2000. Windows 95, Windows 98, Windows NT and Windows 2000 are registered trademarks of the Microsoft Corporation. For successful communication over the serial interface at high data transfer rates the interface should be equipped with 16C550-compatible hardware.
Requirements for the control
The selection of features you can use in TNCremoNT depends on your c ontrol. A table with an overview of features provides more detailed information, information, see page 48. 48.
1.3 License Agreement Detailed usage and license requirements are in the file Eula.rtf located in t he program directory. By installing TNCremoNT, you agree to the license requirements.
June 2002
TNCremoNT—The TNCremoNT—The Software
3
2Installation and Deinstallation 2.1 Installing the Software TNCremoNT is copied to your hard disk during installation. Procedure: With Windows NT, you must have administrator rights. Refer to your system administrator. Run setup.exe. The installation is guided by dialog—simply follow the instructions on the screen. In the standard installation, the start links are saved under HEIDENHAIN in the Start / Programs menu.
Hinweis The Windows installer is needed for the installation. This is already installed in Windows 2000 and later. For Windows 95/98/NT it must first be installed on the computer. If the Windows Installer is not yet installed on your PC, run instmsia.exe (for Windows 95/98) or instmsiw.exe (for Windows NT) before installing TNCremoNT. Both programs can be downloaded from the HEIDENHAIN homepage. If you want to start TNCserver by clicking c licking an icon on your desktop, you must place a program link there after the t he installation is complete. • With the right mouse key, click an open place on the desktop. • Sele elect New/Link. • In the command command line, line, enter the path path to TNCserver. TNCserver. Standard: Standard: C:\Program Files\HEIDENHAIN\TNCremoNT\TNCserver.exe Files\HEIDENHAIN\TNCremoNT\TNCserver.exe You can also use the Browse button to search for file. • Press ress the the Continue button. • If desired, desired, enter enter another another name for for the link. link. • Press ress the the Finish button. • You can start TNCserve TNCserverr by double-clicki double-clicking ng the symbol. symbol.
4
HEIDENHAIN TNCremoNT
2.2 Removing the Software If you no longer need TNCremoNT on your computer, you can use the Windows Control Panel to delete all files added during installation: With Windows NT, you must have administrator rights. Refer to your system administrator. In the Control Panel, select the Software function. Select TNCremoNT from the list. Press Add/Remove.
June 2002
Installation and Deinstallation
5
3How to Operate TNCremoNT 3.1 Connection setup Connection setup via serial interface
Connect a transposed serial interface cable (25-pin: Id. Nr. 275 545-xx, 9polig: Id. Nr. 366 964-xx) to the RS-232 port of your machine. If you wish to connect the cable directly to the control, refer to the Technical Manual for the correct interface cable. Connect the cable to the PC at the COM interface that is displayed in the Connection status window. With Extras / Configuration, you can select another interface, see page 20. Call TNCremoNT. Set the transmission rate to Automatically detected—or directly select the baud rate that is set on the control for the LSV-2 protocol.
File / Connect sets up the connection between TNCremoNT and the TNC, see page 14. The status of the connection setup appears in the status line in the TNCremoNT window. Connection setup via Ethernet interface
Connection to 10BaseT (X25) of the TNC: Use a transposed cable to connect the TNC directly to the PC or a nontransposed cable to a hub or switch of the company network. Connection to 10Base2 (X26) of the TNC: Use T-connectors to connect both the TNC and the PC. Line terminals that have not been used must be connected to 50 Ω terminal resistors. This also applies to a direct connection between TNC and PC. Note: Maximum number of T-connectors: 30 Minimum distance between two T-connectors: approx. 1 m Connect the cable to the PC. Call TNCremoNT. In Extras / Configuration adjust the IP address of the control.
File / Connect sets up the connection between TNCremoNT and the TNC, see page 14. The status of the connection setup appears in the lowest line in the TNCremoNT window. Hinweis TNCremoNT works only with the LSV-2 protocol. If you wish to transfer data in FE or ME protocols, use TNCserver, which only supports the serial interface.
6
HEIDENHAIN TNCremoNT
Connection not established
If connection setup was unsuccessful, the error message Cannot establish connection appears. Possible causes are: n
The cable is not connected to the correct interface.
n
The control is not switched on.
n
The connecting cable is unsuitable.
n
Differing baud rates—if the baud rate is set to a fixed value.
n
Incorrect IP address
Achtung Switch off the screen saver of the PC. Otherwise it may interfere with transmission at high baud rates.
Command line parameters
You can add to the command line the following parameters to influence the function of the program: n
-Px: Serial interface (e.g. COM2: -P2)
n
-I
: IP address of the TNC (e.g. ”-I160.1.180.21”)
n
-C: Connection setup during program start with the previously defined configuration
n
-Bx: Baud rate
n
-F: Access to PLC partition
n
-M: Access to protected area of the TNC partition (See “Private TNC area...” on page 18.)
n
-W: Work folder on the PC (e.g. -WD:\Work\)
n
-h: shows during program startup the current list of c ommand line parameters.
To enter command line parameters: On the desktop, click with the right mouse key the TNCremoNT symbol and select Properties. Select the Shortcut tab. Add the command line parameter to the program c all in the Target text box. Program call and parameters are separated by a blank space. You can enter more than one parameter provided that they are separated by spaces.
Hinweis By copying this link file you can create multiple initial configurations.
June 2002
How to Operate TNCremoNT
7
Example: Calling TNCremoNT with the command line parameters for:
8
n
Working folder in the PC: D:\Work\
n
IP address of the control: 160.1.180.21
HEIDENHAIN TNCremoNT
3.2 User Interface
Screen buttons
Menus
Folders and files on the PC
Folders and files on the TNC
Connection status
Files and folders
Status displays
After TNCremoNT starts, the file window shows the folders and files of the PC. As soon as the connection to the TNC is established, the file window splits. The upper window shows the PC files, the lower window the TNC files. You can activate either of the two windows by clicking it. The ”file status” refers to the active file window. You can adjust the size of the windows in the usual manner for Windows programs. Move the mouse pointer to the line separating the upper and lower window. When the mouse pointer changes into the move symbol, you can press the mouse key and move the separating line.
Sorting files The displayed files can be sorted in the file windows of the TNC and PC. Click the column headings to sort the files according to the desired criterion. n
File name
n
File size
n
File attribute:
n
File type
n
Date
With each click on the column heading, the files are s orted alternately in increasing and decreasing order.
June 2002
How to Operate TNCremoNT
9
TNCremoNT identifies files and folders with the following symbols:
Symbol
File Directory Program in HEIDENHAIN conversational format Program in ISO format Tool table Pallet table Datum table Other files
Status displays
In the area to the right of the file window, TNCremoNT displays the following status information: n
Control: Status of the connection or of the detected control
n
File status (data refers to the active file window) • Free: Free memory on the selected PC drive or on the control. • Total: Number of files in the selected folder (folder). • Masked: Masked files in the selected folder (e.g., only *.H).
n
Connection • Protocol: Transmission protocol (e.g., LSV2). • Serial interface of the PC (e.g. COM1) or IP address. • Baud rate with Autodetect: TNCremoNT assumes the baud rate that is entered at the TNC in the interface setup under LSV2. • Baud rate with fixed data transfer rate: Selected baud rate. • Baud rate with Ethernet: 10/100 MB (Ethernet) is displayed.
The connection status is displayed in the footer of the TNCremoNT window:
10
n
No connection with the control
n
Establishing connection...
n
Connection active
n
Separating connection...
n
Moving files/folders to the PC...
n
Transferring files/folders to the PC...
n
Moving files/folders to the control...
n
Transferring files/folders to the control...
n
Copying file...
HEIDENHAIN TNCremoNT
3.3 Command Overview The most important menu items
n
File / Connect: Establishes the connection to the NC control.
n
File / Transmit: Executes data transmission.
n
Extras / Pallet editor: Starts the pallet management
n
Extras / TNCserver: Starts the TNCserver.
n
File / Exit: Separates any connection and ends TNCremoNT.
File Command
Button
Shortcut
Description
Connect / Disconnect
Page 14
Open
Page 14
Delete...
DELETE
Page 14
Select all
CTRL+A
Page 14
Transmit
F4
Page 14
Transmit as...
CTRL+F4
Page 15
Move
SHIFT+F4
Page 15
Update
SHIFT+CTRL+F4
Page 15
Copy...
Page 15
Rename...
Page 15
Protect
Page 15
Change folder/drive...
F6
Page 16
New folder...
F7
Page 16
Page 15
Exit
June 2002
Page 16
How to Operate TNCremoNT
11
View Command
Button
Shortcut
Description
List
Page 17
Details
Page 17
Tile horizontally
Page 17
Tile vertically
Page 17
Status window
Page 17
Show subfolders
Page 17
Mask
F8
Page 17
Private TNC area
Page 18
Refresh
Page 18
Tools Command TNCserver
Button
Shortcut
Description
F3
Page 26
TNCcmd
Page 34
Receive log...
Page 19
Pallet editor...
Page 37
Backup/Restore...
Page 42
Screen download...
Page 19
Screen to clipboard
Page 19
Configuration...
Page 20
Diialog language...
Page 21
12
HEIDENHAIN TNCremoNT
Help Hinweis Of course commands can also be performed using the familiar Windows functions such as drag and drop.
Command
Shortcut
Content
Page 22
Help
June 2002
Description
F1
Page 22
Tip of the day...
Page 22
About...
Page 22
How to Operate TNCremoNT
13
3.4 ”File” Command Group Establish connection
With File / Connect or with the corresponding button, you set up a connection between TNCopt and the control. With the TAB key you c an switch between the two file windows and the drop-down list for selection of the machines. In the connection cannot be established: See “Connection setup” on page 6.
Separating a Connection
With File / Disconnect or by clicking again on the changed button you can separate the connection.
Open
With File / Open, the button or a double-click you can open the marked file on the PC with the editor that corresponds to t he file type. If the file type is unknown, TNCremoNT calls the Windows text editor Notepad. Files located on the TNC are transferred to the PC before opening. After editing, TNCremoNT asks whether the file should be transferred back to the TNC. The edited file overwrites the old file. If a folder is marked instead of a file, the program opens the folder. If y ou select the .. folder, the TNC switches to the parent folder.
Delete
With File / Delete, the DEL key, or this button you can erase the marked files or folders (including the files and folders contained in them).
Select all
File / Select all marks all files (no folders) in the active file window (PC or TNC).
Transmitting
With File / Transmit or this button you can transfer one or more selected files and folders (including the files and folders contained in them) from the PC to the TNC or vice versa. You can select more than one file by holding the Shift key and clicking the first and last desired file, or by holding the CTRL key and individually clicking the desired files. You can also use the drag and drop technique: Press and hold the mouse key on the marked files, move them with the mouse fr om the PC to the TNC window, or vice versa, and let go at the target window. The files are transferred into the current folder.
14
HEIDENHAIN TNCremoNT
Transmit as...
With File / Transmit as you can transfer a files or an entire folder (including the files and folders contained in them) under another name from the PC to the TNC or vice versa. Ensure that the folder names on some control models have no more than 8 characters.
Move
With File / Move or this button you can transfer one or more marked files and folders (including the files and folders contained in them) from the PC to the TNC or vice versa. After this function is performed, the selected file or folders exist only on the target drive. This differentiates it f rom the File / Transmit function, which leaves them on the source and target drives.
Refresh
With File / Update you transmit one or more files or entire folders if a source file has a later date or time than the target file. This function ensures that you always have the latest file versions on the PC or TNC without having to transfer all the files every time. This saves you transmission time. If there is no target file, the source file is transferred. If folders are marked and updated, the files contained in them and the files of all subordinate folders are checked and, if necessary, transferred.
Hinweis Ensure that the system times on the TNC 426, TNC 430 and on the PC are correct. You can adjust the system time on the PC under Start / Settings / Control Panel / Datum / Adjust Time. You can adjust the time zone on the TNC 426, TNC 430 through MP7235. With TNCcmd you can synchronize the time on the control with that of the PC, see page 35.
Copy
With File / Copy you can copy a file within a system (PC or TNC). If you do not indicate the path, TNCremoNT copies the file to the current folder.
Rename...
With File / Rename you change the name of the selected file directly in the file list.
Write protection
With File / Protect you can protect the marked file from being overwritten. Write protection is indicated on the PC with the attribute R, and on the TNC with the attribute P. If you call this function with a protected file, its write protection is canceled. The attributes are visible only if View / Details is selected.
Parent folder
June 2002
With this button, TNCremoNT switches to the parent folder.
How to Operate TNCremoNT
15
Change folder/ drive...
With File / Change folder you can change the folder and/or the drive. In a dialog you can either type in the desired folder name, or you can select it from the list of existing folders or drives. If you require access to the PLC partition, of the control, enter PLC:\ in the input box. By entering the PLC code number you can gain access to all folders in the PLC partition.
Hinweis The PLC partition does not appear in the list of drives until you have access to it.
New folder...
With File / Create folder you can make a new folder on the active drive or below the current folder.
Exit
With File / Exit you separate any connection and end TNCremoNT.
16
HEIDENHAIN TNCremoNT
3.5 View Command Group List
With View / List or this button you can have the program show the file and folder names without any additional details. The setting applies for both the PC and TNC windows simultaneously.
Details
With View / Details or this button you can have the program show additional details. Besides the file name, it also shows the size of the file, the date it was last changed and the attributes. The setting applies for both the PC and TNC windows simultaneously.
File attributes: n
A: Archive file (see also Windows Help).
n
R: Read only. File is write-protected.
n
E: Program is selected on the TNC in the Programming and Editing mode of operation.
n
S: Program is selected on the TNC in the Test Run mode of operation.
n
M: Program is selected on the TNC in a Program Run mode of operation.
n
P: Protected. File is protected against editing and erasure.
n
IN: Program on the TNC uses inches as unit of measure.
Tile
With View / Tile horizontally the files windows of the PC and TNC and shown next to each other.
Vertically
With View / Tile vertically the files windows of the PC and TNC and shown one with above the other.
Status window
With View / Status window the status display is switched on and off. The display of the connection status cannot be switched off.
Subfolders
With View / Show subfolders you can select whether the subfolders of the selected folder should also be displayed. The setting applies for both the PC and TNC windows simultaneously.
Mask...
The command View / Mask... displays only those files that correspond to the mask. In the Mask for displayed file types dialog window, select the types of files to be displayed. The mask is configured separately for the PC and the TNC. The active mask is displayed in brackets next to the active path in t he window title bar of the PC or TNC window. The mask can contain several file types at once.
June 2002
How to Operate TNCremoNT
17
Private TNC area...
On the TNC 426/ TNC 430, this function is not supported by the NC software levels earlier than 280 476-09: An area of the TNC partition (a folder or the entire partition) can be defined to be accessible from TNCremoNT only after entry of a code number The code number can contain letters as well as numbers. Refer to the information in the User’s Manuals for TNC 426, TNC 430 and iTNC 530. If such an area has been defined, in the standard setting it is not displayed. This area can be accessed by activating View / Private TNC area... and entering a code number. Accessibility is indicated by a check mark in front of View / Private TNC area... You can disable access to this area by clicking View / Private TNC area... The check mark disappears. Otherwise, access is maintained even if the connection was temporarily separated. If TNCremoNT is ended and restarted, access is again under password protection. If you activate the Show code number option, the code remains visible in the input window even after TNCremoNT has been ended and restarted. To obtain access, you need only activate View / Private TNC area...
Refresh
18
View / Refresh re-reads the selected folder.
HEIDENHAIN TNCremoNT
3.6 Tools Command Group TNCserver...
With Extras / TNCserver... or this button you can call TNCserver. TNCserver can also be started without TNCremoNT. See “TNCserver” on page 26. TNCserver, TNCremoNT and TNCcmd cannot have an active connection to the TNC at the same time (applies only to configuration for serial interface). When TNCserver is called:
TNCcmd
n
Any connection between TNCremoNT and the TNC is therefore separated.
n
If TNCcmd is active, the error message cannot open the interface is displayed.
With Extras / TNCcmd or the corresponding button you start TNCcmd. TNCcmd can also be started without TNCremoNT. See “TNCcmd” on page 34. If TNCcmd is started during an active connection between TNC and TNCremoNT, then TNCcmd automatically connects with the TNC.
Receive log...
With Extras / Receive log you can save the data from the control unit log in an ASCII file. The log is a record of keystrokes, control resets, error messages, register status during blinking error messages, and other machine-dependent events. You enter the date and time at which the log is to be received. Select the option View immediately if you want to open the log with the editor Notepad, or select the option Save as file and enter the file name to save the log in the current directory of the PC.
Pallet editor
With Extras / Pallet editor or this button you can access the pallet management functions. See “Pallet Editor” on page 37.
Backup/Restore
With Extras / Backup / Restore you can start TNCbackup. This enables you to make a backup of the control or restore existing backup data to the control. See “TNCbackup” on page 42.
Screen download...
With Extras / Screen download..., or the corresponding button, you can transfer the current TNC screen as a *.BMP file to the PC. To edit the *.BMP file you need a suitable program. Most computers have the Microsoft drawing program Paint installed. In Paint you can open and edit *.BMP files through File / Open...
Screen to clipboard
June 2002
With Extras / Screen to clipboard or the button you can transfer the current TNC screen into the Windows buffer memory and then edit it in most Windows applications.
How to Operate TNCremoNT
19
Configuration...
With Extras / Configuration... you can configure the data transfer. n
Configuration: Here you can define an delete the configurations of several machines. See “Managing Several Machines with TNCremoNT” on page 23.
n
Connection: Select the serial connection or Ethernet.
n
Settings • Serial connection: Interface: Select the interface at which the data transmission cable is connected. Transmission speed: Choose either automatically detected or select the baud rate that is selected on your control. • Ethernet: Enter the IP address of the TNC into the field TNC address.
n
Converter: Activate the online conversion of NC programs to increase the data transmission speed to the TNC 426 / TNC 430.See “Using the Online Conversion of NC Programs” on page 25.
n
Folder: Define the start directory on the PC when TNCremoNT is started and the starting directory on the control during connection setup: • The local working directory during program start. The standard as working directory is the Windows folder ...\My Documents\.
Hinweis You can also define another working directory by clicking the right mouse key the link to TNCremoNT. There you can define t he working directory under the "Shortcut" tab. • The TNC partition on the control • The last active directory • A freely defined directory n
Mode: • Transmission in binary mode: You can switch off this option (Never), switch it on permanently ( Always) or switch it on only for certain file types. If this function is always active, some other file types might be transferred in a corrupted form! • Background transmission: You can continue working with TNCremoNT during active data transfer between the PC and TNC.
20
HEIDENHAIN TNCremoNT
Dialog language...
June 2002
With Extras / Dialog language... you can select the language for the TNCremoNT program user interface. n
English
n
German
n
Italian
n
Spanish
n
French
n
Swedish
n
Finnish
n
Czech
n
Polish
n
Danish
n
Hungarian
n
Dutch
How to Operate TNCremoNT
21
3.7 ”Help” Command Group Contents
With Help / Content you can directly access the table of contents of the TNCremoNT help system. Here you will quickly find detailed information on the features of TNCremoNT and its operation.
Operation
With Help / Help or with the F1 key you can call the TNCremoNT help system. Here you will find information on the features of TNC remoNT and its operation.
Tip of the day...
With Help/Tips and Tricks..., you can learn about especially useful functions that you may not yet be familiar with, but which can significantly speed and simplify your work with TNCopt. With the Next tip button you can call more tips. If you do not want TNCremoNT to show a new tip every time it starts, simply clear the Show tips when program starts check box.
About...
The Help / About menu item provides you with the version number and other information about TNCremoNT .
22
HEIDENHAIN TNCremoNT
3.8 Managing Several Machines with TNCremoNT With TNCremoNT you can manage the connection settings for two or more machines. This enables you to access all the controls in your workshop from a single PC without having to edit the settings every time.
Defining a new machine
Select Extras/Configuration... In the Configuration tab, click the Save as... button to define the first machine. In the Save configuration as dialog box, enter the name of the machine (for example ”Machine 1”) in the Save as text box and confirm your entry with OK. The name you enter is then displayed in the Configuration tab. Go to the Connection tab and select the protocol type (for example TCP/IP). Go to the Settings tab and enter the IP address (for example 160.1.180.21) or the name and transfer rate of the serial interface. In the Configuration dialog box, click the OK button to finish defining the machine.
Changing the settings of a machine
Close any active connection. Select Extras/Configuration... From the drop-down list, select the machine whose settings you wish to change. Change the settings on the Connection or Settings tab. In the Configuration dialog box, click the OK button to finish editing the settings of the machine.
Deleting a Machine
Close any active connection. Select Extras/Configuration... From the drop-down list, select the machine that you wish to delete. Click the Delete button. In the Configuration dialog box, click the OK button to finish the procedure.
June 2002
How to Operate TNCremoNT
23
Switching among Machines
24
It is very easy to switch among machines by using the drop-down list in the toolbar. If a connection to another machine is already active, TNCremoNT closes the connection and automatically sets up a connection with the selected machine. If no connection was active before selection, select the desired machine and click the File / Connect command or the corresponding button.
HEIDENHAIN TNCremoNT
3.9 Using the Online Conversion of NC Programs Both HEIDENHAIN and ISO NC part programs are available in binary format, but are transferred in ASCII format. Conversion from ASCII to binary format costs computing time and delays particularly the transmission time of the Ethernet transmission during on the TNC 426 / TNC 430. To accelerate transmission speed, TNCremoNT can also convert the data on the PC online, which means during data transmission. In this case, however, TNCremoNT must know the binary format of the TNC concerned. To relocate this conversion from the TNC to the PC, under Extras / Configuration..., activate the option Online conversion of NC programs (.H/.I). For TNCremoNT to be able to take the conversion over from the TNC, TNCremoNT must first download once some information on t he NC software of the TNC. This is done automatically. You can, however, specify the folder in which this information is saved. Activate the Manually enter the name of the folder option; in the ”Folder name” edit box you can now enter the path of the desired folder. If you want TNCremoNT itself to manage these folders, simply activate the Name of folder automatically generated from connection parameters option. In its installation path (e.g. C:\Program Files\HEIDENHAIN\TNCremoNT\) TNCremoNT then automatically creates a folder for each new connected TNC (e.g. C:\Program Files\HEIDENHAIN\TNCremoNT\160.1.180.21). Before the first transfer of an NC program from the PC to the TNC, TNCremoNT checks the versions of the files in th e previously defined folder. If necessary, TNCremoNT transfers the required data from the TNC to the PC. Then the selected NC program is transferred at a higher data transfer rate. As long as the connection is not separated, TNCremoNT no longer needs t o check the versions before transferring NC programs to the TNC.
Hinweis Online conversion also functions during transfer of NC programs with the LSV2 protocol via serial interface. However, the data transfer speed cannot be increased with this function beyond the adjusted data transfer rate.
June 2002
How to Operate TNCremoNT
25
4TNCserver 4.1 General Information TNCserver enables you to transfer data between PCs and HEIDENHAIN controls over the serial interface. The PC functions as file server. The user works fr om the control. With the ME protocol you must define the PC the file to be transferred. The section Overview of Functions in this Manual shows which TNCserver transmission protocols can be used on your control. See “Overview of Functions” on page 48.
Call: n
From TNCremoNT, start the TNCserver with Extras / TNCserver. The connection settings of a serial connection are taken over.
n
Select TNCserver over the start menu to start it independently of TNCremoNT.
Achtung Switch off your screen saver. Otherwise it may interfere with t ransmission at high baud rates.
26
HEIDENHAIN TNCremoNT
4.2 Establishing a Connection Steps to connection setup
Check whether the control model in the window title bar is c orrect and whether the protocol and the baud rate in the TNCserver window match the settings on the control. Under Configuration you can change the settings. Connect a transposed serial interface cable (25-pin: Id. Nr. 275 545-xx, 9pin: Id. Nr. 366 964-xx) to the RS-232 port of your machine. If you wish to connect the cable directly to the control, refer t o the Technical Manual for the correct interface cable. Connect the cable to the PC interface shown under Interface. Under Configuration you can have TNCserver find free interfaces and select another interface.
DNC connection not established
TNCserver should now display the status Waiting for request. If you receive the message No connection, it may have one of the following causes: n
The cable is not connected to the correct interface.
n
The control is not switched on or not in the correct operating mode.
n
The connecting cable is unsuitable.
If in spite of the message Waiting for request you cannot make a transmission, the following are possible causes: n
The protocol is not suitable for the connected control.
n
Differing baud rates.
Only for ME Transmit, ME Receive, Transmit (Data I/O) and Receive (Data I/O): If you receive the message No file name entered, press the File button and select a file.
June 2002
TNCserver
27
Command line parameters
To configure the TNCserver, you can add the following parameters to the command line: n
-P: Serial interface (e.g. COM2: -P2).
To enter command line parameters: In the Explorer, click with the right mouse key on the T NCserver link and select Properties. After the standard installation, the TNCserver link file is in the folder C:\Winnt\Profiles\All users\Start Menu\ Program Files\HEIDENHAIN Applications.
Hinweis In general, the extension *.LNK is not displayed in the Explorer. The file is indicated in the Type column with link. By copying this link file you can create multiple initial configurations. Select the Shortcut tab. Add the command line parameter to the program call in the Target text box. Program call and parameters are separated by a blank space. You can enter more than one parameter provided that they are separated by spaces.
28
HEIDENHAIN TNCremoNT
4.3 TNCserver User Interface
The TNCserver window provides the following information: n
Folder (directory) on the PC
n
Configuration of TNCserver • Protocol: Communications protocol • Interface: COM interface on the PC • Baud rate: Selected baud rate
n
Status • Status of the connection between PC and control • Any action presently in progress (transmit folder; transmit files; receive file; rename file; delete file; set attribute) • File presently being transmitted / File in which incoming data will be saved • Progress: Number of transmitted/Received characters
June 2002
TNCserver
29
4.4 To operate the TNCserver Folders
Pressing the Folder button opens the find folder dialog box. The layout of the dialog box depends on the select folder with view of the files folder setting (see Configuration / Folder):
Configuration
n
If select folder with view of files is active: TNCserver shows the Open file... dialog for selecting the folder.
n
If select folder with view of files is not active: TNCserver shows only the drives and folders. Select the folder that you want to set.
TNCserver is configured in the General, FE Settings and Folders tabs. n
General—Communications protocol Select the protocol that is suitable for your control. See “Overview of Functions” on page 48. • LSV-2 • FE (FE1, FE2) • ME Transmit • ME Receive
n
General—Control model Select the model of the connected control.
n
General—Interface • Port: Select the serial PC interface to which the interface cable is connected. COM1 to COM4 are offered in the list. If your system has more than one serial interface, you can also type it in directly. If you press the Seek free ports button, TNCserver finds the free interfaces and shows only them in the dropdown list. • Baud rate: Select the baud rate that is configured on your control (2400, 4800, 9600, 19200, 38400, 57600, 115200).
n
FE settings The FE protocol uses one letter to identify the f ile type. You can select the system of file name extensions used on the PC: • Control file names. TNCserver uses the same file name extension that is shown in the control (e.g. HEIDENHAIN plain language ”*.H” programs). Nonregistered file types are transmitted as ASCII files and carry the extension *.A. • .xNC file name extensions (the TNC.EXE-compatible name convention) NC is appended to the file-type letter (e.g. for HEIDENHAIN NC programs: ”*.HNC”). Nonregistered file types are transmitted as ASCII files and carry the extension *.ANC.
30
HEIDENHAIN TNCremoNT
• TNC 406 file names (name convention for the HEIDENHAIN ram-type EDM control) Each file type is identified by a single character, the same as on the control. Exception: PLC files are identified with *.PLC, and machine parameter files with *.MP. It is possible and useful to combine the first t wo options if you want access to files that use the *.*NC file name extension, but would also like to use TNCremoNT, which works with the control file name extensions. n
Folders • Select folder with view of files On: In the Open dialog box the files are shown in addition to the drives and folders. Off: No files are shown. • Save current folder for next time With every program start, TNCserver uses the folder t hat was last active.
File (only with ME protocol)
When you press the File button, TNCserver opens the standard file dialog. Depending on whether you want to receive or transmit data, you will see the Save as or the Open dialog box. Select a file and click the Save or Open button.
4.5 TNCserver—Help By selecting the Help button you can call the TNCserver help system. Here you will find information on the features of the pr ogram and its operation.
June 2002
TNCserver
31
4.6 The TNCserver Protocols FE protocol
File serving with FE protocol is the most widespread method of file transfer with HEIDENHAIN controls. Here the program lines are transferred in individual blocks with checksum. Each block is acknowledged by the remote station. The FE protocol permits blockwise program execution. This means that a program is drip-fed to the control and executed simultaneously. The User’s Manual of your control describes which data tr ansfer functions are available. To operate TNCserver: Select the FE (FE1/FE2) protocol.
Folder button: Select the folder to which the TNC will have access. TNCserver is ready for data transmission. Now you can use the PC as server—while operating it from the control.
LSV-2
The TNC 426 / TNC 430 and the iTNC 530 also supports server operation with the LSV-2 protocol. Advantages over the FE protocol: n
Information is available on the control about the exact file size and file date.
n
A more reliable data transmission through a more sophisticated protocol.
n
The folder can be set at the control.
n
The control’s entire folder tree is accessible.
The User’s Manual of your control describes which data transfer functions are available. To operate TNCserver: Select the LSV2 protocol.
Folder button: Select the folder to which the TNC will have access during connection setup. Hinweis From the TNC you can select other drives and folders. This does not change the setting under Folder. TNCserver is ready for data transmission. Now you can use the PC as server—while operating it from the control.
32
HEIDENHAIN TNCremoNT
ME Transmit
Data transfer from the PC to the control: Select the ME Transmit protocol.
File button: Select the file to be sent. Establish readiness to receive in the control. Data transmission is activated. The amount transmitted is shown in the progress line and the line below it.
Status provides information on data transmission: • No connection: There is no connection to the control, or the file has already been transferred. • Active: Data transmission is in progress. • Stopped: The control has interrupted data transmission. Examine the control. —You can now cancel the data transfer (Cancel button).
ME Receive
Data transfer from the control to the PC: Select the ME Receive protocol.
File button: Select or create the file in which the data will be saved. Activate data transfer at the control. Data transmission is activated. Under Progress you can see the amount of data transmitted.
Status provides information on data transmission: • No connection: There is no connection to the control. • Active: Data transmission is in progress. • Stopped: The control has interrupted data transmission. Examine the control. —In this state you can now cancel the data transfer (Cancel button).
June 2002
TNCserver
33
5TNCcmd 5.1 General Information With Extras / TNCcmd you can start a command-line program for Windows 95, Windows 98, Windows NT and Windows 2000 that enables you to transfer data between the TNC and PC over an Ethernet or serial interface. If you wish to use Ethernet on the TNC 426 / TNC 430, the NC software version 280 47601 or higher must be installed. When you start TNCcmd, it automatically attempts to make a connection with the TNC that has been selected in TNCremoNT. The prompt waits for commands that you must enter. TNCcmd asks for the required parameters, depending on the command. With the EXIT command you can quit TNCcmd.
5.2 Command Overview ?
Overview of all available commands
DEL
Deleting a file
PUT
Transmit a file (with the switch /c, NC program types .H and .I are converted to binary at the PC during transmission to the control)
GET
Receive file
RENAME
Renaming a file
FILEINFO
File information
SCREEN
Receiving a screen dump
RESTORE
Transfers individual files from backup to the control
BACKUP
Starts a backup of the control files
UPDATE
Transfers only newly edited files to the control (List in TPJ file)
UPLOAD
Transfers only newly edited files to the control (List in TPJ file)
File commands
34
HEIDENHAIN TNCremoNT
Connection check LOCAL
Switch to PC view
REMOTE
Switch to TNC view
CONNECT
Establish connection
DISCONNECT
Separate the connection
DIR
Display folder
CD
Change folder
MKDIR
Make directory
RMDIR
Remove folder
BIN
Switches binary transmission mode on/off
BLOCKSIZE
If the TNC 426, TNC 430 has an Ethernet interface card with the most recent controller chip (LAN91C96), it can attain an even higher data transfer rate with the command BLOCKSIZE 4. (Default as of NC software 280476-06 is 3 KB block size.)
INSTALL
Installs the online HEIDENHAIN binary converter to increase the data transfer speed on the TNC 426 / TNC 430 as of NC software 280 476-06
SETUP
Transfer backup to the control (setup)
VER
Display version number of the control
SERVER
Starts the mini file server (LSV-2)
RESET
Triggers a control reset
LOG
Import log
KEY
Keystroke simulation
TIME
Read date and time
SYNCTIME
Synchronize date and time on the control with the PC
HELP [command]
Information on a specific command
Folder commands
Transmission control
Other commands
June 2002
TNCcmd
35
Example of dialog mode: TNCcmd - WIN32 command line client for HEIDENHAIN TNC controls - Version 2.11 Connecting with Machine 1 (160.1.180.21)... Connection established with TNC 426/430 M, Software ID 280476 09 TNC:\> ver NC Model: TNC 426/430 M NC Software Version: 280476 09 NC PLC Version: BASIC--33 NC Options: 11 TNC:\> get flange.h TNC file name: flange.h PC file name: flange.h ............................................................................ ............................................................................ ................ Transmission rate 20 KB/s TNC:\> exit
5.3 TNCcmd with Command Files TNCcmd can also run command files. All described commands can be applied in these command files with the extension *.tnccmd. If you double-click a *.tnccmd command file in TNCremoNT, you can select whether the file should be edited with an editor or handed over t o TNCcmd. Example: Command file test.tnccmd:
CONNECT VERSION TIME PAUSE Output of TNCcmd: TNCcmd - WIN32 command line client for HEIDENHAIN controls - Version 3.13 Connecting with 160.1.180.21 executing test.tnccmd (160.1.180.21) ... Connection established with iTNC 530, NC software 340 420 05 TNC:\>CONNECT Already connected TNC:\>VERSION NC model:
iTNC 530
NC software version: 340 420 05 NC PLC version:
BASIC--35-01
NC options:
%000011110001111
TNC:\>TIME NC date:
05/17/2002
NC time: 08:30:32 TNC:\>PAUSE Press any key to continue!
36
HEIDENHAIN TNCremoNT
6Pallet Editor 6.1 General Information With Extras / Pallet editor... you can create, edit, and test new pallet tables for the TNC 426 / TNC 430 and iTNC 530. You can also transfer them to the control. The table contents are analyzed and the NC and datum tables it contains are transferred to the control. The layout of the pallet table (length, designation of the columns, etc.) is specified and documented by the machine tool builder.
The entries in the pallet table are indicated with the following symbols:
Symbol
Entry Pallet Part program
June 2002
Pallet Editor
37
6.2 Command Overview File Command
Button
Shortcut
Description
New
Page 39
Open
Page 39
Save
Page 39
Save as...
Page 39
Test completeness
Page 39
Transfer all
Page 39
Activate Pallet table
Page 39
Exit
Page 39
Edit Command
Button
Shortcut
Description
Edit
Page 40
Insert pallet
Page 40
Insert machining entry
Page 40
Cut
CTRL+X
Page 40
Copy
CTRL+C
Page 40
paste
CTRL+V
Page 41
Delete
DELETE
Page 41
Shortcut
Description
Settings Command Folders...
38
Page 41
HEIDENHAIN TNCremoNT
6.3 Pallet Editor—File New
With File / New or this button you can create a new pallet table. The table format is taken over from the pallet table last opened.
Open
With File / Open or this button you can select a pallet table and open it for editing or to use the table format for a new table.
Save
With File / Save or this button you can save the pallet table. The original pallet table is overwritten.
Save as...
With File / Save as... you can save the pallet table under a new name.
Completeness, testing
With File / Test Completeness or this button you can test whether all the files listed in the pallet table (part programs and datum tables) actually exist. TNCremoNT looks for these files in the folders specified under Settings / Folders.
Transfer all
With File / Transfer all or this button you can transfer all required files to the TNC (pallet table, part programs, datum tables). TNCremoNT transmits these files into the folders specified under Settings / Folders.
Pallet table, activating
With File / Activate Pallet Table the pallet table is activated at the control if it is in the Program Run, Full Sequence or the Program Run, Single Block mode. Pallet table execution is then started with an NC start.
Achtung This function is available as of NC software version 280 474-03.
Exit
June 2002
With File / Exit you can leave the pallet editor and return to TNCremoNT.
Pallet Editor
39
6.4 ”Pallet Editor—Edit” Command Group Edit
With Edit / Edit you open the Machining entry window (see figure below). This window allows you to define your machining entry. The entries correspond to the columns of the pallet table. The entry possibilities here depend on the table, which is defined by the machine tool builder (see sections “Pallet Management” and “Freely definable Tables” in the Technical Manual). Press this button program folder.
if you wish to find and select files in your local
Pallet, inserting
With Edit / Insert pallet you can insert a pallet below the current position in your pallet table.
Machining entry, inserting
With Edit / Insert machining entry you can insert a machining entry below the current position in your pallet table. The pallet editor opens the machining entry window (see figure above). The entries correspond to the columns of the pallet table. The entry possibilities here depend on the table, which is defined by the machine tool builder (see sections “Pallet Management” and “Freely definable Tables” in the Technical Manual).
Cut
With Edit / Cut or this button you can delete an entry in the pallet table and simultaneously copy it into the clipboard.
Copy
With Edit / Copy or this button you can copy the marked entry into the clipboard.
40
HEIDENHAIN TNCremoNT
Paste
With Edit / Insert or the button the content of the clipboard is inserted below the marked entry.
Delete
With Edit / Delete or the DEL key you can erase the marked entry in the pallet table.
6.5 ”Pallet Editor—Settings” Command Group Folders...
With Settings / Folders you can define the source and target folder.
PC source folder: The required files (part programs and datum tables) must be saved in this folder. If nothing is entered, the files from the working folder are used. TNC target folder: The pallet editor transfers the pallet tables and the a ssociated files (part programs and datum tables) to the folder on the TNC as entered here. If necessary, the program will create the folder on the TNC. If you activate the box marked target folder on the TNC has the same name as the pallet table, the pallet table and the associated files are transferred to a corresponding folder in the TNC that has the name of the pallet table. If necessary, the program will create the folder on the TNC. If you select a file with the button under Edit / Insert machining entry, the pallet view will immediately display the path used later on the TNC (see also example on Page 37).
June 2002
Pallet Editor
41
7TNCbackup 7.1 General Information With Extras / Backup/Restore you can save any files from your TNC on an external data medium and restore them again from that medium.
Status Bar
Making a backup file
File list
Make a file list by selecting the corresponding function under File / Scan a file list. With Edit / Check file(s) or Edit / Uncheck, select the files that you want to backup. In the standard setting, all scanned files are marked. By clicking the table title the file list can be sorted in ascending or descending order. Start the backup with Run / Backup... Enter the file name. The backup file and file list are given the same name. TNCbackup automatically adds the extension *.BCK or *.LST.
Restoring a backup
Open the backup file list with File / Open a file list... With Edit / Check file(s) or Edit / Uncheck, select the file that you want to restore. Start the restoration with Run / Restore.
42
HEIDENHAIN TNCremoNT
7.2 Command Overview File Command
Button
Shortcut
Description
Open a file list...
Page 45
Save a file list
Page 45
Save a file list as...
Page 45
Change TNC folder...
F6
Page 45
Scan a file list Scan folder
Page 45
Scan folder tree
Page 45
Machine files
Page 45
All control files
Page 45
Exit
Page 45
Edit Command
Button
Select all
Shortcut
Description
CTRL+A
Page 46
Check File(s)
Page 46
Uncheck
Page 46
View Command
Shortcut
Properties...
June 2002
Description Page 46
TNCbackup
43
Run Command
Button
Shortcut
Description
Backup...
Page 47
Backup (Protected)...
Page 47
Restore
Page 47
Extract...
Page 47
44
HEIDENHAIN TNCremoNT
7.3 “TNCbackup—File” Command Group Open a file list...
With File / Open a file list... or the associated button you can open an existing scan file list or backup file list. It must have the extension *.LST.
Save a file list
With File / Save a file list or the button you can save the file list currently open. If the file list already exists, it is overwritten. Otherwise the File / Save as... dialog box appears and asks you to enter a file name. TNCbackup automatically adds the extension *.LST.
Save a file list as...
With File / Save a file list as... or the associated button you can save the file list currently open under any desired name. TNCbackup automatically adds the extension *.LST.
Change TNC folder...
With File / Change TNC folder... you can change the folder on the TNC. TNCbackup shows the current file in the status line at the bottom of the window. TNCbackup assumes the current folder from TNCremoNT.
Scan a file list/Scan a folder
With File / Scan a file list / Scan a folder or the associated button you can find and display on the TNC all the files in the current directory, which is shown in the status line.
Scan a file list/Scan a folder tree
With File / Scan a file list / Scan a folder tree or the associated button you can find and display on the TNC all the entries in the current directory, which is shown in the status line. Any existing subfolders are also found and displayed.
Scan a file list/ Machine files
With File / Scan a file list / Machine files or the associated button you can find and display on the TNC all the machine-specific files (complete PLC partition and selected files in the SYS partition). This function is possible only with PLC access authorization.
Scanning a file list/ All control files
With File / Scan a file list / All control files or the associated button you can find and display on the TNC all the machine-specific files (complete TNC and PLC partition, selected files in the SYS partition). This function is possible only with PLC access authorization.
Exit
With File / Quit you exit TNCbackup.
June 2002
TNCbackup
45
7.4 “TNCbackup—Edit” Command Group Select all
With Edit / Select all you can select all the files in the file list. This is indicated with a blue background on the file name and symbol. Any checking or unchecking is performed on all selected files.
File(s), checking
With Edit / Check file(s), the associated button or a double-click you mark the selected file or files. The other functions (saving and restoring files) refer only to marked files. Marked files are indicated with the symbol.
Uncheck
With Edit / Uncheck, the associated button or a double-click you can unmark the selected file or files. Unmarked files are indicated with the symbol.
7.5 “TNCbackup—View” Command Group Properties...
With View / Properties... or the associated button you can display information on the current file list. You will find the following information on the tabs: n
The General tab • Creation date of the file list • Source of the file list (All files, machine-specific files, selected files) • Folder (only with selected files) • Total size of all files • Name of the backup file • Size of the backup file
n
The Errors tab. • Errors that occur during file list creation or data transfer
n
The Statistics tab. The two values block repetitions and data overflow serve for diagnostic purposes during transmission over the serial interface. Any values greater than 0 that appear hear indicate a disturbance in transmission (e.g. excessive PC utilization or physical disturbances).
n
The All information tab. • All information that can be added to the file list. The information is in text format.
46
HEIDENHAIN TNCremoNT
7.6 “TNCbackup—Run” Command Group Backup...
With Run / Backup... or the associated button you can make a backup file of all marked files in the current file list. TNCbackup asks you for the name of the backup file.
Backup (protected)...
With Run / Backup (protected) or the associated button you can make a backup file of all marked files in the current file list. TNCbackup asks you for the name of the backup file and a code number Only with this code number can you restore the backup file.
Restore
With Run / Restore... or the associated button you can regenerate files that have been secured in an existing backup file. The backup file (*.BCK) must be located in the same folder as the file list.
Achtung Existing files are automatically overwritten when restoring a backup.
Extract
With Run / Extract or the associated button you can extract the marked files of the current file list out of the backup file a nd save it in the current working folder on the PC. The backup file must be located in the same folder as the file list. If files come from more than one control directory, after confirmation they are saved on the PC in directories of the same names but subordinate to the working directory.
June 2002
TNCbackup
47
8Technical Information 8.1 Overview of Functions
Control
ME FE
POSITIP
X
X
ND XXX
X
X
TNC 122
X
X
TNC 124
X
X
TNC 131
X
TNC 135
X
TNC 145
X
TNC 150
X
TNC 151
X
X
TNC 155
X
X
TNC 232
X
X
Data transfer rate 9600 baud
TNC 234
X
X
Data transfer rate 9600 baud
TNC 246
X
X
TNC 2500B
X
X
TNC 306
X
X
TNC 310
X
X
TNC 355
X
X
1)
TNC 360
X
X
Data transfer rate 9600 baud
CONTOUR 12
X
X
Data transfer rate 9600 baud
TNC 370
X
X
TNC 406
X
FL SV Remarks
Data transfer rate 9600 baud
X
No folder changing
TNC 407
X
X
TNC 410
X
X
TNC 415
X
X
X
TNC 415B
X
X
X
TNC 425
X
X
X
TNC 426 / TNC 430
X
X
X
iTNC 530
X
X
X
MANUAL PLUS M
Data I/O
Mill Plus
Data I/O
2)
3)
MANUAL PLUS 3110 Data I/O CNC PILOT 3190
48
Data I/O
HEIDENHAIN TNCremoNT
This table provides information on the transmission protocols that can be used with TNCremoNT/TNCserver between the PC and HEIDENHAIN controls. Description of protocols: n
ME: Transmit data / receive data with the RTS/CTS handshake (hardware handshake)
n
FE: Blockwise data transfer with ACK/NAK acknowledgement (one block corresponds to a line)
n
FL: Data transmission with the LSV2 protocol—operated from the PC
n
SV: Data transmission with the LSV2 protocol—operated from the TNC (fileserver function)
n
Data I/O: Data transfer in I/O mode—RTS/CTS handshake (hardware handshake)
Remarks: 1) TNC 355 with ME protocol: Set the receiving buffer of the desired COM interface to 1. Otherwise, the software handshake will not function correctly due to the small receiving buffer of the TNC. To set the receiving buffer on the PC Select Start / Settings / Control Panel. Select System. In the Device Manager tab, select the desired COM interface and select the Properties button. Select the Port Settings tab and press the Advanced button. Move the slider all the way to the left to low and press OK.
2) File server (LSV2) with software levels 280 462-xx and 280 463-xx as of version 05. 3) Machine constants, e.g. for device 1:
June 2002
n
MC_900: 1 for RS-232
n
MC_901: 2400—baud rate
n
MC_903: 1—stop bit
n
MC_905: 1—ISO (7-bit and even parity)
n
MC_907: 2—XON/XOFF
n
MC_908: 1—DTR testing on
Technical Information
49
8.2 Cable Configuration 8.2.1 RS-232-C/V.24 Interface HEIDENHAIN devices/PC
Almost all machine tool builders comply with the pin layout illustrated below for the serial interface jack (RS-232-C adapter block) TNC 410, TNC 426/TNC 430:
External device e.g. FE, PC
HEIDENHAIN standard cable 3 m
RS-232-C HEIDENHAIN adapter block connecting cable max. 17 m
X21 LE
Achtung The logic unit (X21) and the adapter block have different connector layouts.
50
HEIDENHAIN TNCremoNT
iTNC 530: External device e.g. FE, PC
HEIDENHAIN standard cable 3 m
Id.-Nr. 366 964-xx
vio
RS-232-C HEIDENHAIN adapter block connecting cable max. 17 m
Id.-Nr. 363 987-02
Id.-Nr. 355 484-xx
RD
RD
WH
YL
YL
WH
VI
BN
BK
BK vio
BN WH/GN
VI GY
GY
WH/GN
GN
June 2002
X27 MC 422
GN
Technical Information
51
8.2.2 RS-422/V.11 Interface TNC 426/TNC 430: External device e.g. PC
RS-422 adapter
HEIDENHAIN connecting cable max. 1000 m
X22 LE
HEIDENHAIN connecting cable max. 1000 m
X28 MC 422
block
iTNC 530: External device e.g. PC
RS-422 Adapter block
Id.-Nr. 363 987-01
Id.-Nr. 355 484-xx
RD YL WH BN BK vio
VI GY WH/GN GN
52
HEIDENHAIN TNCremoNT
8.2.3 Ethernet Interface RJ45 connection (X26)
Maximum cable length:
Shielded: 400 m Unshielded: 100 m (not recommended in industrial area)
Pin
Signal
Description
1
TX+
Transmit data
2
TX–
Transmit data
3
REC+
Receive data
4
Free
-
5
Free
-
6
REC–
Receive data
7
Free
-
8
Free
-
Meaning of the LEDs on the Ethernet interface X26 of the iTNC 530:
LED
Condition
Meaning
Green
Blinking
Interface active
Off
Interface inactive
On
100 Mb net
Off
10 Mb net
Yellow
BNC connection (X25)
June 2002
Maximum cable length: 180 m
Pin
Signal
Description
1
Data (RXI, TXO)
Internal conductor (core assembly)
2
GNC
Shielding
Technical Information
53
54
HEIDENHAIN TNCremoNT
9 Index A About ........................................................................................................... 22 All control files ............................................................................................. 45
B Backup ................................................................................................... 19, 47 Backup (protected) ....................................................................................... 47 Backup file, making ...................................................................................... 42 Backup, restoring ......................................................................................... 42
C Cable configuration ...................................................................................... 50 Cable RS-232-C/ V.24 .................................................................................... 50 Cable, Ethernet ............................................................................................ 53 Cable, RS-422/V.11 ...................................................................................... 52 Changing the folder/drive ............................................................................. 16 Command files ............................................................................................. 36 Command line parameters ...................................................................... 7, 28 Command overview .........................................................................11, 38, 43 Completeness, testing ................................................................................. 39 Configuration ......................................................................................... 20, 30 Connection check ........................................................................................ 35 Connection setup ..................................................................................... 6, 27 Connection, separating ................................................................................ 14 Contents ...................................................................................................... 22 Conversational language .............................................................................. 21 Converter ..................................................................................................... 25 Copy ....................................................................................................... 15, 40 Cut ............................................................................................................... 40
D Deinstallation ................................................................................................. 5 Delete .................................................................................................... 14, 41 Details .......................................................................................................... 17 Directories ................................................................................................... 41
E Edit ......................................................................................................... 38, 40 Establish connection .................................................................................... 14 Exit ................................................................................................... 16, 39, 45 Extract .......................................................................................................... 47
June 2002
Index
55
F FE protocol ................................................................................................... 32 FE settings ................................................................................................... 30 File ................................................................................................... 14, 31, 38 File commands ............................................................................................ 34 File list .......................................................................................................... 42 File list, opening ........................................................................................... 45 File list, save as ............................................................................................ 45 File list, saving ............................................................................................. 45 File list, scanning ......................................................................................... 45 File(s), checking ........................................................................................... 46 Folder commands ........................................................................................ 35 Folder tree, scanning ................................................................................... 45 Folder, scanning ........................................................................................... 45 Folders ......................................................................................................... 30
H Hardware prerequisites ................................................................................. 3 Help ....................................................................................................... 22, 31 How to operate TNCremoNT ......................................................................... 6
I Information on the file list ............................................................................ 46 Installation ...................................................................................................... 4
L License agreement ........................................................................................ 3 List ............................................................................................................... 17 LSV-2 protocol ............................................................................................. 32
M Machine files ............................................................................................... 45 Machine settings ......................................................................................... 23 Machine, deleting ........................................................................................ 23 Machine, switching among .......................................................................... 24 Machines, defining new .............................................................................. 23 Machining entry, inserting ........................................................................... 40 Managing several machines ........................................................................ 23 Mask ............................................................................................................ 17 ME Receive ................................................................................................. 33 ME Transmit ................................................................................................ 33 Move ............................................................................................................ 15
N New ............................................................................................................. 39 New folder ................................................................................................... 16
56
HEIDENHAIN TNCremoNT
O Online converter .................................................................................... 20, 25 Open ...................................................................................................... 14, 39 Operation ..................................................................................................... 22 Other commands ......................................................................................... 35 Overview of functions ................................................................................. 48
P Pallet Editor .................................................................................................. 37 Pallet editor .................................................................................................. 19 Pallet editor—edit ........................................................................................ 40 Pallet editor—file ......................................................................................... 39 Pallet editor—settings ................................................................................. 41 Pallet table, activating .................................................................................. 39 Pallet, inserting ............................................................................................ 40 Parent folder ................................................................................................ 15 Password protection .................................................................................... 18 Paste ............................................................................................................ 41 Private TNC area .......................................................................................... 18 Properties .................................................................................................... 46 Protected backup ......................................................................................... 47 Protocol ........................................................................................................ 32
R Receiving buffer ........................................................................................... 49 Receiving the log ......................................................................................... 19 Refresh .................................................................................................. 15, 18 Rename ....................................................................................................... 15 Restore .................................................................................................. 19, 47
S Save ............................................................................................................. 39 Save as ........................................................................................................ 39 Screen download ......................................................................................... 19 Screen to clipboard ...................................................................................... 19 Select all ................................................................................................ 14, 46 Settings ........................................................................................................ 38 Start directory .............................................................................................. 20 Status Bar .................................................................................................... 42 Status display ............................................................................................... 10 Status window ............................................................................................. 17 Subfolders .................................................................................................... 17
June 2002
Index
57