HUST CNC H6D-T Manual
9 - 2
Program Transfer from PC to CNC Controller
Format for program transfer:
%
O001 ..... Program number
N10 G0 X0. Y0. Z0
N20 G1 X50. Y50. Z45
N30 U30. V-30. W15 Program content
N40 G0 X0. Y0. Z0
N50 M2
%
Notes:
1. The program must start and end with a symbol of “%”.
2. Program number range = 000~999
3. One line contains one program block only. Do NOT write multiple program block
on the same line as “N10 G0. Y0. N20 G1 X10. Y10. N30 G0 X0. Y0. N40 M2”.
4. When transmitting the program from the PC end to the HUST H6D-T series
controller, and if the program transmitted does not contain the program code Oxxx,
the transmitted program will cover over the program currently selected on the
controller.
Ex: With the controller currently stopping at #6 processing program, and when the
transmitted program does not contain the program code Oxxx, the content of
the transmitted processing program will directly cover over the #6 processing
program currently on the controller.
9.1.1 Program Transfer From PC To CNC Controller
Movement program:
1. The controller is not in a program execution state (where S080=0).
2. On PC side, make sure the transmission is ready to transmit.
Baud Rate should be correct when you execute HCON.exe (See section 10, Chapter
9 ). After entering Data Transmission Mode (FileSvc),
(1) Select “ Send File To CNC : TYPE >>> ”
(2) Select “ 1:CNC ”
(3) Press “ Open File ” to select the processed program file for transmission.
(4) After the confirmation of file, press “ Send Out ”. PC will download the data
automatically.
Note:
When the program is in execution (S080=1), you must stop for S080 turning “0” to re-
operate the step 4.
Note:
If the program to be transferred has an ID number, after the transmission, it will be
stored in the memory with the same number at the CNC side; otherwise, it will replace
the program currently used by the controller.