9 Appendix A
9 - 11
Read MCM Report Format:
When use O9010 command to read MCM parameters, the data reported back to the
PC are shown in the following format. The number of parameters reported is
determined by Lxxxx of O9010 command.
DC2
%<CR>
O9011<CR>
+/-xxxxxxx<CR> ---|
........ ---| Parameter number reported = Lxxxx, max. 48
+/-xxxxxxx<CR> ---|
%
DC4
9.8 Download/Upload Format of A Part Program
When downloading a part program from PC to HUST controller using program
download command (Item 13 in Table 2), a DC1 ready signal will be sent from
HUST controller to PC. Please do not start downloading process unless you have
received a DC1 signal. However, no DC1 signal will be sent when uploading a part
program. The download and upload formats are identical. Each block of program
will occupy a line of space with a <CR> as shown below.
Format:
DC2
%<CR>
O0001<CR> ----- Program O0001, program number ranging O0000 ~
O0999.
N10 G0 X0. Y0.<CR>
N20 G1 X100. Y50. F300.<CR>
......
......
M02<CR>
%
DC4
9.9 Special S-Bit Command
The HUST controller provides 8 special S-bits, S104~S111, for user's application
from PC terminal. Customers can activate the designated functions by turning on the
corresponding S-bit. These functions can be Home, Auto Cycst, MDI, Output-Bit,
etc.. Note that these S-bits should be processed through PLC ladder.
The command format is shown below. The "x" in the main line is either 1=On or
0=Off. For example, execute Home by S104=1. The main line will be N10000000 or
N1. In the PLC ladder, S104 will be driving the Home execution/axis C-bit, C63 and
C062~C060.