Upload / Download - Haas+Sohn HRT 160 Operator's And Service Manual

Table of Contents

Advertisement

2.8 U
/ D
PLOAD
OWNLOAD
The serial interface may be used to upload or download a program the same as with almost any other CNC in
use today. All data is sent and received in ASCII code. Lines sent by the controller are terminated by a carriage
return (CR) and line feed (LF). Lines sent to the controller may contain a LF, but it is ignored and the lines are
terminated by a CR. It is important that parameter 21 be set to "1" in the Servo Control prior to attempting
Uploading or Downloading programs.
An upload or download is started from the PROGRAM mode with the G code displayed. To start an upload or
download, press the minus (-) key while the G code is displayed and blinking. The display will then show:
Prog n
Where n is the currently selected program number. You can select a different program by pressing a number
key and then START to return to PROGRAM mode or MODE to return to RUN mode. Or you can press the
minus (-) key again and the display will show:
SEnd n
Where n is the currently selected program number. You can select a different program by pressing a number
key and then START to begin sending that selected program. Or you can press the minus (-) key again and the
display will show:
rEcE n
Where n is the currently selected program number. You can select a different program by pressing a number
key and then START to begin receiving that selected program. Or you can press the minus (-) key again and
the display will return to PROGRAM mode. Both uploading and downloading can be terminated by pressing the
CLR button.
Programs sent or received by the controller have the following format: (Sample Only)
%
N01 G91 S045.000 F080.000 L002
N02 G90 S000.000 F080.000
N03 G98 F050.000 L013
N04 G96 P02
N05 G99
%
The % must be found before the controller will process any input and it will always begin output with a %. The
N code and G code are found on all lines and the remaining codes are present as required by the G code. The
N code is the same as the step number display in the controller. All N codes must be continuous starting from
The controller will always end output with a % and input to it is terminated by a %, N99 or G99. Spaces are
only allowed where shown.
The controller will display SEnding while sending a program, and the line number will change with information
sent. The controller will display LoAding while a program is being loaded into the controller, and the line
number will change with information received. An error message will be displayed on the controller if bad
information is sent, and the display will indicate the last line received. If an error occurs, first make sure that
the letter O was not inadvertantly used in the program instead of a zero. If not, refer to the "Troubleshooting"
section.
When using an RS-232 interface, it is recommended that the programs be written in DOS Edit, Wordstar,
Notepad Editor, or other ASCII program. Word processing programs, such as Word Perfect or Word 6.0, are
not recommended, as they will insert extra, unnecessary information.
Upload/Download functions do not need an axis select code as they are manually initiated by an operator at
the front panel. However, if the select code (Parameter 21) is not zero, an attempt to send a program to the
control will fail, as the lines do not begin with the correct axis select code.
96-5047 rev L June 2005
21

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Haas+Sohn HRT 160

Table of Contents